react-web3-storage 2.0.3 → 2.0.21
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-ZWJVb5u8.mjs → ReownAuthentication-7iIT4jS4.mjs} +5 -5
- package/dist/{ReownAuthentication-_EMKUe4O.js → ReownAuthentication-BEGlJitZ.js} +1 -1
- package/dist/{SwapController-CNHVjC6V.mjs → SwapController-CmWZu4cY.mjs} +16 -16
- package/dist/{SwapController-75y039lY.js → SwapController-DNucRoq5.js} +1 -1
- package/dist/{ccip-CQrFYKlN.mjs → ccip-BCIUIeQM.mjs} +6 -6
- package/dist/{ccip-BgoVuN3u.js → ccip-Cy73HTCR.js} +1 -1
- package/dist/{data-capture-CgKKCS0j.mjs → data-capture-CaxHvefN.mjs} +5 -5
- package/dist/{data-capture-hbDyOOyJ.js → data-capture-DbbP8JDT.js} +1 -1
- package/dist/{email-C2N4HkZQ.mjs → email-B3WQnC0b.mjs} +9 -9
- package/dist/{email-DYvAHYik.js → email-CYJMBkHW.js} +1 -1
- package/dist/{embedded-wallet-_7JcZAOC.mjs → embedded-wallet-Dlo0wBgH.mjs} +22 -22
- package/dist/{embedded-wallet-CYNDQvBG.js → embedded-wallet-t_Jd_LFV.js} +1 -1
- package/dist/{features-JvQHn7sG.mjs → features-5qKGISK9.mjs} +1 -1
- package/dist/{features-BA8f0aFu.js → features-B1ezv71b.js} +1 -1
- package/dist/{index-B--AiWBy.mjs → index-2WfSPp5U.mjs} +5 -5
- package/dist/{index-DVNi_N99.mjs → index-BBH4oh8q.mjs} +2 -2
- package/dist/{index-CASDFBE7.js → index-BCZXGGtc.js} +1 -1
- package/dist/{index-DIxai2A2.mjs → index-BR1aMNYm.mjs} +1 -1
- package/dist/{index-BNobBA-8.js → index-BhaYgUya.js} +281 -281
- package/dist/{index-Clu0wU1d.mjs → index-CAtS1mbf.mjs} +15 -15
- package/dist/{index-BHukHFIh.mjs → index-CFLg0HEy.mjs} +4171 -4250
- package/dist/{index-xYJPqvul.js → index-CZuajWCC.js} +1 -1
- package/dist/{index-CjS2YG3n.js → index-D1agTf42.js} +1 -1
- package/dist/{index-Ccy2zz9q.mjs → index-D3R3_EiN.mjs} +1 -1
- package/dist/{index-DnKQlXMR.mjs → index-D8W2bJl5.mjs} +1 -1
- package/dist/{index-CLUlCRLy.js → index-DAGaFidW.js} +1 -1
- package/dist/index-DWRWjePT.mjs +267 -0
- package/dist/{index-mvH0tD6I.js → index-Dk48RrmB.js} +8 -8
- package/dist/{index-DzjJtqrG.js → index-MeOSUHRy.js} +1 -1
- package/dist/index-R_8iHUbU.js +1 -0
- package/dist/{index-Bxg-paEQ.mjs → index-SXXuh_Wo.mjs} +394 -346
- package/dist/{index-C_fopi0u.js → index-VrnBQez9.js} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{onramp-DlA5BSaX.js → onramp-BMMneL8g.js} +1 -1
- package/dist/{onramp-zhj-U9X5.mjs → onramp-qJaw31Jf.mjs} +31 -31
- package/dist/{parseSignature-CWAxHYP1.js → parseSignature-jZAFls5F.js} +6 -6
- package/dist/{parseSignature-ZB66mPGB.mjs → parseSignature-zKnspnY-.mjs} +74 -56
- package/dist/{pay-with-exchange-Czbx9cbv.mjs → pay-with-exchange-CTRrPVEx.mjs} +2 -2
- package/dist/{pay-with-exchange-BQaMDGKp.js → pay-with-exchange-CgjKtyDu.js} +1 -1
- package/dist/{receive-VPGRuO6J.mjs → receive-D9mYL7F2.mjs} +1 -1
- package/dist/{receive-BA736NNd.js → receive-eP1MrUw6.js} +1 -1
- package/dist/{send-xiZMc6dE.mjs → send-DmCwhyow.mjs} +21 -21
- package/dist/{send-BhagKj7q.js → send-tFHrHPh4.js} +1 -1
- package/dist/{socials-B-mhVCLM.js → socials-BXz_VcPl.js} +1 -1
- package/dist/{socials-BX3hluqS.mjs → socials-BbYHDCTQ.mjs} +13 -13
- package/dist/{swaps-DQYnz8sb.js → swaps-C9W-NxLv.js} +1 -1
- package/dist/{swaps-BFl7r_MZ.mjs → swaps-D06KGkWD.mjs} +3 -3
- package/dist/{transactions-BooVIWm5.mjs → transactions-B-bDj0J7.mjs} +1 -1
- package/dist/{transactions-DWsNckfd.js → transactions-CHNmwPaw.js} +1 -1
- package/dist/{w3m-modal-BLoHPTsO.mjs → w3m-modal-B82zwpqg.mjs} +18 -18
- package/dist/{w3m-modal-D6NKq8XS.js → w3m-modal-CaxvJDN5.js} +1 -1
- package/package.json +3 -4
- package/dist/index-B7Og0OLg.js +0 -1
- package/dist/index-CgI_Ukj5.mjs +0 -267
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bR as U, bS as Ee, bT as Te, bU as x, bV as _, bW as C, cu as f, bX as l, c7 as I, cV as ve, c6 as v, cW as Se, cX as y, cd as O, cY as ke, cZ as N, cy as ce, c1 as A, c_ as me, cb as m, c3 as _e, cs as T, c8 as M, c5 as R, cg as Ce, cz as G, ck as $e, cl as Re, cj as P, c4 as z, cv as h, bZ as Oe, b$ as Ue, c$ as Ie, c0 as Le, cP as ge } from "./index-CFLg0HEy.mjs";
|
|
2
2
|
const qe = U`
|
|
3
3
|
:host {
|
|
4
4
|
position: relative;
|
|
@@ -401,7 +401,7 @@ async function Ke(t) {
|
|
|
401
401
|
params: le()
|
|
402
402
|
});
|
|
403
403
|
}
|
|
404
|
-
const Xe = ["eip155", "solana"],
|
|
404
|
+
const Xe = ["eip155", "solana"], Ze = {
|
|
405
405
|
eip155: {
|
|
406
406
|
native: { assetNamespace: "slip44", assetReference: "60" },
|
|
407
407
|
defaultTokenNamespace: "erc20"
|
|
@@ -412,13 +412,13 @@ const Xe = ["eip155", "solana"], Je = {
|
|
|
412
412
|
}
|
|
413
413
|
};
|
|
414
414
|
function ne(t, e) {
|
|
415
|
-
const { chainNamespace: n, chainId: s } = y.parseCaipNetworkId(t), i =
|
|
415
|
+
const { chainNamespace: n, chainId: s } = y.parseCaipNetworkId(t), i = Ze[n];
|
|
416
416
|
if (!i)
|
|
417
417
|
throw new Error(`Unsupported chain namespace for CAIP-19 formatting: ${n}`);
|
|
418
418
|
let a = i.native.assetNamespace, o = i.native.assetReference;
|
|
419
419
|
return e !== "native" && (a = i.defaultTokenNamespace, o = e), `${`${n}:${s}`}/${a}:${o}`;
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function Je(t) {
|
|
422
422
|
const { chainNamespace: e } = y.parseCaipNetworkId(t);
|
|
423
423
|
return Xe.includes(e);
|
|
424
424
|
}
|
|
@@ -1078,7 +1078,7 @@ let k = class extends C {
|
|
|
1078
1078
|
`;
|
|
1079
1079
|
}
|
|
1080
1080
|
payWithWalletTemplate() {
|
|
1081
|
-
return
|
|
1081
|
+
return Je(this.paymentAsset.network) ? this.caipAddress ? this.connectedWalletTemplate() : this.disconnectedWalletTemplate() : l``;
|
|
1082
1082
|
}
|
|
1083
1083
|
connectedWalletTemplate() {
|
|
1084
1084
|
const { name: e, image: n } = this.getWalletProperties({
|
|
@@ -1858,7 +1858,7 @@ var Ne = function(t, e, n, s) {
|
|
|
1858
1858
|
else for (var c = t.length - 1; c >= 0; c--) (o = t[c]) && (a = (i < 3 ? o(a) : i > 3 ? o(e, n, a) : o(e, n)) || a);
|
|
1859
1859
|
return i > 3 && a && Object.defineProperty(e, n, a), a;
|
|
1860
1860
|
};
|
|
1861
|
-
let
|
|
1861
|
+
let Z = class extends C {
|
|
1862
1862
|
constructor() {
|
|
1863
1863
|
super(), this.unsubscribe = [], this.quote = u.state.quote, this.unsubscribe.push(u.subscribeKey("quote", (e) => this.quote = e));
|
|
1864
1864
|
}
|
|
@@ -1923,13 +1923,13 @@ let J = class extends C {
|
|
|
1923
1923
|
`;
|
|
1924
1924
|
}
|
|
1925
1925
|
};
|
|
1926
|
-
|
|
1926
|
+
Z.styles = [wt];
|
|
1927
1927
|
Ne([
|
|
1928
1928
|
h()
|
|
1929
|
-
],
|
|
1930
|
-
|
|
1929
|
+
], Z.prototype, "quote", void 0);
|
|
1930
|
+
Z = Ne([
|
|
1931
1931
|
_("w3m-pay-fees")
|
|
1932
|
-
],
|
|
1932
|
+
], Z);
|
|
1933
1933
|
const yt = U`
|
|
1934
1934
|
:host {
|
|
1935
1935
|
display: block;
|
|
@@ -1956,7 +1956,7 @@ var Pe = function(t, e, n, s) {
|
|
|
1956
1956
|
else for (var c = t.length - 1; c >= 0; c--) (o = t[c]) && (a = (i < 3 ? o(a) : i > 3 ? o(e, n, a) : o(e, n)) || a);
|
|
1957
1957
|
return i > 3 && a && Object.defineProperty(e, n, a), a;
|
|
1958
1958
|
};
|
|
1959
|
-
let
|
|
1959
|
+
let J = class extends C {
|
|
1960
1960
|
constructor() {
|
|
1961
1961
|
super(), this.unsubscribe = [], this.selectedExchange = u.state.selectedExchange, this.unsubscribe.push(u.subscribeKey("selectedExchange", (e) => this.selectedExchange = e));
|
|
1962
1962
|
}
|
|
@@ -1996,13 +1996,13 @@ let Z = class extends C {
|
|
|
1996
1996
|
}));
|
|
1997
1997
|
}
|
|
1998
1998
|
};
|
|
1999
|
-
|
|
1999
|
+
J.styles = [yt];
|
|
2000
2000
|
Pe([
|
|
2001
2001
|
x({ type: Array })
|
|
2002
|
-
],
|
|
2003
|
-
|
|
2002
|
+
], J.prototype, "selectedExchange", void 0);
|
|
2003
|
+
J = Pe([
|
|
2004
2004
|
_("w3m-pay-options-empty")
|
|
2005
|
-
],
|
|
2005
|
+
], J);
|
|
2006
2006
|
const bt = U`
|
|
2007
2007
|
:host {
|
|
2008
2008
|
display: block;
|