@dynamic-labs-sdk/client 0.26.2 → 0.26.4
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/{InvalidParamError-BttrR5Xr.native.esm.js → InvalidParamError-CB0LQwcO.native.esm.js} +2 -2
- package/dist/{InvalidParamError-BttrR5Xr.native.esm.js.map → InvalidParamError-CB0LQwcO.native.esm.js.map} +1 -1
- package/dist/{InvalidParamError-AFY3c1k3.esm.js → InvalidParamError-CaO8zuAt.esm.js} +2 -2
- package/dist/{InvalidParamError-AFY3c1k3.esm.js.map → InvalidParamError-CaO8zuAt.esm.js.map} +1 -1
- package/dist/{InvalidParamError-DHBA8UJq.cjs → InvalidParamError-D745dtMS.cjs} +3 -3
- package/dist/{InvalidParamError-DHBA8UJq.cjs.map → InvalidParamError-D745dtMS.cjs.map} +1 -1
- package/dist/{NotWaasWalletAccountError-DuENwDTQ.esm.js → NotWaasWalletAccountError-D9HOBza_.esm.js} +3 -3
- package/dist/{NotWaasWalletAccountError-DuENwDTQ.esm.js.map → NotWaasWalletAccountError-D9HOBza_.esm.js.map} +1 -1
- package/dist/{NotWaasWalletAccountError-7itUrzR3.cjs → NotWaasWalletAccountError-DEZeNnLy.cjs} +3 -3
- package/dist/{NotWaasWalletAccountError-7itUrzR3.cjs.map → NotWaasWalletAccountError-DEZeNnLy.cjs.map} +1 -1
- package/dist/{NotWaasWalletAccountError-BjIjunOF.native.esm.js → NotWaasWalletAccountError-VxTJzIUw.native.esm.js} +3 -3
- package/dist/{NotWaasWalletAccountError-BjIjunOF.native.esm.js.map → NotWaasWalletAccountError-VxTJzIUw.native.esm.js.map} +1 -1
- package/dist/client/core/createCore/createCore.d.ts.map +1 -1
- package/dist/core.cjs +6 -5
- package/dist/core.cjs.map +1 -1
- package/dist/core.esm.js +8 -8
- package/dist/core.esm.js.map +1 -1
- package/dist/core.native.esm.js +6 -6
- package/dist/core.native.esm.js.map +1 -1
- package/dist/exports/core.d.ts +2 -0
- package/dist/exports/core.d.ts.map +1 -1
- package/dist/{getNetworkProviderFromNetworkId-CX9hWoMI.cjs → getNetworkProviderFromNetworkId-C0hhJBuw.cjs} +24 -4
- package/dist/getNetworkProviderFromNetworkId-C0hhJBuw.cjs.map +1 -0
- package/dist/{getNetworkProviderFromNetworkId-BjoqaHZV.esm.js → getNetworkProviderFromNetworkId-DS1xtXK3.esm.js} +23 -9
- package/dist/getNetworkProviderFromNetworkId-DS1xtXK3.esm.js.map +1 -0
- package/dist/{getNetworkProviderFromNetworkId-et4sUp6r.native.esm.js → getNetworkProviderFromNetworkId-De1Y__cK.native.esm.js} +19 -5
- package/dist/getNetworkProviderFromNetworkId-De1Y__cK.native.esm.js.map +1 -0
- package/dist/{getSignedSessionId-BdtcVctl.cjs → getSignedSessionId-BEHO1AHh.cjs} +3 -3
- package/dist/{getSignedSessionId-BdtcVctl.cjs.map → getSignedSessionId-BEHO1AHh.cjs.map} +1 -1
- package/dist/{getSignedSessionId-C_M3FSTt.native.esm.js → getSignedSessionId-Dez0C64D.native.esm.js} +3 -3
- package/dist/{getSignedSessionId-C_M3FSTt.native.esm.js.map → getSignedSessionId-Dez0C64D.native.esm.js.map} +1 -1
- package/dist/{getSignedSessionId-DqUDOVVW.esm.js → getSignedSessionId-DrqGRbMx.esm.js} +3 -3
- package/dist/{getSignedSessionId-DqUDOVVW.esm.js.map → getSignedSessionId-DrqGRbMx.esm.js.map} +1 -1
- package/dist/{getVerifiedCredentialForWalletAccount-CesXmLfZ.esm.js → getVerifiedCredentialForWalletAccount-BHVopHZ0.esm.js} +2 -2
- package/dist/{getVerifiedCredentialForWalletAccount-CesXmLfZ.esm.js.map → getVerifiedCredentialForWalletAccount-BHVopHZ0.esm.js.map} +1 -1
- package/dist/{getVerifiedCredentialForWalletAccount-DAaECvaF.cjs → getVerifiedCredentialForWalletAccount-C-21KB51.cjs} +3 -3
- package/dist/{getVerifiedCredentialForWalletAccount-DAaECvaF.cjs.map → getVerifiedCredentialForWalletAccount-C-21KB51.cjs.map} +1 -1
- package/dist/{getVerifiedCredentialForWalletAccount-BWOJo1VW.native.esm.js → getVerifiedCredentialForWalletAccount-DPdNYxR1.native.esm.js} +2 -2
- package/dist/{getVerifiedCredentialForWalletAccount-BWOJo1VW.native.esm.js.map → getVerifiedCredentialForWalletAccount-DPdNYxR1.native.esm.js.map} +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +9 -9
- package/dist/index.esm.js.map +1 -1
- package/dist/index.native.esm.js +6 -6
- package/dist/index.native.esm.js.map +1 -1
- package/dist/{isMfaRequiredForAction-v23jNLB1.native.esm.js → isMfaRequiredForAction-BCmIa8zG.native.esm.js} +2 -2
- package/dist/{isMfaRequiredForAction-v23jNLB1.native.esm.js.map → isMfaRequiredForAction-BCmIa8zG.native.esm.js.map} +1 -1
- package/dist/{isMfaRequiredForAction-8cRKuwNP.esm.js → isMfaRequiredForAction-CUnqNQlh.esm.js} +2 -2
- package/dist/{isMfaRequiredForAction-8cRKuwNP.esm.js.map → isMfaRequiredForAction-CUnqNQlh.esm.js.map} +1 -1
- package/dist/{isMfaRequiredForAction-xtt0z_hu.cjs → isMfaRequiredForAction-DQPdh-pT.cjs} +2 -2
- package/dist/{isMfaRequiredForAction-xtt0z_hu.cjs.map → isMfaRequiredForAction-DQPdh-pT.cjs.map} +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/dist/utils/getKeychainIndexedDBName/getKeychainIndexedDBName.d.ts +15 -0
- package/dist/utils/getKeychainIndexedDBName/getKeychainIndexedDBName.d.ts.map +1 -0
- package/dist/utils/getKeychainIndexedDBName/index.d.ts +2 -0
- package/dist/utils/getKeychainIndexedDBName/index.d.ts.map +1 -0
- package/dist/waas.cjs +4 -4
- package/dist/waas.esm.js +3 -3
- package/dist/waas.native.esm.js +3 -3
- package/dist/waasCore.cjs +4 -4
- package/dist/waasCore.esm.js +3 -3
- package/dist/waasCore.native.esm.js +3 -3
- package/package.json +2 -2
- package/dist/getNetworkProviderFromNetworkId-BjoqaHZV.esm.js.map +0 -1
- package/dist/getNetworkProviderFromNetworkId-CX9hWoMI.cjs.map +0 -1
- package/dist/getNetworkProviderFromNetworkId-et4sUp6r.native.esm.js.map +0 -1
package/dist/index.native.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { A as extractSessionId, B as name, C as isCookieEnabled, D as instrumentFunction, E as __getElevatedAccessToken_wrapped, F as getDefaultClient, I as setDefaultClient, O as DEFAULT_PII_FIELDS, P as NONCE_POOL_SIZE, R as BaseError, T as ValueMustBeDefinedError, V as version, _ as MfaRateLimitedError, a as DYNAMIC_ICONIC_SPRITE_URL, b as InvalidExternalAuthError, c as CHAINS_INFO_MAP, d as UnauthorizedError, g as SandboxMaximumThresholdReachedError, h as __getNonce_wrapped, j as randomString, k as getUserAgent, l as fetchAndStoreNonces, o as SDK_API_CORE_VERSION, s as __getChainFromVerifiedCredentialChain_wrapped, t as InvalidParamError, u as __createApiClient_wrapped, v as MfaInvalidOtpError, w as assertDefined, x as APIError, y as LinkCredentialError, z as getCore } from "./InvalidParamError-
|
|
2
|
-
import { A as
|
|
3
|
-
import { A as emitEvent, C as formatWalletAccountId, D as __offEvent_wrapped, O as __onEvent_wrapped, T as splitWalletProviderKey, a as parseElevatedAccessToken, b as __getWalletAccounts_wrapped, d as isUserMissingMfaAuth, f as checkAndRaiseWalletAccountsChangedEvent, h as __getWalletProviderFromWalletAccount_wrapped, i as upsertElevatedAccessToken, k as __onceEvent_wrapped, n as getWalletProviderByKey, o as restoreUserSharesForAllWalletAccounts, p as emitWalletAccountsChangedEvent, r as __updateAuthFromVerifyResponse_wrapped, t as __getVerifiedCredentialForWalletAccount_wrapped, u as __getWalletProviders_wrapped, w as normalizeAddress, y as NoWalletProviderFoundError } from "./getVerifiedCredentialForWalletAccount-
|
|
4
|
-
import { n as __refreshAuth_wrapped, t as NotWaasWalletAccountError } from "./NotWaasWalletAccountError-
|
|
5
|
-
import { n as __getMfaMethods_wrapped, r as __consumeMfaToken_wrapped, t as isMfaRequiredForAction } from "./isMfaRequiredForAction-
|
|
1
|
+
import { A as extractSessionId, B as name, C as isCookieEnabled, D as instrumentFunction, E as __getElevatedAccessToken_wrapped, F as getDefaultClient, I as setDefaultClient, O as DEFAULT_PII_FIELDS, P as NONCE_POOL_SIZE, R as BaseError, T as ValueMustBeDefinedError, V as version, _ as MfaRateLimitedError, a as DYNAMIC_ICONIC_SPRITE_URL, b as InvalidExternalAuthError, c as CHAINS_INFO_MAP, d as UnauthorizedError, g as SandboxMaximumThresholdReachedError, h as __getNonce_wrapped, j as randomString, k as getUserAgent, l as fetchAndStoreNonces, o as SDK_API_CORE_VERSION, s as __getChainFromVerifiedCredentialChain_wrapped, t as InvalidParamError, u as __createApiClient_wrapped, v as MfaInvalidOtpError, w as assertDefined, x as APIError, y as LinkCredentialError, z as getCore } from "./InvalidParamError-CB0LQwcO.native.esm.js";
|
|
2
|
+
import { A as GENERATE_SESSION_KEYS_TRACKER_KEY, B as __createStorage_wrapped, D as CannotTrackError, F as getBuffer, G as __subscribeWithSelector_wrapped, H as __createLocalStorageAdapter_wrapped, I as __logoutWithReason_wrapped, K as isEqualShallow, L as __generateSessionKeys_wrapped, M as REFRESH_USER_STATE_FROM_COOKIE_TRACKER_KEY, N as REFRESH_USER_STATE_FROM_VALID_TOKEN_TRACKER_KEY, O as __createDeferredPromise_wrapped, P as isServerSideRendering, R as __fetchProjectSettings_wrapped, S as createKeychainService, T as __createCrossTabBroadcast_wrapped, U as isSignedIn, W as retryOnFail, _ as MethodNotImplementedError, a as __updateWalletProviderKeysForVerifiedCredentials_wrapped, b as getKeychainIndexedDBName, c as __createSignInMessageStatement_wrapped, d as __createVisit_wrapped, f as __consumeCaptchaToken_wrapped, g as isCaptchaRequired, h as __setCaptchaToken_wrapped, i as __getNetworksData_wrapped, j as INITIALIZE_STORAGE_SYNC_TRACKER_KEY, k as FETCH_PROJECT_SETTINGS_TRACKER_KEY, l as formatSignInMessage, m as __createRealtimeChannelSchema_wrapped, o as __verifyMessageSignatureOwnership_wrapped, p as hasExtension, s as __removeUnverifiedWalletAccount_wrapped, t as __getNetworkProviderFromNetworkId_wrapped, u as __setUnverifiedWalletAccounts_wrapped, v as WalletAlreadyLinkedToAnotherUserError, w as __createLogger_wrapped, x as __createRealtimeService_wrapped, y as NoNetworkProvidersError, z as __createStorageKeySchema_wrapped } from "./getNetworkProviderFromNetworkId-De1Y__cK.native.esm.js";
|
|
3
|
+
import { A as emitEvent, C as formatWalletAccountId, D as __offEvent_wrapped, O as __onEvent_wrapped, T as splitWalletProviderKey, a as parseElevatedAccessToken, b as __getWalletAccounts_wrapped, d as isUserMissingMfaAuth, f as checkAndRaiseWalletAccountsChangedEvent, h as __getWalletProviderFromWalletAccount_wrapped, i as upsertElevatedAccessToken, k as __onceEvent_wrapped, n as getWalletProviderByKey, o as restoreUserSharesForAllWalletAccounts, p as emitWalletAccountsChangedEvent, r as __updateAuthFromVerifyResponse_wrapped, t as __getVerifiedCredentialForWalletAccount_wrapped, u as __getWalletProviders_wrapped, w as normalizeAddress, y as NoWalletProviderFoundError } from "./getVerifiedCredentialForWalletAccount-DPdNYxR1.native.esm.js";
|
|
4
|
+
import { n as __refreshAuth_wrapped, t as NotWaasWalletAccountError } from "./NotWaasWalletAccountError-VxTJzIUw.native.esm.js";
|
|
5
|
+
import { n as __getMfaMethods_wrapped, r as __consumeMfaToken_wrapped, t as isMfaRequiredForAction } from "./isMfaRequiredForAction-BCmIa8zG.native.esm.js";
|
|
6
6
|
import { assertPackageVersion } from "@dynamic-labs-sdk/assert-package-version";
|
|
7
7
|
import { AuthModeEnum, ExchangeKeyEnum, JwtVerifiedCredentialFormatEnum, MFAAction, MfaBackupCodeAcknowledgement, TokenScope, WalletProviderEnum } from "@dynamic-labs/sdk-api-core";
|
|
8
8
|
import * as z from "zod/mini";
|
|
@@ -1050,7 +1050,7 @@ const createCore = (config) => {
|
|
|
1050
1050
|
const passkey = config.coreConfig?.passkey ?? createPasskeyService({ metadata });
|
|
1051
1051
|
const realtime = config.coreConfig?.realtime ?? __createRealtimeService_wrapped();
|
|
1052
1052
|
const deviceSigner = config.coreConfig?.deviceSigner;
|
|
1053
|
-
const keychain = config.coreConfig?.keychain ?? createKeychainService({ dbName:
|
|
1053
|
+
const keychain = config.coreConfig?.keychain ?? createKeychainService({ dbName: getKeychainIndexedDBName({ environmentId: config.environmentId }) });
|
|
1054
1054
|
return {
|
|
1055
1055
|
apiBaseUrl,
|
|
1056
1056
|
crossTabBroadcast: config.coreConfig?.crossTabBroadcast ?? __createCrossTabBroadcast_wrapped({ channelName: `dynamic_${config.environmentId}_broadcast` }),
|