@web3auth/no-modal 10.0.5 → 10.0.6

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.
@@ -145,7 +145,7 @@ const getWalletServicesAnalyticsProperties = walletServicesConfig => {
145
145
  ws_default_portfolio: walletServicesConfig === null || walletServicesConfig === void 0 || (_walletServicesConfig1 = walletServicesConfig.whiteLabel) === null || _walletServicesConfig1 === void 0 ? void 0 : _walletServicesConfig1.defaultPortfolio
146
146
  };
147
147
  };
148
- const sdkVersion = "10.0.5";
148
+ const sdkVersion = "10.0.6";
149
149
  const getErrorAnalyticsProperties = error => {
150
150
  try {
151
151
  const code = error instanceof index.Web3AuthError ? error.code : error === null || error === void 0 ? void 0 : error.code;
@@ -295,8 +295,8 @@ class AuthConnector extends baseConnector.BaseConnector {
295
295
  groupedAuthConnectionId
296
296
  } = params;
297
297
  const providerConfig = this.authConnectionConfig.find(x => {
298
- if (groupedAuthConnectionId) {
299
- return x.authConnection === authConnection && x.groupedAuthConnectionId === groupedAuthConnectionId;
298
+ if (groupedAuthConnectionId && authConnectionId) {
299
+ return x.authConnection === authConnection && x.groupedAuthConnectionId === groupedAuthConnectionId && x.authConnectionId === authConnectionId;
300
300
  }
301
301
  if (authConnectionId) {
302
302
  return x.authConnection === authConnection && x.authConnectionId === authConnectionId;
@@ -145,7 +145,7 @@ const getWalletServicesAnalyticsProperties = walletServicesConfig => {
145
145
  ws_default_portfolio: walletServicesConfig === null || walletServicesConfig === void 0 || (_walletServicesConfig1 = walletServicesConfig.whiteLabel) === null || _walletServicesConfig1 === void 0 ? void 0 : _walletServicesConfig1.defaultPortfolio
146
146
  };
147
147
  };
148
- const sdkVersion = "10.0.5";
148
+ const sdkVersion = "10.0.6";
149
149
  const getErrorAnalyticsProperties = error => {
150
150
  try {
151
151
  const code = error instanceof Web3AuthError ? error.code : error === null || error === void 0 ? void 0 : error.code;
@@ -294,8 +294,8 @@ class AuthConnector extends BaseConnector {
294
294
  groupedAuthConnectionId
295
295
  } = params;
296
296
  const providerConfig = this.authConnectionConfig.find(x => {
297
- if (groupedAuthConnectionId) {
298
- return x.authConnection === authConnection && x.groupedAuthConnectionId === groupedAuthConnectionId;
297
+ if (groupedAuthConnectionId && authConnectionId) {
298
+ return x.authConnection === authConnection && x.groupedAuthConnectionId === groupedAuthConnectionId && x.authConnectionId === authConnectionId;
299
299
  }
300
300
  if (authConnectionId) {
301
301
  return x.authConnection === authConnection && x.authConnectionId === authConnectionId;