@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.
- package/README.md +357 -0
- package/dist/ConstantsUtil-B-_-u8aQ.js +6 -0
- package/dist/add-KF4m4jFK.js +19 -0
- package/dist/all-wallets-D6NAjQgX.js +10 -0
- package/dist/app-store-D7TTn-EO.js +21 -0
- package/dist/apple-DjX2E2hE.js +22 -0
- package/dist/arrow-bottom-C0YrNJYB.js +12 -0
- package/dist/arrow-bottom-circle-Dlxvx_XG.js +15 -0
- package/dist/arrow-left-x8_-lUyK.js +12 -0
- package/dist/arrow-right-BTZybj80.js +12 -0
- package/dist/arrow-top-LzH7iLCp.js +12 -0
- package/dist/bank-23jp-IV_.js +18 -0
- package/dist/browser-EjoorDid.js +18 -0
- package/dist/card-DGgWwtwC.js +18 -0
- package/dist/ccip-BMANewTU.js +150 -0
- package/dist/checkmark-B1qcQhBo.js +15 -0
- package/dist/checkmark-bold-Cyc4IEEJ.js +12 -0
- package/dist/chevron-bottom-ClHs08rB.js +12 -0
- package/dist/chevron-left-O8h_551_.js +12 -0
- package/dist/chevron-right-DP3xpyIA.js +12 -0
- package/dist/chevron-top-CuwkBUs9.js +12 -0
- package/dist/chrome-store-zfT_aJ3R.js +65 -0
- package/dist/clock-DHZqivIS.js +12 -0
- package/dist/close-Cp9rNAw4.js +12 -0
- package/dist/coinPlaceholder-U7-T1KKQ.js +12 -0
- package/dist/compass-Ds5-PRSR.js +12 -0
- package/dist/copy-Jg4HdIMf.js +19 -0
- package/dist/core/api.d.ts +30 -0
- package/dist/core/config.d.ts +59 -0
- package/dist/core/logic.d.ts +2 -0
- package/dist/core/wallet.d.ts +34 -0
- package/dist/cursor-DmMevduB.js +7 -0
- package/dist/cursor-transparent-Dn9-1SV8.js +16 -0
- package/dist/dcp-sdk.umd.js +12000 -0
- package/dist/dcp.d.ts +10 -0
- package/dist/desktop-C4udXXlZ.js +13 -0
- package/dist/disconnect-wd1BYLxt.js +12 -0
- package/dist/discord-DthxuCAP.js +21 -0
- package/dist/email-B3jSnUFE.js +696 -0
- package/dist/embedded-wallet-CJHmoBI2.js +468 -0
- package/dist/etherscan-Cjp4xfMW.js +10 -0
- package/dist/exclamation-triangle-CRNR5WOy.js +8 -0
- package/dist/extension-Cydk0mZt.js +12 -0
- package/dist/external-link-CuPTAoq9.js +12 -0
- package/dist/facebook-CghqXmdf.js +30 -0
- package/dist/farcaster-BREqMX4y.js +16 -0
- package/dist/filters-Dn_Ys7ew.js +12 -0
- package/dist/github-C-A7JmIY.js +22 -0
- package/dist/google-CCdM_naE.js +22 -0
- package/dist/hashTypedData-D2Qmzscs.js +197 -0
- package/dist/help-circle-DIH4vyj3.js +16 -0
- package/dist/id-DkJ0gBuy.js +16 -0
- package/dist/if-defined-BciplFKz.js +744 -0
- package/dist/image-qMjyiXM0.js +8 -0
- package/dist/index--3Zp0jAb.js +45 -0
- package/dist/index-1adX-Fit.js +65 -0
- package/dist/index-AvC0IGDl.js +7864 -0
- package/dist/index-B2-vKLd8.js +276 -0
- package/dist/index-B2iDt0TJ.js +146 -0
- package/dist/index-B5zkXsLJ.js +320 -0
- package/dist/index-B7K86vWu.js +1742 -0
- package/dist/index-BBkcvSiY.js +511 -0
- package/dist/index-BdjxQs66.js +181 -0
- package/dist/index-Bijd4_Ns.js +294 -0
- package/dist/index-BpXOsxzU.js +387 -0
- package/dist/index-C1QEJL-2.js +572 -0
- package/dist/index-C27dwOyE.js +243 -0
- package/dist/index-C4BX3QW8.js +58 -0
- package/dist/index-CMPIqsB1.js +170 -0
- package/dist/index-CTYngdl0.js +21991 -0
- package/dist/index-CUdQyyFn.js +51 -0
- package/dist/index-CX60z_g2.js +573 -0
- package/dist/index-CppCc1n8.js +65 -0
- package/dist/index-CqVegmN4.js +559 -0
- package/dist/index-CuiyMA8F.js +78 -0
- package/dist/index-CwB_qRfM.js +305 -0
- package/dist/index-CxOF7GqE.js +265 -0
- package/dist/index-D-IzHD_8.js +54 -0
- package/dist/index-DRNiFv9I.js +218 -0
- package/dist/index-Da8oZh8H.js +838 -0
- package/dist/index-DiHImG4L.js +44236 -0
- package/dist/index-DmOMXRG1.js +181 -0
- package/dist/index-DoSYqTQg.js +199 -0
- package/dist/index-DpHXq5_E.js +603 -0
- package/dist/index-DtCsAVBg.js +78 -0
- package/dist/index-Ij6XA6_4.js +77 -0
- package/dist/index-SzyBYfzA.js +8490 -0
- package/dist/index-eW8y-mXH.js +257 -0
- package/dist/index-fxzIDZsb.js +75 -0
- package/dist/index-lbhz9evJ.js +97 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +4 -0
- package/dist/info-DMIGgjkL.js +7 -0
- package/dist/info-circle-CJuIKZSx.js +16 -0
- package/dist/lightbulb-qFT6WEWV.js +7 -0
- package/dist/localBatchGatewayRequest-CsMVMFBc.js +91 -0
- package/dist/mail-DoYgQvOt.js +12 -0
- package/dist/mobile-URtsh7o-.js +13 -0
- package/dist/more-DoQd10TF.js +15 -0
- package/dist/network-placeholder-BBA2Ue6C.js +18 -0
- package/dist/nftPlaceholder-C9RXWz9k.js +12 -0
- package/dist/off-YcuDQczT.js +12 -0
- package/dist/onramp-BfqDIx4o.js +1279 -0
- package/dist/parseSignature-280HB24T.js +3560 -0
- package/dist/play-store-sFaloG_r.js +36 -0
- package/dist/plus-l0wekSht.js +17 -0
- package/dist/qr-code-CihrUU4G.js +10 -0
- package/dist/receive-dfY1Cu-g.js +186 -0
- package/dist/recycle-horizontal-nXu6YaPw.js +13 -0
- package/dist/ref-huAzXCX0.js +41 -0
- package/dist/refresh-D2ZbVeNC.js +12 -0
- package/dist/reown-logo-BMaTMJmc.js +16 -0
- package/dist/search-YVM9q3J-.js +12 -0
- package/dist/secp256k1-BrysY3Sv.js +1302 -0
- package/dist/secp256k1-DPQgTBwQ.js +1510 -0
- package/dist/send-BwQZPKxI.js +19 -0
- package/dist/send-GyetMVu1.js +1038 -0
- package/dist/socials-B0W91J9k.js +574 -0
- package/dist/swapHorizontal-Dy_oQEkp.js +12 -0
- package/dist/swapHorizontalBold-C4JpaMpc.js +12 -0
- package/dist/swapHorizontalMedium-D5NuVZFh.js +20 -0
- package/dist/swapHorizontalRoundedBold-Bq4P2MCj.js +12 -0
- package/dist/swapVertical-CVQ8Mg03.js +12 -0
- package/dist/swaps-CA04SSdK.js +1637 -0
- package/dist/telegram-BP4SgW_L.js +20 -0
- package/dist/three-dots-BJYGJ-dQ.js +9 -0
- package/dist/transactions-Bq-98Tsg.js +37 -0
- package/dist/twitch-DTATWo9M.js +22 -0
- package/dist/twitterIcon-D5UWPInb.js +10 -0
- package/dist/types.d.ts +128 -0
- package/dist/ui/Modal.d.ts +9 -0
- package/dist/ui/index.d.ts +6 -0
- package/dist/verify-Byvj8Wi1.js +12 -0
- package/dist/verify-filled-B40taNm0.js +12 -0
- package/dist/w3m-modal-HV6SE74G.js +1037 -0
- package/dist/wallet-Cp-6Kk88.js +12 -0
- package/dist/wallet-placeholder-C3juwA9o.js +18 -0
- package/dist/walletconnect-CRkIiLCx.js +36 -0
- package/dist/warning-circle-DtvCLwG4.js +16 -0
- package/dist/x-Cqyx5eCt.js +16 -0
- 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);
|