react-web3-storage 2.0.21 → 2.0.32
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/dist/{ReownAuthentication-7iIT4jS4.mjs → ReownAuthentication-ZWJVb5u8.mjs} +5 -5
- package/dist/{ReownAuthentication-BEGlJitZ.js → ReownAuthentication-_EMKUe4O.js} +1 -1
- package/dist/{SwapController-DNucRoq5.js → SwapController-75y039lY.js} +1 -1
- package/dist/{SwapController-CmWZu4cY.mjs → SwapController-CNHVjC6V.mjs} +16 -16
- package/dist/{ccip-Cy73HTCR.js → ccip-BgoVuN3u.js} +1 -1
- package/dist/{ccip-BCIUIeQM.mjs → ccip-CQrFYKlN.mjs} +6 -6
- package/dist/{data-capture-CaxHvefN.mjs → data-capture-CgKKCS0j.mjs} +5 -5
- package/dist/{data-capture-DbbP8JDT.js → data-capture-hbDyOOyJ.js} +1 -1
- package/dist/{email-B3WQnC0b.mjs → email-C2N4HkZQ.mjs} +9 -9
- package/dist/{email-CYJMBkHW.js → email-DYvAHYik.js} +1 -1
- package/dist/{embedded-wallet-t_Jd_LFV.js → embedded-wallet-CYNDQvBG.js} +1 -1
- package/dist/{embedded-wallet-Dlo0wBgH.mjs → embedded-wallet-_7JcZAOC.mjs} +22 -22
- package/dist/{features-B1ezv71b.js → features-BA8f0aFu.js} +1 -1
- package/dist/{features-5qKGISK9.mjs → features-JvQHn7sG.mjs} +1 -1
- package/dist/{index-2WfSPp5U.mjs → index-B--AiWBy.mjs} +5 -5
- package/dist/index-B7Og0OLg.js +1 -0
- package/dist/{index-CFLg0HEy.mjs → index-BHukHFIh.mjs} +4250 -4171
- package/dist/{index-BhaYgUya.js → index-BNobBA-8.js} +281 -281
- package/dist/{index-SXXuh_Wo.mjs → index-Bxg-paEQ.mjs} +346 -394
- package/dist/{index-BCZXGGtc.js → index-CASDFBE7.js} +1 -1
- package/dist/{index-DAGaFidW.js → index-CLUlCRLy.js} +1 -1
- package/dist/{index-VrnBQez9.js → index-C_fopi0u.js} +1 -1
- package/dist/{index-D3R3_EiN.mjs → index-Ccy2zz9q.mjs} +1 -1
- package/dist/index-CgI_Ukj5.mjs +267 -0
- package/dist/{index-D1agTf42.js → index-CjS2YG3n.js} +1 -1
- package/dist/{index-CAtS1mbf.mjs → index-Clu0wU1d.mjs} +15 -15
- package/dist/{index-BR1aMNYm.mjs → index-DIxai2A2.mjs} +1 -1
- package/dist/{index-BBH4oh8q.mjs → index-DVNi_N99.mjs} +2 -2
- package/dist/{index-D8W2bJl5.mjs → index-DnKQlXMR.mjs} +1 -1
- package/dist/{index-MeOSUHRy.js → index-DzjJtqrG.js} +1 -1
- package/dist/{index-Dk48RrmB.js → index-mvH0tD6I.js} +8 -8
- package/dist/{index-CZuajWCC.js → index-xYJPqvul.js} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{onramp-BMMneL8g.js → onramp-DlA5BSaX.js} +1 -1
- package/dist/{onramp-qJaw31Jf.mjs → onramp-zhj-U9X5.mjs} +31 -31
- package/dist/{parseSignature-jZAFls5F.js → parseSignature-CWAxHYP1.js} +6 -6
- package/dist/{parseSignature-zKnspnY-.mjs → parseSignature-ZB66mPGB.mjs} +56 -74
- package/dist/{pay-with-exchange-CgjKtyDu.js → pay-with-exchange-BQaMDGKp.js} +1 -1
- package/dist/{pay-with-exchange-CTRrPVEx.mjs → pay-with-exchange-Czbx9cbv.mjs} +2 -2
- package/dist/{receive-eP1MrUw6.js → receive-BA736NNd.js} +1 -1
- package/dist/{receive-D9mYL7F2.mjs → receive-VPGRuO6J.mjs} +1 -1
- package/dist/{send-tFHrHPh4.js → send-BhagKj7q.js} +1 -1
- package/dist/{send-DmCwhyow.mjs → send-xiZMc6dE.mjs} +21 -21
- package/dist/{socials-BXz_VcPl.js → socials-B-mhVCLM.js} +1 -1
- package/dist/{socials-BbYHDCTQ.mjs → socials-BX3hluqS.mjs} +13 -13
- package/dist/{swaps-D06KGkWD.mjs → swaps-BFl7r_MZ.mjs} +3 -3
- package/dist/{swaps-C9W-NxLv.js → swaps-DQYnz8sb.js} +1 -1
- package/dist/{transactions-B-bDj0J7.mjs → transactions-BooVIWm5.mjs} +1 -1
- package/dist/{transactions-CHNmwPaw.js → transactions-DWsNckfd.js} +1 -1
- package/dist/{w3m-modal-B82zwpqg.mjs → w3m-modal-BLoHPTsO.mjs} +18 -18
- package/dist/{w3m-modal-CaxvJDN5.js → w3m-modal-D6NKq8XS.js} +1 -1
- package/package.json +5 -3
- package/dist/index-DWRWjePT.mjs +0 -267
- package/dist/index-R_8iHUbU.js +0 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BNobBA-8.js");exports.Provider=e.Provider;exports.config=e.config;exports.stas=e.stas;exports.useApp=e.useApp;exports.usePrivateStorage=e.usePrivateStorage;exports.useReadStorage=e.useReadStorage;exports.useStorage=e.useStorage;exports.useTableStorage=e.useTableStorage;
|
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BNobBA-8.js"),b=e.css`
|
|
2
2
|
:host > wui-grid {
|
|
3
3
|
max-height: 360px;
|
|
4
4
|
overflow: auto;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bS as O, bX as b, cO as c, cP as C, cE as T, cz as j, cv as m, bY as u, cA as $, cw as l, bW as g, bV as p, cc as I, ct as E, c5 as S, ce as B, c9 as z, ca as V, cb as K, c7 as M, cu as Y, c6 as W } from "./index-BHukHFIh.mjs";
|
|
2
2
|
const F = O`
|
|
3
3
|
:host > wui-grid {
|
|
4
4
|
max-height: 360px;
|
|
@@ -88,7 +88,7 @@ A([
|
|
|
88
88
|
P = A([
|
|
89
89
|
g("w3m-onramp-fiat-select-view")
|
|
90
90
|
], P);
|
|
91
|
-
const
|
|
91
|
+
const N = O`
|
|
92
92
|
button {
|
|
93
93
|
padding: ${({ spacing: t }) => t[3]};
|
|
94
94
|
border-radius: ${({ borderRadius: t }) => t[4]};
|
|
@@ -189,7 +189,7 @@ let h = class extends b {
|
|
|
189
189
|
`;
|
|
190
190
|
}
|
|
191
191
|
};
|
|
192
|
-
h.styles = [
|
|
192
|
+
h.styles = [N];
|
|
193
193
|
v([
|
|
194
194
|
p({ type: Boolean })
|
|
195
195
|
], h.prototype, "disabled", void 0);
|
|
@@ -214,7 +214,7 @@ v([
|
|
|
214
214
|
h = v([
|
|
215
215
|
g("w3m-onramp-provider-item")
|
|
216
216
|
], h);
|
|
217
|
-
var
|
|
217
|
+
var L = function(t, e, i, n) {
|
|
218
218
|
var o = arguments.length, r = o < 3 ? e : n === null ? n = Object.getOwnPropertyDescriptor(e, i) : n, s;
|
|
219
219
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(t, e, i, n);
|
|
220
220
|
else for (var a = t.length - 1; a >= 0; a--) (s = t[a]) && (r = (o < 3 ? s(r) : o > 3 ? s(e, i, r) : s(e, i)) || r);
|
|
@@ -249,7 +249,7 @@ let U = class extends b {
|
|
|
249
249
|
}
|
|
250
250
|
onClickProvider(e) {
|
|
251
251
|
var i;
|
|
252
|
-
c.setSelectedProvider(e),
|
|
252
|
+
c.setSelectedProvider(e), S.push("BuyInProgress"), B.openHref(((i = c.state.selectedProvider) == null ? void 0 : i.url) || e.url, "popupWindow", "width=600,height=800,scrollbars=yes"), z.sendEvent({
|
|
253
253
|
type: "track",
|
|
254
254
|
event: "SELECT_BUY_PROVIDER",
|
|
255
255
|
properties: {
|
|
@@ -259,10 +259,10 @@ let U = class extends b {
|
|
|
259
259
|
});
|
|
260
260
|
}
|
|
261
261
|
};
|
|
262
|
-
|
|
262
|
+
L([
|
|
263
263
|
l()
|
|
264
264
|
], U.prototype, "providers", void 0);
|
|
265
|
-
U =
|
|
265
|
+
U = L([
|
|
266
266
|
g("w3m-onramp-providers-view")
|
|
267
267
|
], U);
|
|
268
268
|
const q = O`
|
|
@@ -293,7 +293,7 @@ var _ = function(t, e, i, n) {
|
|
|
293
293
|
else for (var a = t.length - 1; a >= 0; a--) (s = t[a]) && (r = (o < 3 ? s(r) : o > 3 ? s(e, i, r) : s(e, i)) || r);
|
|
294
294
|
return o > 3 && r && Object.defineProperty(e, i, r), r;
|
|
295
295
|
};
|
|
296
|
-
let
|
|
296
|
+
let k = class extends b {
|
|
297
297
|
constructor() {
|
|
298
298
|
super(), this.unsubscribe = [], this.selectedCurrency = c.state.purchaseCurrencies, this.tokens = c.state.purchaseCurrencies, this.tokenImages = C.state.tokenImages, this.checked = T.state.isLegalCheckboxChecked, this.unsubscribe.push(c.subscribe((e) => {
|
|
299
299
|
this.selectedCurrency = e.purchaseCurrencies, this.tokens = e.purchaseCurrencies;
|
|
@@ -341,22 +341,22 @@ let R = class extends b {
|
|
|
341
341
|
e && (c.setPurchaseCurrency(e), $.close());
|
|
342
342
|
}
|
|
343
343
|
};
|
|
344
|
-
|
|
344
|
+
k.styles = q;
|
|
345
345
|
_([
|
|
346
346
|
l()
|
|
347
|
-
],
|
|
347
|
+
], k.prototype, "selectedCurrency", void 0);
|
|
348
348
|
_([
|
|
349
349
|
l()
|
|
350
|
-
],
|
|
350
|
+
], k.prototype, "tokens", void 0);
|
|
351
351
|
_([
|
|
352
352
|
l()
|
|
353
|
-
],
|
|
353
|
+
], k.prototype, "tokenImages", void 0);
|
|
354
354
|
_([
|
|
355
355
|
l()
|
|
356
|
-
],
|
|
357
|
-
|
|
356
|
+
], k.prototype, "checked", void 0);
|
|
357
|
+
k = _([
|
|
358
358
|
g("w3m-onramp-token-select-view")
|
|
359
|
-
],
|
|
359
|
+
], k);
|
|
360
360
|
const X = O`
|
|
361
361
|
@keyframes shake {
|
|
362
362
|
0% {
|
|
@@ -514,13 +514,13 @@ let d = class extends b {
|
|
|
514
514
|
</wui-button>` : null;
|
|
515
515
|
}
|
|
516
516
|
loaderTemplate() {
|
|
517
|
-
const e =
|
|
517
|
+
const e = Y.state.themeVariables["--w3m-border-radius-master"], i = e ? parseInt(e.replace("px", ""), 10) : 4;
|
|
518
518
|
return u`<wui-loading-thumbnail radius=${i * 9}></wui-loading-thumbnail>`;
|
|
519
519
|
}
|
|
520
520
|
onCopyUri() {
|
|
521
521
|
var e;
|
|
522
522
|
if (!((e = this.selectedOnRampProvider) != null && e.url)) {
|
|
523
|
-
W.showError("No link found"),
|
|
523
|
+
W.showError("No link found"), S.goBack();
|
|
524
524
|
return;
|
|
525
525
|
}
|
|
526
526
|
try {
|
|
@@ -567,7 +567,7 @@ var Q = function(t, e, i, n) {
|
|
|
567
567
|
else for (var a = t.length - 1; a >= 0; a--) (s = t[a]) && (r = (o < 3 ? s(r) : o > 3 ? s(e, i, r) : s(e, i)) || r);
|
|
568
568
|
return o > 3 && r && Object.defineProperty(e, i, r), r;
|
|
569
569
|
};
|
|
570
|
-
let
|
|
570
|
+
let D = class extends b {
|
|
571
571
|
render() {
|
|
572
572
|
return u`
|
|
573
573
|
<wui-flex
|
|
@@ -586,7 +586,7 @@ let L = class extends b {
|
|
|
586
586
|
using your credit card or bank transfer
|
|
587
587
|
</wui-text>
|
|
588
588
|
</wui-flex>
|
|
589
|
-
<wui-button @click=${
|
|
589
|
+
<wui-button @click=${S.goBack}>
|
|
590
590
|
<wui-icon size="sm" color="inherit" name="add" slot="iconLeft"></wui-icon>
|
|
591
591
|
Buy
|
|
592
592
|
</wui-button>
|
|
@@ -594,9 +594,9 @@ let L = class extends b {
|
|
|
594
594
|
`;
|
|
595
595
|
}
|
|
596
596
|
};
|
|
597
|
-
|
|
597
|
+
D = Q([
|
|
598
598
|
g("w3m-what-is-a-buy-view")
|
|
599
|
-
],
|
|
599
|
+
], D);
|
|
600
600
|
const H = O`
|
|
601
601
|
:host {
|
|
602
602
|
width: 100%;
|
|
@@ -630,7 +630,7 @@ const H = O`
|
|
|
630
630
|
border-radius: 50%;
|
|
631
631
|
}
|
|
632
632
|
`;
|
|
633
|
-
var
|
|
633
|
+
var R = function(t, e, i, n) {
|
|
634
634
|
var o = arguments.length, r = o < 3 ? e : n === null ? n = Object.getOwnPropertyDescriptor(e, i) : n, s;
|
|
635
635
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(t, e, i, n);
|
|
636
636
|
else for (var a = t.length - 1; a >= 0; a--) (s = t[a]) && (r = (o < 3 ? s(r) : o > 3 ? s(e, i, r) : s(e, i)) || r);
|
|
@@ -685,25 +685,25 @@ let w = class extends b {
|
|
|
685
685
|
}
|
|
686
686
|
};
|
|
687
687
|
w.styles = H;
|
|
688
|
-
|
|
688
|
+
R([
|
|
689
689
|
p({ type: String })
|
|
690
690
|
], w.prototype, "type", void 0);
|
|
691
|
-
|
|
691
|
+
R([
|
|
692
692
|
p({ type: Number })
|
|
693
693
|
], w.prototype, "value", void 0);
|
|
694
|
-
|
|
694
|
+
R([
|
|
695
695
|
l()
|
|
696
696
|
], w.prototype, "currencies", void 0);
|
|
697
|
-
|
|
697
|
+
R([
|
|
698
698
|
l()
|
|
699
699
|
], w.prototype, "selectedCurrency", void 0);
|
|
700
|
-
|
|
700
|
+
R([
|
|
701
701
|
l()
|
|
702
702
|
], w.prototype, "currencyImages", void 0);
|
|
703
|
-
|
|
703
|
+
R([
|
|
704
704
|
l()
|
|
705
705
|
], w.prototype, "tokenImages", void 0);
|
|
706
|
-
w =
|
|
706
|
+
w = R([
|
|
707
707
|
g("w3m-onramp-input")
|
|
708
708
|
], w);
|
|
709
709
|
const G = O`
|
|
@@ -836,7 +836,7 @@ export {
|
|
|
836
836
|
d as W3mBuyInProgressView,
|
|
837
837
|
U as W3mOnRampProvidersView,
|
|
838
838
|
P as W3mOnrampFiatSelectView,
|
|
839
|
-
|
|
839
|
+
k as W3mOnrampTokensView,
|
|
840
840
|
f as W3mOnrampWidget,
|
|
841
|
-
|
|
841
|
+
D as W3mWhatIsABuyView
|
|
842
842
|
};
|