@directcryptopay/sdk 0.1.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.
Files changed (141) hide show
  1. package/README.md +357 -0
  2. package/dist/ConstantsUtil-B-_-u8aQ.js +6 -0
  3. package/dist/add-KF4m4jFK.js +19 -0
  4. package/dist/all-wallets-D6NAjQgX.js +10 -0
  5. package/dist/app-store-D7TTn-EO.js +21 -0
  6. package/dist/apple-DjX2E2hE.js +22 -0
  7. package/dist/arrow-bottom-C0YrNJYB.js +12 -0
  8. package/dist/arrow-bottom-circle-Dlxvx_XG.js +15 -0
  9. package/dist/arrow-left-x8_-lUyK.js +12 -0
  10. package/dist/arrow-right-BTZybj80.js +12 -0
  11. package/dist/arrow-top-LzH7iLCp.js +12 -0
  12. package/dist/bank-23jp-IV_.js +18 -0
  13. package/dist/browser-EjoorDid.js +18 -0
  14. package/dist/card-DGgWwtwC.js +18 -0
  15. package/dist/ccip-BMANewTU.js +150 -0
  16. package/dist/checkmark-B1qcQhBo.js +15 -0
  17. package/dist/checkmark-bold-Cyc4IEEJ.js +12 -0
  18. package/dist/chevron-bottom-ClHs08rB.js +12 -0
  19. package/dist/chevron-left-O8h_551_.js +12 -0
  20. package/dist/chevron-right-DP3xpyIA.js +12 -0
  21. package/dist/chevron-top-CuwkBUs9.js +12 -0
  22. package/dist/chrome-store-zfT_aJ3R.js +65 -0
  23. package/dist/clock-DHZqivIS.js +12 -0
  24. package/dist/close-Cp9rNAw4.js +12 -0
  25. package/dist/coinPlaceholder-U7-T1KKQ.js +12 -0
  26. package/dist/compass-Ds5-PRSR.js +12 -0
  27. package/dist/copy-Jg4HdIMf.js +19 -0
  28. package/dist/core/api.d.ts +30 -0
  29. package/dist/core/config.d.ts +59 -0
  30. package/dist/core/logic.d.ts +2 -0
  31. package/dist/core/wallet.d.ts +34 -0
  32. package/dist/cursor-DmMevduB.js +7 -0
  33. package/dist/cursor-transparent-Dn9-1SV8.js +16 -0
  34. package/dist/dcp-sdk.umd.js +12000 -0
  35. package/dist/dcp.d.ts +10 -0
  36. package/dist/desktop-C4udXXlZ.js +13 -0
  37. package/dist/disconnect-wd1BYLxt.js +12 -0
  38. package/dist/discord-DthxuCAP.js +21 -0
  39. package/dist/email-B3jSnUFE.js +696 -0
  40. package/dist/embedded-wallet-CJHmoBI2.js +468 -0
  41. package/dist/etherscan-Cjp4xfMW.js +10 -0
  42. package/dist/exclamation-triangle-CRNR5WOy.js +8 -0
  43. package/dist/extension-Cydk0mZt.js +12 -0
  44. package/dist/external-link-CuPTAoq9.js +12 -0
  45. package/dist/facebook-CghqXmdf.js +30 -0
  46. package/dist/farcaster-BREqMX4y.js +16 -0
  47. package/dist/filters-Dn_Ys7ew.js +12 -0
  48. package/dist/github-C-A7JmIY.js +22 -0
  49. package/dist/google-CCdM_naE.js +22 -0
  50. package/dist/hashTypedData-D2Qmzscs.js +197 -0
  51. package/dist/help-circle-DIH4vyj3.js +16 -0
  52. package/dist/id-DkJ0gBuy.js +16 -0
  53. package/dist/if-defined-BciplFKz.js +744 -0
  54. package/dist/image-qMjyiXM0.js +8 -0
  55. package/dist/index--3Zp0jAb.js +45 -0
  56. package/dist/index-1adX-Fit.js +65 -0
  57. package/dist/index-AvC0IGDl.js +7864 -0
  58. package/dist/index-B2-vKLd8.js +276 -0
  59. package/dist/index-B2iDt0TJ.js +146 -0
  60. package/dist/index-B5zkXsLJ.js +320 -0
  61. package/dist/index-B7K86vWu.js +1742 -0
  62. package/dist/index-BBkcvSiY.js +511 -0
  63. package/dist/index-BdjxQs66.js +181 -0
  64. package/dist/index-Bijd4_Ns.js +294 -0
  65. package/dist/index-BpXOsxzU.js +387 -0
  66. package/dist/index-C1QEJL-2.js +572 -0
  67. package/dist/index-C27dwOyE.js +243 -0
  68. package/dist/index-C4BX3QW8.js +58 -0
  69. package/dist/index-CMPIqsB1.js +170 -0
  70. package/dist/index-CTYngdl0.js +21991 -0
  71. package/dist/index-CUdQyyFn.js +51 -0
  72. package/dist/index-CX60z_g2.js +573 -0
  73. package/dist/index-CppCc1n8.js +65 -0
  74. package/dist/index-CqVegmN4.js +559 -0
  75. package/dist/index-CuiyMA8F.js +78 -0
  76. package/dist/index-CwB_qRfM.js +305 -0
  77. package/dist/index-CxOF7GqE.js +265 -0
  78. package/dist/index-D-IzHD_8.js +54 -0
  79. package/dist/index-DRNiFv9I.js +218 -0
  80. package/dist/index-Da8oZh8H.js +838 -0
  81. package/dist/index-DiHImG4L.js +44236 -0
  82. package/dist/index-DmOMXRG1.js +181 -0
  83. package/dist/index-DoSYqTQg.js +199 -0
  84. package/dist/index-DpHXq5_E.js +603 -0
  85. package/dist/index-DtCsAVBg.js +78 -0
  86. package/dist/index-Ij6XA6_4.js +77 -0
  87. package/dist/index-SzyBYfzA.js +8490 -0
  88. package/dist/index-eW8y-mXH.js +257 -0
  89. package/dist/index-fxzIDZsb.js +75 -0
  90. package/dist/index-lbhz9evJ.js +97 -0
  91. package/dist/index.d.ts +3 -0
  92. package/dist/index.js +4 -0
  93. package/dist/info-DMIGgjkL.js +7 -0
  94. package/dist/info-circle-CJuIKZSx.js +16 -0
  95. package/dist/lightbulb-qFT6WEWV.js +7 -0
  96. package/dist/localBatchGatewayRequest-CsMVMFBc.js +91 -0
  97. package/dist/mail-DoYgQvOt.js +12 -0
  98. package/dist/mobile-URtsh7o-.js +13 -0
  99. package/dist/more-DoQd10TF.js +15 -0
  100. package/dist/network-placeholder-BBA2Ue6C.js +18 -0
  101. package/dist/nftPlaceholder-C9RXWz9k.js +12 -0
  102. package/dist/off-YcuDQczT.js +12 -0
  103. package/dist/onramp-BfqDIx4o.js +1279 -0
  104. package/dist/parseSignature-280HB24T.js +3560 -0
  105. package/dist/play-store-sFaloG_r.js +36 -0
  106. package/dist/plus-l0wekSht.js +17 -0
  107. package/dist/qr-code-CihrUU4G.js +10 -0
  108. package/dist/receive-dfY1Cu-g.js +186 -0
  109. package/dist/recycle-horizontal-nXu6YaPw.js +13 -0
  110. package/dist/ref-huAzXCX0.js +41 -0
  111. package/dist/refresh-D2ZbVeNC.js +12 -0
  112. package/dist/reown-logo-BMaTMJmc.js +16 -0
  113. package/dist/search-YVM9q3J-.js +12 -0
  114. package/dist/secp256k1-BrysY3Sv.js +1302 -0
  115. package/dist/secp256k1-DPQgTBwQ.js +1510 -0
  116. package/dist/send-BwQZPKxI.js +19 -0
  117. package/dist/send-GyetMVu1.js +1038 -0
  118. package/dist/socials-B0W91J9k.js +574 -0
  119. package/dist/swapHorizontal-Dy_oQEkp.js +12 -0
  120. package/dist/swapHorizontalBold-C4JpaMpc.js +12 -0
  121. package/dist/swapHorizontalMedium-D5NuVZFh.js +20 -0
  122. package/dist/swapHorizontalRoundedBold-Bq4P2MCj.js +12 -0
  123. package/dist/swapVertical-CVQ8Mg03.js +12 -0
  124. package/dist/swaps-CA04SSdK.js +1637 -0
  125. package/dist/telegram-BP4SgW_L.js +20 -0
  126. package/dist/three-dots-BJYGJ-dQ.js +9 -0
  127. package/dist/transactions-Bq-98Tsg.js +37 -0
  128. package/dist/twitch-DTATWo9M.js +22 -0
  129. package/dist/twitterIcon-D5UWPInb.js +10 -0
  130. package/dist/types.d.ts +128 -0
  131. package/dist/ui/Modal.d.ts +9 -0
  132. package/dist/ui/index.d.ts +6 -0
  133. package/dist/verify-Byvj8Wi1.js +12 -0
  134. package/dist/verify-filled-B40taNm0.js +12 -0
  135. package/dist/w3m-modal-HV6SE74G.js +1037 -0
  136. package/dist/wallet-Cp-6Kk88.js +12 -0
  137. package/dist/wallet-placeholder-C3juwA9o.js +18 -0
  138. package/dist/walletconnect-CRkIiLCx.js +36 -0
  139. package/dist/warning-circle-DtvCLwG4.js +16 -0
  140. package/dist/x-Cqyx5eCt.js +16 -0
  141. package/package.json +70 -0
@@ -0,0 +1,78 @@
1
+ import { cz as d, cC as v, cA as g, cB as w } from "./index-DiHImG4L.js";
2
+ import { n as l, c as h } from "./if-defined-BciplFKz.js";
3
+ const p = d`
4
+ :host {
5
+ display: flex;
6
+ justify-content: center;
7
+ align-items: center;
8
+ height: var(--wui-spacing-m);
9
+ padding: 0 var(--wui-spacing-3xs) !important;
10
+ border-radius: var(--wui-border-radius-5xs);
11
+ transition:
12
+ border-radius var(--wui-duration-lg) var(--wui-ease-out-power-1),
13
+ background-color var(--wui-duration-lg) var(--wui-ease-out-power-1);
14
+ will-change: border-radius, background-color;
15
+ }
16
+
17
+ :host > wui-text {
18
+ transform: translateY(5%);
19
+ }
20
+
21
+ :host([data-variant='main']) {
22
+ background-color: var(--wui-color-accent-glass-015);
23
+ color: var(--wui-color-accent-100);
24
+ }
25
+
26
+ :host([data-variant='shade']) {
27
+ background-color: var(--wui-color-gray-glass-010);
28
+ color: var(--wui-color-fg-200);
29
+ }
30
+
31
+ :host([data-variant='success']) {
32
+ background-color: var(--wui-icon-box-bg-success-100);
33
+ color: var(--wui-color-success-100);
34
+ }
35
+
36
+ :host([data-variant='error']) {
37
+ background-color: var(--wui-icon-box-bg-error-100);
38
+ color: var(--wui-color-error-100);
39
+ }
40
+
41
+ :host([data-size='lg']) {
42
+ padding: 11px 5px !important;
43
+ }
44
+
45
+ :host([data-size='lg']) > wui-text {
46
+ transform: translateY(2%);
47
+ }
48
+ `;
49
+ var u = function(i, r, a, e) {
50
+ var s = arguments.length, t = s < 3 ? r : e === null ? e = Object.getOwnPropertyDescriptor(r, a) : e, n;
51
+ if (typeof Reflect == "object" && typeof Reflect.decorate == "function") t = Reflect.decorate(i, r, a, e);
52
+ else for (var c = i.length - 1; c >= 0; c--) (n = i[c]) && (t = (s < 3 ? n(t) : s > 3 ? n(r, a, t) : n(r, a)) || t);
53
+ return s > 3 && t && Object.defineProperty(r, a, t), t;
54
+ };
55
+ let o = class extends g {
56
+ constructor() {
57
+ super(...arguments), this.variant = "main", this.size = "lg";
58
+ }
59
+ render() {
60
+ this.dataset.variant = this.variant, this.dataset.size = this.size;
61
+ const r = this.size === "md" ? "mini-700" : "micro-700";
62
+ return w`
63
+ <wui-text data-variant=${this.variant} variant=${r} color="inherit">
64
+ <slot></slot>
65
+ </wui-text>
66
+ `;
67
+ }
68
+ };
69
+ o.styles = [v, p];
70
+ u([
71
+ l()
72
+ ], o.prototype, "variant", void 0);
73
+ u([
74
+ l()
75
+ ], o.prototype, "size", void 0);
76
+ o = u([
77
+ h("wui-tag")
78
+ ], o);
@@ -0,0 +1,77 @@
1
+ import { cz as d, cA as g, cB as h } from "./index-DiHImG4L.js";
2
+ import { n, c as b } from "./if-defined-BciplFKz.js";
3
+ const p = d`
4
+ :host {
5
+ display: block;
6
+ box-shadow: inset 0 0 0 1px var(--wui-color-gray-glass-005);
7
+ background: linear-gradient(
8
+ 120deg,
9
+ var(--wui-color-bg-200) 5%,
10
+ var(--wui-color-bg-200) 48%,
11
+ var(--wui-color-bg-300) 55%,
12
+ var(--wui-color-bg-300) 60%,
13
+ var(--wui-color-bg-300) calc(60% + 10px),
14
+ var(--wui-color-bg-200) calc(60% + 12px),
15
+ var(--wui-color-bg-200) 100%
16
+ );
17
+ background-size: 250%;
18
+ animation: shimmer 3s linear infinite reverse;
19
+ }
20
+
21
+ :host([variant='light']) {
22
+ background: linear-gradient(
23
+ 120deg,
24
+ var(--wui-color-bg-150) 5%,
25
+ var(--wui-color-bg-150) 48%,
26
+ var(--wui-color-bg-200) 55%,
27
+ var(--wui-color-bg-200) 60%,
28
+ var(--wui-color-bg-200) calc(60% + 10px),
29
+ var(--wui-color-bg-150) calc(60% + 12px),
30
+ var(--wui-color-bg-150) 100%
31
+ );
32
+ background-size: 250%;
33
+ }
34
+
35
+ @keyframes shimmer {
36
+ from {
37
+ background-position: -250% 0;
38
+ }
39
+ to {
40
+ background-position: 250% 0;
41
+ }
42
+ }
43
+ `;
44
+ var t = function(a, i, e, c) {
45
+ var s = arguments.length, r = s < 3 ? i : c === null ? c = Object.getOwnPropertyDescriptor(i, e) : c, l;
46
+ if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(a, i, e, c);
47
+ else for (var u = a.length - 1; u >= 0; u--) (l = a[u]) && (r = (s < 3 ? l(r) : s > 3 ? l(i, e, r) : l(i, e)) || r);
48
+ return s > 3 && r && Object.defineProperty(i, e, r), r;
49
+ };
50
+ let o = class extends g {
51
+ constructor() {
52
+ super(...arguments), this.width = "", this.height = "", this.borderRadius = "m", this.variant = "default";
53
+ }
54
+ render() {
55
+ return this.style.cssText = `
56
+ width: ${this.width};
57
+ height: ${this.height};
58
+ border-radius: ${`clamp(0px,var(--wui-border-radius-${this.borderRadius}), 40px)`};
59
+ `, h`<slot></slot>`;
60
+ }
61
+ };
62
+ o.styles = [p];
63
+ t([
64
+ n()
65
+ ], o.prototype, "width", void 0);
66
+ t([
67
+ n()
68
+ ], o.prototype, "height", void 0);
69
+ t([
70
+ n()
71
+ ], o.prototype, "borderRadius", void 0);
72
+ t([
73
+ n()
74
+ ], o.prototype, "variant", void 0);
75
+ o = t([
76
+ b("wui-shimmer")
77
+ ], o);