@web3auth/no-modal 9.3.0 → 9.3.2

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.
@@ -250,7 +250,7 @@ class Web3AuthNoModal extends auth.SafeEventEmitter {
250
250
  let finalProvider = provider.provider || provider;
251
251
  // setup aa provider after adapter is connected and private key provider is setup
252
252
  if (this.coreOptions.accountAbstractionProvider && (data.adapter === base.WALLET_ADAPTERS.AUTH || data.adapter !== base.WALLET_ADAPTERS.AUTH && this.coreOptions.useAAWithExternalWallet)) {
253
- await this.coreOptions.accountAbstractionProvider.setupProvider(provider);
253
+ await this.coreOptions.accountAbstractionProvider.setupProvider(provider); // Don't change this to finalProvider
254
254
  finalProvider = this.coreOptions.accountAbstractionProvider;
255
255
  }
256
256
  this.commonJRPCProvider.updateProviderEngineProxy(finalProvider);
@@ -248,7 +248,7 @@ class Web3AuthNoModal extends SafeEventEmitter {
248
248
  let finalProvider = provider.provider || provider;
249
249
  // setup aa provider after adapter is connected and private key provider is setup
250
250
  if (this.coreOptions.accountAbstractionProvider && (data.adapter === WALLET_ADAPTERS.AUTH || data.adapter !== WALLET_ADAPTERS.AUTH && this.coreOptions.useAAWithExternalWallet)) {
251
- await this.coreOptions.accountAbstractionProvider.setupProvider(provider);
251
+ await this.coreOptions.accountAbstractionProvider.setupProvider(provider); // Don't change this to finalProvider
252
252
  finalProvider = this.coreOptions.accountAbstractionProvider;
253
253
  }
254
254
  this.commonJRPCProvider.updateProviderEngineProxy(finalProvider);
@@ -321,7 +321,7 @@ class Web3AuthNoModal extends auth_namespaceObject.SafeEventEmitter {
321
321
  let finalProvider = provider.provider || provider;
322
322
  // setup aa provider after adapter is connected and private key provider is setup
323
323
  if (this.coreOptions.accountAbstractionProvider && (data.adapter === base_namespaceObject.WALLET_ADAPTERS.AUTH || data.adapter !== base_namespaceObject.WALLET_ADAPTERS.AUTH && this.coreOptions.useAAWithExternalWallet)) {
324
- await this.coreOptions.accountAbstractionProvider.setupProvider(provider);
324
+ await this.coreOptions.accountAbstractionProvider.setupProvider(provider); // Don't change this to finalProvider
325
325
  finalProvider = this.coreOptions.accountAbstractionProvider;
326
326
  }
327
327
  this.commonJRPCProvider.updateProviderEngineProxy(finalProvider);
@@ -248,7 +248,7 @@ class Web3AuthNoModal extends SafeEventEmitter {
248
248
  let finalProvider = provider.provider || provider;
249
249
  // setup aa provider after adapter is connected and private key provider is setup
250
250
  if (this.coreOptions.accountAbstractionProvider && (data.adapter === WALLET_ADAPTERS.AUTH || data.adapter !== WALLET_ADAPTERS.AUTH && this.coreOptions.useAAWithExternalWallet)) {
251
- await this.coreOptions.accountAbstractionProvider.setupProvider(provider);
251
+ await this.coreOptions.accountAbstractionProvider.setupProvider(provider); // Don't change this to finalProvider
252
252
  finalProvider = this.coreOptions.accountAbstractionProvider;
253
253
  }
254
254
  this.commonJRPCProvider.updateProviderEngineProxy(finalProvider);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@web3auth/no-modal",
3
- "version": "9.3.0",
3
+ "version": "9.3.2",
4
4
  "description": "Multi chain wallet aggregator for web3Auth",
5
5
  "keywords": [
6
6
  "web3Auth/no-modal",
@@ -43,7 +43,7 @@
43
43
  "deepmerge": "^4.3.1"
44
44
  },
45
45
  "devDependencies": {
46
- "@web3auth/account-abstraction-provider": "^9.3.0",
46
+ "@web3auth/account-abstraction-provider": "^9.3.1",
47
47
  "@web3auth/auth-adapter": "^9.3.0",
48
48
  "@web3auth/wallet-connect-v2-adapter": "^9.3.0"
49
49
  },
@@ -75,5 +75,5 @@
75
75
  "node": ">=18.x",
76
76
  "npm": ">=9.x"
77
77
  },
78
- "gitHead": "155aa1203af816c93503c28d39bf287293782cf0"
78
+ "gitHead": "4fd02c63a6a6184d687b37d0b2fe484d869dacc2"
79
79
  }