@directcryptopay/sdk 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +202 -256
- package/dist/{add-KF4m4jFK.js → add-DuP4WhxV.js} +1 -1
- package/dist/{all-wallets-D6NAjQgX.js → all-wallets-5JBV4CZN.js} +1 -1
- package/dist/{app-store-D7TTn-EO.js → app-store-C_iLeXrh.js} +1 -1
- package/dist/{apple-DjX2E2hE.js → apple-BXgQe_w8.js} +1 -1
- package/dist/{arrow-bottom-C0YrNJYB.js → arrow-bottom-B4Vsa9wq.js} +1 -1
- package/dist/{arrow-bottom-circle-Dlxvx_XG.js → arrow-bottom-circle-C1QSwRIp.js} +1 -1
- package/dist/{arrow-left-x8_-lUyK.js → arrow-left-pxwCvXD9.js} +1 -1
- package/dist/{arrow-right-BTZybj80.js → arrow-right-B8Av1oDN.js} +1 -1
- package/dist/{arrow-top-LzH7iLCp.js → arrow-top-DbPtAeXG.js} +1 -1
- package/dist/{bank-23jp-IV_.js → bank-De2PNeXL.js} +1 -1
- package/dist/{browser-EjoorDid.js → browser-Ds4DBQOP.js} +1 -1
- package/dist/{card-DGgWwtwC.js → card-BcxTMuEn.js} +1 -1
- package/dist/{ccip-BMANewTU.js → ccip-B4sn4c5Q.js} +2 -2
- package/dist/{checkmark-B1qcQhBo.js → checkmark-Cvkmx-sx.js} +1 -1
- package/dist/{checkmark-bold-Cyc4IEEJ.js → checkmark-bold-JHvEtJRZ.js} +1 -1
- package/dist/{chevron-bottom-ClHs08rB.js → chevron-bottom-lAad_zie.js} +1 -1
- package/dist/{chevron-left-O8h_551_.js → chevron-left-Ck9W-Hsf.js} +1 -1
- package/dist/{chevron-right-DP3xpyIA.js → chevron-right-DsNh648f.js} +1 -1
- package/dist/{chevron-top-CuwkBUs9.js → chevron-top-L90lwzG3.js} +1 -1
- package/dist/{chrome-store-zfT_aJ3R.js → chrome-store-DsXX7iqA.js} +1 -1
- package/dist/{clock-DHZqivIS.js → clock-DeilmpSa.js} +1 -1
- package/dist/{close-Cp9rNAw4.js → close-D4gsZqfR.js} +1 -1
- package/dist/{coinPlaceholder-U7-T1KKQ.js → coinPlaceholder-B0Kg8woL.js} +1 -1
- package/dist/{compass-Ds5-PRSR.js → compass-BDc1Htlg.js} +1 -1
- package/dist/{copy-Jg4HdIMf.js → copy-Ddroiv6f.js} +1 -1
- package/dist/core/api.d.ts +10 -1
- package/dist/core/wallet.d.ts +23 -2
- package/dist/{cursor-DmMevduB.js → cursor-DIunlIJp.js} +1 -1
- package/dist/{cursor-transparent-Dn9-1SV8.js → cursor-transparent-CXfl0bNj.js} +1 -1
- package/dist/dcp-sdk.umd.js +478 -478
- package/dist/dcp.d.ts +11 -1
- package/dist/{desktop-C4udXXlZ.js → desktop-CDp5ghZ6.js} +1 -1
- package/dist/{disconnect-wd1BYLxt.js → disconnect-DUI9ddIg.js} +1 -1
- package/dist/{discord-DthxuCAP.js → discord-D_apxuxu.js} +1 -1
- package/dist/{email-B3jSnUFE.js → email-DCvzZXYk.js} +8 -8
- package/dist/{embedded-wallet-CJHmoBI2.js → embedded-wallet-CHAaqj_k.js} +11 -11
- package/dist/{etherscan-Cjp4xfMW.js → etherscan-BYrw6lJt.js} +1 -1
- package/dist/{exclamation-triangle-CRNR5WOy.js → exclamation-triangle-C31EobMQ.js} +1 -1
- package/dist/{extension-Cydk0mZt.js → extension-CchWONzJ.js} +1 -1
- package/dist/{external-link-CuPTAoq9.js → external-link-CebHOeWd.js} +1 -1
- package/dist/{facebook-CghqXmdf.js → facebook-CD3lppZ5.js} +1 -1
- package/dist/{farcaster-BREqMX4y.js → farcaster-lZUkqUmB.js} +1 -1
- package/dist/{filters-Dn_Ys7ew.js → filters-D3KWfhyO.js} +1 -1
- package/dist/{github-C-A7JmIY.js → github-Cvv_sOWq.js} +1 -1
- package/dist/{google-CCdM_naE.js → google-DoFICkCj.js} +1 -1
- package/dist/{hashTypedData-D2Qmzscs.js → hashTypedData-BHHGGXNO.js} +1 -1
- package/dist/{help-circle-DIH4vyj3.js → help-circle-CiSClrc6.js} +1 -1
- package/dist/{id-DkJ0gBuy.js → id-mmauIL1Q.js} +1 -1
- package/dist/{if-defined-BciplFKz.js → if-defined-B9A-SuEH.js} +78 -78
- package/dist/{image-qMjyiXM0.js → image-CPddwR98.js} +1 -1
- package/dist/{index-Da8oZh8H.js → index--wY2C4T3.js} +10 -10
- package/dist/{index-B2-vKLd8.js → index-0UuJZssH.js} +5 -5
- package/dist/{index-CTYngdl0.js → index-1E6II94R.js} +1 -1
- package/dist/{index-BdjxQs66.js → index-5QBTZwil.js} +5 -5
- package/dist/{index-Ij6XA6_4.js → index-8MHsCmjw.js} +2 -2
- package/dist/{index-DmOMXRG1.js → index-B-EQbBE1.js} +2 -2
- package/dist/{index-BpXOsxzU.js → index-B7MBnU8U.js} +2 -2
- package/dist/{index-AvC0IGDl.js → index-B8WZTprM.js} +28 -28
- package/dist/{index-eW8y-mXH.js → index-BGf41hyR.js} +3 -3
- package/dist/{index-D-IzHD_8.js → index-BR3OZ5tY.js} +2 -2
- package/dist/{index-B2iDt0TJ.js → index-BZlEkYh1.js} +2 -2
- package/dist/{index-B5zkXsLJ.js → index-BbwmpqkC.js} +4 -4
- package/dist/{index-fxzIDZsb.js → index-BflWdkJX.js} +2 -2
- package/dist/{index-B7K86vWu.js → index-Bm_umjg-.js} +3 -3
- package/dist/{index-BBkcvSiY.js → index-BwZg5eKW.js} +3 -3
- package/dist/{index-CwB_qRfM.js → index-BziWxDLL.js} +3 -3
- package/dist/{index-DRNiFv9I.js → index-C21v4yzv.js} +5 -5
- package/dist/{index-C27dwOyE.js → index-CKt3c7vP.js} +3 -3
- package/dist/{index-CqVegmN4.js → index-CcxAAnYa.js} +6 -6
- package/dist/{index-lbhz9evJ.js → index-ChHzzHKf.js} +2 -2
- package/dist/{index-CuiyMA8F.js → index-CqJkW7ok.js} +3 -3
- package/dist/{index-CUdQyyFn.js → index-DPQg2zed.js} +2 -2
- package/dist/{index--3Zp0jAb.js → index-DQvOQPAe.js} +2 -2
- package/dist/{index-C4BX3QW8.js → index-DVrXX4wp.js} +3 -3
- package/dist/{index-Bijd4_Ns.js → index-Da-qfVsI.js} +3 -3
- package/dist/{index-CxOF7GqE.js → index-DiGq7Twa.js} +3 -3
- package/dist/{index-CppCc1n8.js → index-Dn2u8IZ4.js} +2 -2
- package/dist/{index-CMPIqsB1.js → index-Dz5Y9DG0.js} +3 -3
- package/dist/{index-DoSYqTQg.js → index-K-vs5VBY.js} +3 -3
- package/dist/{index-DtCsAVBg.js → index-K3CyIFHA.js} +2 -2
- package/dist/{index-DpHXq5_E.js → index-Qo-WDoO6.js} +2 -2
- package/dist/{index-CX60z_g2.js → index-UdoiPkDs.js} +4 -4
- package/dist/{index-DiHImG4L.js → index-ZbZVGyW9.js} +9678 -9430
- package/dist/{index-1adX-Fit.js → index-lUi7mcYP.js} +2 -2
- package/dist/{index-SzyBYfzA.js → index-ypbesXfX.js} +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/{info-DMIGgjkL.js → info-DUUpq3A8.js} +1 -1
- package/dist/{info-circle-CJuIKZSx.js → info-circle-71ComNpv.js} +1 -1
- package/dist/{lightbulb-qFT6WEWV.js → lightbulb-Dn8yehyg.js} +1 -1
- package/dist/{localBatchGatewayRequest-CsMVMFBc.js → localBatchGatewayRequest-22JZkkT_.js} +1 -1
- package/dist/{mail-DoYgQvOt.js → mail-CsDptbSx.js} +1 -1
- package/dist/{mobile-URtsh7o-.js → mobile-CPJuZx44.js} +1 -1
- package/dist/{more-DoQd10TF.js → more-BOYxX2nP.js} +1 -1
- package/dist/{network-placeholder-BBA2Ue6C.js → network-placeholder-VYjYxNG4.js} +1 -1
- package/dist/{nftPlaceholder-C9RXWz9k.js → nftPlaceholder-CG0quU6c.js} +1 -1
- package/dist/{off-YcuDQczT.js → off-Bx28ns6u.js} +1 -1
- package/dist/{onramp-BfqDIx4o.js → onramp-BBC60CcF.js} +13 -13
- package/dist/{parseSignature-280HB24T.js → parseSignature-8IN1QgOo.js} +4 -4
- package/dist/{play-store-sFaloG_r.js → play-store-CNp25d_w.js} +1 -1
- package/dist/{plus-l0wekSht.js → plus-CQaRn4R3.js} +1 -1
- package/dist/{qr-code-CihrUU4G.js → qr-code-QBtVvbvs.js} +1 -1
- package/dist/{receive-dfY1Cu-g.js → receive-DXWRBTEQ.js} +5 -5
- package/dist/{recycle-horizontal-nXu6YaPw.js → recycle-horizontal-CpnSrRdg.js} +1 -1
- package/dist/{ref-huAzXCX0.js → ref-C6IIbwxq.js} +2 -2
- package/dist/{refresh-D2ZbVeNC.js → refresh-DY_Dx78p.js} +1 -1
- package/dist/{reown-logo-BMaTMJmc.js → reown-logo-DVm_TEc7.js} +1 -1
- package/dist/{search-YVM9q3J-.js → search-ClJskXVW.js} +1 -1
- package/dist/{secp256k1-DPQgTBwQ.js → secp256k1-CQ19DtRL.js} +1 -1
- package/dist/{secp256k1-BrysY3Sv.js → secp256k1-X5XIlSn6.js} +1 -1
- package/dist/{send-GyetMVu1.js → send-P3r6OIjm.js} +11 -11
- package/dist/{send-BwQZPKxI.js → send-TqSroVbV.js} +1 -1
- package/dist/{socials-B0W91J9k.js → socials-4JUgml5Z.js} +10 -10
- package/dist/{swapHorizontal-Dy_oQEkp.js → swapHorizontal-8KilA_OC.js} +1 -1
- package/dist/{swapHorizontalBold-C4JpaMpc.js → swapHorizontalBold-Bl9gJ64j.js} +1 -1
- package/dist/{swapHorizontalMedium-D5NuVZFh.js → swapHorizontalMedium-DDyLmVwC.js} +1 -1
- package/dist/{swapHorizontalRoundedBold-Bq4P2MCj.js → swapHorizontalRoundedBold-6ZYHYdUX.js} +1 -1
- package/dist/{swapVertical-CVQ8Mg03.js → swapVertical-BRgBuh_B.js} +1 -1
- package/dist/{swaps-CA04SSdK.js → swaps-CxJvguLy.js} +9 -9
- package/dist/{telegram-BP4SgW_L.js → telegram-OC2IKNlW.js} +1 -1
- package/dist/{three-dots-BJYGJ-dQ.js → three-dots-CYzCkBQ2.js} +1 -1
- package/dist/{transactions-Bq-98Tsg.js → transactions-CwFjYgL1.js} +3 -3
- package/dist/{twitch-DTATWo9M.js → twitch-CDW38k5a.js} +1 -1
- package/dist/{twitterIcon-D5UWPInb.js → twitterIcon-D6-ODkwM.js} +1 -1
- package/dist/types.d.ts +60 -0
- package/dist/ui/Modal.d.ts +3 -3
- package/dist/ui/index.d.ts +2 -2
- package/dist/{verify-Byvj8Wi1.js → verify-VZiPZ9WI.js} +1 -1
- package/dist/{verify-filled-B40taNm0.js → verify-filled-BpF4F1jG.js} +1 -1
- package/dist/{w3m-modal-HV6SE74G.js → w3m-modal-DZu8ry9r.js} +9 -9
- package/dist/{wallet-Cp-6Kk88.js → wallet-CvQjQVxz.js} +1 -1
- package/dist/{wallet-placeholder-C3juwA9o.js → wallet-placeholder-B1BHI_2j.js} +1 -1
- package/dist/{walletconnect-CRkIiLCx.js → walletconnect-Cnjk-qmM.js} +1 -1
- package/dist/{warning-circle-DtvCLwG4.js → warning-circle-DvWTcM8j.js} +1 -1
- package/dist/{x-Cqyx5eCt.js → x-BCQWBooq.js} +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { cz as u, cC as p, cD as b, cG as f, cA as h, cB as v } from "./index-
|
|
2
|
-
import { n as d, c as m } from "./if-defined-
|
|
1
|
+
import { cz as u, cC as p, cD as b, cG as f, cA as h, cB as v } from "./index-ZbZVGyW9.js";
|
|
2
|
+
import { n as d, c as m } from "./if-defined-B9A-SuEH.js";
|
|
3
3
|
const w = u`
|
|
4
4
|
button {
|
|
5
5
|
border-radius: var(--local-border-radius);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
var fs = Object.defineProperty;
|
|
2
2
|
var ps = (e, t, n) => t in e ? fs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var L = (e, t, n) => ps(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { f1 as qe, f2 as ir, f3 as Ut, dj as ms, dm as Ce, f4 as Wt, ek as lt, ei as he, e_ as sr, eV as ys, br as Oa, cb as hs, c8 as gs, c5 as bs, bR as we, c9 as ws, c2 as Ie, bD as vs, c3 as xs, bq as Je, a0 as Br, bz as xe, dk as Es, df as Ss, dl as Ca, f5 as ks, bB as Ze, bF as be, c0 as M, bi as dt, cf as Se, eu as gn, p as As, a1 as _, f6 as Ps, cu as Rr, bf as Is, ab as Os, aa as Cs, a9 as Ts, bk as Be, eZ as _s, eI as Bs, c7 as Rs, cc as Us, cq as Ns, el as js, em as Ds, j as Ms, f7 as Fs, f8 as Ls, f9 as Gs, fa as Hs, n as Ur, bE as Ke, fb as Ks, dn as zs, fc as Vs, fd as qs, bJ as Zs, bY as Nr, bW as bn, bM as jr, c1 as Ws, bI as Js, bU as Dr, be as Ta, bT as gt } from "./index-
|
|
5
|
-
import { t as Ys, i as Xs, s as an, u as _a, c as Qs, w as Ba, j as $s, h as eo } from "./parseSignature-
|
|
6
|
-
import { e as Jt, h as Ra } from "./hashTypedData-
|
|
7
|
-
import { h as to } from "./secp256k1-
|
|
8
|
-
import { d as Ua } from "./localBatchGatewayRequest-
|
|
4
|
+
import { f1 as qe, f2 as ir, f3 as Ut, dj as ms, dm as Ce, f4 as Wt, ek as lt, ei as he, e_ as sr, eV as ys, br as Oa, cb as hs, c8 as gs, c5 as bs, bR as we, c9 as ws, c2 as Ie, bD as vs, c3 as xs, bq as Je, a0 as Br, bz as xe, dk as Es, df as Ss, dl as Ca, f5 as ks, bB as Ze, bF as be, c0 as M, bi as dt, cf as Se, eu as gn, p as As, a1 as _, f6 as Ps, cu as Rr, bf as Is, ab as Os, aa as Cs, a9 as Ts, bk as Be, eZ as _s, eI as Bs, c7 as Rs, cc as Us, cq as Ns, el as js, em as Ds, j as Ms, f7 as Fs, f8 as Ls, f9 as Gs, fa as Hs, n as Ur, bE as Ke, fb as Ks, dn as zs, fc as Vs, fd as qs, bJ as Zs, bY as Nr, bW as bn, bM as jr, c1 as Ws, bI as Js, bU as Dr, be as Ta, bT as gt } from "./index-ZbZVGyW9.js";
|
|
5
|
+
import { t as Ys, i as Xs, s as an, u as _a, c as Qs, w as Ba, j as $s, h as eo } from "./parseSignature-8IN1QgOo.js";
|
|
6
|
+
import { e as Jt, h as Ra } from "./hashTypedData-BHHGGXNO.js";
|
|
7
|
+
import { h as to } from "./secp256k1-X5XIlSn6.js";
|
|
8
|
+
import { d as Ua } from "./localBatchGatewayRequest-22JZkkT_.js";
|
|
9
9
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
10
10
|
const or = /* @__PURE__ */ BigInt(0), wn = /* @__PURE__ */ BigInt(1);
|
|
11
11
|
function Nt(e, t = "") {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { dcp as DCP } from './dcp';
|
|
2
2
|
export type { DCPInitConfig } from './core/config';
|
|
3
|
-
export type { DCPPayOptions, PaymentCallbacks, PaymentStatus } from './types';
|
|
3
|
+
export type { DCPPayOptions, DCPPaymentOptions, PaymentCallbacks, PaymentStatus, IntegrationConfig, } from './types';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cy as C } from "./index-
|
|
1
|
+
import { cy as C } from "./index-ZbZVGyW9.js";
|
|
2
2
|
const t = C`<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
3
|
<path d="M9.125 6.875C9.125 6.57833 9.21298 6.28832 9.3778 6.04165C9.54262 5.79497 9.77689 5.60271 10.051 5.48918C10.3251 5.37565 10.6267 5.34594 10.9176 5.40382C11.2086 5.4617 11.4759 5.60456 11.6857 5.81434C11.8954 6.02412 12.0383 6.29139 12.0962 6.58236C12.1541 6.87334 12.1244 7.17494 12.0108 7.44903C11.8973 7.72311 11.705 7.95738 11.4584 8.1222C11.2117 8.28703 10.9217 8.375 10.625 8.375C10.2272 8.375 9.84565 8.21696 9.56434 7.93566C9.28304 7.65436 9.125 7.27282 9.125 6.875ZM21.125 11C21.125 13.0025 20.5312 14.9601 19.4186 16.6251C18.3061 18.2902 16.7248 19.5879 14.8747 20.3543C13.0246 21.1206 10.9888 21.3211 9.02471 20.9305C7.06066 20.5398 5.25656 19.5755 3.84055 18.1595C2.42454 16.7435 1.46023 14.9393 1.06955 12.9753C0.678878 11.0112 0.879387 8.97543 1.64572 7.12533C2.41206 5.27523 3.70981 3.69392 5.37486 2.58137C7.0399 1.46882 8.99747 0.875 11 0.875C13.6844 0.877978 16.258 1.94567 18.1562 3.84383C20.0543 5.74199 21.122 8.3156 21.125 11ZM18.875 11C18.875 9.44247 18.4131 7.91992 17.5478 6.62488C16.6825 5.32985 15.4526 4.32049 14.0136 3.72445C12.5747 3.12841 10.9913 2.97246 9.46367 3.27632C7.93607 3.58017 6.53288 4.3302 5.43154 5.43153C4.3302 6.53287 3.58018 7.93606 3.27632 9.46366C2.97246 10.9913 3.12841 12.5747 3.72445 14.0136C4.32049 15.4526 5.32985 16.6825 6.62489 17.5478C7.91993 18.4131 9.44248 18.875 11 18.875C13.0879 18.8728 15.0896 18.0424 16.566 16.566C18.0424 15.0896 18.8728 13.0879 18.875 11ZM12.125 14.4387V11.375C12.125 10.8777 11.9275 10.4008 11.5758 10.0492C11.2242 9.69754 10.7473 9.5 10.25 9.5C9.98433 9.4996 9.72708 9.59325 9.52383 9.76435C9.32058 9.93544 9.18444 10.173 9.13952 10.4348C9.09461 10.6967 9.14381 10.966 9.27843 11.195C9.41304 11.4241 9.62438 11.5981 9.875 11.6863V14.75C9.875 15.2473 10.0725 15.7242 10.4242 16.0758C10.7758 16.4275 11.2527 16.625 11.75 16.625C12.0157 16.6254 12.2729 16.5318 12.4762 16.3607C12.6794 16.1896 12.8156 15.952 12.8605 15.6902C12.9054 15.4283 12.8562 15.159 12.7216 14.93C12.587 14.7009 12.3756 14.5269 12.125 14.4387Z" fill="currentColor"/>
|
|
4
4
|
</svg>`;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cy as C } from "./index-
|
|
1
|
+
import { cy as C } from "./index-ZbZVGyW9.js";
|
|
2
2
|
const e = C`<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
3
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.00177 1.78569C3.8179 1.78569 2.85819 2.74508 2.85819 3.92855C2.85819 4.52287 3.09928 5.05956 3.49077 5.4485L3.5005 5.45817C3.64381 5.60054 3.76515 5.72108 3.85631 5.81845C3.93747 5.90512 4.05255 6.03218 4.12889 6.1805C4.16999 6.26034 4.19 6.30843 4.21768 6.39385C4.22145 6.40546 4.22499 6.41703 4.22833 6.42855H5.77521C5.77854 6.41703 5.78208 6.40547 5.78585 6.39385C5.81353 6.30843 5.83354 6.26034 5.87464 6.1805C5.95098 6.03218 6.06606 5.90512 6.14722 5.81845C6.23839 5.72108 6.35973 5.60053 6.50304 5.45816L6.51276 5.4485C6.90425 5.05956 7.14534 4.52287 7.14534 3.92855C7.14534 2.74508 6.18563 1.78569 5.00177 1.78569ZM5.71629 7.85712H4.28724C4.28724 8.21403 4.28876 8.40985 4.30703 8.54571C4.30727 8.54748 4.30751 8.54921 4.30774 8.55091C4.30944 8.55115 4.31118 8.55138 4.31295 8.55162C4.44884 8.56989 4.64474 8.5714 5.00177 8.5714C5.3588 8.5714 5.55469 8.56989 5.69059 8.55162C5.69236 8.55138 5.69409 8.55115 5.69579 8.55091C5.69603 8.54921 5.69627 8.54748 5.6965 8.54571C5.71477 8.40985 5.71629 8.21403 5.71629 7.85712ZM2.85819 7.14283C2.85819 6.9948 2.85796 6.91114 2.8548 6.85032C2.85461 6.84656 2.85441 6.84309 2.85421 6.83988C2.84393 6.8282 2.83047 6.81334 2.81301 6.79469C2.74172 6.71856 2.63908 6.61643 2.48342 6.46178C1.83307 5.81566 1.42914 4.91859 1.42914 3.92855C1.42914 1.9561 3.02866 0.357117 5.00177 0.357117C6.97487 0.357117 8.57439 1.9561 8.57439 3.92855C8.57439 4.91859 8.17047 5.81566 7.52012 6.46178C7.36445 6.61643 7.26182 6.71856 7.19053 6.79469C7.17306 6.81334 7.1596 6.8282 7.14932 6.83988C7.14912 6.84309 7.14892 6.84656 7.14873 6.85032C7.14557 6.91114 7.14534 6.9948 7.14534 7.14283V7.85712C7.14534 7.87009 7.14535 7.88304 7.14535 7.89598C7.14541 8.19889 7.14547 8.49326 7.11281 8.73606C7.076 9.00978 6.98631 9.32212 6.72678 9.58156C6.46726 9.841 6.15481 9.93065 5.881 9.96745C5.63813 10.0001 5.34365 10 5.04064 9.99998C5.0277 9.99998 5.01474 9.99998 5.00177 9.99998C4.98879 9.99998 4.97583 9.99998 4.96289 9.99998C4.65988 10 4.36541 10.0001 4.12253 9.96745C3.84872 9.93065 3.53628 9.841 3.27675 9.58156C3.01722 9.32212 2.92753 9.00978 2.89072 8.73606C2.85807 8.49326 2.85812 8.19889 2.85818 7.89598C2.85819 7.88304 2.85819 7.87008 2.85819 7.85712V7.14283ZM7.1243 6.86977C7.12366 6.87069 7.1233 6.87116 7.12327 6.87119C7.12323 6.87123 7.12356 6.87076 7.1243 6.86977ZM2.88027 6.8712C2.88025 6.87119 2.87988 6.8707 2.87921 6.86975C2.87995 6.87072 2.88028 6.8712 2.88027 6.8712Z" fill="#949E9E"/>
|
|
4
4
|
</svg>`;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bJ as l, ck as p, cZ as w, R as y, be as A, bl as g, K as b, J as F, bi as E, bD as N, P as h, Q as P, Z as R, c_ as f, c$ as I } from "./index-
|
|
1
|
+
import { bJ as l, ck as p, cZ as w, R as y, be as A, bl as g, K as b, J as F, bi as E, bD as N, P as h, Q as P, Z as R, c_ as f, c$ as I } from "./index-ZbZVGyW9.js";
|
|
2
2
|
function q(n) {
|
|
3
3
|
const { abi: r, data: a } = n, e = l(a, 0, 4), t = r.find((o) => o.type === "function" && e === p(w(o)));
|
|
4
4
|
if (!t)
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { cz as T, cA as w, cB as c, dM as J, dS as l, dc as U, dL as x, cS as S, dd as j, cN as I, cT as O, cV as Z, d3 as G, cX as H, cE as B, cY as V, d6 as M, d0 as X, d1 as ee, cU as L, cW as te } from "./index-
|
|
2
|
-
import { n as d, c as g, o as h, r as u } from "./if-defined-
|
|
3
|
-
import { D as ie, T as re } from "./index-
|
|
4
|
-
import "./index-
|
|
5
|
-
import "./index-
|
|
6
|
-
import "./index-
|
|
7
|
-
import "./index-
|
|
8
|
-
import { O as z } from "./index-
|
|
9
|
-
import "./index-
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./index-
|
|
13
|
-
import "./index-
|
|
1
|
+
import { cz as T, cA as w, cB as c, dM as J, dS as l, dc as U, dL as x, cS as S, dd as j, cN as I, cT as O, cV as Z, d3 as G, cX as H, cE as B, cY as V, d6 as M, d0 as X, d1 as ee, cU as L, cW as te } from "./index-ZbZVGyW9.js";
|
|
2
|
+
import { n as d, c as g, o as h, r as u } from "./if-defined-B9A-SuEH.js";
|
|
3
|
+
import { D as ie, T as re } from "./index-BwZg5eKW.js";
|
|
4
|
+
import "./index-BflWdkJX.js";
|
|
5
|
+
import "./index-DPQg2zed.js";
|
|
6
|
+
import "./index-ChHzzHKf.js";
|
|
7
|
+
import "./index-5QBTZwil.js";
|
|
8
|
+
import { O as z } from "./index-BziWxDLL.js";
|
|
9
|
+
import "./index-Qo-WDoO6.js";
|
|
10
|
+
import "./index-BR3OZ5tY.js";
|
|
11
|
+
import "./index-Da-qfVsI.js";
|
|
12
|
+
import "./index-Dn2u8IZ4.js";
|
|
13
|
+
import "./index-DiGq7Twa.js";
|
|
14
14
|
const oe = T`
|
|
15
15
|
:host {
|
|
16
16
|
width: 100%;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { dT as yt, dU as _t, dV as Ut, I as _n, dW as gt, dX as wt, dY as vt, a as Un, dZ as Dn, d_ as X, d$ as B, e0 as V, e1 as Dt, e2 as Mn, e3 as Vn, e4 as G, e5 as re, e6 as L, e7 as ue, e8 as Mt, e9 as qn, ea as We, eb as _, ec as jn, ed as Gn, ee as Hn, ef as Wn, eg as _e, a1 as F, bl as Vt, M as xt, cZ as Zn, ci as Jn, cf as Pe, bZ as qt, bi as jt, eh as Ze, c0 as y, bk as q, ei as I, ej as Gt, ek as be, c4 as Je, c7 as H, bm as Ht, cM as Ye, bh as Ee, cq as fe, el as de, em as Ie, en as Ke, eo as Be, aJ as Wt, ep as Qe, bg as Zt, V as Jt, W as Yt, bT as le, eq as Yn, bR as ee, bM as te, bL as Pt, er as Kn, cm as Qn, aa as At, bE as Kt, b$ as he, bY as ce, bB as Qt, bA as Ne, es as Et, c2 as pe, et as Xt, eu as U, ev as It, ew as Xn, cr as en, cd as tn, ex as er, ey as tr, H as nr, bD as j, bq as Z, a0 as se, bF as Fe, c1 as rr, b_ as sr, da as ar, db as ir, T as or, ez as cr, $ as ur, a7 as Ce, w as Xe, ap as et, ax as fr, eA as dr, bI as lr, bJ as hr, eB as pr, eC as mr, eD as br, b7 as yr, cs as gr, c3 as ne, bs as wr, bu as vr, bt as xr, bw as Pr, b5 as Ar, br as tt, eE as Er, bp as nn, eF as Ir, bW as rn, eG as sn, eH as Br, eI as Nr, c6 as Cr, E as Tr, ad as $r, eJ as kr, az as zr, t as Rr, co as Sr, r as Fr, eK as Lr, eL as an, q as Bt, bj as Or, v as _r, a8 as Ur, bS as Dr, a9 as Mr, eM as oe, cc as Vr, eN as qr, eO as jr, eP as Gr, eQ as Hr, eR as Wr, eS as Zr, eT as Jr, eU as Yr, eV as Kr, eW as Qr, eX as Xr, eY as es, eZ as ts, e_ as ns, e$ as rs, f0 as ss, j as as } from "./index-
|
|
2
|
-
import { l as nt } from "./localBatchGatewayRequest-
|
|
3
|
-
import { s as on } from "./secp256k1-
|
|
4
|
-
import { h as cn, e as is } from "./hashTypedData-
|
|
1
|
+
import { dT as yt, dU as _t, dV as Ut, I as _n, dW as gt, dX as wt, dY as vt, a as Un, dZ as Dn, d_ as X, d$ as B, e0 as V, e1 as Dt, e2 as Mn, e3 as Vn, e4 as G, e5 as re, e6 as L, e7 as ue, e8 as Mt, e9 as qn, ea as We, eb as _, ec as jn, ed as Gn, ee as Hn, ef as Wn, eg as _e, a1 as F, bl as Vt, M as xt, cZ as Zn, ci as Jn, cf as Pe, bZ as qt, bi as jt, eh as Ze, c0 as y, bk as q, ei as I, ej as Gt, ek as be, c4 as Je, c7 as H, bm as Ht, cM as Ye, bh as Ee, cq as fe, el as de, em as Ie, en as Ke, eo as Be, aJ as Wt, ep as Qe, bg as Zt, V as Jt, W as Yt, bT as le, eq as Yn, bR as ee, bM as te, bL as Pt, er as Kn, cm as Qn, aa as At, bE as Kt, b$ as he, bY as ce, bB as Qt, bA as Ne, es as Et, c2 as pe, et as Xt, eu as U, ev as It, ew as Xn, cr as en, cd as tn, ex as er, ey as tr, H as nr, bD as j, bq as Z, a0 as se, bF as Fe, c1 as rr, b_ as sr, da as ar, db as ir, T as or, ez as cr, $ as ur, a7 as Ce, w as Xe, ap as et, ax as fr, eA as dr, bI as lr, bJ as hr, eB as pr, eC as mr, eD as br, b7 as yr, cs as gr, c3 as ne, bs as wr, bu as vr, bt as xr, bw as Pr, b5 as Ar, br as tt, eE as Er, bp as nn, eF as Ir, bW as rn, eG as sn, eH as Br, eI as Nr, c6 as Cr, E as Tr, ad as $r, eJ as kr, az as zr, t as Rr, co as Sr, r as Fr, eK as Lr, eL as an, q as Bt, bj as Or, v as _r, a8 as Ur, bS as Dr, a9 as Mr, eM as oe, cc as Vr, eN as qr, eO as jr, eP as Gr, eQ as Hr, eR as Wr, eS as Zr, eT as Jr, eU as Yr, eV as Kr, eW as Qr, eX as Xr, eY as es, eZ as ts, e_ as ns, e$ as rs, f0 as ss, j as as } from "./index-ZbZVGyW9.js";
|
|
2
|
+
import { l as nt } from "./localBatchGatewayRequest-22JZkkT_.js";
|
|
3
|
+
import { s as on } from "./secp256k1-X5XIlSn6.js";
|
|
4
|
+
import { h as cn, e as is } from "./hashTypedData-BHHGGXNO.js";
|
|
5
5
|
function Nt(e) {
|
|
6
6
|
let t;
|
|
7
7
|
if (typeof e == "string")
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { cz as C, cC as A, cD as T, cA as k, cB as u, cS as m, cT as d, cU as h, cV as g, cW as x, cX as R, cE as I, cY as S } from "./index-
|
|
2
|
-
import { n as N, c as $, U as E, o as O, r as f } from "./if-defined-
|
|
3
|
-
import "./index-
|
|
4
|
-
import "./index-
|
|
5
|
-
import "./index-
|
|
1
|
+
import { cz as C, cC as A, cD as T, cA as k, cB as u, cS as m, cT as d, cU as h, cV as g, cW as x, cX as R, cE as I, cY as S } from "./index-ZbZVGyW9.js";
|
|
2
|
+
import { n as N, c as $, U as E, o as O, r as f } from "./if-defined-B9A-SuEH.js";
|
|
3
|
+
import "./index-Dz5Y9DG0.js";
|
|
4
|
+
import "./index-DPQg2zed.js";
|
|
5
|
+
import "./index-Bm_umjg-.js";
|
|
6
6
|
const _ = C`
|
|
7
7
|
button {
|
|
8
8
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cy as C } from "./index-
|
|
1
|
+
import { cy as C } from "./index-ZbZVGyW9.js";
|
|
2
2
|
const l = C`<svg width="60" height="16" viewBox="0 0 60 16" fill="none"">
|
|
3
3
|
<path d="M9.3335 4.66667C9.3335 2.08934 11.4229 0 14.0002 0H20.6669C23.2442 0 25.3335 2.08934 25.3335 4.66667V11.3333C25.3335 13.9106 23.2442 16 20.6669 16H14.0002C11.4229 16 9.3335 13.9106 9.3335 11.3333V4.66667Z" fill="#363636"/>
|
|
4
4
|
<path d="M15.6055 11.0003L17.9448 4.66699H18.6316L16.2923 11.0003H15.6055Z" fill="#F6F6F6"/>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dt as Qt, du as Nt, dv as Et, dw as Jt, dx as de, dy as he, dz as P, dA as ge, dB as we, dC as pe, dD as be } from "./index-
|
|
1
|
+
import { dt as Qt, du as Nt, dv as Et, dw as Jt, dx as de, dy as he, dz as P, dA as ge, dB as we, dC as pe, dD as be } from "./index-ZbZVGyW9.js";
|
|
2
2
|
function ye(n, e, t, r) {
|
|
3
3
|
if (typeof n.setBigUint64 == "function")
|
|
4
4
|
return n.setBigUint64(e, t, r);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { de as le, df as de, dg as he, dh as we, di as _t, dj as ge, dk as me, dl as pe, dm as ye, dn as be } from "./index-
|
|
1
|
+
import { de as le, df as de, dg as he, dh as we, di as _t, dj as ge, dk as me, dl as pe, dm as ye, dn as be } from "./index-ZbZVGyW9.js";
|
|
2
2
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
3
3
|
const zt = /* @__PURE__ */ BigInt(0), Ot = /* @__PURE__ */ BigInt(1);
|
|
4
4
|
function lt(e) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { cz as f, cA as w, cY as I, cT as x, d1 as H, dO as l, cB as u, cC as z, cD as W, cE as g, d2 as L, cV as q, cU as B, d3 as F, cS as M, cX as Y } from "./index-
|
|
2
|
-
import { n as d, r as c, c as m, U as b, o as K } from "./if-defined-
|
|
3
|
-
import "./index-
|
|
4
|
-
import "./index-
|
|
5
|
-
import { e as O, n as D } from "./ref-
|
|
1
|
+
import { cz as f, cA as w, cY as I, cT as x, d1 as H, dO as l, cB as u, cC as z, cD as W, cE as g, d2 as L, cV as q, cU as B, d3 as F, cS as M, cX as Y } from "./index-ZbZVGyW9.js";
|
|
2
|
+
import { n as d, r as c, c as m, U as b, o as K } from "./if-defined-B9A-SuEH.js";
|
|
3
|
+
import "./index-Da-qfVsI.js";
|
|
4
|
+
import "./index-BflWdkJX.js";
|
|
5
|
+
import { e as O, n as D } from "./ref-C6IIbwxq.js";
|
|
6
6
|
import { n as X, s as G } from "./ConstantsUtil-B-_-u8aQ.js";
|
|
7
|
-
import "./index-
|
|
8
|
-
import { S as J } from "./index-
|
|
9
|
-
import "./index-
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./index
|
|
12
|
-
import "./index-
|
|
7
|
+
import "./index-BR3OZ5tY.js";
|
|
8
|
+
import { S as J } from "./index-UdoiPkDs.js";
|
|
9
|
+
import "./index-DiGq7Twa.js";
|
|
10
|
+
import "./index-K-vs5VBY.js";
|
|
11
|
+
import "./index-DQvOQPAe.js";
|
|
12
|
+
import "./index-DPQg2zed.js";
|
|
13
13
|
const Q = f`
|
|
14
14
|
:host {
|
|
15
15
|
width: 100%;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { cz as E, cA as L, d7 as S, dd as b, cE as g, d6 as A, cB as c, cY as C, dp as F, d4 as D, cS as d, cF as j, cT as _, d3 as u, d1 as T, d9 as U, cU as y, dq as q, cN as I, cW as P } from "./index-
|
|
2
|
-
import { n as z, r as l, c as k, o as v } from "./if-defined-
|
|
3
|
-
import { O as R } from "./index-
|
|
4
|
-
import { e as N } from "./index-
|
|
5
|
-
import "./index-
|
|
6
|
-
import "./index-
|
|
7
|
-
import "./index-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-
|
|
10
|
-
import "./index-
|
|
1
|
+
import { cz as E, cA as L, d7 as S, dd as b, cE as g, d6 as A, cB as c, cY as C, dp as F, d4 as D, cS as d, cF as j, cT as _, d3 as u, d1 as T, d9 as U, cU as y, dq as q, cN as I, cW as P } from "./index-ZbZVGyW9.js";
|
|
2
|
+
import { n as z, r as l, c as k, o as v } from "./if-defined-B9A-SuEH.js";
|
|
3
|
+
import { O as R } from "./index-BziWxDLL.js";
|
|
4
|
+
import { e as N } from "./index-B-EQbBE1.js";
|
|
5
|
+
import "./index-BflWdkJX.js";
|
|
6
|
+
import "./index-Dn2u8IZ4.js";
|
|
7
|
+
import "./index-Da-qfVsI.js";
|
|
8
|
+
import "./index-BR3OZ5tY.js";
|
|
9
|
+
import "./index-Bm_umjg-.js";
|
|
10
|
+
import "./index-8MHsCmjw.js";
|
|
11
11
|
const M = E`
|
|
12
12
|
:host {
|
|
13
13
|
margin-top: var(--wui-spacing-3xs);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { cz as P, cA as C, cT as D, d2 as j, cB as u, d6 as K, d3 as W, cE as S, cS as _, cY as V, cN as M, cX as F, cC as Q, cD as q } from "./index-
|
|
2
|
-
import { r as s, n as h, c as E, U as m } from "./if-defined-
|
|
3
|
-
import "./index-
|
|
4
|
-
import { M as R } from "./index-
|
|
5
|
-
import "./index-
|
|
6
|
-
import { S as n } from "./index-
|
|
7
|
-
import "./index-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-
|
|
1
|
+
import { cz as P, cA as C, cT as D, d2 as j, cB as u, d6 as K, d3 as W, cE as S, cS as _, cY as V, cN as M, cX as F, cC as Q, cD as q } from "./index-ZbZVGyW9.js";
|
|
2
|
+
import { r as s, n as h, c as E, U as m } from "./if-defined-B9A-SuEH.js";
|
|
3
|
+
import "./index-Da-qfVsI.js";
|
|
4
|
+
import { M as R } from "./index-CqJkW7ok.js";
|
|
5
|
+
import "./index-BZlEkYh1.js";
|
|
6
|
+
import { S as n } from "./index-UdoiPkDs.js";
|
|
7
|
+
import "./index-8MHsCmjw.js";
|
|
8
|
+
import "./index-DiGq7Twa.js";
|
|
9
|
+
import "./index-DPQg2zed.js";
|
|
10
10
|
const H = {
|
|
11
11
|
numericInputKeyDown(c, t, e) {
|
|
12
12
|
const o = [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cy as t } from "./index-
|
|
1
|
+
import { cy as t } from "./index-ZbZVGyW9.js";
|
|
2
2
|
const l = t`<svg width="32" height="32" fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
3
3
|
<g clip-path="url(#a)">
|
|
4
4
|
<path fill="url(#b)" d="M0 0h32v32H0z"/>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cy as t } from "./index-
|
|
1
|
+
import { cy as t } from "./index-ZbZVGyW9.js";
|
|
2
2
|
const l = t`<svg width="14" height="15" viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
3
|
<path d="M7 3.71875C6.0335 3.71875 5.25 2.93525 5.25 1.96875C5.25 1.00225 6.0335 0.21875 7 0.21875C7.9665 0.21875 8.75 1.00225 8.75 1.96875C8.75 2.93525 7.9665 3.71875 7 3.71875Z" fill="#949E9E"/>
|
|
4
4
|
<path d="M7 8.96875C6.0335 8.96875 5.25 8.18525 5.25 7.21875C5.25 6.25225 6.0335 5.46875 7 5.46875C7.9665 5.46875 8.75 6.25225 8.75 7.21875C8.75 8.18525 7.9665 8.96875 7 8.96875Z" fill="#949E9E"/>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { cz as f, cA as a, cB as m } from "./index-
|
|
2
|
-
import { c as d } from "./if-defined-
|
|
3
|
-
import "./index-
|
|
1
|
+
import { cz as f, cA as a, cB as m } from "./index-ZbZVGyW9.js";
|
|
2
|
+
import { c as d } from "./if-defined-B9A-SuEH.js";
|
|
3
|
+
import "./index-CcxAAnYa.js";
|
|
4
4
|
const u = f`
|
|
5
5
|
:host > wui-flex:first-child {
|
|
6
6
|
height: 500px;
|
package/dist/types.d.ts
CHANGED
|
@@ -126,3 +126,63 @@ export interface DCPPayOptions {
|
|
|
126
126
|
metadata?: Record<string, string>;
|
|
127
127
|
callbacks?: PaymentCallbacks;
|
|
128
128
|
}
|
|
129
|
+
/**
|
|
130
|
+
* Options for DCP.Payment() — integration-based payments
|
|
131
|
+
*/
|
|
132
|
+
export interface DCPPaymentOptions {
|
|
133
|
+
integrationId: string;
|
|
134
|
+
amount_usd?: string;
|
|
135
|
+
amount?: string | number;
|
|
136
|
+
currency?: string;
|
|
137
|
+
chainId?: number;
|
|
138
|
+
metadata?: Record<string, any>;
|
|
139
|
+
callbacks?: PaymentCallbacks;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Integration config returned from GET /public/integrations/:id
|
|
143
|
+
*/
|
|
144
|
+
export interface IntegrationConfig {
|
|
145
|
+
publicId: string;
|
|
146
|
+
name: string;
|
|
147
|
+
allowChains: number[];
|
|
148
|
+
allowTokens: string[];
|
|
149
|
+
autoConversion: boolean;
|
|
150
|
+
preferredToken: string | null;
|
|
151
|
+
chains: Record<number, {
|
|
152
|
+
name: string;
|
|
153
|
+
tokens: TokenConfig[];
|
|
154
|
+
}>;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* Intent response from POST /public/integrations/:id/intent
|
|
158
|
+
*/
|
|
159
|
+
export interface IntegrationIntentResponse {
|
|
160
|
+
id?: string;
|
|
161
|
+
intent_id?: string;
|
|
162
|
+
chain_id: number;
|
|
163
|
+
recipient: Address;
|
|
164
|
+
amount_wei: string;
|
|
165
|
+
currency: string;
|
|
166
|
+
expires_at?: string;
|
|
167
|
+
signature?: string;
|
|
168
|
+
status?: string;
|
|
169
|
+
asset_type?: 'native' | 'erc20';
|
|
170
|
+
token_address?: Address;
|
|
171
|
+
token_decimals?: number;
|
|
172
|
+
metadata?: Record<string, any>;
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Discriminated union for modal mode
|
|
176
|
+
*/
|
|
177
|
+
export type ModalMode = {
|
|
178
|
+
type: 'tool';
|
|
179
|
+
toolId: string;
|
|
180
|
+
} | {
|
|
181
|
+
type: 'integration';
|
|
182
|
+
integrationId: string;
|
|
183
|
+
amount_usd?: string;
|
|
184
|
+
amount?: string | number;
|
|
185
|
+
currency?: string;
|
|
186
|
+
chainId?: number;
|
|
187
|
+
metadata?: Record<string, any>;
|
|
188
|
+
};
|
package/dist/ui/Modal.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { PaymentCallbacks } from '../types';
|
|
1
|
+
import type { PaymentCallbacks, ModalMode } from '../types';
|
|
2
2
|
interface ModalProps {
|
|
3
|
-
|
|
3
|
+
mode: ModalMode;
|
|
4
4
|
onClose: () => void;
|
|
5
5
|
callbacks?: PaymentCallbacks;
|
|
6
6
|
root: HTMLElement;
|
|
7
7
|
}
|
|
8
|
-
export declare function Modal({
|
|
8
|
+
export declare function Modal({ mode, onClose, callbacks, root }: ModalProps): import("preact").JSX.Element | null;
|
|
9
9
|
export {};
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { cN as w, dK as Z, cE as c, cz as v, cC as L, cA as y, cB as l, d4 as P, cD as se, cG as re, cT as p, cV as U, dL as ce, cF as j, d3 as G, dd as $, d7 as z, cS as q, cU as A, dM as R, cW as le, dN as de, cY as ue, d8 as pe } from "./index-
|
|
2
|
-
import { c as f, n as u, r as d, o as H, U as he } from "./if-defined-
|
|
3
|
-
import "./index-
|
|
4
|
-
import "./index-
|
|
5
|
-
import "./index-
|
|
6
|
-
import "./index-
|
|
7
|
-
import "./index-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-
|
|
1
|
+
import { cN as w, dK as Z, cE as c, cz as v, cC as L, cA as y, cB as l, d4 as P, cD as se, cG as re, cT as p, cV as U, dL as ce, cF as j, d3 as G, dd as $, d7 as z, cS as q, cU as A, dM as R, cW as le, dN as de, cY as ue, d8 as pe } from "./index-ZbZVGyW9.js";
|
|
2
|
+
import { c as f, n as u, r as d, o as H, U as he } from "./if-defined-B9A-SuEH.js";
|
|
3
|
+
import "./index-lUi7mcYP.js";
|
|
4
|
+
import "./index-DPQg2zed.js";
|
|
5
|
+
import "./index-BflWdkJX.js";
|
|
6
|
+
import "./index-K3CyIFHA.js";
|
|
7
|
+
import "./index-ChHzzHKf.js";
|
|
8
|
+
import "./index-BZlEkYh1.js";
|
|
9
|
+
import "./index-CKt3c7vP.js";
|
|
10
10
|
const ee = {
|
|
11
11
|
isUnsupportedChainView() {
|
|
12
12
|
return c.state.view === "UnsupportedChain" || c.state.view === "SwitchNetwork" && c.state.history.includes("UnsupportedChain");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@directcryptopay/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Official SDK for DirectCryptoPay — accept crypto payments directly to your wallet. Non-custodial, multi-chain, developer-first.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/dcp-sdk.umd.js",
|