|
1 | | -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-3q_9FTop.js","./hooks.module-B8FgZbnF.js","./index-DVaOW2QW.js","./browser-BhSa_01B.js","./metamask-sdk-D_TQPJHl.js"])))=>i.map(i=>d[i]); |
| 1 | +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-BP0t4n4r.js","./hooks.module-B8FgZbnF.js","./index-D0BbH42J.js","./browser-BSJ994Qx.js","./metamask-sdk-DjSqjP2Y.js"])))=>i.map(i=>d[i]); |
2 | 2 | var __defProp = Object.defineProperty; |
3 | 3 | var __typeError = (msg) => { |
4 | 4 | throw TypeError(msg); |
@@ -20450,7 +20450,7 @@ async function call(client2, args) { |
20450 | 20450 | } catch (err2) { |
20451 | 20451 | const data3 = getRevertErrorData(err2); |
20452 | 20452 | const { offchainLookup, offchainLookupSignature } = await __vitePreload(async () => { |
20453 | | - const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-COtmzn90.js"); |
| 20453 | + const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-BR9seZMk.js"); |
20454 | 20454 | return { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 }; |
20455 | 20455 | }, true ? [] : void 0, import.meta.url); |
20456 | 20456 | if (client2.ccipRead !== false && (data3 == null ? void 0 : data3.slice(0, 10)) === offchainLookupSignature && to) |
@@ -134970,7 +134970,7 @@ function version4(parameters) { |
134970 | 134970 | }; |
134971 | 134971 | })(); |
134972 | 134972 | const { createCoinbaseWalletSDK } = await __vitePreload(async () => { |
134973 | | - const { createCoinbaseWalletSDK: createCoinbaseWalletSDK2 } = await import("./index-3q_9FTop.js"); |
| 134973 | + const { createCoinbaseWalletSDK: createCoinbaseWalletSDK2 } = await import("./index-BP0t4n4r.js"); |
134974 | 134974 | return { createCoinbaseWalletSDK: createCoinbaseWalletSDK2 }; |
134975 | 134975 | }, true ? __vite__mapDeps([0,1]) : void 0, import.meta.url); |
134976 | 134976 | const sdk = createCoinbaseWalletSDK({ |
@@ -135145,7 +135145,7 @@ function version3(parameters) { |
135145 | 135145 | if (!walletProvider) { |
135146 | 135146 | const CoinbaseWalletSDK = await (async () => { |
135147 | 135147 | const { default: SDK } = await __vitePreload(async () => { |
135148 | | - const { default: SDK2 } = await import("./index-DVaOW2QW.js").then((n2) => n2.i); |
| 135148 | + const { default: SDK2 } = await import("./index-D0BbH42J.js").then((n2) => n2.i); |
135149 | 135149 | return { default: SDK2 }; |
135150 | 135150 | }, true ? __vite__mapDeps([2,1,3]) : void 0, import.meta.url); |
135151 | 135151 | if (typeof SDK !== "function" && typeof SDK.default === "function") |
@@ -135385,7 +135385,7 @@ function metaMask$1(parameters = {}) { |
135385 | 135385 | var _a4, _b2, _c2, _d3, _e6; |
135386 | 135386 | const MetaMaskSDK = await (async () => { |
135387 | 135387 | const { default: SDK } = await __vitePreload(async () => { |
135388 | | - const { default: SDK2 } = await import("./metamask-sdk-D_TQPJHl.js"); |
| 135388 | + const { default: SDK2 } = await import("./metamask-sdk-DjSqjP2Y.js"); |
135389 | 135389 | return { default: SDK2 }; |
135390 | 135390 | }, true ? __vite__mapDeps([4,3]) : void 0, import.meta.url); |
135391 | 135391 | if (typeof SDK !== "function" && typeof SDK.default === "function") |
@@ -135737,7 +135737,7 @@ function walletConnect$1(parameters) { |
135737 | 135737 | if (!optionalChains.length) |
135738 | 135738 | return; |
135739 | 135739 | const { EthereumProvider } = await __vitePreload(async () => { |
135740 | | - const { EthereumProvider: EthereumProvider2 } = await import("./index.es-FmmaE6Bi.js"); |
| 135740 | + const { EthereumProvider: EthereumProvider2 } = await import("./index.es-B_QxQtpq.js"); |
135741 | 135741 | return { EthereumProvider: EthereumProvider2 }; |
135742 | 135742 | }, true ? [] : void 0, import.meta.url); |
135743 | 135743 | return await EthereumProvider.init({ |
@@ -136689,6 +136689,9 @@ const getDefaultWaasConnectors = (options) => { |
136689 | 136689 | defaultNetwork: defaultChainId |
136690 | 136690 | })); |
136691 | 136691 | } |
| 136692 | + if ((options == null ? void 0 : options.additionalWallets) && (options == null ? void 0 : options.additionalWallets.length) > 0) { |
| 136693 | + wallets.push(...options.additionalWallets); |
| 136694 | + } |
136692 | 136695 | return getConnectWallets(projectAccessKey2, wallets); |
136693 | 136696 | }; |
136694 | 136697 | const getDefaultUniversalConnectors = (options) => { |
@@ -259695,7 +259698,13 @@ const config = walletType$1 === "waas" ? createConfig("waas", { |
259695 | 259698 | }, |
259696 | 259699 | walletConnect: { |
259697 | 259700 | projectId: walletConnectProjectId |
259698 | | - } |
| 259701 | + }, |
| 259702 | + additionalWallets: [ |
| 259703 | + immutable({ |
| 259704 | + passportInstance, |
| 259705 | + environment: K$5.SANDBOX |
| 259706 | + }) |
| 259707 | + ] |
259699 | 259708 | }) : createConfig("universal", { |
259700 | 259709 | ...connectConfig, |
259701 | 259710 | appName: "Sequence Web SDK Demo", |
|
0 commit comments