@directcryptopay/sdk 0.1.0 → 0.2.1

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.
Files changed (138) hide show
  1. package/README.md +202 -256
  2. package/dist/{add-KF4m4jFK.js → add-sji6scSD.js} +1 -1
  3. package/dist/{all-wallets-D6NAjQgX.js → all-wallets-B4H-890E.js} +1 -1
  4. package/dist/{app-store-D7TTn-EO.js → app-store-Z433s97G.js} +1 -1
  5. package/dist/{apple-DjX2E2hE.js → apple-b8Lxj7nb.js} +1 -1
  6. package/dist/{arrow-bottom-C0YrNJYB.js → arrow-bottom-M9oWWo_9.js} +1 -1
  7. package/dist/{arrow-bottom-circle-Dlxvx_XG.js → arrow-bottom-circle-N9c4CXY1.js} +1 -1
  8. package/dist/{arrow-left-x8_-lUyK.js → arrow-left-Dw8AKfwf.js} +1 -1
  9. package/dist/{arrow-right-BTZybj80.js → arrow-right-DwLQZSC_.js} +1 -1
  10. package/dist/{arrow-top-LzH7iLCp.js → arrow-top-zhUjkBe1.js} +1 -1
  11. package/dist/{bank-23jp-IV_.js → bank-CbQdnILK.js} +1 -1
  12. package/dist/{browser-EjoorDid.js → browser-xAqNwt7z.js} +1 -1
  13. package/dist/{card-DGgWwtwC.js → card-Dr1QBmWp.js} +1 -1
  14. package/dist/{ccip-BMANewTU.js → ccip-BIGqktC1.js} +6 -6
  15. package/dist/{checkmark-B1qcQhBo.js → checkmark-BhT1dTgG.js} +1 -1
  16. package/dist/{checkmark-bold-Cyc4IEEJ.js → checkmark-bold-CPB29wqQ.js} +1 -1
  17. package/dist/{chevron-bottom-ClHs08rB.js → chevron-bottom-BhNyx2II.js} +1 -1
  18. package/dist/{chevron-left-O8h_551_.js → chevron-left-CGuEjQlY.js} +1 -1
  19. package/dist/{chevron-right-DP3xpyIA.js → chevron-right-CvIRRsqZ.js} +1 -1
  20. package/dist/{chevron-top-CuwkBUs9.js → chevron-top-RSzCqjBd.js} +1 -1
  21. package/dist/{chrome-store-zfT_aJ3R.js → chrome-store-Cs8dAgs0.js} +1 -1
  22. package/dist/{clock-DHZqivIS.js → clock-fhZO5otC.js} +1 -1
  23. package/dist/{close-Cp9rNAw4.js → close-BPuztrdR.js} +1 -1
  24. package/dist/{coinPlaceholder-U7-T1KKQ.js → coinPlaceholder-C8X2i7Kh.js} +1 -1
  25. package/dist/{compass-Ds5-PRSR.js → compass-WMc5huk0.js} +1 -1
  26. package/dist/{copy-Jg4HdIMf.js → copy-DVAeT17y.js} +1 -1
  27. package/dist/core/api.d.ts +10 -1
  28. package/dist/core/wallet.d.ts +23 -2
  29. package/dist/{cursor-DmMevduB.js → cursor-BJ4YLXfy.js} +1 -1
  30. package/dist/{cursor-transparent-Dn9-1SV8.js → cursor-transparent-DN2fLQN4.js} +1 -1
  31. package/dist/dcp-sdk.umd.js +603 -603
  32. package/dist/dcp.d.ts +11 -1
  33. package/dist/{desktop-C4udXXlZ.js → desktop-6avxisBw.js} +1 -1
  34. package/dist/{disconnect-wd1BYLxt.js → disconnect-AReVI8Gk.js} +1 -1
  35. package/dist/{discord-DthxuCAP.js → discord-CxrI30BZ.js} +1 -1
  36. package/dist/{email-B3jSnUFE.js → email-B8dIIaay.js} +24 -24
  37. package/dist/{embedded-wallet-CJHmoBI2.js → embedded-wallet-C_5hF7rM.js} +24 -24
  38. package/dist/{etherscan-Cjp4xfMW.js → etherscan-BnAy8cIF.js} +1 -1
  39. package/dist/{exclamation-triangle-CRNR5WOy.js → exclamation-triangle-Bu7nHwx9.js} +1 -1
  40. package/dist/{extension-Cydk0mZt.js → extension-F0LIhvcf.js} +1 -1
  41. package/dist/{external-link-CuPTAoq9.js → external-link-CP6phyaM.js} +1 -1
  42. package/dist/{facebook-CghqXmdf.js → facebook-BtQ-Io2y.js} +1 -1
  43. package/dist/{farcaster-BREqMX4y.js → farcaster-BmaN1ugd.js} +1 -1
  44. package/dist/{filters-Dn_Ys7ew.js → filters-DpEwoOmy.js} +1 -1
  45. package/dist/{github-C-A7JmIY.js → github-q7qO9V-b.js} +1 -1
  46. package/dist/{google-CCdM_naE.js → google-DH_ZE8bW.js} +1 -1
  47. package/dist/{hashTypedData-D2Qmzscs.js → hashTypedData-ZH9ZnWu3.js} +6 -6
  48. package/dist/{help-circle-DIH4vyj3.js → help-circle-BAQVmKas.js} +1 -1
  49. package/dist/{id-DkJ0gBuy.js → id-Cj68Zwgo.js} +1 -1
  50. package/dist/{if-defined-BciplFKz.js → if-defined-CNte9B3N.js} +89 -89
  51. package/dist/{image-qMjyiXM0.js → image-BKJDw6N-.js} +1 -1
  52. package/dist/{index-BpXOsxzU.js → index-5mp7WkhV.js} +2 -2
  53. package/dist/{index-CX60z_g2.js → index-7toZMdtG.js} +32 -32
  54. package/dist/{index-CMPIqsB1.js → index-B1uKzdvN.js} +3 -3
  55. package/dist/{index-eW8y-mXH.js → index-BHFZVF-b.js} +3 -3
  56. package/dist/{index-DiHImG4L.js → index-BJ7cbG3N.js} +12400 -11573
  57. package/dist/{index-CqVegmN4.js → index-BKwa5JSA.js} +10 -10
  58. package/dist/{index-D-IzHD_8.js → index-BP4B9VUt.js} +2 -2
  59. package/dist/{index-DmOMXRG1.js → index-BVdzXHpO.js} +11 -11
  60. package/dist/{index-B2iDt0TJ.js → index-BYND0GJ9.js} +2 -2
  61. package/dist/{index-lbhz9evJ.js → index-BaJ0zEbh.js} +2 -2
  62. package/dist/{index-B7K86vWu.js → index-BdSIrl-R.js} +38 -38
  63. package/dist/{index-C4BX3QW8.js → index-Bh0MPFwP.js} +3 -3
  64. package/dist/{index-BBkcvSiY.js → index-Bsh7_qTp.js} +53 -53
  65. package/dist/{index-DoSYqTQg.js → index-BwnXTNNg.js} +3 -3
  66. package/dist/{index-Ij6XA6_4.js → index-C0kPDbg_.js} +2 -2
  67. package/dist/{index-fxzIDZsb.js → index-CKikVKe2.js} +2 -2
  68. package/dist/{index-SzyBYfzA.js → index-CPTcEPbD.js} +1582 -1881
  69. package/dist/{index-C27dwOyE.js → index-ChVh0Hkp.js} +3 -3
  70. package/dist/{index-CwB_qRfM.js → index-Cle_NnnS.js} +6 -6
  71. package/dist/{index-CUdQyyFn.js → index-CmWdvIFT.js} +2 -2
  72. package/dist/{index-1adX-Fit.js → index-D2AMA8Bu.js} +2 -2
  73. package/dist/{index-CTYngdl0.js → index-D5r0iSq4.js} +1 -1
  74. package/dist/index-D6h-qfpt.js +276 -0
  75. package/dist/{index-CppCc1n8.js → index-DAUM8CO4.js} +2 -2
  76. package/dist/{index-DtCsAVBg.js → index-DGjZW6uR.js} +2 -2
  77. package/dist/{index-CxOF7GqE.js → index-DQe94z7X.js} +3 -3
  78. package/dist/{index-AvC0IGDl.js → index-DTo6w99t.js} +101 -101
  79. package/dist/{index-B5zkXsLJ.js → index-DYdXjap2.js} +9 -9
  80. package/dist/{index-BdjxQs66.js → index-DceCxNV5.js} +5 -5
  81. package/dist/{index-Da8oZh8H.js → index-DobBVPe4.js} +14 -14
  82. package/dist/{index-DRNiFv9I.js → index-Dy4NyE6l.js} +7 -7
  83. package/dist/{index-Bijd4_Ns.js → index-Uw9cSw0q.js} +3 -3
  84. package/dist/{index-DpHXq5_E.js → index-f3LXSfM5.js} +6 -6
  85. package/dist/{index--3Zp0jAb.js → index-qiuyrukh.js} +2 -2
  86. package/dist/{index-CuiyMA8F.js → index-zddvaohA.js} +3 -3
  87. package/dist/index.d.ts +1 -1
  88. package/dist/index.js +1 -1
  89. package/dist/{info-DMIGgjkL.js → info-RfPsmroW.js} +1 -1
  90. package/dist/{info-circle-CJuIKZSx.js → info-circle-DFKHB_ZN.js} +1 -1
  91. package/dist/{lightbulb-qFT6WEWV.js → lightbulb-B-Bykj9X.js} +1 -1
  92. package/dist/{localBatchGatewayRequest-CsMVMFBc.js → localBatchGatewayRequest-CjGcn5nM.js} +1 -1
  93. package/dist/{mail-DoYgQvOt.js → mail-mBAgGuw5.js} +1 -1
  94. package/dist/{mobile-URtsh7o-.js → mobile-Dhh3ndkf.js} +1 -1
  95. package/dist/{more-DoQd10TF.js → more-D1h7UTvg.js} +1 -1
  96. package/dist/{network-placeholder-BBA2Ue6C.js → network-placeholder-Dqynvc-t.js} +1 -1
  97. package/dist/{nftPlaceholder-C9RXWz9k.js → nftPlaceholder-Df7MW4MM.js} +1 -1
  98. package/dist/{off-YcuDQczT.js → off-BmG3cHTX.js} +1 -1
  99. package/dist/{onramp-BfqDIx4o.js → onramp-C401Aenb.js} +46 -46
  100. package/dist/{parseSignature-280HB24T.js → parseSignature-S8VEpRHC.js} +967 -1222
  101. package/dist/{play-store-sFaloG_r.js → play-store-4q1fzL_P.js} +1 -1
  102. package/dist/{plus-l0wekSht.js → plus-603Gs3yG.js} +1 -1
  103. package/dist/{qr-code-CihrUU4G.js → qr-code-Dgwhf6M1.js} +1 -1
  104. package/dist/{receive-dfY1Cu-g.js → receive-CYXbbEUR.js} +10 -10
  105. package/dist/{recycle-horizontal-nXu6YaPw.js → recycle-horizontal-Bu8zZ563.js} +1 -1
  106. package/dist/{ref-huAzXCX0.js → ref-DpmKRWBK.js} +2 -2
  107. package/dist/{refresh-D2ZbVeNC.js → refresh-BMZFu0mu.js} +1 -1
  108. package/dist/{reown-logo-BMaTMJmc.js → reown-logo-BXph7ThY.js} +1 -1
  109. package/dist/{search-YVM9q3J-.js → search-Cm_V42Y_.js} +1 -1
  110. package/dist/{secp256k1-DPQgTBwQ.js → secp256k1-C0iX1TUr.js} +19 -19
  111. package/dist/{secp256k1-BrysY3Sv.js → secp256k1-DOQBqE4Z.js} +1 -1
  112. package/dist/{send-BwQZPKxI.js → send-BSMYxDuP.js} +1 -1
  113. package/dist/{send-GyetMVu1.js → send-C8EeIzRB.js} +20 -20
  114. package/dist/{socials-B0W91J9k.js → socials-DQrHQajs.js} +15 -15
  115. package/dist/{swapHorizontal-Dy_oQEkp.js → swapHorizontal-98rnJewS.js} +1 -1
  116. package/dist/{swapHorizontalBold-C4JpaMpc.js → swapHorizontalBold-C299FjEt.js} +1 -1
  117. package/dist/{swapHorizontalMedium-D5NuVZFh.js → swapHorizontalMedium-Cqm6i4WJ.js} +1 -1
  118. package/dist/{swapHorizontalRoundedBold-Bq4P2MCj.js → swapHorizontalRoundedBold-De7hFfqZ.js} +1 -1
  119. package/dist/{swapVertical-CVQ8Mg03.js → swapVertical-DSL75l8L.js} +1 -1
  120. package/dist/{swaps-CA04SSdK.js → swaps-BuTNp65Y.js} +24 -24
  121. package/dist/{telegram-BP4SgW_L.js → telegram-cJP7hgUb.js} +1 -1
  122. package/dist/{three-dots-BJYGJ-dQ.js → three-dots-DHnEh28O.js} +1 -1
  123. package/dist/{transactions-Bq-98Tsg.js → transactions-DujFkB-M.js} +3 -3
  124. package/dist/{twitch-DTATWo9M.js → twitch-CR2iGcBo.js} +1 -1
  125. package/dist/{twitterIcon-D5UWPInb.js → twitterIcon-E5TAQjOn.js} +1 -1
  126. package/dist/types.d.ts +60 -0
  127. package/dist/ui/Modal.d.ts +3 -3
  128. package/dist/ui/index.d.ts +2 -2
  129. package/dist/{verify-Byvj8Wi1.js → verify-DEukUJp0.js} +1 -1
  130. package/dist/{verify-filled-B40taNm0.js → verify-filled-BXsx1i_p.js} +1 -1
  131. package/dist/{w3m-modal-HV6SE74G.js → w3m-modal-Bm7BqVng.js} +40 -40
  132. package/dist/{wallet-Cp-6Kk88.js → wallet-CzyyvdrT.js} +1 -1
  133. package/dist/{wallet-placeholder-C3juwA9o.js → wallet-placeholder-BrcmyGEe.js} +1 -1
  134. package/dist/{walletconnect-CRkIiLCx.js → walletconnect-BSYogWiE.js} +1 -1
  135. package/dist/{warning-circle-DtvCLwG4.js → warning-circle-Cgp2BW3m.js} +1 -1
  136. package/dist/{x-Cqyx5eCt.js → x-BJinLpTw.js} +1 -1
  137. package/package.json +1 -1
  138. package/dist/index-B2-vKLd8.js +0 -276
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
+ };
@@ -1,9 +1,9 @@
1
- import type { PaymentCallbacks } from '../types';
1
+ import type { PaymentCallbacks, ModalMode } from '../types';
2
2
  interface ModalProps {
3
- toolId: string;
3
+ mode: ModalMode;
4
4
  onClose: () => void;
5
5
  callbacks?: PaymentCallbacks;
6
6
  root: HTMLElement;
7
7
  }
8
- export declare function Modal({ toolId, onClose, callbacks, root }: ModalProps): import("preact").JSX.Element | null;
8
+ export declare function Modal({ mode, onClose, callbacks, root }: ModalProps): import("preact").JSX.Element | null;
9
9
  export {};
@@ -1,6 +1,6 @@
1
- import type { PaymentCallbacks } from '../types';
1
+ import type { PaymentCallbacks, ModalMode } from '../types';
2
2
  export declare function mountModal(props: {
3
- toolId: string;
3
+ mode: ModalMode;
4
4
  callbacks?: PaymentCallbacks;
5
5
  onClose: () => void;
6
6
  }): void;
@@ -1,4 +1,4 @@
1
- import { cy as l } from "./index-DiHImG4L.js";
1
+ import { cD as l } from "./index-BJ7cbG3N.js";
2
2
  const c = l`<svg fill="none" viewBox="0 0 28 28">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { cy as l } from "./index-DiHImG4L.js";
1
+ import { cD as l } from "./index-BJ7cbG3N.js";
2
2
  const c = l`<svg fill="none" viewBox="0 0 14 14">
3
3
  <path
4
4
  fill="currentColor"
@@ -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-DiHImG4L.js";
2
- import { c as f, n as u, r as d, o as H, U as he } from "./if-defined-BciplFKz.js";
3
- import "./index-1adX-Fit.js";
4
- import "./index-CUdQyyFn.js";
5
- import "./index-fxzIDZsb.js";
6
- import "./index-DtCsAVBg.js";
7
- import "./index-lbhz9evJ.js";
8
- import "./index-B2iDt0TJ.js";
9
- import "./index-C27dwOyE.js";
1
+ import { cS as w, dP as Z, cJ as c, cE as v, cH as L, cF as y, cG as l, d9 as P, cI as se, cL as re, cY as p, c_ as j, dQ as ce, cK as U, d8 as G, di as N, dc as H, cX as q, cZ as $, dR as R, c$ as le, dS as de, d1 as ue, dd as pe } from "./index-BJ7cbG3N.js";
2
+ import { c as f, n as u, r as d, o as z, U as he } from "./if-defined-CNte9B3N.js";
3
+ import "./index-D2AMA8Bu.js";
4
+ import "./index-CmWdvIFT.js";
5
+ import "./index-CKikVKe2.js";
6
+ import "./index-DGjZW6uR.js";
7
+ import "./index-BaJ0zEbh.js";
8
+ import "./index-BYND0GJ9.js";
9
+ import "./index-ChVh0Hkp.js";
10
10
  const ee = {
11
11
  isUnsupportedChainView() {
12
12
  return c.state.view === "UnsupportedChain" || c.state.view === "SwitchNetwork" && c.state.history.includes("UnsupportedChain");
@@ -182,7 +182,7 @@ const be = {
182
182
  icon: "exclamationTriangle"
183
183
  }
184
184
  };
185
- let B = class extends y {
185
+ let _ = class extends y {
186
186
  constructor() {
187
187
  super(), this.unsubscribe = [], this.open = P.state.open, this.onOpen(!0), this.unsubscribe.push(P.subscribeKey("open", (e) => {
188
188
  this.open = e, this.onOpen(!1);
@@ -220,13 +220,13 @@ let B = class extends y {
220
220
  }), this.style.cssText = "pointer-events: none");
221
221
  }
222
222
  };
223
- B.styles = ge;
223
+ _.styles = ge;
224
224
  te([
225
225
  d()
226
- ], B.prototype, "open", void 0);
227
- B = te([
226
+ ], _.prototype, "open", void 0);
227
+ _ = te([
228
228
  f("w3m-alertbar")
229
- ], B);
229
+ ], _);
230
230
  const ve = v`
231
231
  button {
232
232
  display: block;
@@ -263,7 +263,7 @@ var oe = function(s, e, t, i) {
263
263
  else for (var r = s.length - 1; r >= 0; r--) (n = s[r]) && (o = (a < 3 ? n(o) : a > 3 ? n(e, t, o) : n(e, t)) || o);
264
264
  return a > 3 && o && Object.defineProperty(e, t, o), o;
265
265
  };
266
- let _ = class extends y {
266
+ let B = class extends y {
267
267
  constructor() {
268
268
  super(...arguments), this.imageSrc = "";
269
269
  }
@@ -283,13 +283,13 @@ let _ = class extends y {
283
283
  ></wui-icon-box>`;
284
284
  }
285
285
  };
286
- _.styles = [L, se, re, ve];
286
+ B.styles = [L, se, re, ve];
287
287
  oe([
288
288
  u()
289
- ], _.prototype, "imageSrc", void 0);
290
- _ = oe([
289
+ ], B.prototype, "imageSrc", void 0);
290
+ B = oe([
291
291
  f("wui-select")
292
- ], _);
292
+ ], B);
293
293
  const ye = v`
294
294
  :host {
295
295
  height: 64px;
@@ -375,8 +375,8 @@ var g = function(s, e, t, i) {
375
375
  };
376
376
  const Ce = ["SmartSessionList"];
377
377
  function K() {
378
- var n, r, N, x, T, E, I;
379
- const s = (r = (n = c.state.data) == null ? void 0 : n.connector) == null ? void 0 : r.name, e = (x = (N = c.state.data) == null ? void 0 : N.wallet) == null ? void 0 : x.name, t = (E = (T = c.state.data) == null ? void 0 : T.network) == null ? void 0 : E.name, i = e ?? s, a = z.getConnectors();
378
+ var n, r, A, x, T, E, I;
379
+ const s = (r = (n = c.state.data) == null ? void 0 : n.connector) == null ? void 0 : r.name, e = (x = (A = c.state.data) == null ? void 0 : A.wallet) == null ? void 0 : x.name, t = (E = (T = c.state.data) == null ? void 0 : T.network) == null ? void 0 : E.name, i = e ?? s, a = H.getConnectors();
380
380
  return {
381
381
  Connect: `Connect ${a.length === 1 && ((I = a[0]) == null ? void 0 : I.id) === "w3m-email" ? "Email" : ""} Wallet`,
382
382
  Create: "Create Wallet",
@@ -440,14 +440,14 @@ function K() {
440
440
  }
441
441
  let h = class extends y {
442
442
  constructor() {
443
- super(), this.unsubscribe = [], this.heading = K()[c.state.view], this.network = p.state.activeCaipNetwork, this.networkImage = U.getNetworkImage(this.network), this.showBack = !1, this.prevHistoryLength = 1, this.view = c.state.view, this.viewDirection = "", this.headerText = K()[c.state.view], this.unsubscribe.push(ce.subscribeNetworkImages(() => {
444
- this.networkImage = U.getNetworkImage(this.network);
443
+ super(), this.unsubscribe = [], this.heading = K()[c.state.view], this.network = p.state.activeCaipNetwork, this.networkImage = j.getNetworkImage(this.network), this.showBack = !1, this.prevHistoryLength = 1, this.view = c.state.view, this.viewDirection = "", this.headerText = K()[c.state.view], this.unsubscribe.push(ce.subscribeNetworkImages(() => {
444
+ this.networkImage = j.getNetworkImage(this.network);
445
445
  }), c.subscribeKey("view", (e) => {
446
446
  setTimeout(() => {
447
447
  this.view = e, this.headerText = K()[e];
448
- }, j.ANIMATION_DURATIONS.HeaderText), this.onViewChange(), this.onHistoryChange();
448
+ }, U.ANIMATION_DURATIONS.HeaderText), this.onViewChange(), this.onHistoryChange();
449
449
  }), p.subscribeKey("activeCaipNetwork", (e) => {
450
- this.network = e, this.networkImage = U.getNetworkImage(this.network);
450
+ this.network = e, this.networkImage = j.getNetworkImage(this.network);
451
451
  }));
452
452
  }
453
453
  disconnectCallback() {
@@ -468,7 +468,7 @@ let h = class extends y {
468
468
  }
469
469
  rightHeaderTemplate() {
470
470
  var t, i, a;
471
- const e = (a = (i = (t = $) == null ? void 0 : t.state) == null ? void 0 : i.features) == null ? void 0 : a.smartSessions;
471
+ const e = (a = (i = (t = N) == null ? void 0 : t.state) == null ? void 0 : i.features) == null ? void 0 : a.smartSessions;
472
472
  return c.state.view !== "Account" || !e ? this.closeButtonTemplate() : l`<wui-flex>
473
473
  <wui-icon-link
474
474
  icon="clock"
@@ -505,14 +505,14 @@ let h = class extends y {
505
505
  }
506
506
  leftHeaderTemplate() {
507
507
  var x;
508
- const { view: e } = c.state, t = e === "Connect", i = $.state.enableEmbedded, a = e === "ApproveTransaction", o = e === "ConnectingSiwe", n = e === "Account", r = $.state.enableNetworkSwitch, N = a || o || t && i;
508
+ const { view: e } = c.state, t = e === "Connect", i = N.state.enableEmbedded, a = e === "ApproveTransaction", o = e === "ConnectingSiwe", n = e === "Account", r = N.state.enableNetworkSwitch, A = a || o || t && i;
509
509
  return n && r ? l`<wui-select
510
510
  id="dynamic"
511
511
  data-testid="w3m-account-select-network"
512
- active-network=${H((x = this.network) == null ? void 0 : x.name)}
512
+ active-network=${z((x = this.network) == null ? void 0 : x.name)}
513
513
  @click=${this.onNetworks.bind(this)}
514
- imageSrc=${H(this.networkImage)}
515
- ></wui-select>` : this.showBack && !N ? l`<wui-icon-link
514
+ imageSrc=${z(this.networkImage)}
515
+ ></wui-select>` : this.showBack && !A ? l`<wui-icon-link
516
516
  data-testid="header-back"
517
517
  id="dynamic"
518
518
  icon="chevronLeft"
@@ -539,8 +539,8 @@ let h = class extends y {
539
539
  }
540
540
  onViewChange() {
541
541
  const { history: e } = c.state;
542
- let t = j.VIEW_DIRECTION.Next;
543
- e.length < this.prevHistoryLength && (t = j.VIEW_DIRECTION.Prev), this.prevHistoryLength = e.length, this.viewDirection = t;
542
+ let t = U.VIEW_DIRECTION.Next;
543
+ e.length < this.prevHistoryLength && (t = U.VIEW_DIRECTION.Prev), this.prevHistoryLength = e.length, this.viewDirection = t;
544
544
  }
545
545
  async onHistoryChange() {
546
546
  var i;
@@ -699,7 +699,7 @@ const Se = {
699
699
  };
700
700
  let D = class extends y {
701
701
  constructor() {
702
- super(), this.unsubscribe = [], this.timeout = void 0, this.open = A.state.open, this.unsubscribe.push(A.subscribeKey("open", (e) => {
702
+ super(), this.unsubscribe = [], this.timeout = void 0, this.open = $.state.open, this.unsubscribe.push($.subscribeKey("open", (e) => {
703
703
  this.open = e, this.onOpen();
704
704
  }));
705
705
  }
@@ -707,7 +707,7 @@ let D = class extends y {
707
707
  clearTimeout(this.timeout), this.unsubscribe.forEach((e) => e());
708
708
  }
709
709
  render() {
710
- const { message: e, variant: t, svg: i } = A.state, a = Se[t], { icon: o, iconColor: n } = i ?? a ?? {};
710
+ const { message: e, variant: t, svg: i } = $.state, a = Se[t], { icon: o, iconColor: n } = i ?? a ?? {};
711
711
  return l`
712
712
  <wui-snackbar
713
713
  message=${e}
@@ -726,7 +726,7 @@ let D = class extends y {
726
726
  duration: 150,
727
727
  fill: "forwards",
728
728
  easing: "ease"
729
- }), this.timeout && clearTimeout(this.timeout), A.state.autoClose && (this.timeout = setTimeout(() => A.hide(), 2500))) : this.animate([
729
+ }), this.timeout && clearTimeout(this.timeout), $.state.autoClose && (this.timeout = setTimeout(() => $.hide(), 2500))) : this.animate([
730
730
  { opacity: 1, transform: "translateX(-50%) scale(1)" },
731
731
  { opacity: 0, transform: "translateX(-50%) scale(0.85)" }
732
732
  ], {
@@ -743,7 +743,7 @@ ie([
743
743
  D = ie([
744
744
  f("w3m-snackbar")
745
745
  ], D);
746
- const Ae = v`
746
+ const $e = v`
747
747
  :host {
748
748
  z-index: var(--w3m-z-index);
749
749
  display: block;
@@ -893,7 +893,7 @@ var C = function(s, e, t, i) {
893
893
  const F = "scroll-lock";
894
894
  class b extends y {
895
895
  constructor() {
896
- super(), this.unsubscribe = [], this.abortController = void 0, this.hasPrefetched = !1, this.enableEmbedded = $.state.enableEmbedded, this.open = w.state.open, this.caipAddress = p.state.activeCaipAddress, this.caipNetwork = p.state.activeCaipNetwork, this.shake = w.state.shake, this.filterByNamespace = z.state.filterByNamespace, this.initializeTheming(), R.prefetchAnalyticsConfig(), this.unsubscribe.push(w.subscribeKey("open", (e) => e ? this.onOpen() : this.onClose()), w.subscribeKey("shake", (e) => this.shake = e), p.subscribeKey("activeCaipNetwork", (e) => this.onNewNetwork(e)), p.subscribeKey("activeCaipAddress", (e) => this.onNewAddress(e)), $.subscribeKey("enableEmbedded", (e) => this.enableEmbedded = e), z.subscribeKey("filterByNamespace", (e) => {
896
+ super(), this.unsubscribe = [], this.abortController = void 0, this.hasPrefetched = !1, this.enableEmbedded = N.state.enableEmbedded, this.open = w.state.open, this.caipAddress = p.state.activeCaipAddress, this.caipNetwork = p.state.activeCaipNetwork, this.shake = w.state.shake, this.filterByNamespace = H.state.filterByNamespace, this.initializeTheming(), R.prefetchAnalyticsConfig(), this.unsubscribe.push(w.subscribeKey("open", (e) => e ? this.onOpen() : this.onClose()), w.subscribeKey("shake", (e) => this.shake = e), p.subscribeKey("activeCaipNetwork", (e) => this.onNewNetwork(e)), p.subscribeKey("activeCaipAddress", (e) => this.onNewAddress(e)), N.subscribeKey("enableEmbedded", (e) => this.enableEmbedded = e), H.subscribeKey("filterByNamespace", (e) => {
897
897
  var t;
898
898
  this.filterByNamespace !== e && !((t = p.getAccountData(e)) != null && t.caipAddress) && (R.fetchRecommendedWallets(), this.filterByNamespace = e);
899
899
  }));
@@ -925,7 +925,7 @@ class b extends y {
925
925
  contentTemplate() {
926
926
  return l` <wui-card
927
927
  shake="${this.shake}"
928
- data-embedded="${H(this.enableEmbedded)}"
928
+ data-embedded="${z(this.enableEmbedded)}"
929
929
  role="alertdialog"
930
930
  aria-modal="true"
931
931
  tabindex="0"
@@ -948,7 +948,7 @@ class b extends y {
948
948
  de(e, i);
949
949
  }
950
950
  onClose() {
951
- this.open = !1, this.classList.remove("open"), this.onScrollUnlock(), A.hide(), this.onRemoveKeyboardListener();
951
+ this.open = !1, this.classList.remove("open"), this.onScrollUnlock(), $.hide(), this.onRemoveKeyboardListener();
952
952
  }
953
953
  onOpen() {
954
954
  this.open = !0, this.classList.add("open"), this.onScrollLock(), this.onAddKeyboardListener();
@@ -1001,7 +1001,7 @@ class b extends y {
1001
1001
  this.hasPrefetched || (R.prefetch(), R.fetchWalletsByPage({ page: 1 }), this.hasPrefetched = !0);
1002
1002
  }
1003
1003
  }
1004
- b.styles = Ae;
1004
+ b.styles = $e;
1005
1005
  C([
1006
1006
  u({ type: Boolean })
1007
1007
  ], b.prototype, "enableEmbedded", void 0);
@@ -1,4 +1,4 @@
1
- import { cy as c } from "./index-DiHImG4L.js";
1
+ import { cD as c } from "./index-BJ7cbG3N.js";
2
2
  const v = c`<svg fill="none" viewBox="0 0 20 20">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { cy as a } from "./index-DiHImG4L.js";
1
+ import { cD as a } from "./index-BJ7cbG3N.js";
2
2
  const v = a`
3
3
  <svg fill="none" viewBox="0 0 48 44">
4
4
  <path
@@ -1,4 +1,4 @@
1
- import { cy as l } from "./index-DiHImG4L.js";
1
+ import { cD as l } from "./index-BJ7cbG3N.js";
2
2
  const t = l`<svg fill="none" viewBox="0 0 96 67">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { cy as l } from "./index-DiHImG4L.js";
1
+ import { cD as l } from "./index-BJ7cbG3N.js";
2
2
  const e = l`<svg fill="none" viewBox="0 0 20 20">
3
3
  <path
4
4
  fill="currentColor"
@@ -1,4 +1,4 @@
1
- import { cy as l } from "./index-DiHImG4L.js";
1
+ import { cD as l } from "./index-BJ7cbG3N.js";
2
2
  const h = l`<svg fill="none" viewBox="0 0 41 40">
3
3
  <g clip-path="url(#a)">
4
4
  <path fill="#000" d="M.8 0h40v40H.8z" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@directcryptopay/sdk",
3
- "version": "0.1.0",
3
+ "version": "0.2.1",
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",
@@ -1,276 +0,0 @@
1
- import { B as s, E as o, d as e, f as t, F as n, W as i, m as c, o as d, q as E, i as u, c as b, g as l, h as p, e as T, j as g, l as m, n as h, p as v, a as y, j as A, b as S, r as F, s as I, k as R, t as f, k as C, z as x } from "./parseSignature-280HB24T.js";
2
- import { A as N, B as P, D, E as U, F as k, G as w, H, J as L, K as M, L as z, M as q, N as V, O as j, P as O, Q as G, R as W, b3 as K, aE as Z, aD as J, a1 as Q, al as X, a2 as Y, aF as _, T as $, a8 as aa, aG as ra, a3 as sa, a4 as oa, a5 as ea, C as ta, a6 as na, a9 as ia, aa as ca, ab as da, ac as Ea, V as ua, W as ba, aH as la, am as pa, ak as Ta, ao as ga, ap as ma, aq as ha, aA as va, ar as ya, ag as Aa, aI as Sa, as as Fa, at as Ia, X as Ra, Y as fa, I as Ca, a as xa, b as Ba, a0 as Na, Z as Pa, ah as Da, a7 as Ua, bd as ka, _ as wa, c as Ha, ai as La, aJ as Ma, b5 as za, d as qa, e as Va, aK as ja, f as Oa, aL as Ga, b6 as Wa, g as Ka, b7 as Za, h as Ja, aM as Qa, aN as Xa, an as Ya, aO as _a, aP as $a, au as ar, av as rr, aw as sr, aQ as or, aR as er, aS as tr, ad as nr, aT as ir, aU as cr, aV as dr, aB as Er, ae as ur, aj as br, af as lr, S as pr, b4 as Tr, aW as gr, aC as mr, ax as hr, b8 as vr, b9 as yr, ba as Ar, aX as Sr, ay as Fr, aY as Ir, aZ as Rr, az as fr, a_ as Cr, U as xr, i as Br, a$ as Nr, b0 as Pr, $ as Dr, b1 as Ur, bc as kr, b2 as wr, bb as Hr, by as Lr, cr as Mr, bs as zr, bt as qr, bV as Vr, b_ as jr, bN as Or, bO as Gr, b$ as Wr, bP as Kr, bQ as Zr, bo as Jr, bv as Qr, bu as Xr, bB as Yr, bC as _r, bD as $r, j as as, k as rs, l as ss, be as os, bf as es, bg as ts, bh as ns, c5 as is, bz as cs, c8 as ds, cb as Es, t as us, u as bs, bi as ls, bj as ps, bk as Ts, o as gs, q as ms, v as hs, x as vs, m as ys, c6 as As, ct as Ss, cu as Fs, c7 as Is, c9 as Rs, cc as fs, cd as Cs, cv as xs, bl as Bs, bp as Ns, bA as Ps, c4 as Ds, ci as Us, cj as ks, ck as ws, cj as Hs, cs as Ls, y as Ms, bR as zs, bS as qs, bW as Vs, bT as js, bU as Os, n as Gs, bq as Ws, br as Ks, bE as Zs, cf as Js, w as Qs, r as Xs, bX as Ys, c0 as _s, bF as $s, bG as ao, bH as ro, p as so, bm as oo, cw as eo, bn as to, co as no, cp as io, ce as co, cg as Eo, s as uo, bI as bo, bJ as lo, bK as po, bL as To, bY as go, c1 as mo, cq as ho, bw as vo, bx as yo, bZ as Ao, ch as So, ci as Fo, cj as Io, ch as Ro, ck as fo, cj as Co, c2 as xo, c3 as Bo, ca as No, bM as Po, q as Do, v as Uo, z as ko, cl as wo, cm as Ho, cn as Lo } from "./index-DiHImG4L.js";
3
- import { I as zo, a as qo, b as Vo, g as jo, c as Oo, h as Go, d as Wo, e as Ko, p as Zo, t as Jo, v as Qo } from "./hashTypedData-D2Qmzscs.js";
4
- import { d as Yo, e as _o, a as $o } from "./localBatchGatewayRequest-CsMVMFBc.js";
5
- import { ccipRequest as re, ccipRequest as se, offchainLookup as oe, offchainLookupAbiItem as ee, offchainLookupSignature as te } from "./ccip-BMANewTU.js";
6
- export {
7
- N as AbiConstructorNotFoundError,
8
- P as AbiConstructorParamsNotFoundError,
9
- D as AbiDecodingDataSizeTooSmallError,
10
- U as AbiDecodingZeroDataError,
11
- k as AbiEncodingArrayLengthMismatchError,
12
- w as AbiEncodingBytesSizeMismatchError,
13
- H as AbiEncodingLengthMismatchError,
14
- L as AbiErrorInputsNotFoundError,
15
- M as AbiErrorNotFoundError,
16
- z as AbiErrorSignatureNotFoundError,
17
- q as AbiEventNotFoundError,
18
- V as AbiEventSignatureEmptyTopicsError,
19
- j as AbiEventSignatureNotFoundError,
20
- O as AbiFunctionNotFoundError,
21
- G as AbiFunctionOutputsNotFoundError,
22
- W as AbiFunctionSignatureNotFoundError,
23
- K as AccountStateConflictError,
24
- Z as AtomicReadyWalletRejectedUpgradeError,
25
- J as AtomicityNotSupportedError,
26
- Q as BaseError,
27
- X as BaseFeeScalarError,
28
- Y as BlockNotFoundError,
29
- s as BundleFailedError,
30
- _ as BundleTooLargeError,
31
- $ as BytesSizeMismatchError,
32
- aa as CallExecutionError,
33
- ra as ChainDisconnectedError,
34
- sa as ChainDoesNotSupportContract,
35
- oa as ChainMismatchError,
36
- ea as ChainNotFoundError,
37
- ta as CircularReferenceError,
38
- na as ClientChainNotConfiguredError,
39
- ia as ContractFunctionExecutionError,
40
- ca as ContractFunctionRevertedError,
41
- da as ContractFunctionZeroDataError,
42
- Ea as CounterfactualDeploymentFailedError,
43
- ua as DecodeLogDataMismatch,
44
- ba as DecodeLogTopicsMismatch,
45
- la as DuplicateIdError,
46
- pa as Eip1559FeesNotSupportedError,
47
- o as EnsAvatarInvalidNftUriError,
48
- e as EnsAvatarUnsupportedNamespaceError,
49
- t as EnsAvatarUriResolutionError,
50
- Ta as EstimateGasExecutionError,
51
- ga as ExecutionRevertedError,
52
- ma as FeeCapTooHighError,
53
- ha as FeeCapTooLowError,
54
- n as FilterTypeNotSupportedError,
55
- va as HttpRequestError,
56
- ya as InsufficientFundsError,
57
- Aa as IntegerOutOfRangeError,
58
- Sa as InternalRpcError,
59
- Fa as IntrinsicGasTooHighError,
60
- Ia as IntrinsicGasTooLowError,
61
- Ra as InvalidAbiDecodingTypeError,
62
- fa as InvalidAbiEncodingTypeError,
63
- Ca as InvalidAbiItemError,
64
- xa as InvalidAbiParametersError,
65
- Ba as InvalidAbiTypeParameterError,
66
- Na as InvalidAddressError,
67
- Pa as InvalidArrayError,
68
- Da as InvalidBytesBooleanError,
69
- Ua as InvalidChainIdError,
70
- ka as InvalidDecimalNumberError,
71
- wa as InvalidDefinitionTypeError,
72
- zo as InvalidDomainError,
73
- Ha as InvalidFunctionModifierError,
74
- La as InvalidHexBooleanError,
75
- Ma as InvalidInputRpcError,
76
- za as InvalidLegacyVError,
77
- qa as InvalidModifierError,
78
- Va as InvalidParameterError,
79
- ja as InvalidParamsRpcError,
80
- Oa as InvalidParenthesisError,
81
- qo as InvalidPrimaryTypeError,
82
- Ga as InvalidRequestRpcError,
83
- Wa as InvalidSerializableTransactionError,
84
- Ka as InvalidSignatureError,
85
- Za as InvalidStorageKeySizeError,
86
- Ja as InvalidStructSignatureError,
87
- Vo as InvalidStructTypeError,
88
- Qa as JsonRpcVersionUnsupportedError,
89
- Xa as LimitExceededRpcError,
90
- Ya as MaxFeePerGasTooLowError,
91
- _a as MethodNotFoundRpcError,
92
- $a as MethodNotSupportedRpcError,
93
- ar as NonceMaxValueError,
94
- rr as NonceTooHighError,
95
- sr as NonceTooLowError,
96
- or as ParseRpcError,
97
- er as ProviderDisconnectedError,
98
- tr as ProviderRpcError,
99
- nr as RawContractError,
100
- ir as ResourceNotFoundRpcError,
101
- cr as ResourceUnavailableRpcError,
102
- dr as RpcError,
103
- Er as RpcRequestError,
104
- ur as SizeExceedsPaddingSizeError,
105
- br as SizeOverflowError,
106
- lr as SliceOffsetOutOfBoundsError,
107
- pr as SolidityProtectedKeywordError,
108
- Tr as StateAssignmentConflictError,
109
- gr as SwitchChainError,
110
- mr as TimeoutError,
111
- hr as TipAboveFeeCapError,
112
- vr as TransactionExecutionError,
113
- yr as TransactionNotFoundError,
114
- Ar as TransactionReceiptNotFoundError,
115
- Sr as TransactionRejectedRpcError,
116
- Fr as TransactionTypeNotSupportedError,
117
- Ir as UnauthorizedProviderError,
118
- Rr as UnknownBundleIdError,
119
- fr as UnknownNodeError,
120
- Cr as UnknownRpcError,
121
- xr as UnknownSignatureError,
122
- Br as UnknownTypeError,
123
- Nr as UnsupportedChainIdError,
124
- Pr as UnsupportedNonOptionalCapabilityError,
125
- Dr as UnsupportedPackedAbiType,
126
- Ur as UnsupportedProviderMethodError,
127
- kr as UrlRequiredError,
128
- wr as UserRejectedRequestError,
129
- i as WaitForCallsStatusTimeoutError,
130
- Hr as WaitForTransactionReceiptTimeoutError,
131
- Lr as assertCurrentChain,
132
- Mr as assertRequest,
133
- c as assertTransactionEIP1559,
134
- d as assertTransactionEIP2930,
135
- E as assertTransactionLegacy,
136
- zr as blobsToCommitments,
137
- qr as blobsToProofs,
138
- Vr as boolToBytes,
139
- jr as boolToHex,
140
- Or as bytesToBigInt,
141
- Gr as bytesToBool,
142
- Wr as bytesToHex,
143
- Kr as bytesToNumber,
144
- Zr as bytesToString,
145
- re as ccipFetch,
146
- se as ccipRequest,
147
- Jr as checksumAddress,
148
- Qr as commitmentToVersionedHash,
149
- Xr as commitmentsToVersionedHashes,
150
- Yr as concat,
151
- _r as concatBytes,
152
- $r as concatHex,
153
- as as createClient,
154
- u as createNonceManager,
155
- b as createPublicClient,
156
- rs as createTransport,
157
- ss as custom,
158
- os as decodeAbiParameters,
159
- es as decodeErrorResult,
160
- ts as decodeEventLog,
161
- Yo as decodeFunctionData,
162
- ns as decodeFunctionResult,
163
- is as defineBlock,
164
- cs as defineChain,
165
- ds as defineTransaction,
166
- Es as defineTransactionReceipt,
167
- us as deploylessCallViaBytecodeBytecode,
168
- bs as deploylessCallViaFactoryBytecode,
169
- ls as encodeAbiParameters,
170
- ps as encodeDeployData,
171
- _o as encodeErrorResult,
172
- l as encodeEventTopics,
173
- Ts as encodeFunctionData,
174
- $o as encodeFunctionResult,
175
- p as encodePacked,
176
- gs as erc20Abi,
177
- ms as erc6492SignatureValidatorAbi,
178
- hs as erc6492SignatureValidatorByteCode,
179
- T as ethAddress,
180
- vs as etherUnits,
181
- ys as fallback,
182
- As as formatBlock,
183
- Ss as formatEther,
184
- Fs as formatGwei,
185
- Is as formatLog,
186
- Rs as formatTransaction,
187
- fs as formatTransactionReceipt,
188
- Cs as formatTransactionRequest,
189
- xs as formatUnits,
190
- Bs as getAbiItem,
191
- Ns as getAddress,
192
- Ps as getChainContractAddress,
193
- Ds as getContractError,
194
- Us as getEventSelector,
195
- ks as getEventSignature,
196
- ws as getFunctionSelector,
197
- Hs as getFunctionSignature,
198
- Ls as getTransactionType,
199
- jo as getTypesForEIP712Domain,
200
- Ms as gweiUnits,
201
- Oo as hashDomain,
202
- Go as hashMessage,
203
- Wo as hashStruct,
204
- Ko as hashTypedData,
205
- zs as hexToBigInt,
206
- qs as hexToBool,
207
- Vs as hexToBytes,
208
- js as hexToNumber,
209
- g as hexToSignature,
210
- Os as hexToString,
211
- Gs as http,
212
- Ws as isAddress,
213
- Ks as isAddressEqual,
214
- Zs as isHex,
215
- Js as keccak256,
216
- m as labelhash,
217
- Qs as maxUint256,
218
- Xs as multicall3Abi,
219
- h as namehash,
220
- Ys as numberToBytes,
221
- _s as numberToHex,
222
- oe as offchainLookup,
223
- ee as offchainLookupAbiItem,
224
- te as offchainLookupSignature,
225
- $s as pad,
226
- ao as padBytes,
227
- ro as padHex,
228
- so as parseAbi,
229
- v as parseAbiItem,
230
- y as parseAbiParameters,
231
- oo as parseEventLogs,
232
- A as parseSignature,
233
- eo as parseUnits,
234
- to as prepareEncodeFunctionData,
235
- Zo as presignMessagePrefix,
236
- S as publicActions,
237
- no as recoverAddress,
238
- io as recoverPublicKey,
239
- co as rpcTransactionType,
240
- F as serializeAccessList,
241
- I as serializeErc6492Signature,
242
- R as serializeSignature,
243
- f as serializeTransaction,
244
- Eo as sha256,
245
- uo as shouldThrow,
246
- C as signatureToHex,
247
- bo as size,
248
- lo as slice,
249
- po as sliceBytes,
250
- To as sliceHex,
251
- go as stringToBytes,
252
- mo as stringToHex,
253
- ho as stringify,
254
- vo as toBlobSidecars,
255
- yo as toBlobs,
256
- Ao as toBytes,
257
- So as toEventHash,
258
- Fo as toEventSelector,
259
- Io as toEventSignature,
260
- Ro as toFunctionHash,
261
- fo as toFunctionSelector,
262
- Co as toFunctionSignature,
263
- xo as toHex,
264
- Jo as toPrefixedMessage,
265
- Bo as toRlp,
266
- No as transactionType,
267
- Po as trim,
268
- Do as universalSignatureValidatorAbi,
269
- Uo as universalSignatureValidatorByteCode,
270
- Qo as validateTypedData,
271
- ko as weiUnits,
272
- wo as withCache,
273
- Ho as withRetry,
274
- Lo as withTimeout,
275
- x as zeroAddress
276
- };