@reown/appkit-cdn 1.5.2 → 1.5.3-ae9267.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/dist/{appkit-D9celFkq.js → appkit-DHkto8Mc.js} +130 -98
- package/dist/{appkit-D9celFkq.js.map → appkit-DHkto8Mc.js.map} +1 -1
- package/dist/appkit.js +8 -8
- package/dist/{ccip-Bu0xcFjJ.js → ccip-B1C6yJtl.js} +2 -2
- package/dist/{ccip-Bu0xcFjJ.js.map → ccip-B1C6yJtl.js.map} +1 -1
- package/dist/{hooks.module-Bhlrle46.js → hooks.module-B44j1vW7.js} +2 -2
- package/dist/{hooks.module-Bhlrle46.js.map → hooks.module-B44j1vW7.js.map} +1 -1
- package/dist/{index-CQ4PM1mj.js → index-3Fnnlfyo.js} +82 -42
- package/dist/index-3Fnnlfyo.js.map +1 -0
- package/dist/{index-BUvkY72y.js → index-BBJ00XXm.js} +3 -3
- package/dist/{index-BUvkY72y.js.map → index-BBJ00XXm.js.map} +1 -1
- package/dist/{index-DWN1JCRB.js → index-BNZWM068.js} +2 -2
- package/dist/{index-DWN1JCRB.js.map → index-BNZWM068.js.map} +1 -1
- package/dist/{index-BPNhaViM.js → index-CHez94ii.js} +2 -2
- package/dist/{index-BPNhaViM.js.map → index-CHez94ii.js.map} +1 -1
- package/dist/{index-DOllEQlm.js → index-CIU-jQwT.js} +3 -3
- package/dist/{index-DOllEQlm.js.map → index-CIU-jQwT.js.map} +1 -1
- package/dist/{index-Dko7m4kW.js → index-Cm2CSIXA.js} +4 -4
- package/dist/{index-Dko7m4kW.js.map → index-Cm2CSIXA.js.map} +1 -1
- package/dist/{index-DPB1iTjw.js → index-DX-8Em4k.js} +3 -3
- package/dist/{index-DPB1iTjw.js.map → index-DX-8Em4k.js.map} +1 -1
- package/dist/{index-BDIUhjmG.js → index-mNfA4XMu.js} +3 -3
- package/dist/{index-BDIUhjmG.js.map → index-mNfA4XMu.js.map} +1 -1
- package/dist/{index.es-Cz2md885.js → index.es-CsP-xqkA.js} +3 -3
- package/dist/{index.es-Cz2md885.js.map → index.es-CsP-xqkA.js.map} +1 -1
- package/dist/{metamask-sdk-0eqrTifD.js → metamask-sdk-Drtq2ifM.js} +2 -2
- package/dist/{metamask-sdk-0eqrTifD.js.map → metamask-sdk-Drtq2ifM.js.map} +1 -1
- package/dist/{native-luhFo4rc.js → native-B46sctEM.js} +2 -2
- package/dist/{native-luhFo4rc.js.map → native-B46sctEM.js.map} +1 -1
- package/dist/{w3m-modal-B7fyRh_i.js → w3m-modal-io78w94T.js} +2 -2
- package/dist/{w3m-modal-B7fyRh_i.js.map → w3m-modal-io78w94T.js.map} +1 -1
- package/package.json +7 -7
- package/dist/index-CQ4PM1mj.js.map +0 -1
|
@@ -4392,7 +4392,8 @@ const SafeLocalStorageKeys = {
|
|
|
4392
4392
|
CONNECTED_SOCIAL_USERNAME: "@appkit/connected_social_username",
|
|
4393
4393
|
RECENT_WALLETS: "@appkit/recent_wallets",
|
|
4394
4394
|
DEEPLINK_CHOICE: "WALLETCONNECT_DEEPLINK_CHOICE",
|
|
4395
|
-
CONNECTED_NAMESPACE: "@appkit/connected_namespace"
|
|
4395
|
+
CONNECTED_NAMESPACE: "@appkit/connected_namespace",
|
|
4396
|
+
CONNECTION_STATUS: "@appkit/connection_status"
|
|
4396
4397
|
};
|
|
4397
4398
|
const SafeLocalStorage = {
|
|
4398
4399
|
setItem(key2, value) {
|
|
@@ -12573,11 +12574,15 @@ const state$d = proxy({
|
|
|
12573
12574
|
tokenBalance: [],
|
|
12574
12575
|
smartAccountDeployed: false,
|
|
12575
12576
|
addressLabels: /* @__PURE__ */ new Map(),
|
|
12576
|
-
allAccounts: []
|
|
12577
|
+
allAccounts: [],
|
|
12578
|
+
status: "connecting"
|
|
12577
12579
|
});
|
|
12578
12580
|
const AccountController = {
|
|
12579
12581
|
state: state$d,
|
|
12580
12582
|
replaceState(newState) {
|
|
12583
|
+
if (newState == null ? void 0 : newState.status) {
|
|
12584
|
+
console.log(">>> AccountController replaceState", newState.status);
|
|
12585
|
+
}
|
|
12581
12586
|
if (!newState) {
|
|
12582
12587
|
return;
|
|
12583
12588
|
}
|
|
@@ -12604,7 +12609,10 @@ const AccountController = {
|
|
|
12604
12609
|
}, chain);
|
|
12605
12610
|
},
|
|
12606
12611
|
setStatus(status, chain) {
|
|
12607
|
-
|
|
12612
|
+
console.log(">>> AccountController.setStatus", status, chain);
|
|
12613
|
+
if (chain) {
|
|
12614
|
+
ChainController.setAccountProp("status", status, chain);
|
|
12615
|
+
}
|
|
12608
12616
|
},
|
|
12609
12617
|
getCaipAddress(chain) {
|
|
12610
12618
|
return ChainController.getAccountProp("caipAddress", chain);
|
|
@@ -78633,7 +78641,7 @@ async function call$2(client, args) {
|
|
|
78633
78641
|
return { data: response };
|
|
78634
78642
|
} catch (err) {
|
|
78635
78643
|
const data3 = getRevertErrorData$1(err);
|
|
78636
|
-
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-
|
|
78644
|
+
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-B1C6yJtl.js");
|
|
78637
78645
|
if (client.ccipRead !== false && (data3 == null ? void 0 : data3.slice(0, 10)) === offchainLookupSignature2 && to2)
|
|
78638
78646
|
return { data: await offchainLookup2(client, { data: data3, to: to2 }) };
|
|
78639
78647
|
if (deploylessCall && (data3 == null ? void 0 : data3.slice(0, 10)) === "0x101bb98d")
|
|
@@ -82872,6 +82880,9 @@ class AdapterBlueprint {
|
|
|
82872
82880
|
return true;
|
|
82873
82881
|
});
|
|
82874
82882
|
}
|
|
82883
|
+
setStatus(status, chainNamespace) {
|
|
82884
|
+
AccountController.setStatus(status, chainNamespace);
|
|
82885
|
+
}
|
|
82875
82886
|
/**
|
|
82876
82887
|
* Adds an event listener for a specific event.
|
|
82877
82888
|
* @template T
|
|
@@ -94052,7 +94063,8 @@ class AppKit {
|
|
|
94052
94063
|
caipAddress: ChainController.state.activeCaipAddress,
|
|
94053
94064
|
address: CoreHelperUtil.getPlainAddress(ChainController.state.activeCaipAddress),
|
|
94054
94065
|
isConnected: Boolean(ChainController.state.activeCaipAddress),
|
|
94055
|
-
status: AccountController.state.status
|
|
94066
|
+
status: AccountController.state.status,
|
|
94067
|
+
loading: true
|
|
94056
94068
|
});
|
|
94057
94069
|
}
|
|
94058
94070
|
ChainController.subscribe(updateVal);
|
|
@@ -94168,7 +94180,7 @@ class AppKit {
|
|
|
94168
94180
|
if (options.siwx) {
|
|
94169
94181
|
throw new Error("Cannot set both `siweConfig` and `siwx` options");
|
|
94170
94182
|
}
|
|
94171
|
-
const siwe = await import("./index-
|
|
94183
|
+
const siwe = await import("./index-3Fnnlfyo.js");
|
|
94172
94184
|
if (typeof siwe.mapToSIWX !== "function") {
|
|
94173
94185
|
throw new Error("Please update the `@reown/appkit-siwe` package to the latest version");
|
|
94174
94186
|
}
|
|
@@ -94210,12 +94222,14 @@ class AppKit {
|
|
|
94210
94222
|
this.connectionControllerClient = {
|
|
94211
94223
|
connectWalletConnect: async (onUri) => {
|
|
94212
94224
|
var _a3, _b2, _c, _d, _e2, _f2, _g;
|
|
94213
|
-
const
|
|
94225
|
+
const namespace = ChainController.state.activeChain;
|
|
94226
|
+
const adapter = this.getAdapter(namespace);
|
|
94214
94227
|
(_a3 = this.universalProvider) == null ? void 0 : _a3.on("display_uri", (uri2) => {
|
|
94215
94228
|
onUri(uri2);
|
|
94216
94229
|
});
|
|
94217
94230
|
this.setClientId(await ((_e2 = (_d = (_c = (_b2 = this.universalProvider) == null ? void 0 : _b2.client) == null ? void 0 : _c.core) == null ? void 0 : _d.crypto) == null ? void 0 : _e2.getClientId()) || null);
|
|
94218
94231
|
let isAuthenticated = false;
|
|
94232
|
+
this.setStatus("connecting", namespace);
|
|
94219
94233
|
if (this.universalProvider) {
|
|
94220
94234
|
const chains = ((_f2 = this.caipNetworks) == null ? void 0 : _f2.map((network) => network.caipNetworkId)) || [];
|
|
94221
94235
|
isAuthenticated = await SIWXUtil.universalProviderAuthenticate({
|
|
@@ -94240,6 +94254,8 @@ class AppKit {
|
|
|
94240
94254
|
}
|
|
94241
94255
|
}
|
|
94242
94256
|
const adapter = chain ? this.getAdapter(chain) : this.getAdapter(ChainController.state.activeChain);
|
|
94257
|
+
console.log(">> Setting connecting");
|
|
94258
|
+
this.setStatus("connecting", chain);
|
|
94243
94259
|
const res = await (adapter == null ? void 0 : adapter.connect({
|
|
94244
94260
|
id,
|
|
94245
94261
|
info,
|
|
@@ -94597,9 +94613,19 @@ class AppKit {
|
|
|
94597
94613
|
}
|
|
94598
94614
|
}
|
|
94599
94615
|
listenAdapter(chainNamespace) {
|
|
94616
|
+
console.log(">>> LISTEN ADAPTER", chainNamespace);
|
|
94600
94617
|
const adapter = this.getAdapter(chainNamespace);
|
|
94618
|
+
if (!ChainController.state.activeCaipAddress && ChainController.state.activeChain === chainNamespace) {
|
|
94619
|
+
AccountController.setStatus("disconnected", chainNamespace);
|
|
94620
|
+
}
|
|
94621
|
+
adapter == null ? void 0 : adapter.on("statusChanged", (status) => {
|
|
94622
|
+
if (ChainController.state.activeChain === chainNamespace) {
|
|
94623
|
+
AccountController.setStatus(status, chainNamespace);
|
|
94624
|
+
}
|
|
94625
|
+
});
|
|
94601
94626
|
adapter == null ? void 0 : adapter.on("switchNetwork", ({ address, chainId }) => {
|
|
94602
94627
|
var _a3;
|
|
94628
|
+
console.log(">>> SWITCH NETWORK", { address, chainId });
|
|
94603
94629
|
if (chainId && ((_a3 = this.caipNetworks) == null ? void 0 : _a3.find((n6) => n6.id === chainId))) {
|
|
94604
94630
|
if (ChainController.state.activeChain === chainNamespace && address) {
|
|
94605
94631
|
this.syncAccount({ address, chainId, chainNamespace });
|
|
@@ -94827,22 +94853,24 @@ class AppKit {
|
|
|
94827
94853
|
var _a3, _b2, _c, _d, _e2, _f2;
|
|
94828
94854
|
const connectedConnector = SafeLocalStorage.getItem(SafeLocalStorageKeys.CONNECTED_CONNECTOR);
|
|
94829
94855
|
const connectedNamespace = SafeLocalStorage.getItem(SafeLocalStorageKeys.CONNECTED_NAMESPACE);
|
|
94830
|
-
if (connectedConnector
|
|
94831
|
-
|
|
94832
|
-
|
|
94833
|
-
|
|
94834
|
-
|
|
94835
|
-
|
|
94836
|
-
|
|
94837
|
-
|
|
94838
|
-
|
|
94839
|
-
|
|
94840
|
-
|
|
94841
|
-
|
|
94842
|
-
|
|
94843
|
-
|
|
94844
|
-
|
|
94845
|
-
|
|
94856
|
+
if (connectedConnector && connectedNamespace) {
|
|
94857
|
+
if (connectedConnector === ConstantsUtil$1.CONNECTOR_TYPE_WALLET_CONNECT) {
|
|
94858
|
+
this.syncWalletConnectAccount();
|
|
94859
|
+
} else if (connectedConnector !== ConstantsUtil$1.CONNECTOR_TYPE_W3M_AUTH) {
|
|
94860
|
+
const adapter = this.getAdapter(connectedNamespace);
|
|
94861
|
+
const res = await (adapter == null ? void 0 : adapter.syncConnection({
|
|
94862
|
+
id: connectedConnector,
|
|
94863
|
+
chainId: (_a3 = this.getCaipNetwork()) == null ? void 0 : _a3.id,
|
|
94864
|
+
namespace: connectedNamespace,
|
|
94865
|
+
rpcUrl: (_e2 = (_d = (_c = (_b2 = this.getCaipNetwork()) == null ? void 0 : _b2.rpcUrls) == null ? void 0 : _c.default) == null ? void 0 : _d.http) == null ? void 0 : _e2[0]
|
|
94866
|
+
}));
|
|
94867
|
+
if (res) {
|
|
94868
|
+
this.syncProvider({ ...res, chainNamespace: connectedNamespace });
|
|
94869
|
+
await this.syncAccount({ ...res, chainNamespace: connectedNamespace });
|
|
94870
|
+
}
|
|
94871
|
+
if (!((_f2 = this.caipNetworks) == null ? void 0 : _f2.some((network) => network.id === (res == null ? void 0 : res.chainId)))) {
|
|
94872
|
+
ChainController.showUnsupportedChainUI();
|
|
94873
|
+
}
|
|
94846
94874
|
}
|
|
94847
94875
|
}
|
|
94848
94876
|
}
|
|
@@ -94964,8 +94992,8 @@ class AppKit {
|
|
|
94964
94992
|
isInitialized = true;
|
|
94965
94993
|
this.initPromise = new Promise(async (resolve) => {
|
|
94966
94994
|
await Promise.all([
|
|
94967
|
-
import("./index-
|
|
94968
|
-
import("./w3m-modal-
|
|
94995
|
+
import("./index-Cm2CSIXA.js"),
|
|
94996
|
+
import("./w3m-modal-io78w94T.js")
|
|
94969
94997
|
]);
|
|
94970
94998
|
const modal = document.createElement("w3m-modal");
|
|
94971
94999
|
if (!OptionsController.state.disableAppend) {
|
|
@@ -94977,7 +95005,7 @@ class AppKit {
|
|
|
94977
95005
|
return this.initPromise;
|
|
94978
95006
|
}
|
|
94979
95007
|
}
|
|
94980
|
-
const PACKAGE_VERSION = "1.5.
|
|
95008
|
+
const PACKAGE_VERSION = "1.5.1";
|
|
94981
95009
|
var __decorate$1J = function(decorators, target, key2, desc) {
|
|
94982
95010
|
var c2 = arguments.length, r4 = c2 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key2) : desc, d4;
|
|
94983
95011
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
@@ -108385,7 +108413,6 @@ let W3mConnectFeaturedWidget = class W3mConnectFeaturedWidget2 extends r$3 {
|
|
|
108385
108413
|
<wui-flex flexDirection="column" gap="xs">
|
|
108386
108414
|
${wallets2.map((wallet) => x`
|
|
108387
108415
|
<wui-list-wallet
|
|
108388
|
-
data-testid=${`wallet-selector-featured-${wallet.id}`}
|
|
108389
108416
|
imageSrc=${o$2(AssetUtil.getWalletImage(wallet))}
|
|
108390
108417
|
name=${wallet.name ?? "Unknown"}
|
|
108391
108418
|
@click=${() => this.onConnectWallet(wallet)}
|
|
@@ -108569,14 +108596,13 @@ let W3mConnectExternalWidget = class W3mConnectExternalWidget2 extends r$3 {
|
|
|
108569
108596
|
}
|
|
108570
108597
|
render() {
|
|
108571
108598
|
const externalConnectors = this.connectors.filter((connector) => connector.type === "EXTERNAL");
|
|
108572
|
-
|
|
108573
|
-
if (!(filteredOutCoinbaseConnectors == null ? void 0 : filteredOutCoinbaseConnectors.length)) {
|
|
108599
|
+
if (!(externalConnectors == null ? void 0 : externalConnectors.length)) {
|
|
108574
108600
|
this.style.cssText = `display: none`;
|
|
108575
108601
|
return null;
|
|
108576
108602
|
}
|
|
108577
108603
|
return x`
|
|
108578
108604
|
<wui-flex flexDirection="column" gap="xs">
|
|
108579
|
-
${
|
|
108605
|
+
${externalConnectors.map((connector) => x`
|
|
108580
108606
|
<wui-list-wallet
|
|
108581
108607
|
imageSrc=${o$2(AssetUtil.getConnectorImage(connector))}
|
|
108582
108608
|
.installed=${true}
|
|
@@ -112021,7 +112047,7 @@ function version4$1(parameters) {
|
|
|
112021
112047
|
async getProvider() {
|
|
112022
112048
|
if (!walletProvider) {
|
|
112023
112049
|
const CoinbaseWalletSDK = await (async () => {
|
|
112024
|
-
const { default: SDK } = await import("./index-
|
|
112050
|
+
const { default: SDK } = await import("./index-CIU-jQwT.js").then((n6) => n6.i);
|
|
112025
112051
|
if (typeof SDK !== "function" && typeof SDK.default === "function")
|
|
112026
112052
|
return SDK.default;
|
|
112027
112053
|
return SDK;
|
|
@@ -112200,7 +112226,7 @@ function version3$1(parameters) {
|
|
|
112200
112226
|
var _a3;
|
|
112201
112227
|
if (!walletProvider) {
|
|
112202
112228
|
const CoinbaseWalletSDK = await (async () => {
|
|
112203
|
-
const { default: SDK } = await import("./index-
|
|
112229
|
+
const { default: SDK } = await import("./index-DX-8Em4k.js").then((n6) => n6.i);
|
|
112204
112230
|
if (typeof SDK !== "function" && typeof SDK.default === "function")
|
|
112205
112231
|
return SDK.default;
|
|
112206
112232
|
return SDK;
|
|
@@ -113120,7 +113146,6 @@ class WagmiAdapter extends AdapterBlueprint {
|
|
|
113120
113146
|
this.adapterType = "wagmi";
|
|
113121
113147
|
this.namespace = ConstantsUtil$3.CHAIN.EVM;
|
|
113122
113148
|
this.createConfig({
|
|
113123
|
-
...configParams,
|
|
113124
113149
|
networks: CaipNetworksUtil.extendCaipNetworks(configParams.networks, {
|
|
113125
113150
|
projectId: configParams.projectId,
|
|
113126
113151
|
customNetworkImageUrls: {}
|
|
@@ -113157,8 +113182,12 @@ class WagmiAdapter extends AdapterBlueprint {
|
|
|
113157
113182
|
});
|
|
113158
113183
|
}
|
|
113159
113184
|
setupWatchers() {
|
|
113185
|
+
const initialAccountData = getAccount$1(this.wagmiConfig);
|
|
113186
|
+
console.log(">>> STATUSX1:", initialAccountData.status);
|
|
113160
113187
|
watchAccount$1(this.wagmiConfig, {
|
|
113161
113188
|
onChange: (accountData) => {
|
|
113189
|
+
console.log(">>> STATUSX2:", accountData.status);
|
|
113190
|
+
this.emit("statusChanged", accountData.status);
|
|
113162
113191
|
if (accountData.address) {
|
|
113163
113192
|
this.emit("accountChanged", {
|
|
113164
113193
|
address: accountData.address,
|
|
@@ -113175,7 +113204,9 @@ class WagmiAdapter extends AdapterBlueprint {
|
|
|
113175
113204
|
});
|
|
113176
113205
|
watchConnections$1(this.wagmiConfig, {
|
|
113177
113206
|
onChange: (connections) => {
|
|
113207
|
+
console.log(">>> WATCH CONNECTIONS", connections);
|
|
113178
113208
|
if (connections.length === 0) {
|
|
113209
|
+
this.emit("statusChanged", "disconnected");
|
|
113179
113210
|
this.emit("disconnect");
|
|
113180
113211
|
}
|
|
113181
113212
|
}
|
|
@@ -133734,7 +133765,7 @@ async function getWebSocketRpcClient(url, options = {}) {
|
|
|
133734
133765
|
const { keepAlive, reconnect: reconnect2 } = options;
|
|
133735
133766
|
return getSocketRpcClient({
|
|
133736
133767
|
async getSocket({ onClose, onError, onOpen, onResponse }) {
|
|
133737
|
-
const WebSocket2 = await import("./native-
|
|
133768
|
+
const WebSocket2 = await import("./native-B46sctEM.js").then((module) => module.WebSocket);
|
|
133738
133769
|
const socket = new WebSocket2(url);
|
|
133739
133770
|
function onClose_() {
|
|
133740
133771
|
onClose();
|
|
@@ -139870,7 +139901,7 @@ function version4(parameters) {
|
|
|
139870
139901
|
async getProvider() {
|
|
139871
139902
|
if (!walletProvider) {
|
|
139872
139903
|
const CoinbaseWalletSDK = await (async () => {
|
|
139873
|
-
const { default: SDK } = await import("./index-
|
|
139904
|
+
const { default: SDK } = await import("./index-CIU-jQwT.js").then((n6) => n6.i);
|
|
139874
139905
|
if (typeof SDK !== "function" && typeof SDK.default === "function")
|
|
139875
139906
|
return SDK.default;
|
|
139876
139907
|
return SDK;
|
|
@@ -140049,7 +140080,7 @@ function version3(parameters) {
|
|
|
140049
140080
|
var _a3;
|
|
140050
140081
|
if (!walletProvider) {
|
|
140051
140082
|
const CoinbaseWalletSDK = await (async () => {
|
|
140052
|
-
const { default: SDK } = await import("./index-
|
|
140083
|
+
const { default: SDK } = await import("./index-DX-8Em4k.js").then((n6) => n6.i);
|
|
140053
140084
|
if (typeof SDK !== "function" && typeof SDK.default === "function")
|
|
140054
140085
|
return SDK.default;
|
|
140055
140086
|
return SDK;
|
|
@@ -140255,7 +140286,7 @@ function metaMask(parameters = {}) {
|
|
|
140255
140286
|
async getProvider() {
|
|
140256
140287
|
async function initProvider() {
|
|
140257
140288
|
const MetaMaskSDK = await (async () => {
|
|
140258
|
-
const { default: SDK } = await import("./metamask-sdk-
|
|
140289
|
+
const { default: SDK } = await import("./metamask-sdk-Drtq2ifM.js").then((n6) => n6.m);
|
|
140259
140290
|
if (typeof SDK !== "function" && typeof SDK.default === "function")
|
|
140260
140291
|
return SDK.default;
|
|
140261
140292
|
return SDK;
|
|
@@ -140486,14 +140517,14 @@ function safe(parameters = {}) {
|
|
|
140486
140517
|
if (!isIframe)
|
|
140487
140518
|
return;
|
|
140488
140519
|
if (!provider_) {
|
|
140489
|
-
const { default: SDK } = await import("./index-
|
|
140520
|
+
const { default: SDK } = await import("./index-BNZWM068.js");
|
|
140490
140521
|
const sdk = new SDK(parameters);
|
|
140491
140522
|
const safe2 = await withTimeout(() => sdk.safe.getInfo(), {
|
|
140492
140523
|
timeout: parameters.unstable_getInfoTimeout ?? 10
|
|
140493
140524
|
});
|
|
140494
140525
|
if (!safe2)
|
|
140495
140526
|
throw new Error("Could not load Safe information");
|
|
140496
|
-
const { SafeAppProvider } = await import("./index-
|
|
140527
|
+
const { SafeAppProvider } = await import("./index-CHez94ii.js").then((n6) => n6.i);
|
|
140497
140528
|
provider_ = new SafeAppProvider(safe2, sdk);
|
|
140498
140529
|
}
|
|
140499
140530
|
return provider_;
|
|
@@ -140662,7 +140693,7 @@ function walletConnect(parameters) {
|
|
|
140662
140693
|
const optionalChains = config2.chains.map((x3) => x3.id);
|
|
140663
140694
|
if (!optionalChains.length)
|
|
140664
140695
|
return;
|
|
140665
|
-
const { EthereumProvider } = await import("./index.es-
|
|
140696
|
+
const { EthereumProvider } = await import("./index.es-CsP-xqkA.js");
|
|
140666
140697
|
return await EthereumProvider.init({
|
|
140667
140698
|
...parameters,
|
|
140668
140699
|
disableProviderPing: true,
|
|
@@ -140902,7 +140933,7 @@ export {
|
|
|
140902
140933
|
WuiConnectButton as P,
|
|
140903
140934
|
Qf as Q,
|
|
140904
140935
|
RouterController as R,
|
|
140905
|
-
|
|
140936
|
+
StorageUtil as S,
|
|
140906
140937
|
TransactionUtil as T,
|
|
140907
140938
|
UiHelperUtil as U,
|
|
140908
140939
|
Vi as V,
|
|
@@ -140912,7 +140943,7 @@ export {
|
|
|
140912
140943
|
WuiDetailsGroup as Z,
|
|
140913
140944
|
WuiDetailsGroupItem as _,
|
|
140914
140945
|
subscribe as a,
|
|
140915
|
-
|
|
140946
|
+
eventemitter3Exports as a$,
|
|
140916
140947
|
WuiEmailInput as a0,
|
|
140917
140948
|
WuiEnsInput as a1,
|
|
140918
140949
|
WuiIconBox as a2,
|
|
@@ -140945,11 +140976,11 @@ export {
|
|
|
140945
140976
|
WuiGrid as aT,
|
|
140946
140977
|
WuiSeparator as aU,
|
|
140947
140978
|
ApiController as aV,
|
|
140948
|
-
|
|
140949
|
-
|
|
140950
|
-
|
|
140951
|
-
|
|
140952
|
-
|
|
140979
|
+
SIWXUtil as aW,
|
|
140980
|
+
ThemeController as aX,
|
|
140981
|
+
Buffer$7 as aY,
|
|
140982
|
+
sha_jsExports as aZ,
|
|
140983
|
+
commonjsGlobal as a_,
|
|
140953
140984
|
WuiTransactionListItemLoader as aa,
|
|
140954
140985
|
WuiListWallet as ab,
|
|
140955
140986
|
WuiLogoSelect as ac,
|
|
@@ -140976,56 +141007,57 @@ export {
|
|
|
140976
141007
|
WuiListWalletTransaction as ax,
|
|
140977
141008
|
WuiPromo as ay,
|
|
140978
141009
|
WuiBalance as az,
|
|
140979
|
-
|
|
140980
|
-
|
|
140981
|
-
|
|
140982
|
-
|
|
140983
|
-
|
|
140984
|
-
|
|
140985
|
-
|
|
140986
|
-
|
|
140987
|
-
|
|
140988
|
-
|
|
140989
|
-
|
|
140990
|
-
|
|
140991
|
-
|
|
140992
|
-
|
|
140993
|
-
|
|
140994
|
-
|
|
140995
|
-
|
|
140996
|
-
index as bG,
|
|
140997
|
-
index
|
|
140998
|
-
|
|
140999
|
-
|
|
141000
|
-
|
|
141001
|
-
|
|
141002
|
-
|
|
141003
|
-
|
|
141004
|
-
|
|
141005
|
-
|
|
141006
|
-
|
|
141007
|
-
|
|
141008
|
-
|
|
141009
|
-
|
|
141010
|
-
|
|
141011
|
-
|
|
141012
|
-
|
|
141013
|
-
|
|
141014
|
-
|
|
141015
|
-
|
|
141016
|
-
|
|
141017
|
-
|
|
141018
|
-
|
|
141019
|
-
|
|
141020
|
-
|
|
141021
|
-
|
|
141022
|
-
|
|
141023
|
-
|
|
141024
|
-
|
|
141025
|
-
|
|
141026
|
-
|
|
141027
|
-
|
|
141028
|
-
|
|
141010
|
+
CoreHelperUtil as b,
|
|
141011
|
+
getDefaultExportFromCjs$2 as b0,
|
|
141012
|
+
bnExports as b1,
|
|
141013
|
+
eventsExports as b2,
|
|
141014
|
+
getAugmentedNamespace as b3,
|
|
141015
|
+
process$1 as b4,
|
|
141016
|
+
require_stream_readable$1 as b5,
|
|
141017
|
+
require_stream_writable$1 as b6,
|
|
141018
|
+
require_stream_duplex$1 as b7,
|
|
141019
|
+
_stream_transform$1 as b8,
|
|
141020
|
+
_stream_passthrough$1 as b9,
|
|
141021
|
+
snapshot$1 as bA,
|
|
141022
|
+
browser$2 as bB,
|
|
141023
|
+
createAppKit as bC,
|
|
141024
|
+
networks as bD,
|
|
141025
|
+
WagmiAdapter as bE,
|
|
141026
|
+
SolanaAdapter as bF,
|
|
141027
|
+
index$3 as bG,
|
|
141028
|
+
index as bH,
|
|
141029
|
+
index$1 as bI,
|
|
141030
|
+
endOfStream as ba,
|
|
141031
|
+
pipeline_1 as bb,
|
|
141032
|
+
BaseError$3 as bc,
|
|
141033
|
+
keccak256$1 as bd,
|
|
141034
|
+
concat$1 as be,
|
|
141035
|
+
encodeAbiParameters$1 as bf,
|
|
141036
|
+
toHex$1 as bg,
|
|
141037
|
+
numberToHex$1 as bh,
|
|
141038
|
+
isAddress$1 as bi,
|
|
141039
|
+
InvalidAddressError$1 as bj,
|
|
141040
|
+
size$5 as bk,
|
|
141041
|
+
BytesSizeMismatchError$1 as bl,
|
|
141042
|
+
stringToHex$1 as bm,
|
|
141043
|
+
bytesToHex$2 as bn,
|
|
141044
|
+
encodeFunctionData$1 as bo,
|
|
141045
|
+
Wo as bp,
|
|
141046
|
+
Ev as bq,
|
|
141047
|
+
Nr$1 as br,
|
|
141048
|
+
er$1 as bs,
|
|
141049
|
+
getUrl$1 as bt,
|
|
141050
|
+
stringify$3 as bu,
|
|
141051
|
+
decodeErrorResult$1 as bv,
|
|
141052
|
+
call$2 as bw,
|
|
141053
|
+
HttpRequestError$1 as bx,
|
|
141054
|
+
isHex$1 as by,
|
|
141055
|
+
global$1 as bz,
|
|
141056
|
+
ConnectionController as c,
|
|
141057
|
+
r$3 as d,
|
|
141058
|
+
customElement as e,
|
|
141059
|
+
SnackController as f,
|
|
141060
|
+
r$1 as g,
|
|
141029
141061
|
Wf as h,
|
|
141030
141062
|
i$5 as i,
|
|
141031
141063
|
b as j,
|
|
@@ -141046,4 +141078,4 @@ export {
|
|
|
141046
141078
|
WuiShimmer as y,
|
|
141047
141079
|
WuiText as z
|
|
141048
141080
|
};
|
|
141049
|
-
//# sourceMappingURL=appkit-
|
|
141081
|
+
//# sourceMappingURL=appkit-DHkto8Mc.js.map
|