├── .gitignore
├── LICENSE.md
├── Makefile
├── README.md
├── SECURITY.md
├── docs
├── .vitepress
│ ├── config.mts
│ └── theme
│ │ ├── index.ts
│ │ └── style.css
├── README.md
├── example
│ ├── introduction.md
│ ├── payment-events.md
│ ├── payment-verification.md
│ ├── react-example.md
│ ├── request-payment.md
│ └── vue-example.md
├── fonts
│ └── avenir
│ │ ├── AvenirNextLTPro-Demi.otf
│ │ ├── AvenirNextLTPro-Medium.otf
│ │ └── AvenirNextLTPro-Regular.otf
├── guide
│ ├── contribution-guide.md
│ ├── deposit-address.md
│ ├── installation-client.md
│ ├── installation-server.md
│ ├── installation.md
│ ├── introduction.md
│ ├── quick-start-go.md
│ ├── quick-start-node.md
│ ├── quick-start-php.md
│ ├── quick-start-python.md
│ └── quick-start.md
├── index.md
├── intents
│ ├── custom-backends.md
│ ├── introduction.md
│ ├── login.md
│ ├── payment-fees.md
│ ├── payment-requests.md
│ └── tipping.md
├── markdown-examples.md
├── package-lock.json
├── package.json
├── public
│ ├── deposit-address.png
│ ├── logo-dark.svg
│ └── logo-light.svg
├── reference
│ ├── app.md
│ ├── browser-events.md
│ ├── element-appearance.md
│ ├── idempotency.md
│ ├── rendezvous.md
│ ├── sequencer.md
│ ├── splitter.md
│ ├── timelock.md
│ └── webhook.md
└── release-notes.md
├── examples
├── .gitignore
├── 1-minimal
│ ├── package.json
│ ├── server.js
│ └── views
│ │ └── index.ejs
├── 2-minimal-dark-mode
│ ├── package.json
│ ├── server.js
│ └── views
│ │ └── index.ejs
├── 3-minimal-with-verify
│ ├── package.json
│ ├── server.js
│ └── views
│ │ ├── index.ejs
│ │ └── verify.ejs
├── 4-minimal-with-webhook
│ ├── package.json
│ ├── server.js
│ └── views
│ │ └── index.ejs
├── 5-example-purchase-flow
│ ├── example.env
│ ├── package.json
│ ├── src
│ │ ├── app.ts
│ │ ├── config.ts
│ │ ├── models
│ │ │ ├── articles.ts
│ │ │ └── payments.ts
│ │ ├── routes
│ │ │ ├── article.ts
│ │ │ ├── index.ts
│ │ │ └── payment.ts
│ │ └── utils
│ │ │ ├── colors.ts
│ │ │ ├── jwt.ts
│ │ │ └── layout.ts
│ ├── tsconfig.json
│ └── views
│ │ ├── pages
│ │ ├── article-preview-page.ejs
│ │ └── article-purchased-page.ejs
│ │ └── sections
│ │ └── layout.ejs
├── 6-minimal-purchase-with-login
│ ├── package.json
│ ├── server.js
│ └── views
│ │ ├── index.ejs
│ │ └── success.ejs
├── 7-minimal-login
│ ├── package.json
│ ├── server.js
│ └── views
│ │ ├── index.ejs
│ │ └── success.ejs
├── 8-minimal-tip-card
│ ├── package.json
│ ├── server.js
│ └── views
│ │ └── index.ejs
└── README.md
├── package-lock.json
├── package.json
└── packages
├── client
├── .mocharc.json
├── README.md
├── package.json
├── src
│ ├── client.ts
│ ├── errors.ts
│ ├── index.ts
│ ├── intents
│ │ ├── index.ts
│ │ ├── login.ts
│ │ ├── payments.ts
│ │ └── webhook.ts
│ ├── request.ts
│ ├── requests
│ │ ├── getStatus.ts
│ │ ├── getUserId.ts
│ │ ├── index.ts
│ │ └── registerWebhook.ts
│ └── utils
│ │ ├── createIntent.ts
│ │ └── useClient.ts
├── test
│ └── client.test.ts
├── tsconfig.cjs.json
└── tsconfig.json
├── currency
├── README.md
├── package.json
├── src
│ ├── errors.ts
│ ├── index.ts
│ ├── mints
│ │ └── kin.ts
│ ├── types.ts
│ └── utils.ts
├── test
│ ├── fiat.test.ts
│ └── kin.test.ts
├── tsconfig.cjs.json
└── tsconfig.json
├── elements
├── README.md
├── example
│ ├── index.html
│ └── vite.config.ts
├── package.json
├── src
│ ├── components
│ │ ├── elements
│ │ │ ├── IntentRequestButton.vue
│ │ │ ├── IntentRequestModalDesktop.vue
│ │ │ ├── IntentRequestModalMobile.vue
│ │ │ └── index.ts
│ │ ├── flows
│ │ │ ├── ButtonFlow.vue
│ │ │ └── PageFlow.vue
│ │ ├── index.ts
│ │ ├── preload
│ │ │ ├── PreloadIntentRequestModalDesktop.vue
│ │ │ ├── PreloadIntentRequestModalMobile.vue
│ │ │ └── index.ts
│ │ └── shims-vue.d.ts
│ ├── config.ts
│ ├── elements.ts
│ ├── errors.ts
│ ├── index.ts
│ ├── utils
│ │ ├── delay.ts
│ │ ├── state.ts
│ │ ├── url.ts
│ │ └── user-agent.ts
│ └── vite-env.d.ts
├── tsconfig.json
└── vite.config.ts
├── events
├── .mocharc.json
├── README.md
├── package.json
├── src
│ ├── channel.ts
│ ├── events.ts
│ └── index.ts
├── tsconfig.cjs.json
└── tsconfig.json
├── flags
├── README.md
├── package.json
├── scripts
│ └── generateWrapperFiles.ts
├── src
│ ├── flags
│ │ ├── ad.svg
│ │ ├── ae.svg
│ │ ├── af.svg
│ │ ├── ag.svg
│ │ ├── ai.svg
│ │ ├── al.svg
│ │ ├── am.svg
│ │ ├── an.svg
│ │ ├── ao.svg
│ │ ├── aq.svg
│ │ ├── ar.svg
│ │ ├── as.svg
│ │ ├── at.svg
│ │ ├── au.svg
│ │ ├── aw.svg
│ │ ├── ax.svg
│ │ ├── az.svg
│ │ ├── ba.svg
│ │ ├── bb.svg
│ │ ├── bd.svg
│ │ ├── be.svg
│ │ ├── bf.svg
│ │ ├── bg.svg
│ │ ├── bh.svg
│ │ ├── bi.svg
│ │ ├── bj.svg
│ │ ├── bl.svg
│ │ ├── bm.svg
│ │ ├── bn.svg
│ │ ├── bo.svg
│ │ ├── bq.svg
│ │ ├── br.svg
│ │ ├── bs.svg
│ │ ├── bt.svg
│ │ ├── bv.svg
│ │ ├── bw.svg
│ │ ├── by.svg
│ │ ├── bz.svg
│ │ ├── ca.svg
│ │ ├── cc.svg
│ │ ├── cd.svg
│ │ ├── cf.svg
│ │ ├── cg.svg
│ │ ├── ch.svg
│ │ ├── ci.svg
│ │ ├── ck.svg
│ │ ├── cl.svg
│ │ ├── cm.svg
│ │ ├── cn.svg
│ │ ├── co.svg
│ │ ├── cr.svg
│ │ ├── cu.svg
│ │ ├── cv.svg
│ │ ├── cw.svg
│ │ ├── cx.svg
│ │ ├── cy.svg
│ │ ├── cz.svg
│ │ ├── de.svg
│ │ ├── dj.svg
│ │ ├── dk.svg
│ │ ├── dm.svg
│ │ ├── do.svg
│ │ ├── dz.svg
│ │ ├── ec.svg
│ │ ├── ee.svg
│ │ ├── eg.svg
│ │ ├── eh.svg
│ │ ├── eo.svg
│ │ ├── er.svg
│ │ ├── es.svg
│ │ ├── et.svg
│ │ ├── eu.svg
│ │ ├── fi.svg
│ │ ├── fj.svg
│ │ ├── fk.svg
│ │ ├── fm.svg
│ │ ├── fo.svg
│ │ ├── fr.svg
│ │ ├── ga.svg
│ │ ├── gb.svg
│ │ ├── gd.svg
│ │ ├── ge.svg
│ │ ├── gf.svg
│ │ ├── gg.svg
│ │ ├── gh.svg
│ │ ├── gi.svg
│ │ ├── gl.svg
│ │ ├── gm.svg
│ │ ├── gn.svg
│ │ ├── gp.svg
│ │ ├── gq.svg
│ │ ├── gr.svg
│ │ ├── gs.svg
│ │ ├── gt.svg
│ │ ├── gu.svg
│ │ ├── gw.svg
│ │ ├── gy.svg
│ │ ├── hk.svg
│ │ ├── hm.svg
│ │ ├── hn.svg
│ │ ├── hr.svg
│ │ ├── ht.svg
│ │ ├── hu.svg
│ │ ├── id.svg
│ │ ├── ie.svg
│ │ ├── il.svg
│ │ ├── im.svg
│ │ ├── in.svg
│ │ ├── index.ts
│ │ ├── io.svg
│ │ ├── iq.svg
│ │ ├── ir.svg
│ │ ├── is.svg
│ │ ├── it.svg
│ │ ├── je.svg
│ │ ├── jm.svg
│ │ ├── jo.svg
│ │ ├── jp.svg
│ │ ├── ke.svg
│ │ ├── kg.svg
│ │ ├── kh.svg
│ │ ├── ki.svg
│ │ ├── km.svg
│ │ ├── kn.svg
│ │ ├── kp.svg
│ │ ├── kr.svg
│ │ ├── kw.svg
│ │ ├── ky.svg
│ │ ├── kz.svg
│ │ ├── la.svg
│ │ ├── lb.svg
│ │ ├── lc.svg
│ │ ├── li.svg
│ │ ├── lk.svg
│ │ ├── lr.svg
│ │ ├── ls.svg
│ │ ├── lt.svg
│ │ ├── lu.svg
│ │ ├── lv.svg
│ │ ├── ly.svg
│ │ ├── ma.svg
│ │ ├── mc.svg
│ │ ├── md.svg
│ │ ├── me.svg
│ │ ├── mf.svg
│ │ ├── mg.svg
│ │ ├── mh.svg
│ │ ├── mk.svg
│ │ ├── ml.svg
│ │ ├── mm.svg
│ │ ├── mn.svg
│ │ ├── mo.svg
│ │ ├── mp.svg
│ │ ├── mq.svg
│ │ ├── mr.svg
│ │ ├── ms.svg
│ │ ├── mt.svg
│ │ ├── mu.svg
│ │ ├── mv.svg
│ │ ├── mw.svg
│ │ ├── mx.svg
│ │ ├── my.svg
│ │ ├── mz.svg
│ │ ├── na.svg
│ │ ├── nc.svg
│ │ ├── ne.svg
│ │ ├── nf.svg
│ │ ├── ng.svg
│ │ ├── ni.svg
│ │ ├── nl.svg
│ │ ├── no.svg
│ │ ├── np.svg
│ │ ├── nr.svg
│ │ ├── nu.svg
│ │ ├── nz.svg
│ │ ├── om.svg
│ │ ├── pa.svg
│ │ ├── pe.svg
│ │ ├── pf.svg
│ │ ├── pg.svg
│ │ ├── ph.svg
│ │ ├── pk.svg
│ │ ├── pl.svg
│ │ ├── pm.svg
│ │ ├── pn.svg
│ │ ├── pr.svg
│ │ ├── ps.svg
│ │ ├── pt.svg
│ │ ├── pw.svg
│ │ ├── py.svg
│ │ ├── qa.svg
│ │ ├── re.svg
│ │ ├── ro.svg
│ │ ├── rs.svg
│ │ ├── ru.svg
│ │ ├── rw.svg
│ │ ├── sa.svg
│ │ ├── sb.svg
│ │ ├── sc.svg
│ │ ├── sd.svg
│ │ ├── se.svg
│ │ ├── sg.svg
│ │ ├── sh.svg
│ │ ├── si.svg
│ │ ├── sj.svg
│ │ ├── sk.svg
│ │ ├── sl.svg
│ │ ├── sm.svg
│ │ ├── sn.svg
│ │ ├── so.svg
│ │ ├── sr.svg
│ │ ├── ss.svg
│ │ ├── st.svg
│ │ ├── sv.svg
│ │ ├── sx.svg
│ │ ├── sy.svg
│ │ ├── sz.svg
│ │ ├── tc.svg
│ │ ├── td.svg
│ │ ├── tf.svg
│ │ ├── tg.svg
│ │ ├── th.svg
│ │ ├── tj.svg
│ │ ├── tk.svg
│ │ ├── tl.svg
│ │ ├── tm.svg
│ │ ├── tn.svg
│ │ ├── to.svg
│ │ ├── tr.svg
│ │ ├── tt.svg
│ │ ├── tv.svg
│ │ ├── tw.svg
│ │ ├── tz.svg
│ │ ├── ua.svg
│ │ ├── ug.svg
│ │ ├── um.svg
│ │ ├── us.svg
│ │ ├── uy.svg
│ │ ├── uz.svg
│ │ ├── va.svg
│ │ ├── vc.svg
│ │ ├── ve.svg
│ │ ├── vg.svg
│ │ ├── vi.svg
│ │ ├── vn.svg
│ │ ├── vu.svg
│ │ ├── wf.svg
│ │ ├── ws.svg
│ │ ├── ye.svg
│ │ ├── yt.svg
│ │ ├── za.svg
│ │ ├── zm.svg
│ │ ├── zw.svg
│ │ └── zz.svg
│ ├── index.ts
│ └── wrappers
│ │ ├── ad.ts
│ │ ├── ae.ts
│ │ ├── af.ts
│ │ ├── ag.ts
│ │ ├── ai.ts
│ │ ├── al.ts
│ │ ├── am.ts
│ │ ├── an.ts
│ │ ├── ao.ts
│ │ ├── aq.ts
│ │ ├── ar.ts
│ │ ├── as.ts
│ │ ├── at.ts
│ │ ├── au.ts
│ │ ├── aw.ts
│ │ ├── ax.ts
│ │ ├── az.ts
│ │ ├── ba.ts
│ │ ├── bb.ts
│ │ ├── bd.ts
│ │ ├── be.ts
│ │ ├── bf.ts
│ │ ├── bg.ts
│ │ ├── bh.ts
│ │ ├── bi.ts
│ │ ├── bj.ts
│ │ ├── bl.ts
│ │ ├── bm.ts
│ │ ├── bn.ts
│ │ ├── bo.ts
│ │ ├── bq.ts
│ │ ├── br.ts
│ │ ├── bs.ts
│ │ ├── bt.ts
│ │ ├── bv.ts
│ │ ├── bw.ts
│ │ ├── by.ts
│ │ ├── bz.ts
│ │ ├── ca.ts
│ │ ├── cc.ts
│ │ ├── cd.ts
│ │ ├── cf.ts
│ │ ├── cg.ts
│ │ ├── ch.ts
│ │ ├── ci.ts
│ │ ├── ck.ts
│ │ ├── cl.ts
│ │ ├── cm.ts
│ │ ├── cn.ts
│ │ ├── co.ts
│ │ ├── cr.ts
│ │ ├── cu.ts
│ │ ├── cv.ts
│ │ ├── cw.ts
│ │ ├── cx.ts
│ │ ├── cy.ts
│ │ ├── cz.ts
│ │ ├── de.ts
│ │ ├── dj.ts
│ │ ├── dk.ts
│ │ ├── dm.ts
│ │ ├── do.ts
│ │ ├── dz.ts
│ │ ├── ec.ts
│ │ ├── ee.ts
│ │ ├── eg.ts
│ │ ├── eh.ts
│ │ ├── eo.ts
│ │ ├── er.ts
│ │ ├── es.ts
│ │ ├── et.ts
│ │ ├── eu.ts
│ │ ├── fi.ts
│ │ ├── fj.ts
│ │ ├── fk.ts
│ │ ├── fm.ts
│ │ ├── fo.ts
│ │ ├── fr.ts
│ │ ├── ga.ts
│ │ ├── gb.ts
│ │ ├── gd.ts
│ │ ├── ge.ts
│ │ ├── gf.ts
│ │ ├── gg.ts
│ │ ├── gh.ts
│ │ ├── gi.ts
│ │ ├── gl.ts
│ │ ├── gm.ts
│ │ ├── gn.ts
│ │ ├── gp.ts
│ │ ├── gq.ts
│ │ ├── gr.ts
│ │ ├── gs.ts
│ │ ├── gt.ts
│ │ ├── gu.ts
│ │ ├── gw.ts
│ │ ├── gy.ts
│ │ ├── hk.ts
│ │ ├── hm.ts
│ │ ├── hn.ts
│ │ ├── hr.ts
│ │ ├── ht.ts
│ │ ├── hu.ts
│ │ ├── id.ts
│ │ ├── ie.ts
│ │ ├── il.ts
│ │ ├── im.ts
│ │ ├── in.ts
│ │ ├── io.ts
│ │ ├── iq.ts
│ │ ├── ir.ts
│ │ ├── is.ts
│ │ ├── it.ts
│ │ ├── je.ts
│ │ ├── jm.ts
│ │ ├── jo.ts
│ │ ├── jp.ts
│ │ ├── ke.ts
│ │ ├── kg.ts
│ │ ├── kh.ts
│ │ ├── ki.ts
│ │ ├── km.ts
│ │ ├── kn.ts
│ │ ├── kp.ts
│ │ ├── kr.ts
│ │ ├── kw.ts
│ │ ├── ky.ts
│ │ ├── kz.ts
│ │ ├── la.ts
│ │ ├── lb.ts
│ │ ├── lc.ts
│ │ ├── li.ts
│ │ ├── lk.ts
│ │ ├── lr.ts
│ │ ├── ls.ts
│ │ ├── lt.ts
│ │ ├── lu.ts
│ │ ├── lv.ts
│ │ ├── ly.ts
│ │ ├── ma.ts
│ │ ├── mc.ts
│ │ ├── md.ts
│ │ ├── me.ts
│ │ ├── mf.ts
│ │ ├── mg.ts
│ │ ├── mh.ts
│ │ ├── mk.ts
│ │ ├── ml.ts
│ │ ├── mm.ts
│ │ ├── mn.ts
│ │ ├── mo.ts
│ │ ├── mp.ts
│ │ ├── mq.ts
│ │ ├── mr.ts
│ │ ├── ms.ts
│ │ ├── mt.ts
│ │ ├── mu.ts
│ │ ├── mv.ts
│ │ ├── mw.ts
│ │ ├── mx.ts
│ │ ├── my.ts
│ │ ├── mz.ts
│ │ ├── na.ts
│ │ ├── nc.ts
│ │ ├── ne.ts
│ │ ├── nf.ts
│ │ ├── ng.ts
│ │ ├── ni.ts
│ │ ├── nl.ts
│ │ ├── no.ts
│ │ ├── np.ts
│ │ ├── nr.ts
│ │ ├── nu.ts
│ │ ├── nz.ts
│ │ ├── om.ts
│ │ ├── pa.ts
│ │ ├── pe.ts
│ │ ├── pf.ts
│ │ ├── pg.ts
│ │ ├── ph.ts
│ │ ├── pk.ts
│ │ ├── pl.ts
│ │ ├── pm.ts
│ │ ├── pn.ts
│ │ ├── pr.ts
│ │ ├── ps.ts
│ │ ├── pt.ts
│ │ ├── pw.ts
│ │ ├── py.ts
│ │ ├── qa.ts
│ │ ├── re.ts
│ │ ├── ro.ts
│ │ ├── rs.ts
│ │ ├── ru.ts
│ │ ├── rw.ts
│ │ ├── sa.ts
│ │ ├── sb.ts
│ │ ├── sc.ts
│ │ ├── sd.ts
│ │ ├── se.ts
│ │ ├── sg.ts
│ │ ├── sh.ts
│ │ ├── si.ts
│ │ ├── sj.ts
│ │ ├── sk.ts
│ │ ├── sl.ts
│ │ ├── sm.ts
│ │ ├── sn.ts
│ │ ├── so.ts
│ │ ├── sr.ts
│ │ ├── ss.ts
│ │ ├── st.ts
│ │ ├── sv.ts
│ │ ├── sx.ts
│ │ ├── sy.ts
│ │ ├── sz.ts
│ │ ├── tc.ts
│ │ ├── td.ts
│ │ ├── tf.ts
│ │ ├── tg.ts
│ │ ├── th.ts
│ │ ├── tj.ts
│ │ ├── tk.ts
│ │ ├── tl.ts
│ │ ├── tm.ts
│ │ ├── tn.ts
│ │ ├── to.ts
│ │ ├── tr.ts
│ │ ├── tt.ts
│ │ ├── tv.ts
│ │ ├── tw.ts
│ │ ├── tz.ts
│ │ ├── ua.ts
│ │ ├── ug.ts
│ │ ├── um.ts
│ │ ├── us.ts
│ │ ├── uy.ts
│ │ ├── uz.ts
│ │ ├── va.ts
│ │ ├── vc.ts
│ │ ├── ve.ts
│ │ ├── vg.ts
│ │ ├── vi.ts
│ │ ├── vn.ts
│ │ ├── vu.ts
│ │ ├── wf.ts
│ │ ├── ws.ts
│ │ ├── ye.ts
│ │ ├── yt.ts
│ │ ├── za.ts
│ │ ├── zm.ts
│ │ ├── zw.ts
│ │ └── zz.ts
├── tsconfig.cjs.json
├── tsconfig.json
└── vite.config.ts
├── intents
├── README.md
├── package.json
├── src
│ ├── errors.ts
│ ├── events.ts
│ ├── index.ts
│ ├── intents
│ │ ├── BaseIntent.ts
│ │ ├── LoginRequestIntent.ts
│ │ ├── PaymentRequestIntent.ts
│ │ ├── PaymentRequestWithLoginIntent.ts
│ │ ├── TipRequestIntent.ts
│ │ └── index.ts
│ ├── keys
│ │ ├── idempotency.ts
│ │ ├── index.ts
│ │ └── rendezvous.ts
│ ├── options.ts
│ ├── types.ts
│ └── utils
│ │ ├── encode.ts
│ │ ├── index.ts
│ │ └── validate.ts
├── test
│ ├── idempotency.test.ts
│ ├── intent_login_request.test.ts
│ ├── intent_payment_request.test.ts
│ └── intent_payment_request_with_login.test.ts
├── tsconfig.cjs.json
└── tsconfig.json
├── keys
├── README.md
├── package.json
├── src
│ ├── errors.ts
│ ├── index.ts
│ ├── keypair.ts
│ ├── publickey.ts
│ └── utils.ts
├── test
│ ├── curve.test.ts
│ ├── keypair.test.ts
│ ├── pda.test.ts
│ └── publickey.test.ts
├── tsconfig.cjs.json
└── tsconfig.json
├── kikcode
├── .gitignore
├── CMakeLists.txt
├── Dockerfile
├── Makefile
├── README.md
├── lib
│ ├── kikcode_constants.h
│ ├── kikcode_encoding.cpp
│ ├── kikcode_encoding.h
│ ├── kikcode_wrapper.cpp
│ ├── kikcode_wrapper.h
│ ├── kikcodes.cpp
│ ├── kikcodes.h
│ └── zxing
│ │ ├── Exception.cpp
│ │ ├── Exception.h
│ │ ├── IllegalStateException.h
│ │ ├── ReaderException.h
│ │ ├── ZXing.h
│ │ └── common
│ │ ├── Array.h
│ │ ├── Counted.h
│ │ ├── IllegalArgumentException.cpp
│ │ ├── IllegalArgumentException.h
│ │ └── reedsolomon
│ │ ├── GenericGF.cpp
│ │ ├── GenericGF.h
│ │ ├── GenericGFPoly.cpp
│ │ ├── GenericGFPoly.h
│ │ ├── ReedSolomonDecoder.cpp
│ │ ├── ReedSolomonDecoder.h
│ │ ├── ReedSolomonEncoder.cpp
│ │ ├── ReedSolomonEncoder.h
│ │ ├── ReedSolomonException.cpp
│ │ └── ReedSolomonException.h
├── package.json
├── src
│ ├── errors.ts
│ ├── index.ts
│ ├── kikcode-encoding.ts
│ ├── kikcode-scancode.ts
│ ├── kikcode_webassembly.js
│ ├── payload.ts
│ ├── types.ts
│ └── utils.ts
├── test
│ ├── encode.test.ts
│ └── payload.test.ts
├── tsconfig.cjs.json
└── tsconfig.json
├── mnemonic
├── README.md
├── package.json
├── src
│ ├── derive.ts
│ ├── errors.ts
│ ├── index.ts
│ ├── language.ts
│ ├── mnemonic.ts
│ ├── offset.ts
│ ├── path.ts
│ ├── phrase.ts
│ ├── utils.ts
│ └── wordlists
│ │ ├── chinese-simplified.ts
│ │ ├── chinese-traditional.ts
│ │ ├── english.ts
│ │ ├── french.ts
│ │ ├── index.ts
│ │ ├── italian.ts
│ │ ├── japanese.ts
│ │ ├── korean.ts
│ │ └── spanish.ts
├── test
│ ├── derive.test.ts
│ └── mnemonic.test.ts
├── tsconfig.cjs.json
└── tsconfig.json
├── programs
├── README.md
├── package.json
├── src
│ ├── index.ts
│ ├── splitter
│ │ ├── generated
│ │ │ ├── accounts
│ │ │ │ ├── Pool.ts
│ │ │ │ ├── Proof.ts
│ │ │ │ └── index.ts
│ │ │ ├── errors
│ │ │ │ └── index.ts
│ │ │ ├── index.ts
│ │ │ ├── instructions
│ │ │ │ ├── closeProof.ts
│ │ │ │ ├── closeTokenAccount.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── initializePool.ts
│ │ │ │ ├── initializeProof.ts
│ │ │ │ ├── openTokenAccount.ts
│ │ │ │ ├── saveRecentRoot.ts
│ │ │ │ ├── transferWithCommitment.ts
│ │ │ │ ├── uploadProof.ts
│ │ │ │ └── verifyProof.ts
│ │ │ └── types
│ │ │ │ ├── DataVersion.ts
│ │ │ │ ├── MerkleTree.ts
│ │ │ │ └── index.ts
│ │ └── index.ts
│ ├── timelock
│ │ ├── generated
│ │ │ ├── accounts
│ │ │ │ ├── TimeLockAccount.ts
│ │ │ │ └── index.ts
│ │ │ ├── errors
│ │ │ │ └── index.ts
│ │ │ ├── index.ts
│ │ │ ├── instructions
│ │ │ │ ├── activate.ts
│ │ │ │ ├── burnDustWithAuthority.ts
│ │ │ │ ├── cancelLockTimeout.ts
│ │ │ │ ├── closeAccounts.ts
│ │ │ │ ├── deactivate.ts
│ │ │ │ ├── index.ts
│ │ │ │ ├── initialize.ts
│ │ │ │ ├── revokeLockWithAuthority.ts
│ │ │ │ ├── revokeLockWithTimeout.ts
│ │ │ │ ├── transferWithAuthority.ts
│ │ │ │ └── withdraw.ts
│ │ │ └── types
│ │ │ │ ├── DataVersion.ts
│ │ │ │ ├── TimeLockState.ts
│ │ │ │ └── index.ts
│ │ └── index.ts
│ └── utils.ts
├── test
│ └── utils.test.ts
├── tsconfig.cjs.json
└── tsconfig.json
├── proxy
├── README.md
├── example
│ └── index.ts
├── package.json
├── src
│ ├── index.ts
│ ├── middleware
│ │ ├── index.ts
│ │ ├── logging.ts
│ │ └── proxy.ts
│ ├── service
│ │ ├── handlerGRPC.ts
│ │ ├── handlerHTTP.ts
│ │ ├── handlerWebSocket.ts
│ │ ├── index.ts
│ │ └── service.ts
│ └── utils
│ │ └── logger.ts
├── tsconfig.cjs.json
└── tsconfig.json
├── rpc
├── README.md
├── package.json
├── src
│ ├── generated
│ │ ├── account
│ │ │ └── v1
│ │ │ │ ├── account_service_connect.ts
│ │ │ │ ├── account_service_pb.ts
│ │ │ │ └── index.ts
│ │ ├── badge
│ │ │ └── v1
│ │ │ │ ├── badge_service_connect.ts
│ │ │ │ ├── badge_service_pb.ts
│ │ │ │ └── index.ts
│ │ ├── chat
│ │ │ └── v1
│ │ │ │ ├── chat_service_connect.ts
│ │ │ │ ├── chat_service_pb.ts
│ │ │ │ └── index.ts
│ │ ├── common
│ │ │ └── v1
│ │ │ │ ├── index.ts
│ │ │ │ └── model_pb.ts
│ │ ├── contact
│ │ │ └── v1
│ │ │ │ ├── contact_list_service_connect.ts
│ │ │ │ ├── contact_list_service_pb.ts
│ │ │ │ └── index.ts
│ │ ├── currency
│ │ │ └── v1
│ │ │ │ ├── currency_service_connect.ts
│ │ │ │ ├── currency_service_pb.ts
│ │ │ │ └── index.ts
│ │ ├── device
│ │ │ └── v1
│ │ │ │ ├── device_service_connect.ts
│ │ │ │ ├── device_service_pb.ts
│ │ │ │ └── index.ts
│ │ ├── index.ts
│ │ ├── invite
│ │ │ └── v2
│ │ │ │ ├── index.ts
│ │ │ │ ├── invite_service_connect.ts
│ │ │ │ └── invite_service_pb.ts
│ │ ├── messaging
│ │ │ └── v1
│ │ │ │ ├── index.ts
│ │ │ │ ├── messaging_service_connect.ts
│ │ │ │ └── messaging_service_pb.ts
│ │ ├── micropayment
│ │ │ └── v1
│ │ │ │ ├── index.ts
│ │ │ │ ├── micro_payment_service_connect.ts
│ │ │ │ └── micro_payment_service_pb.ts
│ │ ├── phone
│ │ │ └── v1
│ │ │ │ ├── index.ts
│ │ │ │ ├── phone_verification_service_connect.ts
│ │ │ │ └── phone_verification_service_pb.ts
│ │ ├── push
│ │ │ └── v1
│ │ │ │ ├── index.ts
│ │ │ │ ├── push_service_connect.ts
│ │ │ │ └── push_service_pb.ts
│ │ ├── transaction
│ │ │ └── v2
│ │ │ │ ├── index.ts
│ │ │ │ ├── transaction_service_connect.ts
│ │ │ │ └── transaction_service_pb.ts
│ │ └── user
│ │ │ └── v1
│ │ │ ├── identity_service_connect.ts
│ │ │ ├── identity_service_pb.ts
│ │ │ └── index.ts
│ ├── index.ts
│ ├── queue.ts
│ └── service.ts
├── test
│ └── queue.test.ts
├── tsconfig.cjs.json
└── tsconfig.json
├── views
├── Makefile
├── README.md
├── apps
│ ├── index.html
│ ├── login-request-button
│ │ ├── App.vue
│ │ ├── fonts
│ │ │ ├── avenir
│ │ │ │ ├── AvenirNextLTPro-Demi.otf
│ │ │ │ ├── AvenirNextLTPro-Medium.otf
│ │ │ │ └── AvenirNextLTPro-Regular.otf
│ │ │ └── manrope
│ │ │ │ ├── Manrope-Bold.ttf
│ │ │ │ ├── Manrope-ExtraBold.ttf
│ │ │ │ ├── Manrope-ExtraLight.ttf
│ │ │ │ ├── Manrope-Light.ttf
│ │ │ │ ├── Manrope-Medium.ttf
│ │ │ │ ├── Manrope-Regular.ttf
│ │ │ │ └── Manrope-SemiBold.ttf
│ │ ├── index.html
│ │ ├── index.js
│ │ ├── style.css
│ │ └── vite.config.ts
│ ├── login-request-modal-desktop
│ │ ├── App.vue
│ │ ├── fonts
│ │ │ ├── avenir
│ │ │ │ ├── AvenirNextLTPro-Demi.otf
│ │ │ │ ├── AvenirNextLTPro-Medium.otf
│ │ │ │ └── AvenirNextLTPro-Regular.otf
│ │ │ ├── manrope
│ │ │ │ ├── Manrope-Bold.ttf
│ │ │ │ ├── Manrope-ExtraBold.ttf
│ │ │ │ ├── Manrope-ExtraLight.ttf
│ │ │ │ ├── Manrope-Light.ttf
│ │ │ │ ├── Manrope-Medium.ttf
│ │ │ │ ├── Manrope-Regular.ttf
│ │ │ │ └── Manrope-SemiBold.ttf
│ │ │ └── roboto
│ │ │ │ └── RobotoMono-Medium.ttf
│ │ ├── index.html
│ │ ├── index.js
│ │ ├── style.css
│ │ └── vite.config.ts
│ ├── login-request-modal-mobile
│ │ ├── App.vue
│ │ ├── fonts
│ │ │ ├── avenir
│ │ │ │ ├── AvenirNextLTPro-Demi.otf
│ │ │ │ ├── AvenirNextLTPro-Medium.otf
│ │ │ │ └── AvenirNextLTPro-Regular.otf
│ │ │ └── manrope
│ │ │ │ ├── Manrope-Bold.ttf
│ │ │ │ ├── Manrope-ExtraBold.ttf
│ │ │ │ ├── Manrope-ExtraLight.ttf
│ │ │ │ ├── Manrope-Light.ttf
│ │ │ │ ├── Manrope-Medium.ttf
│ │ │ │ ├── Manrope-Regular.ttf
│ │ │ │ └── Manrope-SemiBold.ttf
│ │ ├── index.html
│ │ ├── index.js
│ │ ├── style.css
│ │ └── vite.config.ts
│ ├── login-request-page-desktop
│ │ ├── App.vue
│ │ ├── fonts
│ │ │ ├── avenir
│ │ │ │ ├── AvenirNextLTPro-Demi.otf
│ │ │ │ ├── AvenirNextLTPro-Medium.otf
│ │ │ │ └── AvenirNextLTPro-Regular.otf
│ │ │ ├── manrope
│ │ │ │ ├── Manrope-Bold.ttf
│ │ │ │ ├── Manrope-ExtraBold.ttf
│ │ │ │ ├── Manrope-ExtraLight.ttf
│ │ │ │ ├── Manrope-Light.ttf
│ │ │ │ ├── Manrope-Medium.ttf
│ │ │ │ ├── Manrope-Regular.ttf
│ │ │ │ └── Manrope-SemiBold.ttf
│ │ │ └── roboto
│ │ │ │ └── RobotoMono-Medium.ttf
│ │ ├── index.html
│ │ ├── index.js
│ │ ├── style.css
│ │ └── vite.config.ts
│ ├── login-request-page-mobile
│ │ ├── App.vue
│ │ ├── fonts
│ │ │ ├── avenir
│ │ │ │ ├── AvenirNextLTPro-Demi.otf
│ │ │ │ ├── AvenirNextLTPro-Medium.otf
│ │ │ │ └── AvenirNextLTPro-Regular.otf
│ │ │ └── manrope
│ │ │ │ ├── Manrope-Bold.ttf
│ │ │ │ ├── Manrope-ExtraBold.ttf
│ │ │ │ ├── Manrope-ExtraLight.ttf
│ │ │ │ ├── Manrope-Light.ttf
│ │ │ │ ├── Manrope-Medium.ttf
│ │ │ │ ├── Manrope-Regular.ttf
│ │ │ │ └── Manrope-SemiBold.ttf
│ │ ├── index.html
│ │ ├── index.js
│ │ ├── style.css
│ │ └── vite.config.ts
│ ├── payment-request-button
│ │ ├── App.vue
│ │ ├── fonts
│ │ │ ├── avenir
│ │ │ │ ├── AvenirNextLTPro-Demi.otf
│ │ │ │ ├── AvenirNextLTPro-Medium.otf
│ │ │ │ └── AvenirNextLTPro-Regular.otf
│ │ │ └── manrope
│ │ │ │ ├── Manrope-Bold.ttf
│ │ │ │ ├── Manrope-ExtraBold.ttf
│ │ │ │ ├── Manrope-ExtraLight.ttf
│ │ │ │ ├── Manrope-Light.ttf
│ │ │ │ ├── Manrope-Medium.ttf
│ │ │ │ ├── Manrope-Regular.ttf
│ │ │ │ └── Manrope-SemiBold.ttf
│ │ ├── index.html
│ │ ├── index.js
│ │ ├── style.css
│ │ └── vite.config.ts
│ ├── payment-request-modal-desktop
│ │ ├── App.vue
│ │ ├── fonts
│ │ │ ├── avenir
│ │ │ │ ├── AvenirNextLTPro-Demi.otf
│ │ │ │ ├── AvenirNextLTPro-Medium.otf
│ │ │ │ └── AvenirNextLTPro-Regular.otf
│ │ │ ├── manrope
│ │ │ │ ├── Manrope-Bold.ttf
│ │ │ │ ├── Manrope-ExtraBold.ttf
│ │ │ │ ├── Manrope-ExtraLight.ttf
│ │ │ │ ├── Manrope-Light.ttf
│ │ │ │ ├── Manrope-Medium.ttf
│ │ │ │ ├── Manrope-Regular.ttf
│ │ │ │ └── Manrope-SemiBold.ttf
│ │ │ └── roboto
│ │ │ │ └── RobotoMono-Medium.ttf
│ │ ├── index.html
│ │ ├── index.js
│ │ ├── style.css
│ │ └── vite.config.ts
│ ├── payment-request-modal-mobile
│ │ ├── App.vue
│ │ ├── fonts
│ │ │ ├── avenir
│ │ │ │ ├── AvenirNextLTPro-Demi.otf
│ │ │ │ ├── AvenirNextLTPro-Medium.otf
│ │ │ │ └── AvenirNextLTPro-Regular.otf
│ │ │ └── manrope
│ │ │ │ ├── Manrope-Bold.ttf
│ │ │ │ ├── Manrope-ExtraBold.ttf
│ │ │ │ ├── Manrope-ExtraLight.ttf
│ │ │ │ ├── Manrope-Light.ttf
│ │ │ │ ├── Manrope-Medium.ttf
│ │ │ │ ├── Manrope-Regular.ttf
│ │ │ │ └── Manrope-SemiBold.ttf
│ │ ├── index.html
│ │ ├── index.js
│ │ ├── style.css
│ │ └── vite.config.ts
│ ├── payment-request-page-desktop
│ │ ├── App.vue
│ │ ├── fonts
│ │ │ ├── avenir
│ │ │ │ ├── AvenirNextLTPro-Demi.otf
│ │ │ │ ├── AvenirNextLTPro-Medium.otf
│ │ │ │ └── AvenirNextLTPro-Regular.otf
│ │ │ ├── manrope
│ │ │ │ ├── Manrope-Bold.ttf
│ │ │ │ ├── Manrope-ExtraBold.ttf
│ │ │ │ ├── Manrope-ExtraLight.ttf
│ │ │ │ ├── Manrope-Light.ttf
│ │ │ │ ├── Manrope-Medium.ttf
│ │ │ │ ├── Manrope-Regular.ttf
│ │ │ │ └── Manrope-SemiBold.ttf
│ │ │ └── roboto
│ │ │ │ └── RobotoMono-Medium.ttf
│ │ ├── index.html
│ │ ├── index.js
│ │ ├── style.css
│ │ └── vite.config.ts
│ ├── payment-request-page-mobile
│ │ ├── App.vue
│ │ ├── fonts
│ │ │ ├── avenir
│ │ │ │ ├── AvenirNextLTPro-Demi.otf
│ │ │ │ ├── AvenirNextLTPro-Medium.otf
│ │ │ │ └── AvenirNextLTPro-Regular.otf
│ │ │ └── manrope
│ │ │ │ ├── Manrope-Bold.ttf
│ │ │ │ ├── Manrope-ExtraBold.ttf
│ │ │ │ ├── Manrope-ExtraLight.ttf
│ │ │ │ ├── Manrope-Light.ttf
│ │ │ │ ├── Manrope-Medium.ttf
│ │ │ │ ├── Manrope-Regular.ttf
│ │ │ │ └── Manrope-SemiBold.ttf
│ │ ├── index.html
│ │ ├── index.js
│ │ ├── style.css
│ │ └── vite.config.ts
│ ├── tip-request-button
│ │ ├── App.vue
│ │ ├── fonts
│ │ │ ├── avenir
│ │ │ │ ├── AvenirNextLTPro-Demi.otf
│ │ │ │ ├── AvenirNextLTPro-Medium.otf
│ │ │ │ └── AvenirNextLTPro-Regular.otf
│ │ │ └── manrope
│ │ │ │ ├── Manrope-Bold.ttf
│ │ │ │ ├── Manrope-ExtraBold.ttf
│ │ │ │ ├── Manrope-ExtraLight.ttf
│ │ │ │ ├── Manrope-Light.ttf
│ │ │ │ ├── Manrope-Medium.ttf
│ │ │ │ ├── Manrope-Regular.ttf
│ │ │ │ └── Manrope-SemiBold.ttf
│ │ ├── index.html
│ │ ├── index.js
│ │ ├── style.css
│ │ └── vite.config.ts
│ ├── tip-request-modal-desktop
│ │ ├── App.vue
│ │ ├── fonts
│ │ │ ├── avenir
│ │ │ │ ├── AvenirNextLTPro-Demi.otf
│ │ │ │ ├── AvenirNextLTPro-Medium.otf
│ │ │ │ └── AvenirNextLTPro-Regular.otf
│ │ │ ├── manrope
│ │ │ │ ├── Manrope-Bold.ttf
│ │ │ │ ├── Manrope-ExtraBold.ttf
│ │ │ │ ├── Manrope-ExtraLight.ttf
│ │ │ │ ├── Manrope-Light.ttf
│ │ │ │ ├── Manrope-Medium.ttf
│ │ │ │ ├── Manrope-Regular.ttf
│ │ │ │ └── Manrope-SemiBold.ttf
│ │ │ └── roboto
│ │ │ │ └── RobotoMono-Medium.ttf
│ │ ├── index.html
│ │ ├── index.js
│ │ ├── style.css
│ │ └── vite.config.ts
│ ├── tip-request-modal-mobile
│ │ ├── App.vue
│ │ ├── fonts
│ │ │ ├── avenir
│ │ │ │ ├── AvenirNextLTPro-Demi.otf
│ │ │ │ ├── AvenirNextLTPro-Medium.otf
│ │ │ │ └── AvenirNextLTPro-Regular.otf
│ │ │ └── manrope
│ │ │ │ ├── Manrope-Bold.ttf
│ │ │ │ ├── Manrope-ExtraBold.ttf
│ │ │ │ ├── Manrope-ExtraLight.ttf
│ │ │ │ ├── Manrope-Light.ttf
│ │ │ │ ├── Manrope-Medium.ttf
│ │ │ │ ├── Manrope-Regular.ttf
│ │ │ │ └── Manrope-SemiBold.ttf
│ │ ├── index.html
│ │ ├── index.js
│ │ ├── style.css
│ │ └── vite.config.ts
│ ├── tip-request-page-desktop
│ │ ├── App.vue
│ │ ├── fonts
│ │ │ ├── avenir
│ │ │ │ ├── AvenirNextLTPro-Demi.otf
│ │ │ │ ├── AvenirNextLTPro-Medium.otf
│ │ │ │ └── AvenirNextLTPro-Regular.otf
│ │ │ ├── manrope
│ │ │ │ ├── Manrope-Bold.ttf
│ │ │ │ ├── Manrope-ExtraBold.ttf
│ │ │ │ ├── Manrope-ExtraLight.ttf
│ │ │ │ ├── Manrope-Light.ttf
│ │ │ │ ├── Manrope-Medium.ttf
│ │ │ │ ├── Manrope-Regular.ttf
│ │ │ │ └── Manrope-SemiBold.ttf
│ │ │ └── roboto
│ │ │ │ └── RobotoMono-Medium.ttf
│ │ ├── index.html
│ │ ├── index.js
│ │ ├── style.css
│ │ └── vite.config.ts
│ ├── tip-request-page-mobile
│ │ ├── App.vue
│ │ ├── fonts
│ │ │ ├── avenir
│ │ │ │ ├── AvenirNextLTPro-Demi.otf
│ │ │ │ ├── AvenirNextLTPro-Medium.otf
│ │ │ │ └── AvenirNextLTPro-Regular.otf
│ │ │ └── manrope
│ │ │ │ ├── Manrope-Bold.ttf
│ │ │ │ ├── Manrope-ExtraBold.ttf
│ │ │ │ ├── Manrope-ExtraLight.ttf
│ │ │ │ ├── Manrope-Light.ttf
│ │ │ │ ├── Manrope-Medium.ttf
│ │ │ │ ├── Manrope-Regular.ttf
│ │ │ │ └── Manrope-SemiBold.ttf
│ │ ├── index.html
│ │ ├── index.js
│ │ ├── style.css
│ │ └── vite.config.ts
│ └── vite.config.ts
├── package.json
├── postcss.config.cjs
├── src
│ ├── components
│ │ ├── cards
│ │ │ ├── CodeRequestLogin.vue
│ │ │ ├── CodeRequestPayment.vue
│ │ │ └── CodeRequestTip.vue
│ │ ├── common
│ │ │ ├── CodeSpinner.vue
│ │ │ ├── DownloadAppQR.vue
│ │ │ ├── ErrorMessage.vue
│ │ │ ├── backgrounds
│ │ │ │ ├── RecieptBg.vue
│ │ │ │ └── TipBg.vue
│ │ │ ├── index.ts
│ │ │ └── logos
│ │ │ │ ├── CodeLogo.vue
│ │ │ │ ├── CodeLogoSmall.vue
│ │ │ │ └── XLogo.vue
│ │ ├── sdk
│ │ │ ├── CodeButton.vue
│ │ │ ├── CodeDesktopModal.vue
│ │ │ ├── CodeMobileModal.vue
│ │ │ ├── buttons
│ │ │ │ ├── LoginRequestButton.vue
│ │ │ │ ├── PaymentRequestButton.vue
│ │ │ │ └── TipRequestButton.vue
│ │ │ └── modals
│ │ │ │ ├── LoginRequestModalDesktop.vue
│ │ │ │ ├── LoginRequestModalMobile.vue
│ │ │ │ ├── PaymentRequestModalDesktop.vue
│ │ │ │ ├── PaymentRequestModalMobile.vue
│ │ │ │ ├── TipRequestModalDesktop.vue
│ │ │ │ └── TipRequestModalMobile.vue
│ │ └── shims-vue.d.ts
│ ├── config.ts
│ ├── index.ts
│ ├── requests
│ │ ├── BaseRequest.ts
│ │ ├── CodeRequest.ts
│ │ ├── LoginRequest.ts
│ │ ├── PaymentRequest.ts
│ │ ├── TipRequest.ts
│ │ └── index.ts
│ ├── router.ts
│ ├── routes
│ │ ├── buttons
│ │ │ ├── login-request-button.ts
│ │ │ ├── payment-request-button.ts
│ │ │ └── tip-request-button.ts
│ │ ├── modals
│ │ │ ├── login-request-modal-desktop.ts
│ │ │ ├── login-request-modal-mobile.ts
│ │ │ ├── payment-request-modal-desktop.ts
│ │ │ ├── payment-request-modal-mobile.ts
│ │ │ ├── tip-request-modal-desktop.ts
│ │ │ └── tip-request-modal-mobile.ts
│ │ └── pages
│ │ │ ├── login-request-page-desktop.ts
│ │ │ ├── login-request-page-mobile.ts
│ │ │ ├── payment-request-page-desktop.ts
│ │ │ ├── payment-request-page-mobile.ts
│ │ │ ├── tip-request-page-desktop.ts
│ │ │ └── tip-request-page-mobile.ts
│ ├── utils
│ │ ├── currency.ts
│ │ ├── delay.ts
│ │ ├── index.ts
│ │ └── user-agent
│ │ │ ├── detect.ts
│ │ │ ├── index.ts
│ │ │ └── utils.ts
│ └── vite-env.d.ts
├── tailwind.config.cjs
├── tsconfig.json
├── tsconfig.node.json
└── vite.config.ts
└── web
├── README.md
├── example
├── index.html
└── vite.config.ts
├── package.json
├── src
└── index.ts
├── tsconfig.json
├── utils
└── add-hash-to-filename.ts
└── vite.config.ts
/.gitignore:
--------------------------------------------------------------------------------
1 | .aws/*
2 |
3 | # dependencies
4 | node_modules
5 | .pnp
6 | .pnp.js
7 |
8 | # testing
9 | coverage
10 |
11 | # production
12 | dist
13 | .parcel-cache
14 | docs/.vitepress/cache
15 | docs/.vitepress/cache/**/*
16 | docs/examples/*.html
17 |
18 | # misc
19 | .DS_Store
20 | .env
21 | .env.local
22 | .env.development.local
23 | .env.test.local
24 | .env.production.local
25 |
26 | npm-debug.log*
27 | yarn-debug.log*
28 | yarn-error.log*
--------------------------------------------------------------------------------
/docs/fonts/avenir/AvenirNextLTPro-Demi.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/docs/fonts/avenir/AvenirNextLTPro-Demi.otf
--------------------------------------------------------------------------------
/docs/fonts/avenir/AvenirNextLTPro-Medium.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/docs/fonts/avenir/AvenirNextLTPro-Medium.otf
--------------------------------------------------------------------------------
/docs/fonts/avenir/AvenirNextLTPro-Regular.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/docs/fonts/avenir/AvenirNextLTPro-Regular.otf
--------------------------------------------------------------------------------
/docs/guide/contribution-guide.md:
--------------------------------------------------------------------------------
1 | TBD
--------------------------------------------------------------------------------
/docs/index.md:
--------------------------------------------------------------------------------
1 | ---
2 | # https://vitepress.dev/reference/default-theme-home-page
3 | layout: home
4 |
5 | hero:
6 | name: "Code SDK"
7 | text: "Permissionless micropayments for the web"
8 | tagline: Build new and exciting experiences that only become possible when you can charge your users as little as 5 cents. Get started in minutes, with no sign up required.
9 | actions:
10 | - theme: brand
11 | text: Quick Start
12 | link: /guide/quick-start
13 | - theme: alt
14 | text: Examples
15 | link: /example/introduction
16 |
17 | features:
18 | - title: Simple
19 | details: Request payments with 3 lines of code.
20 | - title: Instant
21 | details: Real-time confirmation of payments, no waiting for blocks.
22 | - title: Private
23 | details: On-chain payments without the privacy tradeoffs.
24 | ---
25 |
26 |
--------------------------------------------------------------------------------
/docs/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "docs2",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1",
8 | "dev": "vitepress dev",
9 | "build": "vitepress build",
10 | "preview": "vitepress preview"
11 | },
12 | "author": "",
13 | "license": "ISC",
14 | "devDependencies": {
15 | "vitepress": "^1.0.0-rc.20"
16 | },
17 | "dependencies": {
18 | "vue": "^3.3.4"
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/docs/public/deposit-address.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/docs/public/deposit-address.png
--------------------------------------------------------------------------------
/docs/reference/element-appearance.md:
--------------------------------------------------------------------------------
1 | # Element Appearance
2 |
3 | Depending on the design of your website or app, you may want to change the appearance of elements created by the SDK.
4 |
5 | With the SDK, you can provide an `appearance` object to the element constructor. This can be used to change the appearance of the element.
6 |
7 | ```js{7}
8 | import code from 'https://js.getcode.com/v1';
9 |
10 | const { button } = code.elements.create('button', {
11 | currency: 'usd',
12 | destination: 'E8otxw1CVX9bfyddKu3ZB3BVLa4VVF9J7CTPdnUwT9jR',
13 | amount: 0.05,
14 | appearance: 'light', // or 'dark'
15 | });
16 |
17 | button.mount('#button-container');
18 | ```
19 |
--------------------------------------------------------------------------------
/docs/release-notes.md:
--------------------------------------------------------------------------------
1 | TBD
--------------------------------------------------------------------------------
/examples/.gitignore:
--------------------------------------------------------------------------------
1 | */**/package-lock.json
--------------------------------------------------------------------------------
/examples/1-minimal/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "1-minimal",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "server.js",
6 | "type": "module",
7 | "scripts": {
8 | "start": "node server.js",
9 | "test": "echo \"Error: no test specified\" && exit 1"
10 | },
11 | "author": "",
12 | "license": "ISC",
13 | "dependencies": {
14 | "ejs": "^3.1.9",
15 | "express": "^4.18.2"
16 | },
17 | "devDependencies": {
18 | "@types/express": "^4.17.17"
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/examples/1-minimal/server.js:
--------------------------------------------------------------------------------
1 | import express from "express";
2 |
3 | const port = 3010;
4 | const app = express();
5 |
6 | app.set('view engine', 'ejs');
7 |
8 | app.get('/', function(req, res) {
9 | res.render('index');
10 | });
11 |
12 | app.listen(port, () => {
13 | console.log(`🚀 Minimal example listening on port ${port}`)
14 | console.log(`http://localhost:${port}`)
15 | })
16 |
--------------------------------------------------------------------------------
/examples/2-minimal-dark-mode/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "2-minimal-dark-mode",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "server.js",
6 | "type": "module",
7 | "scripts": {
8 | "start": "node server.js",
9 | "test": "echo \"Error: no test specified\" && exit 1"
10 | },
11 | "author": "",
12 | "license": "ISC",
13 | "dependencies": {
14 | "body-parser": "^1.20.2",
15 | "ejs": "^3.1.9",
16 | "express": "^4.18.2"
17 | },
18 | "devDependencies": {
19 | "@types/express": "^4.17.17"
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/examples/2-minimal-dark-mode/server.js:
--------------------------------------------------------------------------------
1 | import express from "express";
2 |
3 | const port = 3020;
4 | const app = express();
5 |
6 | app.set('view engine', 'ejs');
7 |
8 | app.get('/', function(req, res) {
9 | res.render('index');
10 | });
11 |
12 | app.listen(port, () => {
13 | console.log(`🚀 Minimal example listening on port ${port}`)
14 | console.log(`http://localhost:${port}`)
15 | })
16 |
--------------------------------------------------------------------------------
/examples/3-minimal-with-verify/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "3-minimal-with-verify",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "type": "module",
7 | "scripts": {
8 | "start": "node server.js",
9 | "test": "echo \"Error: no test specified\" && exit 1"
10 | },
11 | "author": "",
12 | "license": "ISC",
13 | "dependencies": {
14 | "@code-wallet/client": "^1.3.1",
15 | "body-parser": "^1.20.2",
16 | "ejs": "^3.1.9",
17 | "express": "^4.18.2"
18 | },
19 | "devDependencies": {
20 | "@types/express": "^4.17.17"
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/examples/3-minimal-with-verify/views/verify.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Code SDK - Example/3-minimal-with-verify
8 |
9 |
10 |
11 | Payment Submitted
12 | Intent Id: <%= intent %>
13 | Status: <%= status %>
14 |
15 |
16 |
--------------------------------------------------------------------------------
/examples/4-minimal-with-webhook/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "4-minimal-with-webhook",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "type": "module",
7 | "scripts": {
8 | "start": "node server.js",
9 | "test": "echo \"Error: no test specified\" && exit 1"
10 | },
11 | "author": "",
12 | "license": "ISC",
13 | "dependencies": {
14 | "@code-wallet/client": "^2.0.7",
15 | "@code-wallet/keys": "^1.0.0",
16 | "body-parser": "^1.20.2",
17 | "ejs": "^3.1.9",
18 | "express": "^4.18.2",
19 | "jose": "^5.2.0"
20 | },
21 | "devDependencies": {
22 | "@types/express": "^4.17.17"
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/examples/5-example-purchase-flow/example.env:
--------------------------------------------------------------------------------
1 | PORT=3040
2 | WEBHOOK_URL=https://example.com/payment/confirm
3 | STORE_ACCOUNT=E8otxw1CVX9bfyddKu3ZB3BVLa4VVF9J7CTPdnUwT9jR
4 | CODE_SEQUENCER_PUBLIC_KEY=codeHy87wGD5oMRLG75qKqsSi1vWE3oxNyYmXo5F9YR
--------------------------------------------------------------------------------
/examples/5-example-purchase-flow/src/routes/index.ts:
--------------------------------------------------------------------------------
1 | export { default as article } from './article';
2 | export { default as payment } from './payment';
--------------------------------------------------------------------------------
/examples/5-example-purchase-flow/src/utils/colors.ts:
--------------------------------------------------------------------------------
1 | type Color = 'reset' | 'cyan' | 'white' | 'gray';
2 |
3 | const colors = {
4 | reset: '\x1b[0m',
5 | cyan: '\x1b[36m',
6 | white: '\x1b[1m\x1b[37m',
7 | gray: '\x1b[90m'
8 | } satisfies { [key in Color]: string };
9 |
10 | function colorize(text: string, color: Color): string {
11 | return `${colors[color] || colors.reset}${text}${colors.reset}`;
12 | }
13 |
14 | // More specific functions based on the given color
15 | function cyan(text: string): string {
16 | return colorize(text, 'cyan');
17 | }
18 |
19 | function whiteBold(text: string): string {
20 | return colorize(text, 'white');
21 | }
22 |
23 | function gray(text: string): string {
24 | return colorize(text, 'gray');
25 | }
26 |
27 | export {
28 | cyan,
29 | whiteBold,
30 | gray
31 | }
--------------------------------------------------------------------------------
/examples/5-example-purchase-flow/src/utils/layout.ts:
--------------------------------------------------------------------------------
1 | import ejs from 'ejs';
2 | import path from 'path';
3 | import { Response } from 'express';
4 |
5 | export function useLayout() {
6 | return async (res: Response, viewName: string, viewData: any) => {
7 | const viewPath = `../../views/pages/${viewName}.ejs`;
8 | const body = await ejs.renderFile(path.join(__dirname, viewPath), viewData);
9 | res.render('sections/layout', {
10 | body,
11 | });
12 | };
13 | }
--------------------------------------------------------------------------------
/examples/5-example-purchase-flow/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "target": "es6",
4 | "module": "commonjs",
5 | "outDir": "./dist",
6 | "rootDir": "./src",
7 | "strict": true,
8 | "esModuleInterop": true,
9 | "skipLibCheck": true,
10 | "forceConsistentCasingInFileNames": true
11 | },
12 | "include": ["src/**/*.ts"],
13 | "exclude": ["node_modules"]
14 | }
--------------------------------------------------------------------------------
/examples/5-example-purchase-flow/views/pages/article-purchased-page.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | <%- content.title %>
5 | <%- content.body %>
6 |
7 |
8 |
--------------------------------------------------------------------------------
/examples/5-example-purchase-flow/views/sections/layout.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Code SDK - Example
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | <%- body %>
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/examples/6-minimal-purchase-with-login/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "6-minimal-with-login",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "type": "module",
7 | "scripts": {
8 | "start": "node server.js",
9 | "test": "echo \"Error: no test specified\" && exit 1"
10 | },
11 | "author": "",
12 | "license": "ISC",
13 | "dependencies": {
14 | "@code-wallet/client": "^1.3.1",
15 | "body-parser": "^1.20.2",
16 | "ejs": "^3.1.9",
17 | "express": "^4.18.2"
18 | },
19 | "devDependencies": {
20 | "@types/express": "^4.17.17"
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/examples/6-minimal-purchase-with-login/views/success.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Code SDK - Example/6-minimal-purchase-with-login
9 |
10 |
11 |
12 | Intent Id: <%= intent %>
13 | Status:
<%= JSON.stringify(status, null, 2) %>
14 | User:
<%= JSON.stringify(user, null, 2) %>
15 |
16 |
17 |
--------------------------------------------------------------------------------
/examples/7-minimal-login/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "7-minimal-with-login",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "type": "module",
7 | "scripts": {
8 | "start": "node server.js",
9 | "test": "echo \"Error: no test specified\" && exit 1"
10 | },
11 | "author": "",
12 | "license": "ISC",
13 | "dependencies": {
14 | "@code-wallet/client": "^2.0.6",
15 | "@code-wallet/keys": "^1.0.0",
16 | "body-parser": "^1.20.2",
17 | "ejs": "^3.1.9",
18 | "express": "^4.18.2"
19 | },
20 | "devDependencies": {
21 | "@types/express": "^4.17.17"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/examples/7-minimal-login/views/success.ejs:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Code SDK - Example/7-minimal-login
9 |
10 |
11 |
12 | Intent Id: <%= intent %>
13 | Status:
<%= JSON.stringify(status, null, 2) %>
14 | User:
<%= JSON.stringify(user, null, 2) %>
15 |
16 |
17 |
--------------------------------------------------------------------------------
/examples/8-minimal-tip-card/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "8-minimal-tip-card",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "server.js",
6 | "type": "module",
7 | "scripts": {
8 | "start": "node server.js",
9 | "test": "echo \"Error: no test specified\" && exit 1"
10 | },
11 | "author": "",
12 | "license": "ISC",
13 | "dependencies": {
14 | "ejs": "^3.1.9",
15 | "express": "^4.18.2"
16 | },
17 | "devDependencies": {
18 | "@types/express": "^4.17.17"
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/examples/8-minimal-tip-card/server.js:
--------------------------------------------------------------------------------
1 | import express from "express";
2 |
3 | const port = 3080;
4 | const app = express();
5 |
6 | app.set('view engine', 'ejs');
7 |
8 | app.get('/', function(req, res) {
9 | res.render('index');
10 | });
11 |
12 | app.listen(port, () => {
13 | console.log(`🚀 Minimal example listening on port ${port}`)
14 | console.log(`http://localhost:${port}`)
15 | })
16 |
--------------------------------------------------------------------------------
/examples/README.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/examples/README.md
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "private": true,
3 | "workspaces": [
4 | "packages/*"
5 | ],
6 | "scripts": {
7 | "dev:proxy": "cd packages/proxy && npm run dev",
8 | "dev:views": "cd packages/views && npm run dev",
9 | "dev:elements": "cd packages/elements && npm run dev"
10 | },
11 | "engines": {
12 | "node": ">=18.0.0"
13 | },
14 | "devDependencies": {
15 | "typescript": "^5.1.6"
16 | },
17 | "dependencies": {
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/packages/client/.mocharc.json:
--------------------------------------------------------------------------------
1 | {
2 | "extensions": ["ts"],
3 | "node-option": [
4 | "experimental-specifier-resolution=node",
5 | "loader=ts-node/esm"
6 | ]
7 | }
--------------------------------------------------------------------------------
/packages/client/src/errors.ts:
--------------------------------------------------------------------------------
1 | const ErrUnexpectedError = () => new Error("unexpected error");
2 | const ErrNetworkError = (error: any) => new Error(`Network error ${error}`);
3 | const ErrInvalidResponse = (status:number) => new Error(`Request failed with status code ${status}`);
4 | const ErrIntentIdRequired = () => new Error("intent ID is required");
5 | const ErrSignerRequired = () => new Error("signer is required");
6 |
7 | export {
8 | ErrUnexpectedError,
9 | ErrIntentIdRequired,
10 | ErrSignerRequired,
11 | ErrNetworkError,
12 | ErrInvalidResponse,
13 | };
14 |
--------------------------------------------------------------------------------
/packages/client/src/index.ts:
--------------------------------------------------------------------------------
1 | export * from './intents';
2 | export * from './client';
--------------------------------------------------------------------------------
/packages/client/src/intents/index.ts:
--------------------------------------------------------------------------------
1 | import { loginIntents } from './login';
2 | import { paymentIntents } from './payments';
3 | import { webhook } from './webhook';
4 |
5 | const getStatus = paymentIntents.getStatus;
6 | const getUserId = loginIntents.getUserId;
7 | const registerWebhook = webhook.register;
8 |
9 | export {
10 | getStatus,
11 | getUserId,
12 | registerWebhook,
13 |
14 | paymentIntents,
15 | loginIntents,
16 | webhook,
17 | };
--------------------------------------------------------------------------------
/packages/client/src/requests/index.ts:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/client/src/requests/index.ts
--------------------------------------------------------------------------------
/packages/client/src/utils/useClient.ts:
--------------------------------------------------------------------------------
1 | import { Client, ClientOptions } from "../client";
2 |
3 | const defaultEndpoint = 'https://cash.getcode.com/v1';
4 |
5 | export function useClient(opt: ClientOptions = {}) : Client {
6 | const endpoint = opt.endpoint ?? defaultEndpoint;
7 |
8 | return new Client(endpoint, opt.fetch);
9 | }
--------------------------------------------------------------------------------
/packages/client/tsconfig.cjs.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "./tsconfig.json",
3 | "compilerOptions": {
4 | "module": "CommonJS",
5 | "outDir": "dist/cjs"
6 | }
7 | }
--------------------------------------------------------------------------------
/packages/client/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "composite": false,
4 | "declaration": true,
5 | "declarationMap": true,
6 | "esModuleInterop": true,
7 | "forceConsistentCasingInFileNames": true,
8 | "inlineSources": false,
9 | "isolatedModules": true,
10 | "moduleResolution": "node",
11 | "noFallthroughCasesInSwitch": true,
12 | "noUnusedLocals": true,
13 | "noUnusedParameters": true,
14 | "preserveWatchOutput": true,
15 | "skipLibCheck": true,
16 | "strict": true,
17 | "target": "ES2020",
18 | "module": "ESNext",
19 | "outDir": "dist/esm",
20 | },
21 | "include": [
22 | "src"
23 | ],
24 | "exclude": [
25 | "node_modules"
26 | ]
27 | }
--------------------------------------------------------------------------------
/packages/currency/src/errors.ts:
--------------------------------------------------------------------------------
1 | const ErrCurrencyRequired = () => new Error("currency is required");
2 | const ErrInvalidCurrency = () => new Error("invalid currency");
3 |
4 | export {
5 | ErrCurrencyRequired,
6 | ErrInvalidCurrency,
7 | };
8 |
--------------------------------------------------------------------------------
/packages/currency/src/index.ts:
--------------------------------------------------------------------------------
1 | export * from './errors';
2 | export * from './types';
3 | export * from './utils';
4 | export * from './mints/kin';
--------------------------------------------------------------------------------
/packages/currency/tsconfig.cjs.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "./tsconfig.json",
3 | "compilerOptions": {
4 | "module": "CommonJS",
5 | "outDir": "dist/cjs"
6 | }
7 | }
--------------------------------------------------------------------------------
/packages/currency/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "composite": false,
4 | "declaration": true,
5 | "declarationMap": true,
6 | "esModuleInterop": true,
7 | "forceConsistentCasingInFileNames": true,
8 | "inlineSources": false,
9 | "isolatedModules": true,
10 | "moduleResolution": "node",
11 | "noFallthroughCasesInSwitch": true,
12 | "noUnusedLocals": true,
13 | "noUnusedParameters": true,
14 | "preserveWatchOutput": true,
15 | "skipLibCheck": true,
16 | "strict": true,
17 | "target": "ES2020",
18 | "module": "ESNext",
19 | "outDir": "dist/esm",
20 | },
21 | "include": [
22 | "src"
23 | ],
24 | "exclude": [
25 | "node_modules"
26 | ]
27 | }
--------------------------------------------------------------------------------
/packages/elements/src/components/elements/index.ts:
--------------------------------------------------------------------------------
1 | export { default as IntentRequestButton } from './IntentRequestButton.vue'
2 | export { default as IntentRequestModalDesktop } from './IntentRequestModalDesktop.vue'
3 | export { default as IntentRequestModalMobile } from './IntentRequestModalMobile.vue'
--------------------------------------------------------------------------------
/packages/elements/src/components/index.ts:
--------------------------------------------------------------------------------
1 | export * from './elements';
2 |
3 | export { default as ButtonFlow } from './flows/ButtonFlow.vue';
4 | export { default as PageFlow } from './flows/PageFlow.vue';
--------------------------------------------------------------------------------
/packages/elements/src/components/preload/index.ts:
--------------------------------------------------------------------------------
1 | export { default as PreloadIntentRequestModalDesktop } from './PreloadIntentRequestModalDesktop.vue'
2 | export { default as PreloadIntentRequestModalMobile } from './PreloadIntentRequestModalMobile.vue'
--------------------------------------------------------------------------------
/packages/elements/src/components/shims-vue.d.ts:
--------------------------------------------------------------------------------
1 | declare module "*.vue" {
2 | import { defineComponent } from "vue";
3 | const Component: ReturnType;
4 | export default Component;
5 | }
6 |
--------------------------------------------------------------------------------
/packages/elements/src/config.ts:
--------------------------------------------------------------------------------
1 | import { Ref, ref } from "vue";
2 |
3 | const ErrConfigNotInitialized = () => new Error("Config not initialized");
4 |
5 | export interface Options {
6 | codeSdk?: string;
7 | }
8 |
9 | let config: Ref;
10 | const initConfig = (opts: Options) => {
11 | if (opts.codeSdk === undefined) {
12 | throw new Error("codeSdk path is required");
13 | }
14 |
15 | config = ref(opts);
16 | }
17 |
18 | const useConfig = () => {
19 | if (!config) {
20 | throw ErrConfigNotInitialized;
21 | }
22 |
23 | return {
24 | config,
25 |
26 | codeSdk: () => config.value.codeSdk,
27 | }
28 | }
29 |
30 | export {
31 | initConfig,
32 | useConfig,
33 | }
--------------------------------------------------------------------------------
/packages/elements/src/errors.ts:
--------------------------------------------------------------------------------
1 | const ErrUnknownElementType = (type: string) => new Error(`Unknown element type: ${type}`);
2 | const ErrRequiredParameter = (param: string) => new Error(`Required parameter: ${param}`);
3 | const ErrInvalidParameter = (param: string) => new Error(`Invalid parameter: ${param}`);
4 |
5 | export {
6 | ErrUnknownElementType,
7 | ErrRequiredParameter,
8 | ErrInvalidParameter,
9 | }
--------------------------------------------------------------------------------
/packages/elements/src/index.ts:
--------------------------------------------------------------------------------
1 | import * as errors from './errors';
2 | import { elements } from './elements';
3 | import { initConfig, Options } from './config';
4 |
5 | const opt: Options = {
6 | codeSdk: process.env.SDK_PATH,
7 | };
8 |
9 | initConfig(opt);
10 |
11 | export { elements, errors }
12 | export default { elements, errors }
--------------------------------------------------------------------------------
/packages/elements/src/utils/delay.ts:
--------------------------------------------------------------------------------
1 | const sleep = (ms:number) => new Promise(resolve => setTimeout(resolve, ms));
2 |
3 | export {
4 | sleep
5 | }
--------------------------------------------------------------------------------
/packages/elements/src/utils/state.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * Utility function to create a deep clone of the object without Vue's reactivity system.
3 | * @param obj - The object to process.
4 | * @returns A deep clone of the object without reactivity.
5 | */
6 | function withoutReactivity(obj?: unknown) {
7 | if (typeof obj !== 'object') { return obj; }
8 | return JSON.parse(JSON.stringify(obj));
9 | }
10 |
11 | export { withoutReactivity };
--------------------------------------------------------------------------------
/packages/elements/src/vite-env.d.ts:
--------------------------------------------------------------------------------
1 | ///
--------------------------------------------------------------------------------
/packages/elements/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "declaration": true,
4 | "declarationMap": true,
5 | "esModuleInterop": true,
6 | "forceConsistentCasingInFileNames": true,
7 | "inlineSources": false,
8 | "isolatedModules": true,
9 | "moduleResolution": "node",
10 | "noFallthroughCasesInSwitch": true,
11 | "noUnusedLocals": true,
12 | "noUnusedParameters": true,
13 | "preserveWatchOutput": true,
14 | "skipLibCheck": true,
15 | "strict": true,
16 | "target": "ES2020",
17 | "module": "ESNext",
18 | "outDir": "dist/esm",
19 | },
20 | "include": [
21 | "src",
22 | ],
23 | "exclude": [
24 | "node_modules"
25 | ],
26 | }
--------------------------------------------------------------------------------
/packages/events/.mocharc.json:
--------------------------------------------------------------------------------
1 | {
2 | "extensions": ["ts"],
3 | "node-option": [
4 | "experimental-specifier-resolution=node",
5 | "loader=ts-node/esm"
6 | ]
7 | }
--------------------------------------------------------------------------------
/packages/events/src/index.ts:
--------------------------------------------------------------------------------
1 | export * from './channel';
2 | export * from './events';
--------------------------------------------------------------------------------
/packages/events/tsconfig.cjs.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "./tsconfig.json",
3 | "compilerOptions": {
4 | "module": "CommonJS",
5 | "outDir": "dist/cjs"
6 | }
7 | }
--------------------------------------------------------------------------------
/packages/events/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "composite": false,
4 | "declaration": true,
5 | "declarationMap": true,
6 | "esModuleInterop": true,
7 | "forceConsistentCasingInFileNames": true,
8 | "inlineSources": false,
9 | "isolatedModules": true,
10 | "moduleResolution": "node",
11 | "noFallthroughCasesInSwitch": true,
12 | "noUnusedLocals": true,
13 | "noUnusedParameters": true,
14 | "preserveWatchOutput": true,
15 | "skipLibCheck": true,
16 | "strict": true,
17 | "target": "ES2020",
18 | "module": "ESNext",
19 | "outDir": "dist/esm",
20 | },
21 | "include": [
22 | "src"
23 | ],
24 | "exclude": [
25 | "node_modules"
26 | ]
27 | }
--------------------------------------------------------------------------------
/packages/flags/scripts/generateWrapperFiles.ts:
--------------------------------------------------------------------------------
1 | const fs = require('fs');
2 | const path = require('path');
3 |
4 | const svgDirectory = './src/flags';
5 | const outputDirectory = './src/wrappers';
6 |
7 | if (!fs.existsSync(outputDirectory)){
8 | fs.mkdirSync(outputDirectory, { recursive: true });
9 | }
10 |
11 | const files = fs.readdirSync(svgDirectory);
12 | files.forEach(file => {
13 | if (path.extname(file) === '.svg') {
14 | const moduleName = path.basename(file, '.svg');
15 | const content = `export { default } from '../flags/${file}';\n`;
16 | fs.writeFileSync(`${outputDirectory}/${moduleName}.ts`, content);
17 | }
18 | });
--------------------------------------------------------------------------------
/packages/flags/src/flags/index.ts:
--------------------------------------------------------------------------------
1 | declare module '*.svg' {
2 | const content: any;
3 | export default content;
4 | }
--------------------------------------------------------------------------------
/packages/flags/src/index.ts:
--------------------------------------------------------------------------------
1 | import { currencyCodeToRegion } from '@code-wallet/currency';
2 |
3 | async function flagForCurrency(currency: any) {
4 | const region = currencyCodeToRegion(currency);
5 | if (!region) {
6 | return;
7 | }
8 |
9 | // dynamic import based on region
10 | const flag = (await import(`./wrappers/${region}.ts`)).default;
11 | if (flag) {
12 | return flag;
13 | }
14 | }
15 |
16 | export {
17 | flagForCurrency,
18 | }
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ad.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ad.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ae.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ae.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/af.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/af.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ag.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ag.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ai.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ai.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/al.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/al.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/am.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/am.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/an.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/an.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ao.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ao.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/aq.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/aq.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ar.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ar.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/as.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/as.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/at.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/at.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/au.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/au.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/aw.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/aw.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ax.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ax.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/az.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/az.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ba.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ba.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/bb.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/bb.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/bd.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/bd.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/be.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/be.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/bf.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/bf.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/bg.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/bg.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/bh.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/bh.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/bi.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/bi.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/bj.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/bj.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/bl.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/bl.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/bm.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/bm.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/bn.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/bn.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/bo.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/bo.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/bq.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/bq.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/br.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/br.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/bs.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/bs.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/bt.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/bt.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/bv.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/bv.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/bw.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/bw.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/by.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/by.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/bz.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/bz.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ca.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ca.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/cc.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/cc.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/cd.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/cd.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/cf.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/cf.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/cg.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/cg.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ch.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ch.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ci.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ci.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ck.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ck.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/cl.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/cl.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/cm.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/cm.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/cn.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/cn.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/co.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/co.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/cr.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/cr.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/cu.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/cu.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/cv.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/cv.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/cw.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/cw.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/cx.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/cx.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/cy.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/cy.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/cz.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/cz.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/de.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/de.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/dj.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/dj.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/dk.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/dk.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/dm.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/dm.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/do.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/do.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/dz.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/dz.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ec.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ec.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ee.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ee.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/eg.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/eg.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/eh.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/eh.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/eo.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/eo.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/er.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/er.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/es.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/es.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/et.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/et.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/eu.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/eu.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/fi.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/fi.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/fj.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/fj.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/fk.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/fk.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/fm.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/fm.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/fo.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/fo.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/fr.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/fr.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ga.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ga.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/gb.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/gb.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/gd.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/gd.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ge.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ge.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/gf.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/gf.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/gg.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/gg.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/gh.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/gh.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/gi.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/gi.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/gl.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/gl.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/gm.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/gm.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/gn.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/gn.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/gp.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/gp.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/gq.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/gq.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/gr.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/gr.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/gs.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/gs.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/gt.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/gt.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/gu.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/gu.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/gw.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/gw.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/gy.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/gy.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/hk.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/hk.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/hm.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/hm.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/hn.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/hn.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/hr.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/hr.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ht.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ht.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/hu.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/hu.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/id.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/id.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ie.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ie.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/il.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/il.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/im.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/im.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/in.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/in.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/io.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/io.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/iq.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/iq.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ir.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ir.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/is.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/is.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/it.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/it.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/je.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/je.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/jm.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/jm.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/jo.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/jo.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/jp.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/jp.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ke.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ke.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/kg.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/kg.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/kh.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/kh.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ki.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ki.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/km.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/km.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/kn.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/kn.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/kp.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/kp.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/kr.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/kr.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/kw.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/kw.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ky.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ky.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/kz.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/kz.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/la.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/la.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/lb.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/lb.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/lc.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/lc.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/li.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/li.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/lk.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/lk.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/lr.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/lr.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ls.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ls.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/lt.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/lt.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/lu.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/lu.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/lv.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/lv.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ly.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ly.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ma.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ma.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/mc.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/mc.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/md.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/md.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/me.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/me.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/mf.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/mf.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/mg.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/mg.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/mh.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/mh.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/mk.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/mk.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ml.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ml.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/mm.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/mm.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/mn.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/mn.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/mo.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/mo.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/mp.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/mp.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/mq.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/mq.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/mr.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/mr.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ms.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ms.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/mt.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/mt.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/mu.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/mu.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/mv.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/mv.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/mw.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/mw.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/mx.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/mx.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/my.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/my.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/mz.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/mz.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/na.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/na.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/nc.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/nc.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ne.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ne.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/nf.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/nf.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ng.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ng.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ni.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ni.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/nl.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/nl.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/no.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/no.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/np.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/np.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/nr.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/nr.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/nu.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/nu.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/nz.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/nz.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/om.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/om.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/pa.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/pa.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/pe.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/pe.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/pf.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/pf.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/pg.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/pg.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ph.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ph.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/pk.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/pk.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/pl.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/pl.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/pm.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/pm.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/pn.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/pn.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/pr.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/pr.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ps.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ps.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/pt.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/pt.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/pw.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/pw.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/py.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/py.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/qa.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/qa.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/re.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/re.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ro.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ro.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/rs.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/rs.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ru.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ru.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/rw.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/rw.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/sa.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/sa.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/sb.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/sb.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/sc.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/sc.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/sd.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/sd.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/se.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/se.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/sg.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/sg.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/sh.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/sh.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/si.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/si.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/sj.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/sj.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/sk.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/sk.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/sl.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/sl.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/sm.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/sm.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/sn.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/sn.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/so.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/so.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/sr.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/sr.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ss.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ss.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/st.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/st.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/sv.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/sv.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/sx.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/sx.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/sy.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/sy.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/sz.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/sz.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/tc.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/tc.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/td.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/td.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/tf.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/tf.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/tg.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/tg.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/th.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/th.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/tj.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/tj.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/tk.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/tk.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/tl.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/tl.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/tm.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/tm.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/tn.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/tn.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/to.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/to.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/tr.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/tr.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/tt.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/tt.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/tv.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/tv.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/tw.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/tw.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/tz.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/tz.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ua.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ua.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ug.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ug.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/um.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/um.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/us.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/us.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/uy.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/uy.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/uz.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/uz.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/va.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/va.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/vc.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/vc.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ve.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ve.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/vg.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/vg.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/vi.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/vi.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/vn.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/vn.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/vu.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/vu.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/wf.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/wf.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ws.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ws.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/ye.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/ye.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/yt.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/yt.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/za.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/za.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/zm.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/zm.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/zw.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/zw.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/src/wrappers/zz.ts:
--------------------------------------------------------------------------------
1 | export { default } from '../flags/zz.svg';
2 |
--------------------------------------------------------------------------------
/packages/flags/tsconfig.cjs.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "./tsconfig.json",
3 | "compilerOptions": {
4 | "module": "CommonJS",
5 | "outDir": "dist/cjs"
6 | }
7 | }
--------------------------------------------------------------------------------
/packages/flags/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "sourceMap": false,
4 | "declaration": true,
5 | "declarationMap": true,
6 | "esModuleInterop": true,
7 | "forceConsistentCasingInFileNames": true,
8 | "inlineSources": false,
9 | "isolatedModules": true,
10 | "moduleResolution": "node",
11 | "noFallthroughCasesInSwitch": true,
12 | "noUnusedLocals": true,
13 | "noUnusedParameters": true,
14 | "preserveWatchOutput": true,
15 | "skipLibCheck": true,
16 | "strict": true,
17 | "target": "ES2020",
18 | "module": "ESNext",
19 | "outDir": "dist",
20 | },
21 | "include": [
22 | "src/**/*",
23 | ],
24 | "exclude": [
25 | "node_modules", "dist", "vite.config.ts"
26 | ]
27 | }
--------------------------------------------------------------------------------
/packages/flags/vite.config.ts:
--------------------------------------------------------------------------------
1 | import { defineConfig } from 'vite';
2 | import * as path from 'path';
3 |
4 | export default defineConfig({
5 | build: {
6 | chunkSizeWarningLimit: 1600,
7 | lib: {
8 | entry: path.resolve(__dirname, 'src/index.ts'),
9 | name: 'flags',
10 | formats: ['es', 'cjs', 'umd', 'iife'],
11 | },
12 | rollupOptions: {
13 | input: {
14 | index: path.resolve(__dirname, 'src/index.ts'),
15 | },
16 | output: {
17 | exports: 'named',
18 | },
19 | },
20 | sourcemap: false,
21 | minify: true,
22 | },
23 | });
--------------------------------------------------------------------------------
/packages/intents/src/index.ts:
--------------------------------------------------------------------------------
1 | export * from './types';
2 | export * from './errors';
3 | export * from './events';
4 | export * from './options';
5 | export * from './intents';
6 | export * from './keys';
7 | export * from './utils';
--------------------------------------------------------------------------------
/packages/intents/src/intents/index.ts:
--------------------------------------------------------------------------------
1 | export * from './PaymentRequestIntent';
2 | export * from './PaymentRequestWithLoginIntent';
3 | export * from './LoginRequestIntent';
4 | export * from './TipRequestIntent';
--------------------------------------------------------------------------------
/packages/intents/src/keys/index.ts:
--------------------------------------------------------------------------------
1 | export * from './idempotency';
2 | export * from './rendezvous';
--------------------------------------------------------------------------------
/packages/intents/src/utils/index.ts:
--------------------------------------------------------------------------------
1 | export * from './encode';
2 | export * from './validate';
--------------------------------------------------------------------------------
/packages/intents/tsconfig.cjs.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "./tsconfig.json",
3 | "compilerOptions": {
4 | "module": "CommonJS",
5 | "outDir": "dist/cjs"
6 | }
7 | }
--------------------------------------------------------------------------------
/packages/intents/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "composite": false,
4 | "declaration": true,
5 | "declarationMap": true,
6 | "esModuleInterop": true,
7 | "forceConsistentCasingInFileNames": true,
8 | "inlineSources": false,
9 | "isolatedModules": true,
10 | "moduleResolution": "node",
11 | "noFallthroughCasesInSwitch": true,
12 | "noUnusedLocals": true,
13 | "noUnusedParameters": true,
14 | "preserveWatchOutput": true,
15 | "skipLibCheck": true,
16 | "strict": true,
17 | "target": "ES2020",
18 | "module": "ESNext",
19 | "outDir": "dist/esm",
20 | },
21 | "include": [
22 | "src"
23 | ],
24 | "exclude": [
25 | "node_modules"
26 | ]
27 | }
--------------------------------------------------------------------------------
/packages/keys/src/errors.ts:
--------------------------------------------------------------------------------
1 | const ErrInvalidAddress = () => new Error("invalid address");
2 | const ErrInvalidLength = () => new Error("invalid length");
3 | const ErrInvalidSeeds = () => new Error("invalid seeds");
4 |
5 | export {
6 | ErrInvalidAddress,
7 | ErrInvalidLength,
8 | ErrInvalidSeeds,
9 | };
10 |
--------------------------------------------------------------------------------
/packages/keys/src/index.ts:
--------------------------------------------------------------------------------
1 | export * from './errors';
2 | export * from './keypair';
3 | export * from './publickey';
4 | export * from './utils';
--------------------------------------------------------------------------------
/packages/keys/tsconfig.cjs.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "./tsconfig.json",
3 | "compilerOptions": {
4 | "module": "CommonJS",
5 | "outDir": "dist/cjs"
6 | }
7 | }
--------------------------------------------------------------------------------
/packages/keys/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "composite": false,
4 | "declaration": true,
5 | "declarationMap": true,
6 | "esModuleInterop": true,
7 | "forceConsistentCasingInFileNames": true,
8 | "inlineSources": false,
9 | "isolatedModules": true,
10 | "moduleResolution": "node",
11 | "noFallthroughCasesInSwitch": true,
12 | "noUnusedLocals": true,
13 | "noUnusedParameters": true,
14 | "preserveWatchOutput": true,
15 | "skipLibCheck": true,
16 | "strict": true,
17 | "target": "ES2020",
18 | "module": "ESNext",
19 | "outDir": "dist/esm",
20 | },
21 | "include": [
22 | "src"
23 | ],
24 | "exclude": [
25 | "node_modules"
26 | ]
27 | }
--------------------------------------------------------------------------------
/packages/kikcode/.gitignore:
--------------------------------------------------------------------------------
1 | build
--------------------------------------------------------------------------------
/packages/kikcode/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM trzeci/emscripten:sdk-tag-1.38.40-64bit
2 |
3 | WORKDIR /lib
4 |
5 | COPY lib/ lib/
6 | COPY CMakeLists.txt .
--------------------------------------------------------------------------------
/packages/kikcode/Makefile:
--------------------------------------------------------------------------------
1 | .PHONY: build-docker-image wasm
2 |
3 | build-docker-image:
4 | docker build --platform linux/x86_64 -t kikcode-wasm-builder .
5 |
6 | wasm: build-docker-image
7 | mkdir -p build
8 | docker run --platform linux/x86_64 --rm -v $(shell pwd):/lib -u $(shell id -u):$(shell id -g) kikcode-wasm-builder emcmake cmake -B build -S .
9 | docker run --platform linux/x86_64 --rm -v $(shell pwd):/lib -u $(shell id -u):$(shell id -g) kikcode-wasm-builder emmake make -C build
10 |
11 | build: wasm
12 | rm -f ./src/kikcode_webassembly.js
13 | cp build/kikcode_webassembly.js ./src/kikcode_webassembly.js
14 |
--------------------------------------------------------------------------------
/packages/kikcode/lib/kikcode_constants.h:
--------------------------------------------------------------------------------
1 | #ifndef __KIKCODE_CONSTANTS_H__
2 | #define __KIKCODE_CONSTANTS_H__
3 |
4 | #define KIK_CODE_TOTAL_BYTE_COUNT 35
5 |
6 | #endif // __KIKCODE_CONSTANTS_H__
7 |
--------------------------------------------------------------------------------
/packages/kikcode/lib/kikcode_wrapper.h:
--------------------------------------------------------------------------------
1 | #ifndef KIKCODES_WRAPPER_H
2 | #define KIKCODES_WRAPPER_H
3 |
4 | #include
5 | #include
6 |
7 | extern "C" {
8 | uint8_t* kikcode_encode(const uint8_t* data, int dataSize);
9 | uint8_t* kikcode_decode(const uint8_t* data, int dataSize, int *outputSize);
10 | }
11 |
12 | #endif // KIKCODES_WRAPPER_H
--------------------------------------------------------------------------------
/packages/kikcode/lib/zxing/common/reedsolomon/ReedSolomonEncoder.h:
--------------------------------------------------------------------------------
1 | #ifndef __REED_SOLOMON_ENCODER_H__
2 | #define __REED_SOLOMON_ENCODER_H__
3 |
4 | #include
5 | #include
6 | #include "Counted.h"
7 | #include "Array.h"
8 | #include "GenericGFPoly.h"
9 | #include "GenericGF.h"
10 |
11 | namespace zxing {
12 | class ReedSolomonEncoder {
13 | private:
14 | GenericGF &field_;
15 | std::vector[ > cachedGenerators_;
16 |
17 | Ref buildGenerator(int degree);
18 |
19 | public:
20 | ReedSolomonEncoder(GenericGF &field);
21 | void encode(ArrayRef toEncode, int ecBytes);
22 | };
23 | }
24 |
25 | #endif // __REED_SOLOMON_ENCODER_H__
26 |
--------------------------------------------------------------------------------
/packages/kikcode/src/errors.ts:
--------------------------------------------------------------------------------
1 | const ErrInvalidSize = () => new Error("invalid size");
2 | const ErrInvalidValue = () => new Error("invalid value");
3 | const ErrInvalidUsername = () => new Error("invalid username");
4 | const ErrInvalidNonce = () => new Error("invalid nonce");
5 |
6 | export {
7 | ErrInvalidSize,
8 | ErrInvalidValue,
9 | ErrInvalidUsername,
10 | ErrInvalidNonce,
11 | };
12 |
--------------------------------------------------------------------------------
/packages/kikcode/src/index.ts:
--------------------------------------------------------------------------------
1 | export * from './types';
2 | export * from './payload';
3 | export * from './errors';
4 | export * from './kikcode-encoding';
5 | export * from './kikcode-scancode';
--------------------------------------------------------------------------------
/packages/kikcode/tsconfig.cjs.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "./tsconfig.json",
3 | "compilerOptions": {
4 | "module": "CommonJS",
5 | "outDir": "dist/cjs"
6 | }
7 | }
--------------------------------------------------------------------------------
/packages/mnemonic/src/errors.ts:
--------------------------------------------------------------------------------
1 | const ErrUnsupportedLanguage = () => new Error('Unsupported language');
2 | const ErrInvalidEntropyError = () => new Error('Invalid entropy');
3 | const ErrInvalidMnemonicError = () => new Error('Invalid mnemonic');
4 | const ErrInvalidPathIdentifier = (identifier: string | undefined) => new Error(`Invalid path identifier: ${identifier}`)
5 | const ErrInvalidIndex = (index: string | undefined) => new Error(`Invalid index: ${index}`)
6 |
7 | export {
8 | ErrUnsupportedLanguage,
9 | ErrInvalidEntropyError,
10 | ErrInvalidMnemonicError,
11 | ErrInvalidPathIdentifier,
12 | ErrInvalidIndex,
13 | }
--------------------------------------------------------------------------------
/packages/mnemonic/src/index.ts:
--------------------------------------------------------------------------------
1 | export * from './derive';
2 | export * from './errors';
3 | export * from './language';
4 | export * from './mnemonic';
5 | export * from './offset';
6 | export * from './path';
7 | export * from './phrase';
8 | export * from './utils';
9 | export * from './wordlists';
--------------------------------------------------------------------------------
/packages/mnemonic/src/wordlists/index.ts:
--------------------------------------------------------------------------------
1 | export * from './english';
2 | export * from './chinese-simplified';
3 | export * from './chinese-traditional';
4 | export * from './french';
5 | export * from './italian';
6 | export * from './japanese';
7 | export * from './korean';
8 | export * from './spanish';
--------------------------------------------------------------------------------
/packages/mnemonic/tsconfig.cjs.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "./tsconfig.json",
3 | "compilerOptions": {
4 | "module": "CommonJS",
5 | "outDir": "dist/cjs"
6 | }
7 | }
--------------------------------------------------------------------------------
/packages/mnemonic/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "composite": false,
4 | "declaration": true,
5 | "declarationMap": true,
6 | "esModuleInterop": true,
7 | "forceConsistentCasingInFileNames": true,
8 | "inlineSources": false,
9 | "isolatedModules": true,
10 | "moduleResolution": "node",
11 | "noFallthroughCasesInSwitch": true,
12 | "noUnusedLocals": true,
13 | "noUnusedParameters": true,
14 | "preserveWatchOutput": true,
15 | "skipLibCheck": true,
16 | "strict": true,
17 | "target": "ES2020",
18 | "module": "ESNext",
19 | "outDir": "dist/esm",
20 | },
21 | "include": [
22 | "src"
23 | ],
24 | "exclude": [
25 | "node_modules"
26 | ]
27 | }
--------------------------------------------------------------------------------
/packages/programs/src/index.ts:
--------------------------------------------------------------------------------
1 | export * as timelock from './timelock';
2 | export * as splitter from './splitter';
3 | export * from './utils';
--------------------------------------------------------------------------------
/packages/programs/src/splitter/generated/accounts/index.ts:
--------------------------------------------------------------------------------
1 | export * from './Pool';
2 | export * from './Proof';
--------------------------------------------------------------------------------
/packages/programs/src/splitter/generated/index.ts:
--------------------------------------------------------------------------------
1 | import { PublicKey } from '@solana/web3.js'
2 | export * from './accounts'
3 | export * from './errors'
4 | export * from './instructions'
5 | export * from './types'
6 |
7 | /**
8 | * Program address
9 | *
10 | * @category constants
11 | * @category generated
12 | */
13 | export const PROGRAM_ADDRESS = 'spLit2eb13Tz93if6aJM136nUWki5PVUsoEjcUjwpwW'
14 |
15 | /**
16 | * Program publick key
17 | *
18 | * @category constants
19 | * @category generated
20 | */
21 | export const PROGRAM_ID = new PublicKey(PROGRAM_ADDRESS)
22 |
--------------------------------------------------------------------------------
/packages/programs/src/splitter/generated/instructions/index.ts:
--------------------------------------------------------------------------------
1 | export * from './closeProof';
2 | export * from './closeTokenAccount';
3 | export * from './initializePool';
4 | export * from './initializeProof';
5 | export * from './openTokenAccount';
6 | export * from './saveRecentRoot';
7 | export * from './transferWithCommitment';
8 | export * from './uploadProof';
9 | export * from './verifyProof';
--------------------------------------------------------------------------------
/packages/programs/src/splitter/generated/types/DataVersion.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * This code was GENERATED using the solita package.
3 | * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
4 | *
5 | * See: https://github.com/metaplex-foundation/solita
6 | */
7 |
8 | import * as beet from '@metaplex-foundation/beet'
9 | /**
10 | * @category enums
11 | * @category generated
12 | */
13 | export enum DataVersion {
14 | Unknown,
15 | Version1,
16 | }
17 |
18 | /**
19 | * @category userTypes
20 | * @category generated
21 | */
22 | export const dataVersionBeet = beet.fixedScalarEnum(
23 | DataVersion
24 | ) as beet.FixedSizeBeet
25 |
--------------------------------------------------------------------------------
/packages/programs/src/splitter/generated/types/index.ts:
--------------------------------------------------------------------------------
1 | export * from './DataVersion';
2 | export * from './MerkleTree';
--------------------------------------------------------------------------------
/packages/programs/src/splitter/index.ts:
--------------------------------------------------------------------------------
1 | // @ts-ignore
2 | export * from './generated';
--------------------------------------------------------------------------------
/packages/programs/src/timelock/generated/accounts/index.ts:
--------------------------------------------------------------------------------
1 | export * from './TimeLockAccount';
--------------------------------------------------------------------------------
/packages/programs/src/timelock/generated/index.ts:
--------------------------------------------------------------------------------
1 | import { PublicKey } from '@solana/web3.js'
2 | export * from './accounts'
3 | export * from './errors'
4 | export * from './instructions'
5 | export * from './types'
6 |
7 | /**
8 | * Program address
9 | *
10 | * @category constants
11 | * @category generated
12 | */
13 | export const PROGRAM_ADDRESS = 'time2Z2SCnn3qYg3ULKVtdkh8YmZ5jFdKicnA1W2YnJ'
14 |
15 | /**
16 | * Program publick key
17 | *
18 | * @category constants
19 | * @category generated
20 | */
21 | export const PROGRAM_ID = new PublicKey(PROGRAM_ADDRESS)
22 |
--------------------------------------------------------------------------------
/packages/programs/src/timelock/generated/instructions/index.ts:
--------------------------------------------------------------------------------
1 | export * from './activate';
2 | export * from './burnDustWithAuthority';
3 | export * from './cancelLockTimeout';
4 | export * from './closeAccounts';
5 | export * from './deactivate';
6 | export * from './initialize';
7 | export * from './revokeLockWithAuthority';
8 | export * from './revokeLockWithTimeout';
9 | export * from './transferWithAuthority';
10 | export * from './withdraw';
--------------------------------------------------------------------------------
/packages/programs/src/timelock/generated/types/DataVersion.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * This code was GENERATED using the solita package.
3 | * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
4 | *
5 | * See: https://github.com/metaplex-foundation/solita
6 | */
7 |
8 | import * as beet from '@metaplex-foundation/beet'
9 | /**
10 | * @category enums
11 | * @category generated
12 | */
13 | export enum DataVersion {
14 | Unknown,
15 | Legacy,
16 | Closed,
17 | Version1,
18 | Version2,
19 | }
20 |
21 | /**
22 | * @category userTypes
23 | * @category generated
24 | */
25 | export const dataVersionBeet = beet.fixedScalarEnum(
26 | DataVersion
27 | ) as beet.FixedSizeBeet
28 |
--------------------------------------------------------------------------------
/packages/programs/src/timelock/generated/types/TimeLockState.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * This code was GENERATED using the solita package.
3 | * Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
4 | *
5 | * See: https://github.com/metaplex-foundation/solita
6 | */
7 |
8 | import * as beet from '@metaplex-foundation/beet'
9 | /**
10 | * @category enums
11 | * @category generated
12 | */
13 | export enum TimeLockState {
14 | Unknown,
15 | Unlocked,
16 | WaitingForTimeout,
17 | Locked,
18 | Closed,
19 | }
20 |
21 | /**
22 | * @category userTypes
23 | * @category generated
24 | */
25 | export const timeLockStateBeet = beet.fixedScalarEnum(
26 | TimeLockState
27 | ) as beet.FixedSizeBeet
28 |
--------------------------------------------------------------------------------
/packages/programs/src/timelock/generated/types/index.ts:
--------------------------------------------------------------------------------
1 | export * from './DataVersion';
2 | export * from './TimeLockState';
--------------------------------------------------------------------------------
/packages/programs/src/timelock/index.ts:
--------------------------------------------------------------------------------
1 | // @ts-ignore
2 | export * from './generated';
--------------------------------------------------------------------------------
/packages/programs/tsconfig.cjs.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "./tsconfig.json",
3 | "compilerOptions": {
4 | "module": "CommonJS",
5 | "outDir": "dist/cjs"
6 | }
7 | }
--------------------------------------------------------------------------------
/packages/programs/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "composite": false,
4 | "declaration": true,
5 | "declarationMap": true,
6 | "esModuleInterop": true,
7 | "forceConsistentCasingInFileNames": true,
8 | "inlineSources": false,
9 | "isolatedModules": true,
10 | "moduleResolution": "node",
11 | "noFallthroughCasesInSwitch": true,
12 | "noUnusedLocals": true,
13 | "noUnusedParameters": true,
14 | "preserveWatchOutput": true,
15 | "skipLibCheck": true,
16 | "strict": true,
17 | "target": "ES2020",
18 | "module": "ESNext",
19 | "outDir": "dist/esm",
20 | },
21 | "include": [
22 | "src"
23 | ],
24 | "exclude": [
25 | "node_modules"
26 | ]
27 | }
--------------------------------------------------------------------------------
/packages/proxy/README.md:
--------------------------------------------------------------------------------
1 | [![npm][npm-image]][npm-url]
2 | [![npm-downloads][npm-downloads-image]][npm-url]
3 |
4 | [npm-downloads-image]: https://img.shields.io/npm/dt/@code-wallet/proxy?style=flat
5 | [npm-image]: https://img.shields.io/npm/v/@code-wallet/proxy?style=flat
6 | [npm-url]: https://www.npmjs.com/package/@code-wallet/proxy
7 |
8 | # @code-wallet/proxy
9 | This module provides a proxy server for messages that are wrapped using the
10 | `@code-wallet/rpc` package. This package aids in the creation of WebSocket RPC
11 | streams for unary or bi-directional streaming gRPC methods.
12 |
13 | Learn more about Code at https://getcode.com. See the
14 | [docs](https://code-wallet.github.io/code-sdk/docs) for more information.
15 |
--------------------------------------------------------------------------------
/packages/proxy/src/index.ts:
--------------------------------------------------------------------------------
1 | import { log } from "./utils/logger";
2 | import { loggingMiddleware, proxyMiddleware } from './middleware';
3 | import { GrpcHandler, WebSocketHandler } from "./service";
4 | import { handleRequest } from "./service/handlerHTTP";
5 |
6 | const proxy = {
7 | log,
8 | middleware: {
9 | logging: loggingMiddleware,
10 | proxy: proxyMiddleware,
11 | },
12 | handlers: {
13 | handleRequest,
14 | GrpcHandler,
15 | WebSocketHandler,
16 | }
17 | }
18 |
19 | export default proxy;
20 | export { proxy };
--------------------------------------------------------------------------------
/packages/proxy/src/middleware/index.ts:
--------------------------------------------------------------------------------
1 | export * from './logging';
2 | export * from './proxy';
3 |
--------------------------------------------------------------------------------
/packages/proxy/src/middleware/logging.ts:
--------------------------------------------------------------------------------
1 | import { NextFunction, Request, Response } from "express";
2 | import { log } from "../utils/logger";
3 |
4 | async function loggingMiddleware(req: Request, res: Response, next: NextFunction) {
5 | const start = new Date().getTime();
6 | const timestamp = new Date().toISOString();
7 | const method = req.method;
8 | const path = req.path;
9 |
10 | res.on('finish', () => {
11 | const duration = new Date().getTime() - start;
12 | const status = res.statusCode;
13 |
14 | log.http_request({ timestamp, method, path, status, duration });
15 | });
16 |
17 | next();
18 | };
19 |
20 | export { loggingMiddleware }
21 |
--------------------------------------------------------------------------------
/packages/proxy/src/service/index.ts:
--------------------------------------------------------------------------------
1 | export * from './service';
2 | export * from './handlerGRPC';
3 | export * from './handlerWebSocket';
--------------------------------------------------------------------------------
/packages/proxy/tsconfig.cjs.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "./tsconfig.json",
3 | "compilerOptions": {
4 | "module": "CommonJS",
5 | "outDir": "dist/cjs"
6 | }
7 | }
--------------------------------------------------------------------------------
/packages/rpc/src/generated/account/v1/index.ts:
--------------------------------------------------------------------------------
1 | export * from './account_service_connect';
2 | export * from './account_service_pb';
3 |
--------------------------------------------------------------------------------
/packages/rpc/src/generated/badge/v1/index.ts:
--------------------------------------------------------------------------------
1 | export * from './badge_service_connect';
2 | export * from './badge_service_pb';
3 |
--------------------------------------------------------------------------------
/packages/rpc/src/generated/chat/v1/index.ts:
--------------------------------------------------------------------------------
1 | export * from './chat_service_connect';
2 | export * from './chat_service_pb';
3 |
--------------------------------------------------------------------------------
/packages/rpc/src/generated/common/v1/index.ts:
--------------------------------------------------------------------------------
1 | export * from './model_pb';
2 |
--------------------------------------------------------------------------------
/packages/rpc/src/generated/contact/v1/index.ts:
--------------------------------------------------------------------------------
1 | export * from './contact_list_service_connect';
2 | export * from './contact_list_service_pb';
3 |
--------------------------------------------------------------------------------
/packages/rpc/src/generated/currency/v1/index.ts:
--------------------------------------------------------------------------------
1 | export * from './currency_service_connect';
2 | export * from './currency_service_pb';
3 |
--------------------------------------------------------------------------------
/packages/rpc/src/generated/device/v1/index.ts:
--------------------------------------------------------------------------------
1 | export * from './device_service_connect';
2 | export * from './device_service_pb';
3 |
--------------------------------------------------------------------------------
/packages/rpc/src/generated/invite/v2/index.ts:
--------------------------------------------------------------------------------
1 | export * from './invite_service_connect';
2 | export * from './invite_service_pb';
3 |
--------------------------------------------------------------------------------
/packages/rpc/src/generated/messaging/v1/index.ts:
--------------------------------------------------------------------------------
1 | export * from './messaging_service_connect';
2 | export * from './messaging_service_pb';
3 |
--------------------------------------------------------------------------------
/packages/rpc/src/generated/micropayment/v1/index.ts:
--------------------------------------------------------------------------------
1 | export * from './micro_payment_service_connect';
2 | export * from './micro_payment_service_pb';
3 |
--------------------------------------------------------------------------------
/packages/rpc/src/generated/phone/v1/index.ts:
--------------------------------------------------------------------------------
1 | export * from './phone_verification_service_connect';
2 | export * from './phone_verification_service_pb';
3 |
--------------------------------------------------------------------------------
/packages/rpc/src/generated/push/v1/index.ts:
--------------------------------------------------------------------------------
1 | export * from './push_service_connect';
2 | export * from './push_service_pb';
3 |
--------------------------------------------------------------------------------
/packages/rpc/src/generated/transaction/v2/index.ts:
--------------------------------------------------------------------------------
1 | export * from './transaction_service_connect';
2 | export * from './transaction_service_pb';
3 |
--------------------------------------------------------------------------------
/packages/rpc/src/generated/user/v1/index.ts:
--------------------------------------------------------------------------------
1 | export * from './identity_service_connect';
2 | export * from './identity_service_pb';
3 |
--------------------------------------------------------------------------------
/packages/rpc/src/index.ts:
--------------------------------------------------------------------------------
1 | export * from './generated';
2 | export * from './service';
3 | export * from './queue';
4 |
5 | export type {
6 | AnyMessage,
7 | MethodInfo,
8 | } from "@bufbuild/protobuf";
--------------------------------------------------------------------------------
/packages/rpc/tsconfig.cjs.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "./tsconfig.json",
3 | "compilerOptions": {
4 | "module": "CommonJS",
5 | "outDir": "dist/cjs"
6 | }
7 | }
--------------------------------------------------------------------------------
/packages/views/apps/login-request-button/App.vue:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/packages/views/apps/login-request-button/fonts/avenir/AvenirNextLTPro-Demi.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-button/fonts/avenir/AvenirNextLTPro-Demi.otf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-button/fonts/avenir/AvenirNextLTPro-Medium.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-button/fonts/avenir/AvenirNextLTPro-Medium.otf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-button/fonts/avenir/AvenirNextLTPro-Regular.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-button/fonts/avenir/AvenirNextLTPro-Regular.otf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-button/fonts/manrope/Manrope-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-button/fonts/manrope/Manrope-Bold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-button/fonts/manrope/Manrope-ExtraBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-button/fonts/manrope/Manrope-ExtraBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-button/fonts/manrope/Manrope-ExtraLight.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-button/fonts/manrope/Manrope-ExtraLight.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-button/fonts/manrope/Manrope-Light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-button/fonts/manrope/Manrope-Light.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-button/fonts/manrope/Manrope-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-button/fonts/manrope/Manrope-Medium.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-button/fonts/manrope/Manrope-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-button/fonts/manrope/Manrope-Regular.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-button/fonts/manrope/Manrope-SemiBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-button/fonts/manrope/Manrope-SemiBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-button/index.js:
--------------------------------------------------------------------------------
1 | import { createApp } from 'vue'
2 |
3 | import App from './App.vue'
4 | import CodeApp from '../../src/index'
5 | import { routes } from '../../src/routes/buttons/login-request-button'
6 |
7 | import './style.css'
8 |
9 | const opt = {
10 | httpPath: process.env.HTTP_PATH,
11 | routes,
12 | }
13 |
14 | const app = createApp(App);
15 | app.use(CodeApp, opt);
16 | app.mount("#app");
--------------------------------------------------------------------------------
/packages/views/apps/login-request-modal-desktop/App.vue:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/packages/views/apps/login-request-modal-desktop/fonts/avenir/AvenirNextLTPro-Demi.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-modal-desktop/fonts/avenir/AvenirNextLTPro-Demi.otf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-modal-desktop/fonts/avenir/AvenirNextLTPro-Medium.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-modal-desktop/fonts/avenir/AvenirNextLTPro-Medium.otf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-modal-desktop/fonts/avenir/AvenirNextLTPro-Regular.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-modal-desktop/fonts/avenir/AvenirNextLTPro-Regular.otf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-modal-desktop/fonts/manrope/Manrope-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-modal-desktop/fonts/manrope/Manrope-Bold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-modal-desktop/fonts/manrope/Manrope-ExtraBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-modal-desktop/fonts/manrope/Manrope-ExtraBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-modal-desktop/fonts/manrope/Manrope-ExtraLight.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-modal-desktop/fonts/manrope/Manrope-ExtraLight.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-modal-desktop/fonts/manrope/Manrope-Light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-modal-desktop/fonts/manrope/Manrope-Light.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-modal-desktop/fonts/manrope/Manrope-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-modal-desktop/fonts/manrope/Manrope-Medium.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-modal-desktop/fonts/manrope/Manrope-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-modal-desktop/fonts/manrope/Manrope-Regular.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-modal-desktop/fonts/manrope/Manrope-SemiBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-modal-desktop/fonts/manrope/Manrope-SemiBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-modal-desktop/fonts/roboto/RobotoMono-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-modal-desktop/fonts/roboto/RobotoMono-Medium.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-modal-desktop/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Code SDK - Card
6 |
7 |
8 |
9 |
10 |
11 |
15 |
16 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/packages/views/apps/login-request-modal-desktop/index.js:
--------------------------------------------------------------------------------
1 | import { createApp } from 'vue'
2 |
3 | import App from './App.vue'
4 | import CodeApp from '../../src/index'
5 | import { routes } from '../../src/routes/modals/login-request-modal-desktop'
6 |
7 | import './style.css'
8 |
9 | const opt = {
10 | wsPath: process.env.WS_PATH,
11 | httpPath: process.env.HTTP_PATH,
12 | routes,
13 | }
14 |
15 | const app = createApp(App);
16 | app.use(CodeApp, opt);
17 | app.mount("#app");
--------------------------------------------------------------------------------
/packages/views/apps/login-request-modal-mobile/App.vue:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/packages/views/apps/login-request-modal-mobile/fonts/avenir/AvenirNextLTPro-Demi.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-modal-mobile/fonts/avenir/AvenirNextLTPro-Demi.otf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-modal-mobile/fonts/avenir/AvenirNextLTPro-Medium.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-modal-mobile/fonts/avenir/AvenirNextLTPro-Medium.otf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-modal-mobile/fonts/avenir/AvenirNextLTPro-Regular.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-modal-mobile/fonts/avenir/AvenirNextLTPro-Regular.otf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-modal-mobile/fonts/manrope/Manrope-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-modal-mobile/fonts/manrope/Manrope-Bold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-modal-mobile/fonts/manrope/Manrope-ExtraBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-modal-mobile/fonts/manrope/Manrope-ExtraBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-modal-mobile/fonts/manrope/Manrope-ExtraLight.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-modal-mobile/fonts/manrope/Manrope-ExtraLight.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-modal-mobile/fonts/manrope/Manrope-Light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-modal-mobile/fonts/manrope/Manrope-Light.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-modal-mobile/fonts/manrope/Manrope-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-modal-mobile/fonts/manrope/Manrope-Medium.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-modal-mobile/fonts/manrope/Manrope-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-modal-mobile/fonts/manrope/Manrope-Regular.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-modal-mobile/fonts/manrope/Manrope-SemiBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-modal-mobile/fonts/manrope/Manrope-SemiBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-modal-mobile/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Code SDK - Card
6 |
7 |
8 |
9 |
10 |
11 |
15 |
16 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/packages/views/apps/login-request-modal-mobile/index.js:
--------------------------------------------------------------------------------
1 | import { createApp } from 'vue'
2 |
3 | import App from './App.vue'
4 | import CodeApp from '../../src/index'
5 | import { routes } from '../../src/routes/modals/login-request-modal-mobile'
6 |
7 | import './style.css'
8 |
9 | const opt = {
10 | wsPath: process.env.WS_PATH,
11 | httpPath: process.env.HTTP_PATH,
12 | routes,
13 | }
14 |
15 | const app = createApp(App);
16 | app.use(CodeApp, opt);
17 | app.mount("#app");
--------------------------------------------------------------------------------
/packages/views/apps/login-request-page-desktop/App.vue:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/packages/views/apps/login-request-page-desktop/fonts/avenir/AvenirNextLTPro-Demi.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-page-desktop/fonts/avenir/AvenirNextLTPro-Demi.otf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-page-desktop/fonts/avenir/AvenirNextLTPro-Medium.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-page-desktop/fonts/avenir/AvenirNextLTPro-Medium.otf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-page-desktop/fonts/avenir/AvenirNextLTPro-Regular.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-page-desktop/fonts/avenir/AvenirNextLTPro-Regular.otf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-page-desktop/fonts/manrope/Manrope-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-page-desktop/fonts/manrope/Manrope-Bold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-page-desktop/fonts/manrope/Manrope-ExtraBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-page-desktop/fonts/manrope/Manrope-ExtraBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-page-desktop/fonts/manrope/Manrope-ExtraLight.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-page-desktop/fonts/manrope/Manrope-ExtraLight.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-page-desktop/fonts/manrope/Manrope-Light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-page-desktop/fonts/manrope/Manrope-Light.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-page-desktop/fonts/manrope/Manrope-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-page-desktop/fonts/manrope/Manrope-Medium.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-page-desktop/fonts/manrope/Manrope-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-page-desktop/fonts/manrope/Manrope-Regular.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-page-desktop/fonts/manrope/Manrope-SemiBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-page-desktop/fonts/manrope/Manrope-SemiBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-page-desktop/fonts/roboto/RobotoMono-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-page-desktop/fonts/roboto/RobotoMono-Medium.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-page-desktop/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Code SDK - Card
6 |
7 |
8 |
9 |
10 |
11 |
15 |
16 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/packages/views/apps/login-request-page-desktop/index.js:
--------------------------------------------------------------------------------
1 | import { createApp } from 'vue'
2 |
3 | import App from './App.vue'
4 | import CodeApp from '../../src/index'
5 | import { routes } from '../../src/routes/pages/login-request-page-desktop'
6 |
7 | import './style.css'
8 |
9 | const opt = {
10 | wsPath: process.env.WS_PATH,
11 | httpPath: process.env.HTTP_PATH,
12 | routes,
13 | }
14 |
15 | const app = createApp(App);
16 | app.use(CodeApp, opt);
17 | app.mount("#app");
--------------------------------------------------------------------------------
/packages/views/apps/login-request-page-mobile/App.vue:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/packages/views/apps/login-request-page-mobile/fonts/avenir/AvenirNextLTPro-Demi.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-page-mobile/fonts/avenir/AvenirNextLTPro-Demi.otf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-page-mobile/fonts/avenir/AvenirNextLTPro-Medium.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-page-mobile/fonts/avenir/AvenirNextLTPro-Medium.otf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-page-mobile/fonts/avenir/AvenirNextLTPro-Regular.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-page-mobile/fonts/avenir/AvenirNextLTPro-Regular.otf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-page-mobile/fonts/manrope/Manrope-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-page-mobile/fonts/manrope/Manrope-Bold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-page-mobile/fonts/manrope/Manrope-ExtraBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-page-mobile/fonts/manrope/Manrope-ExtraBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-page-mobile/fonts/manrope/Manrope-ExtraLight.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-page-mobile/fonts/manrope/Manrope-ExtraLight.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-page-mobile/fonts/manrope/Manrope-Light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-page-mobile/fonts/manrope/Manrope-Light.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-page-mobile/fonts/manrope/Manrope-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-page-mobile/fonts/manrope/Manrope-Medium.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-page-mobile/fonts/manrope/Manrope-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-page-mobile/fonts/manrope/Manrope-Regular.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-page-mobile/fonts/manrope/Manrope-SemiBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/login-request-page-mobile/fonts/manrope/Manrope-SemiBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/login-request-page-mobile/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Code SDK - Card
6 |
7 |
8 |
9 |
10 |
11 |
15 |
16 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/packages/views/apps/login-request-page-mobile/index.js:
--------------------------------------------------------------------------------
1 | import { createApp } from 'vue'
2 |
3 | import App from './App.vue'
4 | import CodeApp from '../../src/index'
5 | import { routes } from '../../src/routes/pages/login-request-page-mobile'
6 |
7 | import './style.css'
8 |
9 | const opt = {
10 | wsPath: process.env.WS_PATH,
11 | httpPath: process.env.HTTP_PATH,
12 | routes,
13 | }
14 |
15 | const app = createApp(App);
16 | app.use(CodeApp, opt);
17 | app.mount("#app");
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-button/App.vue:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-button/fonts/avenir/AvenirNextLTPro-Demi.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-button/fonts/avenir/AvenirNextLTPro-Demi.otf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-button/fonts/avenir/AvenirNextLTPro-Medium.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-button/fonts/avenir/AvenirNextLTPro-Medium.otf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-button/fonts/avenir/AvenirNextLTPro-Regular.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-button/fonts/avenir/AvenirNextLTPro-Regular.otf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-button/fonts/manrope/Manrope-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-button/fonts/manrope/Manrope-Bold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-button/fonts/manrope/Manrope-ExtraBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-button/fonts/manrope/Manrope-ExtraBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-button/fonts/manrope/Manrope-ExtraLight.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-button/fonts/manrope/Manrope-ExtraLight.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-button/fonts/manrope/Manrope-Light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-button/fonts/manrope/Manrope-Light.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-button/fonts/manrope/Manrope-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-button/fonts/manrope/Manrope-Medium.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-button/fonts/manrope/Manrope-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-button/fonts/manrope/Manrope-Regular.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-button/fonts/manrope/Manrope-SemiBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-button/fonts/manrope/Manrope-SemiBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-button/index.js:
--------------------------------------------------------------------------------
1 | import { createApp } from 'vue'
2 |
3 | import App from './App.vue'
4 | import CodeApp from '../../src/index'
5 | import { routes } from '../../src/routes/buttons/payment-request-button'
6 |
7 | import './style.css'
8 |
9 | const opt = {
10 | httpPath: process.env.HTTP_PATH,
11 | routes,
12 | }
13 |
14 | const app = createApp(App);
15 | app.use(CodeApp, opt);
16 | app.mount("#app");
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-modal-desktop/App.vue:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-modal-desktop/fonts/avenir/AvenirNextLTPro-Demi.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-modal-desktop/fonts/avenir/AvenirNextLTPro-Demi.otf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-modal-desktop/fonts/avenir/AvenirNextLTPro-Medium.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-modal-desktop/fonts/avenir/AvenirNextLTPro-Medium.otf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-modal-desktop/fonts/avenir/AvenirNextLTPro-Regular.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-modal-desktop/fonts/avenir/AvenirNextLTPro-Regular.otf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-modal-desktop/fonts/manrope/Manrope-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-modal-desktop/fonts/manrope/Manrope-Bold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-modal-desktop/fonts/manrope/Manrope-ExtraBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-modal-desktop/fonts/manrope/Manrope-ExtraBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-modal-desktop/fonts/manrope/Manrope-ExtraLight.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-modal-desktop/fonts/manrope/Manrope-ExtraLight.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-modal-desktop/fonts/manrope/Manrope-Light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-modal-desktop/fonts/manrope/Manrope-Light.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-modal-desktop/fonts/manrope/Manrope-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-modal-desktop/fonts/manrope/Manrope-Medium.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-modal-desktop/fonts/manrope/Manrope-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-modal-desktop/fonts/manrope/Manrope-Regular.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-modal-desktop/fonts/manrope/Manrope-SemiBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-modal-desktop/fonts/manrope/Manrope-SemiBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-modal-desktop/fonts/roboto/RobotoMono-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-modal-desktop/fonts/roboto/RobotoMono-Medium.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-modal-desktop/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Code SDK - Card
6 |
7 |
8 |
9 |
10 |
11 |
15 |
16 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-modal-desktop/index.js:
--------------------------------------------------------------------------------
1 | import { createApp } from 'vue'
2 |
3 | import App from './App.vue'
4 | import CodeApp from '../../src/index'
5 | import { routes } from '../../src/routes/modals/payment-request-modal-desktop'
6 |
7 | import './style.css'
8 |
9 | const opt = {
10 | wsPath: process.env.WS_PATH,
11 | httpPath: process.env.HTTP_PATH,
12 | routes,
13 | }
14 |
15 | const app = createApp(App);
16 | app.use(CodeApp, opt);
17 | app.mount("#app");
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-modal-mobile/App.vue:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-modal-mobile/fonts/avenir/AvenirNextLTPro-Demi.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-modal-mobile/fonts/avenir/AvenirNextLTPro-Demi.otf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-modal-mobile/fonts/avenir/AvenirNextLTPro-Medium.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-modal-mobile/fonts/avenir/AvenirNextLTPro-Medium.otf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-modal-mobile/fonts/avenir/AvenirNextLTPro-Regular.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-modal-mobile/fonts/avenir/AvenirNextLTPro-Regular.otf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-modal-mobile/fonts/manrope/Manrope-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-modal-mobile/fonts/manrope/Manrope-Bold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-modal-mobile/fonts/manrope/Manrope-ExtraBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-modal-mobile/fonts/manrope/Manrope-ExtraBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-modal-mobile/fonts/manrope/Manrope-ExtraLight.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-modal-mobile/fonts/manrope/Manrope-ExtraLight.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-modal-mobile/fonts/manrope/Manrope-Light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-modal-mobile/fonts/manrope/Manrope-Light.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-modal-mobile/fonts/manrope/Manrope-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-modal-mobile/fonts/manrope/Manrope-Medium.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-modal-mobile/fonts/manrope/Manrope-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-modal-mobile/fonts/manrope/Manrope-Regular.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-modal-mobile/fonts/manrope/Manrope-SemiBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-modal-mobile/fonts/manrope/Manrope-SemiBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-modal-mobile/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Code SDK - Card
6 |
7 |
8 |
9 |
10 |
11 |
15 |
16 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-modal-mobile/index.js:
--------------------------------------------------------------------------------
1 | import { createApp } from 'vue'
2 |
3 | import App from './App.vue'
4 | import CodeApp from '../../src/index'
5 | import { routes } from '../../src/routes/modals/payment-request-modal-mobile'
6 |
7 | import './style.css'
8 |
9 | const opt = {
10 | wsPath: process.env.WS_PATH,
11 | httpPath: process.env.HTTP_PATH,
12 | routes,
13 | }
14 |
15 | const app = createApp(App);
16 | app.use(CodeApp, opt);
17 | app.mount("#app");
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-page-desktop/App.vue:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-page-desktop/fonts/avenir/AvenirNextLTPro-Demi.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-page-desktop/fonts/avenir/AvenirNextLTPro-Demi.otf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-page-desktop/fonts/avenir/AvenirNextLTPro-Medium.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-page-desktop/fonts/avenir/AvenirNextLTPro-Medium.otf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-page-desktop/fonts/avenir/AvenirNextLTPro-Regular.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-page-desktop/fonts/avenir/AvenirNextLTPro-Regular.otf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-page-desktop/fonts/manrope/Manrope-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-page-desktop/fonts/manrope/Manrope-Bold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-page-desktop/fonts/manrope/Manrope-ExtraBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-page-desktop/fonts/manrope/Manrope-ExtraBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-page-desktop/fonts/manrope/Manrope-ExtraLight.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-page-desktop/fonts/manrope/Manrope-ExtraLight.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-page-desktop/fonts/manrope/Manrope-Light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-page-desktop/fonts/manrope/Manrope-Light.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-page-desktop/fonts/manrope/Manrope-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-page-desktop/fonts/manrope/Manrope-Medium.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-page-desktop/fonts/manrope/Manrope-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-page-desktop/fonts/manrope/Manrope-Regular.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-page-desktop/fonts/manrope/Manrope-SemiBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-page-desktop/fonts/manrope/Manrope-SemiBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-page-desktop/fonts/roboto/RobotoMono-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-page-desktop/fonts/roboto/RobotoMono-Medium.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-page-desktop/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Code SDK - Card
6 |
7 |
8 |
9 |
10 |
11 |
15 |
16 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-page-desktop/index.js:
--------------------------------------------------------------------------------
1 | import { createApp } from 'vue'
2 |
3 | import App from './App.vue'
4 | import CodeApp from '../../src/index'
5 | import { routes } from '../../src/routes/pages/payment-request-page-desktop'
6 |
7 | import './style.css'
8 |
9 | const opt = {
10 | wsPath: process.env.WS_PATH,
11 | httpPath: process.env.HTTP_PATH,
12 | routes,
13 | }
14 |
15 | const app = createApp(App);
16 | app.use(CodeApp, opt);
17 | app.mount("#app");
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-page-mobile/App.vue:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-page-mobile/fonts/avenir/AvenirNextLTPro-Demi.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-page-mobile/fonts/avenir/AvenirNextLTPro-Demi.otf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-page-mobile/fonts/avenir/AvenirNextLTPro-Medium.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-page-mobile/fonts/avenir/AvenirNextLTPro-Medium.otf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-page-mobile/fonts/avenir/AvenirNextLTPro-Regular.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-page-mobile/fonts/avenir/AvenirNextLTPro-Regular.otf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-page-mobile/fonts/manrope/Manrope-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-page-mobile/fonts/manrope/Manrope-Bold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-page-mobile/fonts/manrope/Manrope-ExtraBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-page-mobile/fonts/manrope/Manrope-ExtraBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-page-mobile/fonts/manrope/Manrope-ExtraLight.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-page-mobile/fonts/manrope/Manrope-ExtraLight.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-page-mobile/fonts/manrope/Manrope-Light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-page-mobile/fonts/manrope/Manrope-Light.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-page-mobile/fonts/manrope/Manrope-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-page-mobile/fonts/manrope/Manrope-Medium.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-page-mobile/fonts/manrope/Manrope-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-page-mobile/fonts/manrope/Manrope-Regular.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-page-mobile/fonts/manrope/Manrope-SemiBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/payment-request-page-mobile/fonts/manrope/Manrope-SemiBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-page-mobile/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Code SDK - Card
6 |
7 |
8 |
9 |
10 |
11 |
15 |
16 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/packages/views/apps/payment-request-page-mobile/index.js:
--------------------------------------------------------------------------------
1 | import { createApp } from 'vue'
2 |
3 | import App from './App.vue'
4 | import CodeApp from '../../src/index'
5 | import { routes } from '../../src/routes/pages/payment-request-page-mobile'
6 |
7 | import './style.css'
8 |
9 | const opt = {
10 | wsPath: process.env.WS_PATH,
11 | httpPath: process.env.HTTP_PATH,
12 | routes,
13 | }
14 |
15 | const app = createApp(App);
16 | app.use(CodeApp, opt);
17 | app.mount("#app");
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-button/App.vue:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-button/fonts/avenir/AvenirNextLTPro-Demi.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-button/fonts/avenir/AvenirNextLTPro-Demi.otf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-button/fonts/avenir/AvenirNextLTPro-Medium.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-button/fonts/avenir/AvenirNextLTPro-Medium.otf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-button/fonts/avenir/AvenirNextLTPro-Regular.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-button/fonts/avenir/AvenirNextLTPro-Regular.otf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-button/fonts/manrope/Manrope-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-button/fonts/manrope/Manrope-Bold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-button/fonts/manrope/Manrope-ExtraBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-button/fonts/manrope/Manrope-ExtraBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-button/fonts/manrope/Manrope-ExtraLight.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-button/fonts/manrope/Manrope-ExtraLight.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-button/fonts/manrope/Manrope-Light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-button/fonts/manrope/Manrope-Light.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-button/fonts/manrope/Manrope-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-button/fonts/manrope/Manrope-Medium.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-button/fonts/manrope/Manrope-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-button/fonts/manrope/Manrope-Regular.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-button/fonts/manrope/Manrope-SemiBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-button/fonts/manrope/Manrope-SemiBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-button/index.js:
--------------------------------------------------------------------------------
1 | import { createApp } from 'vue'
2 |
3 | import App from './App.vue'
4 | import CodeApp from '../../src/index'
5 | import { routes } from '../../src/routes/buttons/tip-request-button'
6 |
7 | import './style.css'
8 |
9 | const opt = {
10 | httpPath: process.env.HTTP_PATH,
11 | routes,
12 | }
13 |
14 | const app = createApp(App);
15 | app.use(CodeApp, opt);
16 | app.mount("#app");
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-modal-desktop/App.vue:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-modal-desktop/fonts/avenir/AvenirNextLTPro-Demi.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-modal-desktop/fonts/avenir/AvenirNextLTPro-Demi.otf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-modal-desktop/fonts/avenir/AvenirNextLTPro-Medium.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-modal-desktop/fonts/avenir/AvenirNextLTPro-Medium.otf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-modal-desktop/fonts/avenir/AvenirNextLTPro-Regular.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-modal-desktop/fonts/avenir/AvenirNextLTPro-Regular.otf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-modal-desktop/fonts/manrope/Manrope-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-modal-desktop/fonts/manrope/Manrope-Bold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-modal-desktop/fonts/manrope/Manrope-ExtraBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-modal-desktop/fonts/manrope/Manrope-ExtraBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-modal-desktop/fonts/manrope/Manrope-ExtraLight.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-modal-desktop/fonts/manrope/Manrope-ExtraLight.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-modal-desktop/fonts/manrope/Manrope-Light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-modal-desktop/fonts/manrope/Manrope-Light.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-modal-desktop/fonts/manrope/Manrope-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-modal-desktop/fonts/manrope/Manrope-Medium.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-modal-desktop/fonts/manrope/Manrope-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-modal-desktop/fonts/manrope/Manrope-Regular.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-modal-desktop/fonts/manrope/Manrope-SemiBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-modal-desktop/fonts/manrope/Manrope-SemiBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-modal-desktop/fonts/roboto/RobotoMono-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-modal-desktop/fonts/roboto/RobotoMono-Medium.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-modal-desktop/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Code SDK - Card
6 |
7 |
8 |
9 |
10 |
11 |
15 |
16 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-modal-desktop/index.js:
--------------------------------------------------------------------------------
1 | import { createApp } from 'vue'
2 |
3 | import App from './App.vue'
4 | import CodeApp from '../../src/index'
5 | import { routes } from '../../src/routes/modals/tip-request-modal-desktop'
6 |
7 | import './style.css'
8 |
9 | const opt = {
10 | wsPath: process.env.WS_PATH,
11 | httpPath: process.env.HTTP_PATH,
12 | routes,
13 | }
14 |
15 | const app = createApp(App);
16 | app.use(CodeApp, opt);
17 | app.mount("#app");
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-modal-mobile/App.vue:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-modal-mobile/fonts/avenir/AvenirNextLTPro-Demi.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-modal-mobile/fonts/avenir/AvenirNextLTPro-Demi.otf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-modal-mobile/fonts/avenir/AvenirNextLTPro-Medium.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-modal-mobile/fonts/avenir/AvenirNextLTPro-Medium.otf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-modal-mobile/fonts/avenir/AvenirNextLTPro-Regular.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-modal-mobile/fonts/avenir/AvenirNextLTPro-Regular.otf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-modal-mobile/fonts/manrope/Manrope-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-modal-mobile/fonts/manrope/Manrope-Bold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-modal-mobile/fonts/manrope/Manrope-ExtraBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-modal-mobile/fonts/manrope/Manrope-ExtraBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-modal-mobile/fonts/manrope/Manrope-ExtraLight.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-modal-mobile/fonts/manrope/Manrope-ExtraLight.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-modal-mobile/fonts/manrope/Manrope-Light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-modal-mobile/fonts/manrope/Manrope-Light.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-modal-mobile/fonts/manrope/Manrope-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-modal-mobile/fonts/manrope/Manrope-Medium.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-modal-mobile/fonts/manrope/Manrope-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-modal-mobile/fonts/manrope/Manrope-Regular.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-modal-mobile/fonts/manrope/Manrope-SemiBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-modal-mobile/fonts/manrope/Manrope-SemiBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-modal-mobile/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Code SDK - Card
6 |
7 |
8 |
9 |
10 |
11 |
15 |
16 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-modal-mobile/index.js:
--------------------------------------------------------------------------------
1 | import { createApp } from 'vue'
2 |
3 | import App from './App.vue'
4 | import CodeApp from '../../src/index'
5 | import { routes } from '../../src/routes/modals/tip-request-modal-mobile'
6 |
7 | import './style.css'
8 |
9 | const opt = {
10 | wsPath: process.env.WS_PATH,
11 | httpPath: process.env.HTTP_PATH,
12 | routes,
13 | }
14 |
15 | const app = createApp(App);
16 | app.use(CodeApp, opt);
17 | app.mount("#app");
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-page-desktop/App.vue:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-page-desktop/fonts/avenir/AvenirNextLTPro-Demi.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-page-desktop/fonts/avenir/AvenirNextLTPro-Demi.otf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-page-desktop/fonts/avenir/AvenirNextLTPro-Medium.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-page-desktop/fonts/avenir/AvenirNextLTPro-Medium.otf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-page-desktop/fonts/avenir/AvenirNextLTPro-Regular.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-page-desktop/fonts/avenir/AvenirNextLTPro-Regular.otf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-page-desktop/fonts/manrope/Manrope-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-page-desktop/fonts/manrope/Manrope-Bold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-page-desktop/fonts/manrope/Manrope-ExtraBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-page-desktop/fonts/manrope/Manrope-ExtraBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-page-desktop/fonts/manrope/Manrope-ExtraLight.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-page-desktop/fonts/manrope/Manrope-ExtraLight.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-page-desktop/fonts/manrope/Manrope-Light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-page-desktop/fonts/manrope/Manrope-Light.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-page-desktop/fonts/manrope/Manrope-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-page-desktop/fonts/manrope/Manrope-Medium.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-page-desktop/fonts/manrope/Manrope-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-page-desktop/fonts/manrope/Manrope-Regular.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-page-desktop/fonts/manrope/Manrope-SemiBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-page-desktop/fonts/manrope/Manrope-SemiBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-page-desktop/fonts/roboto/RobotoMono-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-page-desktop/fonts/roboto/RobotoMono-Medium.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-page-desktop/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Code SDK - Card
6 |
7 |
8 |
9 |
10 |
11 |
15 |
16 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-page-desktop/index.js:
--------------------------------------------------------------------------------
1 | import { createApp } from 'vue'
2 |
3 | import App from './App.vue'
4 | import CodeApp from '../../src/index'
5 | import { routes } from '../../src/routes/pages/tip-request-page-desktop'
6 |
7 | import './style.css'
8 |
9 | const opt = {
10 | wsPath: process.env.WS_PATH,
11 | httpPath: process.env.HTTP_PATH,
12 | routes,
13 | }
14 |
15 | const app = createApp(App);
16 | app.use(CodeApp, opt);
17 | app.mount("#app");
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-page-mobile/App.vue:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-page-mobile/fonts/avenir/AvenirNextLTPro-Demi.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-page-mobile/fonts/avenir/AvenirNextLTPro-Demi.otf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-page-mobile/fonts/avenir/AvenirNextLTPro-Medium.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-page-mobile/fonts/avenir/AvenirNextLTPro-Medium.otf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-page-mobile/fonts/avenir/AvenirNextLTPro-Regular.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-page-mobile/fonts/avenir/AvenirNextLTPro-Regular.otf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-page-mobile/fonts/manrope/Manrope-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-page-mobile/fonts/manrope/Manrope-Bold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-page-mobile/fonts/manrope/Manrope-ExtraBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-page-mobile/fonts/manrope/Manrope-ExtraBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-page-mobile/fonts/manrope/Manrope-ExtraLight.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-page-mobile/fonts/manrope/Manrope-ExtraLight.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-page-mobile/fonts/manrope/Manrope-Light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-page-mobile/fonts/manrope/Manrope-Light.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-page-mobile/fonts/manrope/Manrope-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-page-mobile/fonts/manrope/Manrope-Medium.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-page-mobile/fonts/manrope/Manrope-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-page-mobile/fonts/manrope/Manrope-Regular.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-page-mobile/fonts/manrope/Manrope-SemiBold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/code-payments/code-sdk/72e453eddb90b54b88b25373290ab5edf8cef681/packages/views/apps/tip-request-page-mobile/fonts/manrope/Manrope-SemiBold.ttf
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-page-mobile/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Code SDK - Card
6 |
7 |
8 |
9 |
10 |
11 |
15 |
16 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/packages/views/apps/tip-request-page-mobile/index.js:
--------------------------------------------------------------------------------
1 | import { createApp } from 'vue'
2 |
3 | import App from './App.vue'
4 | import CodeApp from '../../src/index'
5 | import { routes } from '../../src/routes/pages/tip-request-page-mobile'
6 |
7 | import './style.css'
8 |
9 | const opt = {
10 | wsPath: process.env.WS_PATH,
11 | httpPath: process.env.HTTP_PATH,
12 | routes,
13 | }
14 |
15 | const app = createApp(App);
16 | app.use(CodeApp, opt);
17 | app.mount("#app");
--------------------------------------------------------------------------------
/packages/views/postcss.config.cjs:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | plugins: {
3 | tailwindcss: {},
4 | autoprefixer: {},
5 | },
6 | }
7 |
--------------------------------------------------------------------------------
/packages/views/src/components/common/index.ts:
--------------------------------------------------------------------------------
1 | export { default as CodeSpinner } from './CodeSpinner.vue'
2 | export { default as DownloadAppQR } from './DownloadAppQR.vue'
3 | export { default as ErrorMessage } from './ErrorMessage.vue'
--------------------------------------------------------------------------------
/packages/views/src/components/common/logos/XLogo.vue:
--------------------------------------------------------------------------------
1 |
2 |
7 |
--------------------------------------------------------------------------------
/packages/views/src/components/sdk/buttons/LoginRequestButton.vue:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 | Login with Code
16 |
17 |
18 |
--------------------------------------------------------------------------------
/packages/views/src/components/sdk/buttons/PaymentRequestButton.vue:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 | Pay with Code
16 |
17 |
18 |
--------------------------------------------------------------------------------
/packages/views/src/components/sdk/buttons/TipRequestButton.vue:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 | Tip with Code
16 |
17 |
18 |
--------------------------------------------------------------------------------
/packages/views/src/components/shims-vue.d.ts:
--------------------------------------------------------------------------------
1 | declare module "*.vue" {
2 | import { defineComponent } from "vue";
3 | const Component: ReturnType;
4 | export default Component;
5 | }
6 |
--------------------------------------------------------------------------------
/packages/views/src/index.ts:
--------------------------------------------------------------------------------
1 | import { App } from 'vue';
2 | import { initConfig, Options } from './config';
3 | import { initRouter } from './router';
4 |
5 | export default {
6 | install: async (app: App, options: Options) => {
7 | const config = initConfig(options).value;
8 | const router = initRouter(config.routes);
9 | app.use(router);
10 | }
11 | };
--------------------------------------------------------------------------------
/packages/views/src/requests/index.ts:
--------------------------------------------------------------------------------
1 | export * from './CodeRequest';
2 | export * from './BaseRequest';
3 | export * from './PaymentRequest';
4 | export * from './LoginRequest';
5 | export * from './TipRequest';
--------------------------------------------------------------------------------
/packages/views/src/routes/buttons/login-request-button.ts:
--------------------------------------------------------------------------------
1 | import LoginRequestButton
2 | from '../../components/sdk/buttons/LoginRequestButton.vue';
3 |
4 | const routes = [
5 | {
6 | path: '/:id/p=:payload',
7 | component: LoginRequestButton,
8 | meta: { bodyClass: [] },
9 | props: true,
10 | },
11 | ]
12 | ;
13 |
14 | export {
15 | routes
16 | }
--------------------------------------------------------------------------------
/packages/views/src/routes/buttons/payment-request-button.ts:
--------------------------------------------------------------------------------
1 | import PaymentRequestButton
2 | from '../../components/sdk/buttons/PaymentRequestButton.vue';
3 |
4 | const routes = [
5 | {
6 | path: '/:id/p=:payload',
7 | component: PaymentRequestButton,
8 | meta: { bodyClass: [] },
9 | props: true,
10 | },
11 | ]
12 | ;
13 |
14 | export {
15 | routes
16 | }
--------------------------------------------------------------------------------
/packages/views/src/routes/buttons/tip-request-button.ts:
--------------------------------------------------------------------------------
1 | import TipRequestButton
2 | from '../../components/sdk/buttons/TipRequestButton.vue';
3 |
4 | const routes = [
5 | {
6 | path: '/:id/p=:payload',
7 | component: TipRequestButton,
8 | meta: { bodyClass: [] },
9 | props: true,
10 | },
11 | ]
12 | ;
13 |
14 | export {
15 | routes
16 | }
--------------------------------------------------------------------------------
/packages/views/src/routes/modals/login-request-modal-desktop.ts:
--------------------------------------------------------------------------------
1 | import LoginRequestModalDesktop
2 | from '../../components/sdk/modals/LoginRequestModalDesktop.vue';
3 |
4 | const routes = [
5 | {
6 | path: '/:id/p=:payload',
7 | component: LoginRequestModalDesktop,
8 | meta: { bodyClass: ['bg-transparent', 'overflow-hidden'] },
9 | props: true,
10 | },
11 | ]
12 | ;
13 |
14 | export {
15 | routes
16 | }
--------------------------------------------------------------------------------
/packages/views/src/routes/modals/login-request-modal-mobile.ts:
--------------------------------------------------------------------------------
1 | import
2 | LoginRequestModalMobile
3 | from '../../components/sdk/modals/LoginRequestModalMobile.vue';
4 |
5 | const routes = [
6 | {
7 | path: '/:id/p=:payload',
8 | component: LoginRequestModalMobile,
9 | meta: { bodyClass: ['bg-transparent', 'overflow-hidden'] },
10 | props: true,
11 | },
12 | ]
13 | ;
14 |
15 | export {
16 | routes
17 | }
--------------------------------------------------------------------------------
/packages/views/src/routes/modals/payment-request-modal-desktop.ts:
--------------------------------------------------------------------------------
1 | import PaymentRequestModalDesktop
2 | from '../../components/sdk/modals/PaymentRequestModalDesktop.vue';
3 |
4 | const routes = [
5 | {
6 | path: '/:id/p=:payload',
7 | component: PaymentRequestModalDesktop,
8 | meta: { bodyClass: ['bg-transparent', 'overflow-hidden'] },
9 | props: true,
10 | },
11 | ]
12 | ;
13 |
14 | export {
15 | routes
16 | }
--------------------------------------------------------------------------------
/packages/views/src/routes/modals/payment-request-modal-mobile.ts:
--------------------------------------------------------------------------------
1 | import PaymentRequestModalMobile
2 | from '../../components/sdk/modals/PaymentRequestModalMobile.vue';
3 |
4 | const routes = [
5 | {
6 | path: '/:id/p=:payload',
7 | component: PaymentRequestModalMobile,
8 | meta: { bodyClass: ['bg-transparent', 'overflow-hidden'] },
9 | props: true,
10 | },
11 | ]
12 | ;
13 |
14 | export {
15 | routes
16 | }
--------------------------------------------------------------------------------
/packages/views/src/routes/modals/tip-request-modal-desktop.ts:
--------------------------------------------------------------------------------
1 | import TipRequestModalDesktop
2 | from '../../components/sdk/modals/TipRequestModalDesktop.vue';
3 |
4 | const routes = [
5 | {
6 | path: '/:id/p=:payload',
7 | component: TipRequestModalDesktop,
8 | meta: { bodyClass: ['bg-transparent', 'overflow-hidden'] },
9 | props: true,
10 | },
11 | ]
12 | ;
13 |
14 | export {
15 | routes
16 | }
--------------------------------------------------------------------------------
/packages/views/src/routes/modals/tip-request-modal-mobile.ts:
--------------------------------------------------------------------------------
1 | import TipRequestModalMobile
2 | from '../../components/sdk/modals/TipRequestModalMobile.vue';
3 |
4 | const routes = [
5 | {
6 | path: '/:id/p=:payload',
7 | component: TipRequestModalMobile,
8 | meta: { bodyClass: ['bg-transparent', 'overflow-hidden'] },
9 | props: true,
10 | },
11 | ]
12 | ;
13 |
14 | export {
15 | routes
16 | }
--------------------------------------------------------------------------------
/packages/views/src/routes/pages/login-request-page-desktop.ts:
--------------------------------------------------------------------------------
1 | import { defineComponent, h } from 'vue';
2 | import LoginRequestModalDesktop from '../../components/sdk/modals/LoginRequestModalDesktop.vue';
3 |
4 | const routes = [
5 | {
6 | path: '/:id/p=:payload',
7 | component: defineComponent({
8 | props: {
9 | id: { type: String, required: true, },
10 | payload: { type: String, required: true, },
11 | },
12 | setup(props, { slots }) {
13 | return () => h(LoginRequestModalDesktop,
14 | { ...props, asPage: true, }, slots.default)
15 | },
16 | }),
17 | meta: { bodyClass: ['bg-transparent', 'overflow-hidden'] },
18 | props: true,
19 | },
20 | ];
21 |
22 | export { routes };
--------------------------------------------------------------------------------
/packages/views/src/routes/pages/login-request-page-mobile.ts:
--------------------------------------------------------------------------------
1 | import { defineComponent, h } from 'vue';
2 | import LoginRequestModalMobile from '../../components/sdk/modals/LoginRequestModalMobile.vue';
3 |
4 | const routes = [
5 | {
6 | path: '/:id/p=:payload',
7 | component: defineComponent({
8 | props: {
9 | id: { type: String, required: true, },
10 | payload: { type: String, required: true, },
11 | },
12 | setup(props, { slots }) {
13 | return () => h(LoginRequestModalMobile,
14 | { ...props, asPage: true, }, slots.default)
15 | },
16 | }),
17 | meta: { bodyClass: ['bg-transparent', 'overflow-hidden'] },
18 | props: true,
19 | },
20 | ];
21 |
22 | export { routes };
--------------------------------------------------------------------------------
/packages/views/src/routes/pages/payment-request-page-desktop.ts:
--------------------------------------------------------------------------------
1 | import { defineComponent, h } from 'vue';
2 | import PaymentRequestModalDesktop from '../../components/sdk/modals/PaymentRequestModalDesktop.vue';
3 |
4 | const routes = [
5 | {
6 | path: '/:id/p=:payload',
7 | component: defineComponent({
8 | props: {
9 | id: { type: String, required: true, },
10 | payload: { type: String, required: true, },
11 | },
12 | setup(props, { slots }) {
13 | return () => h(PaymentRequestModalDesktop,
14 | { ...props, asPage: true, }, slots.default)
15 | },
16 | }),
17 | meta: { bodyClass: ['bg-transparent', 'overflow-hidden'] },
18 | props: true,
19 | },
20 | ];
21 |
22 | export { routes };
--------------------------------------------------------------------------------
/packages/views/src/routes/pages/payment-request-page-mobile.ts:
--------------------------------------------------------------------------------
1 | import { defineComponent, h } from 'vue';
2 | import PaymentRequestModalMobile from '../../components/sdk/modals/PaymentRequestModalMobile.vue';
3 |
4 | const routes = [
5 | {
6 | path: '/:id/p=:payload',
7 | component: defineComponent({
8 | props: {
9 | id: { type: String, required: true, },
10 | payload: { type: String, required: true, },
11 | },
12 | setup(props, { slots }) {
13 | return () => h(PaymentRequestModalMobile,
14 | { ...props, asPage: true, }, slots.default)
15 | },
16 | }),
17 | meta: { bodyClass: ['bg-transparent', 'overflow-hidden'] },
18 | props: true,
19 | },
20 | ];
21 |
22 | export { routes };
--------------------------------------------------------------------------------
/packages/views/src/routes/pages/tip-request-page-desktop.ts:
--------------------------------------------------------------------------------
1 | import { defineComponent, h } from 'vue';
2 | import TipRequestModalDesktop from '../../components/sdk/modals/TipRequestModalDesktop.vue';
3 |
4 | const routes = [
5 | {
6 | path: '/:id/p=:payload',
7 | component: defineComponent({
8 | props: {
9 | id: { type: String, required: true, },
10 | payload: { type: String, required: true, },
11 | },
12 | setup(props, { slots }) {
13 | return () => h(TipRequestModalDesktop,
14 | { ...props, asPage: true, }, slots.default)
15 | },
16 | }),
17 | meta: { bodyClass: ['bg-transparent', 'overflow-hidden'] },
18 | props: true,
19 | },
20 | ];
21 |
22 | export { routes };
--------------------------------------------------------------------------------
/packages/views/src/routes/pages/tip-request-page-mobile.ts:
--------------------------------------------------------------------------------
1 | import { defineComponent, h } from 'vue';
2 | import TipRequestModalMobile from '../../components/sdk/modals/TipRequestModalMobile.vue';
3 |
4 | const routes = [
5 | {
6 | path: '/:id/p=:payload',
7 | component: defineComponent({
8 | props: {
9 | id: { type: String, required: true, },
10 | payload: { type: String, required: true, },
11 | },
12 | setup(props, { slots }) {
13 | return () => h(TipRequestModalMobile,
14 | { ...props, asPage: true, }, slots.default)
15 | },
16 | }),
17 | meta: { bodyClass: ['bg-transparent', 'overflow-hidden'] },
18 | props: true,
19 | },
20 | ];
21 |
22 | export { routes };
--------------------------------------------------------------------------------
/packages/views/src/utils/currency.ts:
--------------------------------------------------------------------------------
1 | function formatCurrency(value: number | bigint, currency: any = 'usd', locale: string | string[] = 'en-US') {
2 | const formatter = new Intl.NumberFormat(locale, {
3 | style: 'currency',
4 | currency: currency.toUpperCase(),
5 | });
6 |
7 | return formatter.format(value).replace(/^[A-z]+\s*/g, '');
8 | }
9 |
10 | export {
11 | formatCurrency,
12 | }
--------------------------------------------------------------------------------
/packages/views/src/utils/delay.ts:
--------------------------------------------------------------------------------
1 | export function sleep(ms: number) {
2 | return new Promise(resolve => setTimeout(resolve, ms));
3 | }
--------------------------------------------------------------------------------
/packages/views/src/utils/index.ts:
--------------------------------------------------------------------------------
1 | export * as UserAgent from './user-agent';
2 | export * from './user-agent';
3 | export * from './currency';
4 | export * from './delay';
--------------------------------------------------------------------------------
/packages/views/src/utils/user-agent/detect.ts:
--------------------------------------------------------------------------------
1 | const iOS = () => {
2 | return [
3 | 'iPad Simulator',
4 | 'iPhone Simulator',
5 | 'iPod Simulator',
6 | 'iPad',
7 | 'iPhone',
8 | 'iPod'
9 | ].includes(navigator.platform)
10 | // iPad on iOS 13 detection
11 | || (navigator.userAgent.includes("Mac") && "ontouchend" in document)
12 | }
13 |
14 | const Safari = () => {
15 | return iOS()
16 | // includes Safari desktop
17 | || (/^((?!chrome|android).)*safari/i.test(navigator.userAgent));
18 | }
19 |
20 | const Android = () => {
21 | return /Android/i.test(navigator.userAgent);
22 | }
23 |
24 | const isMobileDevice = () => {
25 | return iOS() || Android();
26 | }
27 |
28 | export { isMobileDevice, iOS, Android, Safari };
--------------------------------------------------------------------------------
/packages/views/src/utils/user-agent/index.ts:
--------------------------------------------------------------------------------
1 | export * from './detect'
2 | export * from './utils'
--------------------------------------------------------------------------------
/packages/views/src/vite-env.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/packages/views/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "target": "ESNext",
4 | "useDefineForClassFields": true,
5 | "module": "ESNext",
6 | "moduleResolution": "Node",
7 | "strict": true,
8 | "jsx": "preserve",
9 | "declaration": true,
10 | "resolveJsonModule": true,
11 | "isolatedModules": true,
12 | "esModuleInterop": true,
13 | "noImplicitAny": false,
14 | "lib": ["ESNext", "DOM"],
15 | "skipLibCheck": true,
16 | "outDir": "./dist",
17 | "allowJs": false,
18 | "paths": {
19 | "@/*": [ "./src/*" ]
20 | }
21 | },
22 | "include": [
23 | "src/**/*.ts",
24 | "src/**/*.d.ts",
25 | "src/**/*.tsx",
26 | "src/**/*.vue"
27 | ],
28 | "references": [{ "path": "./tsconfig.node.json" }]
29 | }
--------------------------------------------------------------------------------
/packages/views/tsconfig.node.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "composite": true,
4 | "module": "CommonJS",
5 | "moduleResolution": "Node",
6 | "allowSyntheticDefaultImports": true
7 | },
8 | "include": ["vite.config.ts"]
9 | }
10 |
--------------------------------------------------------------------------------
/packages/web/src/index.ts:
--------------------------------------------------------------------------------
1 | import * as internal from '@code-wallet/elements';
2 |
3 | export default { elements: internal.elements }
--------------------------------------------------------------------------------
/packages/web/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "declaration": true,
4 | "declarationMap": true,
5 | "esModuleInterop": true,
6 | "forceConsistentCasingInFileNames": true,
7 | "inlineSources": false,
8 | "isolatedModules": true,
9 | "moduleResolution": "node",
10 | "noFallthroughCasesInSwitch": true,
11 | "noUnusedLocals": true,
12 | "noUnusedParameters": true,
13 | "preserveWatchOutput": true,
14 | "skipLibCheck": true,
15 | "strict": true,
16 | "target": "ES2020",
17 | "module": "ESNext",
18 | "outDir": "dist/esm",
19 | },
20 | "include": [
21 | "src",
22 | ],
23 | "exclude": [
24 | "node_modules"
25 | ],
26 | }
--------------------------------------------------------------------------------
]