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
|
@@ -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-CLUlCRLy.js"),P=3e5;async function u(t){return e.PayController.handleOpenPay(t)}async function D(t,s=P){if(s<=0)throw new e.AppKitPayError(e.AppKitPayErrorCodes.INVALID_PAYMENT_CONFIG,"Timeout must be greater than 0");try{await u(t)}catch(r){throw r instanceof e.AppKitPayError?r:new e.AppKitPayError(e.AppKitPayErrorCodes.UNABLE_TO_INITIATE_PAYMENT,r.message)}return new Promise((r,y)=>{let n=!1;const i=setTimeout(()=>{n||(n=!0,c(),y(new e.AppKitPayError(e.AppKitPayErrorCodes.GENERIC_PAYMENT_ERROR,"Payment timeout")))},s);function o(){if(n)return;const a=e.PayController.state.currentPayment,m=e.PayController.state.error,C=e.PayController.state.isPaymentInProgress;if((a==null?void 0:a.status)==="SUCCESS"){n=!0,c(),clearTimeout(i),r({success:!0,result:a.result});return}if((a==null?void 0:a.status)==="FAILED"){n=!0,c(),clearTimeout(i),r({success:!1,error:m||"Payment failed"});return}m&&!C&&!a&&(n=!0,c(),clearTimeout(i),r({success:!1,error:m}))}const d=l("currentPayment",o),b=l("error",o),S=l("isPaymentInProgress",o),c=f([d,b,S]);o()})}function p(){return e.PayController.getExchanges()}function U(){var t;return(t=e.PayController.state.currentPayment)==null?void 0:t.result}function E(){return e.PayController.state.error}function T(){return e.PayController.state.isPaymentInProgress}function l(t,s){return e.PayController.subscribeKey(t,s)}function f(t){return()=>{t.forEach(s=>{try{s()}catch{}})}}const g={network:"eip155:8453",asset:"native",metadata:{name:"Ethereum",symbol:"ETH",decimals:18}},w={network:"eip155:8453",asset:"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},h={network:"eip155:84532",asset:"native",metadata:{name:"Ethereum",symbol:"ETH",decimals:18}},A={network:"eip155:1",asset:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},k={network:"eip155:10",asset:"0x0b2c639c533813f4aa9d7837caf62653d097ff85",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},I={network:"eip155:42161",asset:"0xaf88d065e77c8cC2239327C5EDb3A432268e5831",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},K={network:"eip155:137",asset:"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},N={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",metadata:{name:"USD Coin",symbol:"USDC",decimals:6}},v={network:"eip155:1",asset:"0xdAC17F958D2ee523a2206206994597C13D831ec7",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},x={network:"eip155:10",asset:"0x94b008aA00579c1307B0EF2c499aD98a8ce58e58",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},F={network:"eip155:42161",asset:"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},O={network:"eip155:137",asset:"0xc2132d05d31c914a87c6611c10748aeb04b58e8f",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},R={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",metadata:{name:"Tether USD",symbol:"USDT",decimals:6}},q={network:"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",asset:"native",metadata:{name:"Solana",symbol:"SOL",decimals:9}};exports.PayController=e.PayController;Object.defineProperty(exports,"W3mPayLoadingView",{enumerable:!0,get:()=>e.W3mPayLoadingView});Object.defineProperty(exports,"W3mPayQuoteView",{enumerable:!0,get:()=>e.W3mPayQuoteView});Object.defineProperty(exports,"W3mPayView",{enumerable:!0,get:()=>e.W3mPayView});exports.arbitrumUSDC=I;exports.arbitrumUSDT=F;exports.baseETH=g;exports.baseSepoliaETH=h;exports.baseUSDC=w;exports.ethereumUSDC=A;exports.ethereumUSDT=v;exports.getExchanges=p;exports.getIsPaymentInProgress=T;exports.getPayError=E;exports.getPayResult=U;exports.openPay=u;exports.optimismUSDC=k;exports.optimismUSDT=x;exports.pay=D;exports.polygonUSDC=K;exports.polygonUSDT=O;exports.solanaSOL=q;exports.solanaUSDC=N;exports.solanaUSDT=R;
|
|
@@ -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");Object.defineProperty(exports,"AppKitAccountButton",{enumerable:!0,get:()=>e.AppKitAccountButton});Object.defineProperty(exports,"AppKitButton",{enumerable:!0,get:()=>e.AppKitButton});Object.defineProperty(exports,"AppKitConnectButton",{enumerable:!0,get:()=>e.AppKitConnectButton});Object.defineProperty(exports,"AppKitNetworkButton",{enumerable:!0,get:()=>e.AppKitNetworkButton});Object.defineProperty(exports,"W3mAccountButton",{enumerable:!0,get:()=>e.W3mAccountButton});Object.defineProperty(exports,"W3mAccountSettingsView",{enumerable:!0,get:()=>e.W3mAccountSettingsView});Object.defineProperty(exports,"W3mAccountView",{enumerable:!0,get:()=>e.W3mAccountView});Object.defineProperty(exports,"W3mAllWalletsView",{enumerable:!0,get:()=>e.W3mAllWalletsView});Object.defineProperty(exports,"W3mButton",{enumerable:!0,get:()=>e.W3mButton});Object.defineProperty(exports,"W3mChooseAccountNameView",{enumerable:!0,get:()=>e.W3mChooseAccountNameView});Object.defineProperty(exports,"W3mConnectButton",{enumerable:!0,get:()=>e.W3mConnectButton});Object.defineProperty(exports,"W3mConnectView",{enumerable:!0,get:()=>e.W3mConnectView});Object.defineProperty(exports,"W3mConnectWalletsView",{enumerable:!0,get:()=>e.W3mConnectWalletsView});Object.defineProperty(exports,"W3mConnectingExternalView",{enumerable:!0,get:()=>e.W3mConnectingExternalView});Object.defineProperty(exports,"W3mConnectingMultiChainView",{enumerable:!0,get:()=>e.W3mConnectingMultiChainView});Object.defineProperty(exports,"W3mConnectingWcBasicView",{enumerable:!0,get:()=>e.W3mConnectingWcBasicView});Object.defineProperty(exports,"W3mConnectingWcView",{enumerable:!0,get:()=>e.W3mConnectingWcView});Object.defineProperty(exports,"W3mDownloadsView",{enumerable:!0,get:()=>e.W3mDownloadsView});Object.defineProperty(exports,"W3mFooter",{enumerable:!0,get:()=>e.W3mFooter});Object.defineProperty(exports,"W3mFundWalletView",{enumerable:!0,get:()=>e.W3mFundWalletView});Object.defineProperty(exports,"W3mGetWalletView",{enumerable:!0,get:()=>e.W3mGetWalletView});Object.defineProperty(exports,"W3mNetworkButton",{enumerable:!0,get:()=>e.W3mNetworkButton});Object.defineProperty(exports,"W3mNetworkSwitchView",{enumerable:!0,get:()=>e.W3mNetworkSwitchView});Object.defineProperty(exports,"W3mNetworksView",{enumerable:!0,get:()=>e.W3mNetworksView});Object.defineProperty(exports,"W3mProfileWalletsView",{enumerable:!0,get:()=>e.W3mProfileWalletsView});Object.defineProperty(exports,"W3mRouter",{enumerable:!0,get:()=>e.W3mRouter});Object.defineProperty(exports,"W3mSIWXSignMessageView",{enumerable:!0,get:()=>e.W3mSIWXSignMessageView});Object.defineProperty(exports,"W3mSwitchActiveChainView",{enumerable:!0,get:()=>e.W3mSwitchActiveChainView});Object.defineProperty(exports,"W3mUnsupportedChainView",{enumerable:!0,get:()=>e.W3mUnsupportedChainView});Object.defineProperty(exports,"W3mWalletCompatibleNetworksView",{enumerable:!0,get:()=>e.W3mWalletCompatibleNetworksView});Object.defineProperty(exports,"W3mWhatIsANetworkView",{enumerable:!0,get:()=>e.W3mWhatIsANetworkView});Object.defineProperty(exports,"W3mWhatIsAWalletView",{enumerable:!0,get:()=>e.W3mWhatIsAWalletView});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as a, b as s, d as i, f as n, W, i as o, j as m, m as w, a as c, s as l, c as V, n as u, w as r, o as A, p as C, r as p, q as B, t as h, h as g, l as k, u as N, e as S, x as d, y as K, k as f, g as x, E as I, z as b, C as v, D, B as E, v as F } from "./index-
|
|
1
|
+
import { A as a, b as s, d as i, f as n, W, i as o, j as m, m as w, a as c, s as l, c as V, n as u, w as r, o as A, p as C, r as p, q as B, t as h, h as g, l as k, u as N, e as S, x as d, y as K, k as f, g as x, E as I, z as b, C as v, D, B as E, v as F } from "./index-BHukHFIh.mjs";
|
|
2
2
|
export {
|
|
3
3
|
a as AppKitAccountButton,
|
|
4
4
|
s as AppKitButton,
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
import { P as s, L as o, B as e, u as t, y as n, v as i, C as c, w as d, A as E, D as u, E as l, F as b, M as p, G as T, H as g, J as m, K as h, O as y, I as v, a as A, b as S, x as F, c as I, T as R, d as f, e as C, f as B, V as N, g as x, X as P, h as D, N as U, R as H, S as L, Q as w, Y as M, Z as k, _ as z, U as q, k as V, W as O, $ as G, aJ as K, aK as j, aL as J, aM as Q, ac as W, ad as Z, aj as X, ak as Y, al as _, am as $, af as aa, ae as ra, l as sa, aC as oa, m as ea, a0 as ta, a1 as na, a2 as ia, a3 as ca, a4 as da, ar as Ea, au as ua, ax as la, q as ba, r as pa, a5 as Ta, a6 as ga, a7 as ma, a8 as ha, a9 as ya, s as va, o as Aa, as as Sa, aQ as Fa, at as Ia, av as Ra, ay as fa, az as Ca, ai as Ba, aq as Na, aN as xa, aE as Pa, ab as Da, ao as Ua, t as Ha, ap as La, p as wa, i as Ma, j as ka, aa as za, aE as qa, n as Va, aF as Oa, aG as Ga, aA as Ka, aO as ja, aH as Ja, aI as Qa, aP as Wa, aB as Za, aI as Xa, ag as Ya, ah as _a, an as $a, aw as ar, s as rr, aD as sr, z as or } from "./parseSignature-ZB66mPGB.mjs";
|
|
2
|
+
import { P as tr, Q as nr, R as ir, S as cr, T as dr, U as Er, V as ur, X as lr, Y as br, Z as pr, _ as Tr, $ as gr, a0 as mr, a1 as hr, a2 as yr, a3 as vr, aA as Ar, az as Sr, ad as Fr, aB as Ir, a4 as Rr, aC as fr, a5 as Cr, a6 as Br, aD as Nr, ak as xr, al as Pr, am as Dr, aw as Ur, an as Hr, ag as Lr, aE as wr, ao as Mr, ap as kr, a7 as zr, a8 as qr, ac as Vr, a9 as Or, ah as Gr, aa as Kr, b0 as jr, ai as Jr, aF as Qr, aG as Wr, b1 as Zr, aH as Xr, b2 as Yr, aI as _r, aJ as $r, aK as as, aL as rs, aq as ss, ar as os, as as es, aM as ts, aN as ns, aO as is, aP as cs, aQ as ds, aR as Es, ax as us, ae as ls, aj as bs, af as ps, aS as Ts, ay as gs, at as ms, aT as hs, au as ys, aU as vs, aV as As, av as Ss, aW as Fs, aX as Is, aY as Rs, ab as fs, aZ as Cs, a$ as Bs, a_ as Ns, br as xs, bw as Ps, bx as Ds, b7 as Us, bb as Hs, bc as Ls, bd as ws, F as Ms, ba as ks, b3 as zs, b4 as qs, J as Vs, K as Os, N as Gs, G as Ks, bQ as js, bR as Js, b5 as Qs, b8 as Ws, bD as Zs, bE as Xs, bF as Ys, bE as _s, bO as $s, O as ao, bJ as ro, bI as so, bK as oo, bL as eo, bn as to, bo as no, bs as io, bp as co, bq as Eo, I as uo, b9 as lo, be as bo, bB as po, L as To, bt as go, by as mo, bf as ho, bg as yo, bh as vo, b6 as Ao, M as So, H as Fo, bi as Io, bj as Ro, bk as fo, bl as Co, bu as Bo, bz as No, bN as xo, bv as Po, bC as Do, bD as Uo, bE as Ho, bC as Lo, bF as wo, bE as Mo, bA as ko, bM as zo, bm as qo, K as Vo, bP as Oo, bG as Go, bH as Ko } from "./index-BHukHFIh.mjs";
|
|
3
|
+
import { ccipRequest as Jo, ccipRequest as Qo, offchainLookup as Wo, offchainLookupAbiItem as Zo, offchainLookupSignature as Xo } from "./ccip-CQrFYKlN.mjs";
|
|
4
|
+
export {
|
|
5
|
+
tr as AbiConstructorNotFoundError,
|
|
6
|
+
nr as AbiConstructorParamsNotFoundError,
|
|
7
|
+
ir as AbiDecodingDataSizeTooSmallError,
|
|
8
|
+
cr as AbiDecodingZeroDataError,
|
|
9
|
+
dr as AbiEncodingArrayLengthMismatchError,
|
|
10
|
+
Er as AbiEncodingBytesSizeMismatchError,
|
|
11
|
+
ur as AbiEncodingLengthMismatchError,
|
|
12
|
+
lr as AbiErrorInputsNotFoundError,
|
|
13
|
+
br as AbiErrorNotFoundError,
|
|
14
|
+
pr as AbiErrorSignatureNotFoundError,
|
|
15
|
+
Tr as AbiEventNotFoundError,
|
|
16
|
+
gr as AbiEventSignatureEmptyTopicsError,
|
|
17
|
+
mr as AbiEventSignatureNotFoundError,
|
|
18
|
+
hr as AbiFunctionNotFoundError,
|
|
19
|
+
yr as AbiFunctionOutputsNotFoundError,
|
|
20
|
+
vr as AbiFunctionSignatureNotFoundError,
|
|
21
|
+
s as AccountStateConflictError,
|
|
22
|
+
Ar as AtomicReadyWalletRejectedUpgradeError,
|
|
23
|
+
Sr as AtomicityNotSupportedError,
|
|
24
|
+
Fr as BaseError,
|
|
25
|
+
o as BaseFeeScalarError,
|
|
26
|
+
e as BlockNotFoundError,
|
|
27
|
+
t as BundleFailedError,
|
|
28
|
+
Ir as BundleTooLargeError,
|
|
29
|
+
Rr as BytesSizeMismatchError,
|
|
30
|
+
n as CallExecutionError,
|
|
31
|
+
fr as ChainDisconnectedError,
|
|
32
|
+
i as ChainDoesNotSupportContract,
|
|
33
|
+
c as CircularReferenceError,
|
|
34
|
+
d as ClientChainNotConfiguredError,
|
|
35
|
+
E as ContractFunctionExecutionError,
|
|
36
|
+
u as ContractFunctionRevertedError,
|
|
37
|
+
l as ContractFunctionZeroDataError,
|
|
38
|
+
b as CounterfactualDeploymentFailedError,
|
|
39
|
+
Cr as DecodeLogDataMismatch,
|
|
40
|
+
Br as DecodeLogTopicsMismatch,
|
|
41
|
+
Nr as DuplicateIdError,
|
|
42
|
+
p as Eip1559FeesNotSupportedError,
|
|
43
|
+
T as EnsAvatarInvalidNftUriError,
|
|
44
|
+
g as EnsAvatarUnsupportedNamespaceError,
|
|
45
|
+
m as EnsAvatarUriResolutionError,
|
|
46
|
+
h as EstimateGasExecutionError,
|
|
47
|
+
xr as ExecutionRevertedError,
|
|
48
|
+
Pr as FeeCapTooHighError,
|
|
49
|
+
Dr as FeeCapTooLowError,
|
|
50
|
+
y as FilterTypeNotSupportedError,
|
|
51
|
+
Ur as HttpRequestError,
|
|
52
|
+
Hr as InsufficientFundsError,
|
|
53
|
+
Lr as IntegerOutOfRangeError,
|
|
54
|
+
wr as InternalRpcError,
|
|
55
|
+
Mr as IntrinsicGasTooHighError,
|
|
56
|
+
kr as IntrinsicGasTooLowError,
|
|
57
|
+
zr as InvalidAbiDecodingTypeError,
|
|
58
|
+
qr as InvalidAbiEncodingTypeError,
|
|
59
|
+
v as InvalidAbiItemError,
|
|
60
|
+
A as InvalidAbiParametersError,
|
|
61
|
+
S as InvalidAbiTypeParameterError,
|
|
62
|
+
Vr as InvalidAddressError,
|
|
63
|
+
Or as InvalidArrayError,
|
|
64
|
+
Gr as InvalidBytesBooleanError,
|
|
65
|
+
F as InvalidChainIdError,
|
|
66
|
+
Kr as InvalidDefinitionTypeError,
|
|
67
|
+
jr as InvalidDomainError,
|
|
68
|
+
I as InvalidFunctionModifierError,
|
|
69
|
+
Jr as InvalidHexBooleanError,
|
|
70
|
+
Qr as InvalidInputRpcError,
|
|
71
|
+
R as InvalidLegacyVError,
|
|
72
|
+
f as InvalidModifierError,
|
|
73
|
+
C as InvalidParameterError,
|
|
74
|
+
Wr as InvalidParamsRpcError,
|
|
75
|
+
B as InvalidParenthesisError,
|
|
76
|
+
Zr as InvalidPrimaryTypeError,
|
|
77
|
+
Xr as InvalidRequestRpcError,
|
|
78
|
+
N as InvalidSerializableTransactionError,
|
|
79
|
+
x as InvalidSignatureError,
|
|
80
|
+
P as InvalidStorageKeySizeError,
|
|
81
|
+
D as InvalidStructSignatureError,
|
|
82
|
+
Yr as InvalidStructTypeError,
|
|
83
|
+
_r as JsonRpcVersionUnsupportedError,
|
|
84
|
+
$r as LimitExceededRpcError,
|
|
85
|
+
U as MaxFeePerGasTooLowError,
|
|
86
|
+
as as MethodNotFoundRpcError,
|
|
87
|
+
rs as MethodNotSupportedRpcError,
|
|
88
|
+
ss as NonceMaxValueError,
|
|
89
|
+
os as NonceTooHighError,
|
|
90
|
+
es as NonceTooLowError,
|
|
91
|
+
ts as ParseRpcError,
|
|
92
|
+
ns as ProviderDisconnectedError,
|
|
93
|
+
is as ProviderRpcError,
|
|
94
|
+
H as RawContractError,
|
|
95
|
+
cs as ResourceNotFoundRpcError,
|
|
96
|
+
ds as ResourceUnavailableRpcError,
|
|
97
|
+
Es as RpcError,
|
|
98
|
+
us as RpcRequestError,
|
|
99
|
+
ls as SizeExceedsPaddingSizeError,
|
|
100
|
+
bs as SizeOverflowError,
|
|
101
|
+
ps as SliceOffsetOutOfBoundsError,
|
|
102
|
+
L as SolidityProtectedKeywordError,
|
|
103
|
+
w as StateAssignmentConflictError,
|
|
104
|
+
Ts as SwitchChainError,
|
|
105
|
+
gs as TimeoutError,
|
|
106
|
+
ms as TipAboveFeeCapError,
|
|
107
|
+
M as TransactionExecutionError,
|
|
108
|
+
k as TransactionNotFoundError,
|
|
109
|
+
z as TransactionReceiptNotFoundError,
|
|
110
|
+
hs as TransactionRejectedRpcError,
|
|
111
|
+
ys as TransactionTypeNotSupportedError,
|
|
112
|
+
vs as UnauthorizedProviderError,
|
|
113
|
+
As as UnknownBundleIdError,
|
|
114
|
+
Ss as UnknownNodeError,
|
|
115
|
+
Fs as UnknownRpcError,
|
|
116
|
+
q as UnknownSignatureError,
|
|
117
|
+
V as UnknownTypeError,
|
|
118
|
+
Is as UnsupportedChainIdError,
|
|
119
|
+
Rs as UnsupportedNonOptionalCapabilityError,
|
|
120
|
+
fs as UnsupportedPackedAbiType,
|
|
121
|
+
Cs as UnsupportedProviderMethodError,
|
|
122
|
+
Bs as UrlRequiredError,
|
|
123
|
+
Ns as UserRejectedRequestError,
|
|
124
|
+
O as WaitForCallsStatusTimeoutError,
|
|
125
|
+
G as WaitForTransactionReceiptTimeoutError,
|
|
126
|
+
K as assertRequest,
|
|
127
|
+
j as assertTransactionEIP1559,
|
|
128
|
+
J as assertTransactionEIP2930,
|
|
129
|
+
Q as assertTransactionLegacy,
|
|
130
|
+
W as blobsToCommitments,
|
|
131
|
+
Z as blobsToProofs,
|
|
132
|
+
xs as boolToBytes,
|
|
133
|
+
Ps as boolToHex,
|
|
134
|
+
X as bytesToBigInt,
|
|
135
|
+
Y as bytesToBool,
|
|
136
|
+
Ds as bytesToHex,
|
|
137
|
+
_ as bytesToNumber,
|
|
138
|
+
$ as bytesToString,
|
|
139
|
+
Jo as ccipFetch,
|
|
140
|
+
Qo as ccipRequest,
|
|
141
|
+
Us as checksumAddress,
|
|
142
|
+
aa as commitmentToVersionedHash,
|
|
143
|
+
ra as commitmentsToVersionedHashes,
|
|
144
|
+
Hs as concat,
|
|
145
|
+
Ls as concatBytes,
|
|
146
|
+
ws as concatHex,
|
|
147
|
+
sa as createClient,
|
|
148
|
+
oa as createNonceManager,
|
|
149
|
+
ea as createPublicClient,
|
|
150
|
+
Ms as createTransport,
|
|
151
|
+
ta as decodeAbiParameters,
|
|
152
|
+
na as decodeErrorResult,
|
|
153
|
+
ia as decodeEventLog,
|
|
154
|
+
ca as decodeFunctionData,
|
|
155
|
+
da as decodeFunctionResult,
|
|
156
|
+
Ea as defineBlock,
|
|
157
|
+
ks as defineChain,
|
|
158
|
+
ua as defineTransaction,
|
|
159
|
+
la as defineTransactionReceipt,
|
|
160
|
+
ba as deploylessCallViaBytecodeBytecode,
|
|
161
|
+
pa as deploylessCallViaFactoryBytecode,
|
|
162
|
+
zs as encodeAbiParameters,
|
|
163
|
+
Ta as encodeDeployData,
|
|
164
|
+
ga as encodeErrorResult,
|
|
165
|
+
ma as encodeEventTopics,
|
|
166
|
+
qs as encodeFunctionData,
|
|
167
|
+
ha as encodeFunctionResult,
|
|
168
|
+
ya as encodePacked,
|
|
169
|
+
Vs as erc20Abi,
|
|
170
|
+
Os as erc6492SignatureValidatorAbi,
|
|
171
|
+
va as erc6492SignatureValidatorByteCode,
|
|
172
|
+
Aa as ethAddress,
|
|
173
|
+
Gs as etherUnits,
|
|
174
|
+
Ks as fallback,
|
|
175
|
+
Sa as formatBlock,
|
|
176
|
+
Fa as formatEther,
|
|
177
|
+
js as formatGwei,
|
|
178
|
+
Ia as formatLog,
|
|
179
|
+
Ra as formatTransaction,
|
|
180
|
+
fa as formatTransactionReceipt,
|
|
181
|
+
Ca as formatTransactionRequest,
|
|
182
|
+
Js as formatUnits,
|
|
183
|
+
Qs as getAbiItem,
|
|
184
|
+
Ws as getAddress,
|
|
185
|
+
Ba as getChainContractAddress,
|
|
186
|
+
Na as getContractError,
|
|
187
|
+
Zs as getEventSelector,
|
|
188
|
+
Xs as getEventSignature,
|
|
189
|
+
Ys as getFunctionSelector,
|
|
190
|
+
_s as getFunctionSignature,
|
|
191
|
+
xa as getTransactionType,
|
|
192
|
+
$s as getTypesForEIP712Domain,
|
|
193
|
+
ao as gweiUnits,
|
|
194
|
+
ro as hashDomain,
|
|
195
|
+
so as hashMessage,
|
|
196
|
+
oo as hashStruct,
|
|
197
|
+
eo as hashTypedData,
|
|
198
|
+
to as hexToBigInt,
|
|
199
|
+
no as hexToBool,
|
|
200
|
+
io as hexToBytes,
|
|
201
|
+
co as hexToNumber,
|
|
202
|
+
Pa as hexToSignature,
|
|
203
|
+
Eo as hexToString,
|
|
204
|
+
uo as http,
|
|
205
|
+
lo as isAddress,
|
|
206
|
+
Da as isAddressEqual,
|
|
207
|
+
bo as isHex,
|
|
208
|
+
po as keccak256,
|
|
209
|
+
Ua as labelhash,
|
|
210
|
+
Ha as maxUint256,
|
|
211
|
+
To as multicall3Abi,
|
|
212
|
+
La as namehash,
|
|
213
|
+
go as numberToBytes,
|
|
214
|
+
mo as numberToHex,
|
|
215
|
+
Wo as offchainLookup,
|
|
216
|
+
Zo as offchainLookupAbiItem,
|
|
217
|
+
Xo as offchainLookupSignature,
|
|
218
|
+
ho as pad,
|
|
219
|
+
yo as padBytes,
|
|
220
|
+
vo as padHex,
|
|
221
|
+
wa as parseAbi,
|
|
222
|
+
Ma as parseAbiItem,
|
|
223
|
+
ka as parseAbiParameters,
|
|
224
|
+
za as parseEventLogs,
|
|
225
|
+
qa as parseSignature,
|
|
226
|
+
Ao as prepareEncodeFunctionData,
|
|
227
|
+
So as presignMessagePrefix,
|
|
228
|
+
Va as publicActions,
|
|
229
|
+
Oa as recoverAddress,
|
|
230
|
+
Ga as recoverPublicKey,
|
|
231
|
+
Ka as rpcTransactionType,
|
|
232
|
+
ja as serializeAccessList,
|
|
233
|
+
Ja as serializeErc6492Signature,
|
|
234
|
+
Qa as serializeSignature,
|
|
235
|
+
Wa as serializeTransaction,
|
|
236
|
+
Za as sha256,
|
|
237
|
+
Fo as shouldThrow,
|
|
238
|
+
Xa as signatureToHex,
|
|
239
|
+
Io as size,
|
|
240
|
+
Ro as slice,
|
|
241
|
+
fo as sliceBytes,
|
|
242
|
+
Co as sliceHex,
|
|
243
|
+
Bo as stringToBytes,
|
|
244
|
+
No as stringToHex,
|
|
245
|
+
xo as stringify,
|
|
246
|
+
Ya as toBlobSidecars,
|
|
247
|
+
_a as toBlobs,
|
|
248
|
+
Po as toBytes,
|
|
249
|
+
Do as toEventHash,
|
|
250
|
+
Uo as toEventSelector,
|
|
251
|
+
Ho as toEventSignature,
|
|
252
|
+
Lo as toFunctionHash,
|
|
253
|
+
wo as toFunctionSelector,
|
|
254
|
+
Mo as toFunctionSignature,
|
|
255
|
+
ko as toHex,
|
|
256
|
+
zo as toPrefixedMessage,
|
|
257
|
+
$a as toRlp,
|
|
258
|
+
ar as transactionType,
|
|
259
|
+
qo as trim,
|
|
260
|
+
Vo as universalSignatureValidatorAbi,
|
|
261
|
+
rr as universalSignatureValidatorByteCode,
|
|
262
|
+
Oo as validateTypedData,
|
|
263
|
+
sr as withCache,
|
|
264
|
+
Go as withRetry,
|
|
265
|
+
Ko as withTimeout,
|
|
266
|
+
or as zeroAddress
|
|
267
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bS as U, bT as Ee, bU as Te, bV as x, bW as _, bX as C, cv as f, bY as l, c8 as I, cW as ve, c7 as v, cX as Se, cY as y, ce as O, cZ as ke, c_ as N, cz as ce, c2 as A, c$ as me, cc as m, c4 as _e, ct as T, c9 as M, c6 as R, ch as Ce, cA as G, cl as $e, cm as Re, ck as P, c5 as z, cw as h, b_ as Oe, c0 as Ue, d0 as Ie, c1 as Le, cQ as ge } from "./index-BHukHFIh.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"], Je = {
|
|
405
405
|
eip155: {
|
|
406
406
|
native: { assetNamespace: "slip44", assetReference: "60" },
|
|
407
407
|
defaultTokenNamespace: "erc20"
|
|
@@ -412,13 +412,13 @@ const Xe = ["eip155", "solana"], Ze = {
|
|
|
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 = Je[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 Ze(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 Ze(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 J = 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 Z = class extends C {
|
|
|
1923
1923
|
`;
|
|
1924
1924
|
}
|
|
1925
1925
|
};
|
|
1926
|
-
|
|
1926
|
+
J.styles = [wt];
|
|
1927
1927
|
Ne([
|
|
1928
1928
|
h()
|
|
1929
|
-
],
|
|
1930
|
-
|
|
1929
|
+
], J.prototype, "quote", void 0);
|
|
1930
|
+
J = Ne([
|
|
1931
1931
|
_("w3m-pay-fees")
|
|
1932
|
-
],
|
|
1932
|
+
], J);
|
|
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 Z = 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 J = class extends C {
|
|
|
1996
1996
|
}));
|
|
1997
1997
|
}
|
|
1998
1998
|
};
|
|
1999
|
-
|
|
1999
|
+
Z.styles = [yt];
|
|
2000
2000
|
Pe([
|
|
2001
2001
|
x({ type: Array })
|
|
2002
|
-
],
|
|
2003
|
-
|
|
2002
|
+
], Z.prototype, "selectedExchange", void 0);
|
|
2003
|
+
Z = Pe([
|
|
2004
2004
|
_("w3m-pay-options-empty")
|
|
2005
|
-
],
|
|
2005
|
+
], Z);
|
|
2006
2006
|
const bt = U`
|
|
2007
2007
|
:host {
|
|
2008
2008
|
display: block;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bS as d, bT as c, bU as m, bV as r, bW as f, bX as v, bZ as b, b_ as y, bY as h, b$ as g, c0 as w } from "./index-BHukHFIh.mjs";
|
|
2
2
|
const x = d`
|
|
3
3
|
:host {
|
|
4
4
|
position: relative;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as t, A as m, a as d } from "./index-
|
|
2
|
-
import { b as z, c as B, W as G } from "./index-
|
|
1
|
+
import { P as t, A as m, a as d } from "./index-Clu0wU1d.mjs";
|
|
2
|
+
import { b as z, c as B, W as G } from "./index-Clu0wU1d.mjs";
|
|
3
3
|
const U = 3e5;
|
|
4
4
|
async function E(e) {
|
|
5
5
|
return t.handleOpenPay(e);
|