@dynamic-labs-sdk/client 1.27.2 → 1.28.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/core.cjs +5 -5
- package/dist/core.esm.js +5 -5
- package/dist/core.native.esm.js +7 -7
- package/dist/core.native.esm.js.map +1 -1
- package/dist/{getNetworkProviderFromNetworkId-BZiHmVr2.native.esm.js → getNetworkProviderFromNetworkId-CKWQLHSE.native.esm.js} +7 -7
- package/dist/getNetworkProviderFromNetworkId-CKWQLHSE.native.esm.js.map +1 -0
- package/dist/{getNetworkProviderFromNetworkId-DbRI7rjs.esm.js → getNetworkProviderFromNetworkId-DBjVmBmy.esm.js} +2 -2
- package/dist/{getNetworkProviderFromNetworkId-DbRI7rjs.esm.js.map → getNetworkProviderFromNetworkId-DBjVmBmy.esm.js.map} +1 -1
- package/dist/{getNetworkProviderFromNetworkId-D9YJPaN-.cjs → getNetworkProviderFromNetworkId-OhoRrL_X.cjs} +2 -2
- package/dist/{getNetworkProviderFromNetworkId-D9YJPaN-.cjs.map → getNetworkProviderFromNetworkId-OhoRrL_X.cjs.map} +1 -1
- package/dist/{getSignedSessionId-Cp3O7r7g.esm.js → getSignedSessionId-BncZzHdQ.esm.js} +3 -3
- package/dist/{getSignedSessionId-Cp3O7r7g.esm.js.map → getSignedSessionId-BncZzHdQ.esm.js.map} +1 -1
- package/dist/{getSignedSessionId-CmrVr3iy.native.esm.js → getSignedSessionId-Dwqj_Cxx.native.esm.js} +3 -3
- package/dist/{getSignedSessionId-CmrVr3iy.native.esm.js.map → getSignedSessionId-Dwqj_Cxx.native.esm.js.map} +1 -1
- package/dist/{getSignedSessionId-DhjV1Fqf.cjs → getSignedSessionId-gwqj9h2p.cjs} +3 -3
- package/dist/{getSignedSessionId-DhjV1Fqf.cjs.map → getSignedSessionId-gwqj9h2p.cjs.map} +1 -1
- package/dist/{getWalletProviderByKey-DEPcBE0p.esm.js → getWalletProviderByKey-C9TWlmDD.esm.js} +2 -2
- package/dist/{getWalletProviderByKey-DEPcBE0p.esm.js.map → getWalletProviderByKey-C9TWlmDD.esm.js.map} +1 -1
- package/dist/{getWalletProviderByKey-B4k_2uv2.cjs → getWalletProviderByKey-CnpXHkmq.cjs} +2 -2
- package/dist/{getWalletProviderByKey-B4k_2uv2.cjs.map → getWalletProviderByKey-CnpXHkmq.cjs.map} +1 -1
- package/dist/{getWalletProviderByKey-D2v00w6U.native.esm.js → getWalletProviderByKey-Dh1slnTF.native.esm.js} +2 -2
- package/dist/{getWalletProviderByKey-D2v00w6U.native.esm.js.map → getWalletProviderByKey-Dh1slnTF.native.esm.js.map} +1 -1
- package/dist/index.cjs +8 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +8 -6
- package/dist/index.esm.js.map +1 -1
- package/dist/index.native.esm.js +11 -9
- package/dist/index.native.esm.js.map +1 -1
- package/dist/{isDynamicWaasEnabled-Ci15huyb.native.esm.js → isDynamicWaasEnabled-CvxVdfKf.native.esm.js} +2 -2
- package/dist/{isDynamicWaasEnabled-Ci15huyb.native.esm.js.map → isDynamicWaasEnabled-CvxVdfKf.native.esm.js.map} +1 -1
- package/dist/{isDynamicWaasEnabled-D5isSrbk.esm.js → isDynamicWaasEnabled-D3-nDwVw.esm.js} +2 -2
- package/dist/{isDynamicWaasEnabled-D5isSrbk.esm.js.map → isDynamicWaasEnabled-D3-nDwVw.esm.js.map} +1 -1
- package/dist/{isDynamicWaasEnabled-CivDFwvA.cjs → isDynamicWaasEnabled-DnDhv_Uj.cjs} +2 -2
- package/dist/{isDynamicWaasEnabled-CivDFwvA.cjs.map → isDynamicWaasEnabled-DnDhv_Uj.cjs.map} +1 -1
- package/dist/{isMfaRequiredForAction-DRvYZbyp.native.esm.js → isMfaRequiredForAction-BJGirRfD.native.esm.js} +2 -2
- package/dist/{isMfaRequiredForAction-DRvYZbyp.native.esm.js.map → isMfaRequiredForAction-BJGirRfD.native.esm.js.map} +1 -1
- package/dist/{isMfaRequiredForAction-BtFx8pFs.cjs → isMfaRequiredForAction-BjRiou3K.cjs} +2 -2
- package/dist/{isMfaRequiredForAction-BtFx8pFs.cjs.map → isMfaRequiredForAction-BjRiou3K.cjs.map} +1 -1
- package/dist/{isMfaRequiredForAction-Dek3pHGj.esm.js → isMfaRequiredForAction-D5rzx59E.esm.js} +2 -2
- package/dist/{isMfaRequiredForAction-Dek3pHGj.esm.js.map → isMfaRequiredForAction-D5rzx59E.esm.js.map} +1 -1
- package/dist/{isUserOnboardingComplete-DSSsynlf.native.esm.js → isUserOnboardingComplete-B3cHYyNI.native.esm.js} +3 -3
- package/dist/{isUserOnboardingComplete-DSSsynlf.native.esm.js.map → isUserOnboardingComplete-B3cHYyNI.native.esm.js.map} +1 -1
- package/dist/{isUserOnboardingComplete-syj63-y3.cjs → isUserOnboardingComplete-KCtF3oaO.cjs} +3 -3
- package/dist/{isUserOnboardingComplete-syj63-y3.cjs.map → isUserOnboardingComplete-KCtF3oaO.cjs.map} +1 -1
- package/dist/{isUserOnboardingComplete-BDDx34rh.esm.js → isUserOnboardingComplete-OFxAxj23.esm.js} +3 -3
- package/dist/{isUserOnboardingComplete-BDDx34rh.esm.js.map → isUserOnboardingComplete-OFxAxj23.esm.js.map} +1 -1
- package/dist/{migrateFromFireblocks-Dg5FgBgT.esm.js → migrateFromFireblocks-BM6Iaii-.esm.js} +3 -3
- package/dist/{migrateFromFireblocks-Dg5FgBgT.esm.js.map → migrateFromFireblocks-BM6Iaii-.esm.js.map} +1 -1
- package/dist/{migrateFromFireblocks-CQHXClD2.native.esm.js → migrateFromFireblocks-DY0SAilk.native.esm.js} +3 -3
- package/dist/{migrateFromFireblocks-CQHXClD2.native.esm.js.map → migrateFromFireblocks-DY0SAilk.native.esm.js.map} +1 -1
- package/dist/{migrateFromFireblocks-Ch5uks7o.cjs → migrateFromFireblocks-Dg6igmRk.cjs} +3 -3
- package/dist/{migrateFromFireblocks-Ch5uks7o.cjs.map → migrateFromFireblocks-Dg6igmRk.cjs.map} +1 -1
- package/dist/modules/flow/submitFlowTransaction/submitFlowTransaction.d.ts.map +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/dist/{updateAuthFromVerifyResponse-BcKzypsw.cjs → updateAuthFromVerifyResponse-DD_rZDrQ.cjs} +2 -2
- package/dist/{updateAuthFromVerifyResponse-BcKzypsw.cjs.map → updateAuthFromVerifyResponse-DD_rZDrQ.cjs.map} +1 -1
- package/dist/{updateAuthFromVerifyResponse-B3V0ynwL.esm.js → updateAuthFromVerifyResponse-DcwFCD-Y.esm.js} +2 -2
- package/dist/{updateAuthFromVerifyResponse-B3V0ynwL.esm.js.map → updateAuthFromVerifyResponse-DcwFCD-Y.esm.js.map} +1 -1
- package/dist/{updateAuthFromVerifyResponse-DphOSQfK.native.esm.js → updateAuthFromVerifyResponse-DtnQfhJ1.native.esm.js} +2 -2
- package/dist/{updateAuthFromVerifyResponse-DphOSQfK.native.esm.js.map → updateAuthFromVerifyResponse-DtnQfhJ1.native.esm.js.map} +1 -1
- package/dist/waas.cjs +4 -4
- package/dist/waas.esm.js +4 -4
- package/dist/waas.native.esm.js +4 -4
- package/dist/waasCore.cjs +6 -6
- package/dist/waasCore.esm.js +6 -6
- package/dist/waasCore.native.esm.js +6 -6
- package/package.json +2 -2
- package/dist/getNetworkProviderFromNetworkId-BZiHmVr2.native.esm.js.map +0 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { $ as UnauthorizedError, A as isSignedIn, B as retryOnFail, C as getWalletProviderFromWalletAccount, Ct as version, D as NoWalletProviderFoundError, F as CHAINS_INFO_MAP, G as createApiClient, H as offEvent, I as formatWalletAccountId, L as normalizeAddress, O as generateSessionKeys, P as getChainFromVerifiedCredentialChain, Q as createStorageKeySchema, R as splitWalletProviderKey, S as extractSessionId, St as name, T as getWalletProviderRegistry, U as onEvent, V as emitEvent, W as onceEvent, X as fetchAndStoreNonces, Y as getNonce, Z as updateNoncePoolStorage, _ as instrumentFunction, _t as getDefaultClient, a as initializeWaasClientsForEagerRecovery, at as APIError, b as getUserAgent, bt as BaseError, ct as SDK_API_CORE_VERSION, dt as assertDefined, et as SandboxMaximumThresholdReachedError, f as getWalletProviders, ft as ValueMustBeDefinedError, g as __logoutWithReason_wrapped, gt as NONCE_POOL_SIZE, ht as getPlatform, i as InvalidParamError, it as InvalidExternalAuthError, j as getWalletAccounts, k as fetchProjectSettings, m as checkAndRaiseWalletAccountsChangedEvent, mt as randomString, n as upsertElevatedAccessToken, nt as MfaInvalidOtpError, p as isUserMissingMfaAuth, pt as getElevatedAccessToken, r as parseElevatedAccessToken, rt as LinkCredentialError, st as DYNAMIC_ICONIC_SPRITE_URL, t as updateAuthFromVerifyResponse, tt as MfaRateLimitedError, ut as isCookieEnabled, v as scrubParameters, vt as setDefaultClient, w as WalletProviderPriority, x as getOperatingSystem, xt as getCore, y as DEFAULT_PII_FIELDS } from "./updateAuthFromVerifyResponse-
|
|
2
|
-
import { A as createCrossTabBroadcast, B as getBuffer, C as getKeychainIndexedDBName, D as assertSafeNavigationUrl, E as createKeychainService, F as FETCH_PROJECT_SETTINGS_TRACKER_KEY, G as createLocalStorageAdapter, H as isEqualShallow, I as GENERATE_SESSION_KEYS_TRACKER_KEY, K as isServerSideRendering, L as INITIALIZE_STORAGE_SYNC_TRACKER_KEY, M as CannotTrackError, N as createDeferredPromise, P as createAppForegroundSubscriber, R as REFRESH_USER_STATE_FROM_COOKIE_TRACKER_KEY, S as MergeAccountsConfirmationError, T as assertSafeDeeplinkUrl, U as createStorage, V as subscribeWithSelector, _ as consumeCaptchaToken, a as verifyMessageSignatureOwnership, b as WalletAlreadyLinkedToAnotherUserError, c as formatSignInMessage, d as updateWalletProviderKeysForVerifiedCredentials, f as setUnverifiedWalletAccounts, g as MethodNotImplementedError, h as __setCaptchaToken_wrapped, i as getNetworksData, k as createLogger, l as getAppMetadata, m as hasExtension, o as removeUnverifiedWalletAccount, p as createVisit, q as UnavailableInServerSideError, s as createSignInMessageStatement, t as getNetworkProviderFromNetworkId, u as reconcileWalletAccountsAgainstClient, v as isCaptchaRequired, w as createRealtimeService, x as NoNetworkProvidersError, y as WalletScreeningBlockedError, z as REFRESH_USER_STATE_FROM_VALID_TOKEN_TRACKER_KEY } from "./getNetworkProviderFromNetworkId-
|
|
3
|
-
import { i as __refreshAuth_wrapped, n as TransactionBroadcastError, r as NotWaasWalletAccountError } from "./isDynamicWaasEnabled-
|
|
4
|
-
import { a as WaasOnboardingIncompleteError, i as preconnectWaasIframe, n as isPendingRecoveryCodesAcknowledgment, o as WaasLoadFailedError, r as isDeviceRegistrationRequired, t as isUserOnboardingComplete } from "./isUserOnboardingComplete-
|
|
5
|
-
import { n as getVerifiedCredentialForWalletAccount, t as getWalletProviderByKey } from "./getWalletProviderByKey-
|
|
6
|
-
import { n as getMfaMethods, r as __consumeMfaToken_wrapped, t as isMfaRequiredForAction } from "./isMfaRequiredForAction-
|
|
1
|
+
import { $ as UnauthorizedError, A as isSignedIn, B as retryOnFail, C as getWalletProviderFromWalletAccount, Ct as version, D as NoWalletProviderFoundError, F as CHAINS_INFO_MAP, G as createApiClient, H as offEvent, I as formatWalletAccountId, L as normalizeAddress, O as generateSessionKeys, P as getChainFromVerifiedCredentialChain, Q as createStorageKeySchema, R as splitWalletProviderKey, S as extractSessionId, St as name, T as getWalletProviderRegistry, U as onEvent, V as emitEvent, W as onceEvent, X as fetchAndStoreNonces, Y as getNonce, Z as updateNoncePoolStorage, _ as instrumentFunction, _t as getDefaultClient, a as initializeWaasClientsForEagerRecovery, at as APIError, b as getUserAgent, bt as BaseError, ct as SDK_API_CORE_VERSION, dt as assertDefined, et as SandboxMaximumThresholdReachedError, f as getWalletProviders, ft as ValueMustBeDefinedError, g as __logoutWithReason_wrapped, gt as NONCE_POOL_SIZE, ht as getPlatform, i as InvalidParamError, it as InvalidExternalAuthError, j as getWalletAccounts, k as fetchProjectSettings, m as checkAndRaiseWalletAccountsChangedEvent, mt as randomString, n as upsertElevatedAccessToken, nt as MfaInvalidOtpError, p as isUserMissingMfaAuth, pt as getElevatedAccessToken, r as parseElevatedAccessToken, rt as LinkCredentialError, st as DYNAMIC_ICONIC_SPRITE_URL, t as updateAuthFromVerifyResponse, tt as MfaRateLimitedError, ut as isCookieEnabled, v as scrubParameters, vt as setDefaultClient, w as WalletProviderPriority, x as getOperatingSystem, xt as getCore, y as DEFAULT_PII_FIELDS } from "./updateAuthFromVerifyResponse-DcwFCD-Y.esm.js";
|
|
2
|
+
import { A as createCrossTabBroadcast, B as getBuffer, C as getKeychainIndexedDBName, D as assertSafeNavigationUrl, E as createKeychainService, F as FETCH_PROJECT_SETTINGS_TRACKER_KEY, G as createLocalStorageAdapter, H as isEqualShallow, I as GENERATE_SESSION_KEYS_TRACKER_KEY, K as isServerSideRendering, L as INITIALIZE_STORAGE_SYNC_TRACKER_KEY, M as CannotTrackError, N as createDeferredPromise, P as createAppForegroundSubscriber, R as REFRESH_USER_STATE_FROM_COOKIE_TRACKER_KEY, S as MergeAccountsConfirmationError, T as assertSafeDeeplinkUrl, U as createStorage, V as subscribeWithSelector, _ as consumeCaptchaToken, a as verifyMessageSignatureOwnership, b as WalletAlreadyLinkedToAnotherUserError, c as formatSignInMessage, d as updateWalletProviderKeysForVerifiedCredentials, f as setUnverifiedWalletAccounts, g as MethodNotImplementedError, h as __setCaptchaToken_wrapped, i as getNetworksData, k as createLogger, l as getAppMetadata, m as hasExtension, o as removeUnverifiedWalletAccount, p as createVisit, q as UnavailableInServerSideError, s as createSignInMessageStatement, t as getNetworkProviderFromNetworkId, u as reconcileWalletAccountsAgainstClient, v as isCaptchaRequired, w as createRealtimeService, x as NoNetworkProvidersError, y as WalletScreeningBlockedError, z as REFRESH_USER_STATE_FROM_VALID_TOKEN_TRACKER_KEY } from "./getNetworkProviderFromNetworkId-DBjVmBmy.esm.js";
|
|
3
|
+
import { i as __refreshAuth_wrapped, n as TransactionBroadcastError, r as NotWaasWalletAccountError } from "./isDynamicWaasEnabled-D3-nDwVw.esm.js";
|
|
4
|
+
import { a as WaasOnboardingIncompleteError, i as preconnectWaasIframe, n as isPendingRecoveryCodesAcknowledgment, o as WaasLoadFailedError, r as isDeviceRegistrationRequired, t as isUserOnboardingComplete } from "./isUserOnboardingComplete-OFxAxj23.esm.js";
|
|
5
|
+
import { n as getVerifiedCredentialForWalletAccount, t as getWalletProviderByKey } from "./getWalletProviderByKey-C9TWlmDD.esm.js";
|
|
6
|
+
import { n as getMfaMethods, r as __consumeMfaToken_wrapped, t as isMfaRequiredForAction } from "./isMfaRequiredForAction-D5rzx59E.esm.js";
|
|
7
7
|
import { assertPackageVersion } from "@dynamic-labs-sdk/assert-package-version";
|
|
8
8
|
import { AuthModeEnum, CaptchaProviderEnum as CaptchaProviderEnum$1, ChainEnum, ExchangeKeyEnum, JwtVerifiedCredentialFormatEnum, JwtVerifiedCredentialFormatEnum as JwtVerifiedCredentialFormatEnum$1, MFAAction, MfaBackupCodeAcknowledgement, ProviderEnum, ProviderEnum as ProviderEnum$1, TokenScope, TokenScope as TokenScope$1, WaasBackupOptionsEnum, WalletProviderEnum } from "@dynamic-labs/sdk-api-core";
|
|
9
9
|
import * as z from "zod/mini";
|
|
@@ -4060,6 +4060,8 @@ const submitFlowTransaction = async ({ onStepChange, flowId, walletAccount, asse
|
|
|
4060
4060
|
signingPayload,
|
|
4061
4061
|
walletAccount
|
|
4062
4062
|
}, client);
|
|
4063
|
+
getCore(client).logger.debug("[submitFlowTransaction] transaction hash returned from swap transaction execution", { transactionHash });
|
|
4064
|
+
assertDefined(transactionHash, "No transaction hash returned from transaction execution. Flow transaction may not have been executed successfully.");
|
|
4063
4065
|
return __broadcastFlow_wrapped({
|
|
4064
4066
|
flowId,
|
|
4065
4067
|
txHash: transactionHash
|