@reown/appkit-cdn 1.5.0 → 1.5.1

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.
Files changed (32) hide show
  1. package/dist/{appkit-y5PIRWFO.js → appkit-Bj4EBGhh.js} +77 -50
  2. package/dist/{appkit-y5PIRWFO.js.map → appkit-Bj4EBGhh.js.map} +1 -1
  3. package/dist/appkit.js +1 -1
  4. package/dist/{ccip-C03GCuBX.js → ccip-CyjHlmgI.js} +2 -2
  5. package/dist/{ccip-C03GCuBX.js.map → ccip-CyjHlmgI.js.map} +1 -1
  6. package/dist/{hooks.module-DJkHSX52.js → hooks.module-DsIvkomV.js} +2 -2
  7. package/dist/{hooks.module-DJkHSX52.js.map → hooks.module-DsIvkomV.js.map} +1 -1
  8. package/dist/{index-DkdUpR3C.js → index-B44ykZ8F.js} +3 -3
  9. package/dist/{index-DkdUpR3C.js.map → index-B44ykZ8F.js.map} +1 -1
  10. package/dist/{index-Ld5Fc5QT.js → index-BNg_0OD8.js} +2 -2
  11. package/dist/{index-Ld5Fc5QT.js.map → index-BNg_0OD8.js.map} +1 -1
  12. package/dist/{index-D47vSgLd.js → index-BfZBUPAg.js} +24 -11
  13. package/dist/{index-D47vSgLd.js.map → index-BfZBUPAg.js.map} +1 -1
  14. package/dist/{index-D8_tt30S.js → index-CGkcUEol.js} +3 -3
  15. package/dist/{index-D8_tt30S.js.map → index-CGkcUEol.js.map} +1 -1
  16. package/dist/{index-h2iUyoS6.js → index-CY2a3BNf.js} +3 -3
  17. package/dist/{index-h2iUyoS6.js.map → index-CY2a3BNf.js.map} +1 -1
  18. package/dist/{index-DnxSMsvF.js → index-D-s01jSg.js} +2 -2
  19. package/dist/{index-DnxSMsvF.js.map → index-D-s01jSg.js.map} +1 -1
  20. package/dist/{index-D7sEH1DY.js → index-nCWEzX5p.js} +3 -3
  21. package/dist/{index-D7sEH1DY.js.map → index-nCWEzX5p.js.map} +1 -1
  22. package/dist/{index-cXC8Agyj.js → index-s2tJo3Da.js} +3 -3
  23. package/dist/{index-cXC8Agyj.js.map → index-s2tJo3Da.js.map} +1 -1
  24. package/dist/{index.es-CMQGKDEt.js → index.es-wYi3XCfk.js} +3 -3
  25. package/dist/{index.es-CMQGKDEt.js.map → index.es-wYi3XCfk.js.map} +1 -1
  26. package/dist/{metamask-sdk-DwaMoOM0.js → metamask-sdk-qeVR6GsM.js} +2 -2
  27. package/dist/{metamask-sdk-DwaMoOM0.js.map → metamask-sdk-qeVR6GsM.js.map} +1 -1
  28. package/dist/{native-Lf3U4t-K.js → native-BI13pQbK.js} +2 -2
  29. package/dist/{native-Lf3U4t-K.js.map → native-BI13pQbK.js.map} +1 -1
  30. package/dist/{w3m-modal-D52_Lk0D.js → w3m-modal-eZ7-ABG1.js} +2 -2
  31. package/dist/{w3m-modal-D52_Lk0D.js.map → w3m-modal-eZ7-ABG1.js.map} +1 -1
  32. package/package.json +7 -7
@@ -5642,6 +5642,7 @@ var browserExports = browser$h.exports;
5642
5642
  const process$1 = /* @__PURE__ */ getDefaultExportFromCjs$1(browserExports);
5643
5643
  const SECURE_SITE_SDK = process$1.env["NEXT_PUBLIC_SECURE_SITE_SDK_URL"] || "https://secure.walletconnect.org/sdk";
5644
5644
  const DEFAULT_LOG_LEVEL = process$1.env["NEXT_PUBLIC_DEFAULT_LOG_LEVEL"] || "error";
5645
+ const SECURE_SITE_SDK_VERSION = process$1.env["NEXT_PUBLIC_SECURE_SITE_SDK_VERSION"] || 2;
5645
5646
  const W3mFrameConstants = {
5646
5647
  APP_EVENT_KEY: "@w3m-app/",
5647
5648
  FRAME_EVENT_KEY: "@w3m-frame/",
@@ -10011,6 +10012,12 @@ class W3mFrame {
10011
10012
  constructor(projectId, isAppClient = false, chainId = "eip155:1") {
10012
10013
  this.iframe = null;
10013
10014
  this.rpcUrl = ConstantsUtil$3.BLOCKCHAIN_API_RPC_URL;
10015
+ this.initFrame = () => {
10016
+ const isFrameInitialized = document.getElementById("w3m-iframe");
10017
+ if (this.iframe && !isFrameInitialized) {
10018
+ document.body.appendChild(this.iframe);
10019
+ }
10020
+ };
10014
10021
  this.events = {
10015
10022
  registerFrameEventHandler: (id, callback, signal) => {
10016
10023
  function eventHandler({ data: data2 }) {
@@ -10083,7 +10090,7 @@ class W3mFrame {
10083
10090
  if (W3mFrameHelpers.isClient) {
10084
10091
  const iframe = document.createElement("iframe");
10085
10092
  iframe.id = "w3m-iframe";
10086
- iframe.src = `${SECURE_SITE_SDK}?projectId=${projectId}&chainId=${chainId}`;
10093
+ iframe.src = `${SECURE_SITE_SDK}?projectId=${projectId}&chainId=${chainId}&version=${SECURE_SITE_SDK_VERSION}`;
10087
10094
  iframe.name = "w3m-secure-iframe";
10088
10095
  iframe.style.position = "fixed";
10089
10096
  iframe.style.zIndex = "999999";
@@ -10091,16 +10098,17 @@ class W3mFrame {
10091
10098
  iframe.style.animationDelay = "0s, 50ms";
10092
10099
  iframe.style.borderBottomLeftRadius = `clamp(0px, var(--wui-border-radius-l), 44px)`;
10093
10100
  iframe.style.borderBottomRightRadius = `clamp(0px, var(--wui-border-radius-l), 44px)`;
10094
- document.body.appendChild(iframe);
10095
10101
  this.iframe = iframe;
10096
- this.iframe.onload = () => {
10097
- var _a3;
10098
- (_a3 = this.frameLoadPromiseResolver) == null ? void 0 : _a3.resolve(void 0);
10099
- };
10100
10102
  this.iframe.onerror = () => {
10101
10103
  var _a3;
10102
10104
  (_a3 = this.frameLoadPromiseResolver) == null ? void 0 : _a3.reject("Unable to load email login dependency");
10103
10105
  };
10106
+ this.events.onFrameEvent((event) => {
10107
+ var _a3;
10108
+ if (event.type === "@w3m-frame/READY") {
10109
+ (_a3 = this.frameLoadPromiseResolver) == null ? void 0 : _a3.resolve(void 0);
10110
+ }
10111
+ });
10104
10112
  }
10105
10113
  }
10106
10114
  }
@@ -10808,6 +10816,9 @@ class W3mFrameProvider {
10808
10816
  this.w3mLogger = new W3mFrameLogger(projectId);
10809
10817
  this.w3mFrame = new W3mFrame(projectId, true, chainId);
10810
10818
  this.onTimeout = onTimeout;
10819
+ if (this.getLoginEmailUsed()) {
10820
+ this.w3mFrame.initFrame();
10821
+ }
10811
10822
  }
10812
10823
  getLoginEmailUsed() {
10813
10824
  return Boolean(W3mFrameStorage.get(W3mFrameConstants.EMAIL_LOGIN_USED_KEY));
@@ -10818,6 +10829,7 @@ class W3mFrameProvider {
10818
10829
  async connectEmail(payload) {
10819
10830
  try {
10820
10831
  W3mFrameHelpers.checkIfAllowedToTriggerEmail();
10832
+ this.w3mFrame.initFrame();
10821
10833
  const response = await this.appEvent({
10822
10834
  type: W3mFrameConstants.APP_CONNECT_EMAIL,
10823
10835
  payload
@@ -10879,6 +10891,7 @@ class W3mFrameProvider {
10879
10891
  }
10880
10892
  async getSocialRedirectUri(payload) {
10881
10893
  try {
10894
+ this.w3mFrame.initFrame();
10882
10895
  return this.appEvent({
10883
10896
  type: W3mFrameConstants.APP_GET_SOCIAL_REDIRECT_URI,
10884
10897
  payload
@@ -11016,6 +11029,7 @@ class W3mFrameProvider {
11016
11029
  }
11017
11030
  async getFarcasterUri() {
11018
11031
  try {
11032
+ this.w3mFrame.initFrame();
11019
11033
  const response = await this.appEvent({
11020
11034
  type: W3mFrameConstants.APP_GET_FARCASTER_URI
11021
11035
  });
@@ -12032,7 +12046,7 @@ const SwapController = {
12032
12046
  invalidSourceToken,
12033
12047
  invalidSourceTokenAmount,
12034
12048
  availableToSwap: caipAddress && !invalidToToken && !invalidSourceToken && !invalidSourceTokenAmount,
12035
- isAuthConnector: type2 === "AUTH"
12049
+ isAuthConnector: type2 === "ID_AUTH"
12036
12050
  };
12037
12051
  },
12038
12052
  setSourceToken(sourceToken) {
@@ -12437,7 +12451,8 @@ const SwapController = {
12437
12451
  to: data2.to,
12438
12452
  data: data2.data,
12439
12453
  value: BigInt(data2.value),
12440
- gasPrice: BigInt(data2.gasPrice)
12454
+ gasPrice: BigInt(data2.gasPrice),
12455
+ chainNamespace: "eip155"
12441
12456
  });
12442
12457
  await this.swapTokens();
12443
12458
  await this.getTransaction();
@@ -12479,7 +12494,8 @@ const SwapController = {
12479
12494
  data: data2.data,
12480
12495
  gas: data2.gas,
12481
12496
  gasPrice: BigInt(data2.gasPrice),
12482
- value: data2.value
12497
+ value: data2.value,
12498
+ chainNamespace: "eip155"
12483
12499
  });
12484
12500
  state$e.loadingTransaction = false;
12485
12501
  SnackController.showSuccess(snackbarSuccessMessage);
@@ -21957,7 +21973,7 @@ function requireCipherBase() {
21957
21973
  if (this.hashMode) {
21958
21974
  this[hashMode] = this._finalOrDigest;
21959
21975
  } else {
21960
- this.final = this._finalOrDigest;
21976
+ this["final"] = this._finalOrDigest;
21961
21977
  }
21962
21978
  if (this._final) {
21963
21979
  this.__final = this._final;
@@ -21967,13 +21983,27 @@ function requireCipherBase() {
21967
21983
  this._encoding = null;
21968
21984
  }
21969
21985
  inherits2(CipherBase, Transform2);
21986
+ var useUint8Array = typeof Uint8Array !== "undefined";
21987
+ var useArrayBuffer = typeof ArrayBuffer !== "undefined" && typeof Uint8Array !== "undefined" && ArrayBuffer.isView && (Buffer2.prototype instanceof Uint8Array || Buffer2.TYPED_ARRAY_SUPPORT);
21970
21988
  CipherBase.prototype.update = function(data2, inputEnc, outputEnc) {
21971
- if (typeof data2 === "string") {
21972
- data2 = Buffer2.from(data2, inputEnc);
21989
+ var bufferData;
21990
+ if (data2 instanceof Buffer2) {
21991
+ bufferData = data2;
21992
+ } else if (typeof data2 === "string") {
21993
+ bufferData = Buffer2.from(data2, inputEnc);
21994
+ } else if (useArrayBuffer && ArrayBuffer.isView(data2)) {
21995
+ bufferData = Buffer2.from(data2.buffer, data2.byteOffset, data2.byteLength);
21996
+ } else if (useUint8Array && data2 instanceof Uint8Array) {
21997
+ bufferData = Buffer2.from(data2);
21998
+ } else if (Buffer2.isBuffer(data2) && data2.constructor && data2.constructor.isBuffer && data2.constructor.isBuffer(data2)) {
21999
+ bufferData = Buffer2.from(data2);
22000
+ } else {
22001
+ throw new Error('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.');
21973
22002
  }
21974
- var outData = this._update(data2);
21975
- if (this.hashMode)
22003
+ var outData = this._update(bufferData);
22004
+ if (this.hashMode) {
21976
22005
  return this;
22006
+ }
21977
22007
  if (outputEnc) {
21978
22008
  outData = this._toString(outData, outputEnc);
21979
22009
  }
@@ -22025,8 +22055,9 @@ function requireCipherBase() {
22025
22055
  this._decoder = new StringDecoder(enc);
22026
22056
  this._encoding = enc;
22027
22057
  }
22028
- if (this._encoding !== enc)
22029
- throw new Error("can't switch encodings");
22058
+ if (this._encoding !== enc) {
22059
+ throw new Error("cant switch encodings");
22060
+ }
22030
22061
  var out = this._decoder.write(value);
22031
22062
  if (fin) {
22032
22063
  out += this._decoder.end();
@@ -59383,9 +59414,18 @@ const SIWXUtil = {
59383
59414
  const address = CoreHelperUtil.getPlainAddress(ChainController.getActiveCaipAddress());
59384
59415
  const network = ChainController.getActiveCaipNetwork();
59385
59416
  const client = ConnectionController._getClient();
59386
- if (!(siwx && address && network && client)) {
59417
+ if (!siwx) {
59387
59418
  throw new Error("SIWX is not enabled");
59388
59419
  }
59420
+ if (!address) {
59421
+ throw new Error("No ActiveCaipAddress found");
59422
+ }
59423
+ if (!network) {
59424
+ throw new Error("No ActiveCaipNetwork or client found");
59425
+ }
59426
+ if (!client) {
59427
+ throw new Error("No ConnectionController client found");
59428
+ }
59389
59429
  try {
59390
59430
  const siwxMessage = await siwx.createMessage({
59391
59431
  chainId: network.caipNetworkId,
@@ -78589,7 +78629,7 @@ async function call$2(client, args) {
78589
78629
  return { data: response };
78590
78630
  } catch (err) {
78591
78631
  const data3 = getRevertErrorData$1(err);
78592
- const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-C03GCuBX.js");
78632
+ const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-CyjHlmgI.js");
78593
78633
  if (client.ccipRead !== false && (data3 == null ? void 0 : data3.slice(0, 10)) === offchainLookupSignature2 && to2)
78594
78634
  return { data: await offchainLookup2(client, { data: data3, to: to2 }) };
78595
78635
  if (deploylessCall && (data3 == null ? void 0 : data3.slice(0, 10)) === "0x101bb98d")
@@ -93401,7 +93441,7 @@ const WcHelpersUtil = {
93401
93441
  case solana.caipNetworkId:
93402
93442
  namespace.chains.push(solana.deprecatedCaipNetworkId);
93403
93443
  break;
93404
- case solanaDevnet.deprecatedCaipNetworkId:
93444
+ case solanaDevnet.caipNetworkId:
93405
93445
  namespace.chains.push(solanaDevnet.deprecatedCaipNetworkId);
93406
93446
  break;
93407
93447
  }
@@ -94098,7 +94138,7 @@ class AppKit {
94098
94138
  if (options.siwx) {
94099
94139
  throw new Error("Cannot set both `siweConfig` and `siwx` options");
94100
94140
  }
94101
- const siwe = await import("./index-D47vSgLd.js");
94141
+ const siwe = await import("./index-BfZBUPAg.js");
94102
94142
  if (typeof siwe.mapToSIWX !== "function") {
94103
94143
  throw new Error("Please update the `@reown/appkit-siwe` package to the latest version");
94104
94144
  }
@@ -94892,8 +94932,8 @@ class AppKit {
94892
94932
  isInitialized = true;
94893
94933
  this.initPromise = new Promise(async (resolve) => {
94894
94934
  await Promise.all([
94895
- import("./index-D7sEH1DY.js"),
94896
- import("./w3m-modal-D52_Lk0D.js")
94935
+ import("./index-nCWEzX5p.js"),
94936
+ import("./w3m-modal-eZ7-ABG1.js")
94897
94937
  ]);
94898
94938
  const modal = document.createElement("w3m-modal");
94899
94939
  if (!OptionsController.state.disableAppend) {
@@ -94905,7 +94945,7 @@ class AppKit {
94905
94945
  return this.initPromise;
94906
94946
  }
94907
94947
  }
94908
- const PACKAGE_VERSION = "1.5.0";
94948
+ const PACKAGE_VERSION = "1.5.1";
94909
94949
  var __decorate$1J = function(decorators, target, key2, desc) {
94910
94950
  var c2 = arguments.length, r4 = c2 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key2) : desc, d4;
94911
94951
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
@@ -111557,7 +111597,6 @@ walletConnect$1.type = "walletConnect";
111557
111597
  function walletConnect$1(parameters, appKit, caipNetworks) {
111558
111598
  const isNewChainsStale = parameters.isNewChainsStale ?? true;
111559
111599
  let provider_;
111560
- let providerPromise;
111561
111600
  let accountsChanged;
111562
111601
  let chainChanged;
111563
111602
  let connect2;
@@ -111682,22 +111721,8 @@ function walletConnect$1(parameters, appKit, caipNetworks) {
111682
111721
  },
111683
111722
  async getProvider({ chainId } = {}) {
111684
111723
  var _a3, _b2;
111685
- async function initProvider() {
111686
- const optionalChains = caipNetworks.map((x3) => Number(x3.id));
111687
- if (!optionalChains.length) {
111688
- return void 0;
111689
- }
111690
- const provider = await appKit.getUniversalProvider();
111691
- if (!provider) {
111692
- throw new Error("Provider not found");
111693
- }
111694
- return provider;
111695
- }
111696
111724
  if (!provider_) {
111697
- if (!providerPromise) {
111698
- providerPromise = initProvider();
111699
- }
111700
- provider_ = await providerPromise;
111725
+ provider_ = await appKit.getUniversalProvider();
111701
111726
  provider_ == null ? void 0 : provider_.events.setMaxListeners(Number.POSITIVE_INFINITY);
111702
111727
  }
111703
111728
  const currentChainId = (_a3 = appKit.getCaipNetwork()) == null ? void 0 : _a3.id;
@@ -111807,6 +111832,7 @@ function walletConnect$1(parameters, appKit, caipNetworks) {
111807
111832
  async onConnect(connectInfo) {
111808
111833
  const chainId = Number(connectInfo.chainId);
111809
111834
  const accounts = await this.getAccounts();
111835
+ this.setRequestedChainsIds(caipNetworks.map((x3) => Number(x3.id)));
111810
111836
  config2.emitter.emit("connect", { accounts, chainId });
111811
111837
  },
111812
111838
  async onDisconnect(_error) {
@@ -111960,7 +111986,7 @@ function version4$1(parameters) {
111960
111986
  async getProvider() {
111961
111987
  if (!walletProvider) {
111962
111988
  const CoinbaseWalletSDK = await (async () => {
111963
- const { default: SDK } = await import("./index-cXC8Agyj.js").then((n6) => n6.i);
111989
+ const { default: SDK } = await import("./index-s2tJo3Da.js").then((n6) => n6.i);
111964
111990
  if (typeof SDK !== "function" && typeof SDK.default === "function")
111965
111991
  return SDK.default;
111966
111992
  return SDK;
@@ -112139,7 +112165,7 @@ function version3$1(parameters) {
112139
112165
  var _a3;
112140
112166
  if (!walletProvider) {
112141
112167
  const CoinbaseWalletSDK = await (async () => {
112142
- const { default: SDK } = await import("./index-D8_tt30S.js").then((n6) => n6.i);
112168
+ const { default: SDK } = await import("./index-CGkcUEol.js").then((n6) => n6.i);
112143
112169
  if (typeof SDK !== "function" && typeof SDK.default === "function")
112144
112170
  return SDK.default;
112145
112171
  return SDK;
@@ -113249,6 +113275,7 @@ class WagmiAdapter extends AdapterBlueprint {
113249
113275
  filteredConnectors.forEach((connector) => {
113250
113276
  var _a3;
113251
113277
  const shouldSkip = ConstantsUtil$1.AUTH_CONNECTOR_ID === connector.id;
113278
+ const injectedConnector = connector.id === ConstantsUtil$1.INJECTED_CONNECTOR_ID;
113252
113279
  if (!shouldSkip && this.namespace) {
113253
113280
  this.addConnector({
113254
113281
  id: connector.id,
@@ -113257,7 +113284,7 @@ class WagmiAdapter extends AdapterBlueprint {
113257
113284
  name: PresetsUtil.ConnectorNamesMap[connector.id] ?? connector.name,
113258
113285
  imageId: PresetsUtil.ConnectorImageIds[connector.id],
113259
113286
  type: PresetsUtil.ConnectorTypesMap[connector.type] ?? "EXTERNAL",
113260
- info: { rdns: connector.id },
113287
+ info: injectedConnector ? void 0 : { rdns: connector.id },
113261
113288
  chain: this.namespace,
113262
113289
  chains: []
113263
113290
  });
@@ -133670,7 +133697,7 @@ async function getWebSocketRpcClient(url, options = {}) {
133670
133697
  const { keepAlive, reconnect: reconnect2 } = options;
133671
133698
  return getSocketRpcClient({
133672
133699
  async getSocket({ onClose, onError, onOpen, onResponse }) {
133673
- const WebSocket2 = await import("./native-Lf3U4t-K.js").then((module) => module.WebSocket);
133700
+ const WebSocket2 = await import("./native-BI13pQbK.js").then((module) => module.WebSocket);
133674
133701
  const socket = new WebSocket2(url);
133675
133702
  function onClose_() {
133676
133703
  onClose();
@@ -139806,7 +139833,7 @@ function version4(parameters) {
139806
139833
  async getProvider() {
139807
139834
  if (!walletProvider) {
139808
139835
  const CoinbaseWalletSDK = await (async () => {
139809
- const { default: SDK } = await import("./index-cXC8Agyj.js").then((n6) => n6.i);
139836
+ const { default: SDK } = await import("./index-s2tJo3Da.js").then((n6) => n6.i);
139810
139837
  if (typeof SDK !== "function" && typeof SDK.default === "function")
139811
139838
  return SDK.default;
139812
139839
  return SDK;
@@ -139985,7 +140012,7 @@ function version3(parameters) {
139985
140012
  var _a3;
139986
140013
  if (!walletProvider) {
139987
140014
  const CoinbaseWalletSDK = await (async () => {
139988
- const { default: SDK } = await import("./index-D8_tt30S.js").then((n6) => n6.i);
140015
+ const { default: SDK } = await import("./index-CGkcUEol.js").then((n6) => n6.i);
139989
140016
  if (typeof SDK !== "function" && typeof SDK.default === "function")
139990
140017
  return SDK.default;
139991
140018
  return SDK;
@@ -140191,7 +140218,7 @@ function metaMask(parameters = {}) {
140191
140218
  async getProvider() {
140192
140219
  async function initProvider() {
140193
140220
  const MetaMaskSDK = await (async () => {
140194
- const { default: SDK } = await import("./metamask-sdk-DwaMoOM0.js").then((n6) => n6.m);
140221
+ const { default: SDK } = await import("./metamask-sdk-qeVR6GsM.js").then((n6) => n6.m);
140195
140222
  if (typeof SDK !== "function" && typeof SDK.default === "function")
140196
140223
  return SDK.default;
140197
140224
  return SDK;
@@ -140422,14 +140449,14 @@ function safe(parameters = {}) {
140422
140449
  if (!isIframe)
140423
140450
  return;
140424
140451
  if (!provider_) {
140425
- const { default: SDK } = await import("./index-Ld5Fc5QT.js");
140452
+ const { default: SDK } = await import("./index-BNg_0OD8.js");
140426
140453
  const sdk = new SDK(parameters);
140427
140454
  const safe2 = await withTimeout(() => sdk.safe.getInfo(), {
140428
140455
  timeout: parameters.unstable_getInfoTimeout ?? 10
140429
140456
  });
140430
140457
  if (!safe2)
140431
140458
  throw new Error("Could not load Safe information");
140432
- const { SafeAppProvider } = await import("./index-DnxSMsvF.js").then((n6) => n6.i);
140459
+ const { SafeAppProvider } = await import("./index-D-s01jSg.js").then((n6) => n6.i);
140433
140460
  provider_ = new SafeAppProvider(safe2, sdk);
140434
140461
  }
140435
140462
  return provider_;
@@ -140598,7 +140625,7 @@ function walletConnect(parameters) {
140598
140625
  const optionalChains = config2.chains.map((x3) => x3.id);
140599
140626
  if (!optionalChains.length)
140600
140627
  return;
140601
- const { EthereumProvider } = await import("./index.es-CMQGKDEt.js");
140628
+ const { EthereumProvider } = await import("./index.es-wYi3XCfk.js");
140602
140629
  return await EthereumProvider.init({
140603
140630
  ...parameters,
140604
140631
  disableProviderPing: true,
@@ -140983,4 +141010,4 @@ export {
140983
141010
  WuiShimmer as y,
140984
141011
  WuiText as z
140985
141012
  };
140986
- //# sourceMappingURL=appkit-y5PIRWFO.js.map
141013
+ //# sourceMappingURL=appkit-Bj4EBGhh.js.map