@dynamic-labs-sdk/client 0.26.7 → 0.26.10
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-WXK434H2.esm.js → InvalidParamError-De4xrOs4.esm.js} +17 -101
- package/dist/InvalidParamError-De4xrOs4.esm.js.map +1 -0
- package/dist/{InvalidParamError-F90z0K5r.native.esm.js → InvalidParamError-DfGaCYmW.native.esm.js} +17 -101
- package/dist/InvalidParamError-DfGaCYmW.native.esm.js.map +1 -0
- package/dist/{InvalidParamError-DFpM4bIX.cjs → InvalidParamError-XWDgGlk3.cjs} +43 -127
- package/dist/InvalidParamError-XWDgGlk3.cjs.map +1 -0
- package/dist/{NotWaasWalletAccountError-D_qlVMCG.esm.js → NotWaasWalletAccountError-Bws_qXec.native.esm.js} +5 -5
- package/dist/{NotWaasWalletAccountError-QZZmjyhq.native.esm.js.map → NotWaasWalletAccountError-Bws_qXec.native.esm.js.map} +1 -1
- package/dist/{NotWaasWalletAccountError-QZZmjyhq.native.esm.js → NotWaasWalletAccountError-CdAul2Xh.esm.js} +5 -5
- package/dist/{NotWaasWalletAccountError-D_qlVMCG.esm.js.map → NotWaasWalletAccountError-CdAul2Xh.esm.js.map} +1 -1
- package/dist/{NotWaasWalletAccountError-DbzO2LzZ.cjs → NotWaasWalletAccountError-rJzT_0wz.cjs} +5 -5
- package/dist/{NotWaasWalletAccountError-DbzO2LzZ.cjs.map → NotWaasWalletAccountError-rJzT_0wz.cjs.map} +1 -1
- package/dist/core.cjs +53 -113
- package/dist/core.cjs.map +1 -1
- package/dist/core.esm.js +16 -76
- package/dist/core.esm.js.map +1 -1
- package/dist/core.native.esm.js +16 -76
- package/dist/core.native.esm.js.map +1 -1
- package/dist/{getNetworkProviderFromNetworkId-BV9lOcuP.cjs → getNetworkProviderFromNetworkId-C_6K_daH.cjs} +110 -362
- package/dist/getNetworkProviderFromNetworkId-C_6K_daH.cjs.map +1 -0
- package/dist/{getNetworkProviderFromNetworkId-BVurb9VE.esm.js → getNetworkProviderFromNetworkId-Cqzo1MhF.esm.js} +41 -293
- package/dist/getNetworkProviderFromNetworkId-Cqzo1MhF.esm.js.map +1 -0
- package/dist/{getNetworkProviderFromNetworkId-DbR2qejA.native.esm.js → getNetworkProviderFromNetworkId-Dz1Wd9-n.native.esm.js} +41 -293
- package/dist/getNetworkProviderFromNetworkId-Dz1Wd9-n.native.esm.js.map +1 -0
- package/dist/{getSignedSessionId-CNkcX15D.cjs → getSignedSessionId-B2YC9266.cjs} +10 -34
- package/dist/getSignedSessionId-B2YC9266.cjs.map +1 -0
- package/dist/{getSignedSessionId-DFiqF8_b.esm.js → getSignedSessionId-D-G950gE.native.esm.js} +7 -31
- package/dist/getSignedSessionId-D-G950gE.native.esm.js.map +1 -0
- package/dist/{getSignedSessionId-DXtxIjxF.native.esm.js → getSignedSessionId-G9BPBkMb.esm.js} +7 -31
- package/dist/getSignedSessionId-G9BPBkMb.esm.js.map +1 -0
- package/dist/{getVerifiedCredentialForWalletAccount-6di80gqF.esm.js → getVerifiedCredentialForWalletAccount-DqXnLSqq.esm.js} +19 -127
- package/dist/getVerifiedCredentialForWalletAccount-DqXnLSqq.esm.js.map +1 -0
- package/dist/{getVerifiedCredentialForWalletAccount-4eVkx2ZN.cjs → getVerifiedCredentialForWalletAccount-SS1WQ2i3.cjs} +67 -175
- package/dist/getVerifiedCredentialForWalletAccount-SS1WQ2i3.cjs.map +1 -0
- package/dist/{getVerifiedCredentialForWalletAccount-CHIZTYim.native.esm.js → getVerifiedCredentialForWalletAccount-a1WXUW0u.native.esm.js} +19 -127
- package/dist/getVerifiedCredentialForWalletAccount-a1WXUW0u.native.esm.js.map +1 -0
- package/dist/index.cjs +203 -635
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +161 -593
- package/dist/index.esm.js.map +1 -1
- package/dist/index.native.esm.js +156 -588
- package/dist/index.native.esm.js.map +1 -1
- package/dist/{isMfaRequiredForAction-DKSH9YEU.esm.js → isMfaRequiredForAction-CPlDnHuj.esm.js} +6 -18
- package/dist/isMfaRequiredForAction-CPlDnHuj.esm.js.map +1 -0
- package/dist/{isMfaRequiredForAction-ZwjmqVg-.cjs → isMfaRequiredForAction-CYVZ_XGq.cjs} +7 -19
- package/dist/isMfaRequiredForAction-CYVZ_XGq.cjs.map +1 -0
- package/dist/{isMfaRequiredForAction-cJ294BGH.native.esm.js → isMfaRequiredForAction-CwUE98S3.native.esm.js} +6 -18
- package/dist/isMfaRequiredForAction-CwUE98S3.native.esm.js.map +1 -0
- package/dist/modules/apiClient/createApiClient.d.ts +1 -1
- package/dist/modules/apiClient/utils/deviceSignatureHeadersMiddleware/createDeviceSignatureHeadersMiddleware.d.ts +1 -1
- package/dist/modules/apiClient/utils/deviceSignatureHeadersMiddleware/createDeviceSignatureHeadersMiddleware.d.ts.map +1 -1
- package/dist/modules/auth/createVisit/createVisit.d.ts +1 -1
- package/dist/modules/auth/createVisit/createVisit.d.ts.map +1 -1
- package/dist/modules/auth/passkeys/getPasskeys/getPasskeys.d.ts +1 -1
- package/dist/modules/auth/social/getUserSocialAccounts/getUserSocialAccounts.d.ts +1 -1
- package/dist/modules/auth/social/oauth/detectOAuthRedirect/detectOAuthRedirect.d.ts +1 -1
- package/dist/modules/auth/social/oauth/detectSocialRedirectUrl/detectSocialRedirectUrl.d.ts +1 -1
- package/dist/modules/auth/updateAuthFromVerifyResponse/updateAuthFromVerifyResponse.d.ts +1 -1
- package/dist/modules/auth/updateAuthFromVerifyResponse/updateAuthFromVerifyResponse.d.ts.map +1 -1
- package/dist/modules/balances/getBalances/getBalances.d.ts +1 -1
- package/dist/modules/balances/getMultichainBalances/getMultichainBalances.d.ts +1 -1
- package/dist/modules/captcha/consumeCaptchaToken/consumeCaptchaToken.d.ts +1 -1
- package/dist/modules/checkout/getCheckoutTransaction/getCheckoutTransaction.d.ts +1 -1
- package/dist/modules/checkout/getCheckoutTransactionQuote/getCheckoutTransactionQuote.d.ts +1 -1
- package/dist/modules/checkout/trackCheckoutTransaction/trackCheckoutTransaction.d.ts +1 -1
- package/dist/modules/checkout/utils/requiresConversion/requiresConversion.d.ts +1 -1
- package/dist/modules/clientEvents/clientEvents.d.ts +3 -3
- package/dist/modules/deviceRegistration/detectDeviceRegistrationRedirect/detectDeviceRegistrationRedirect.d.ts +1 -1
- package/dist/modules/deviceRegistration/getDeviceRegistrationTokenFromUrl/getDeviceRegistrationTokenFromUrl.d.ts +1 -1
- package/dist/modules/deviceRegistration/getDeviceSigner/getDeviceSigner.d.ts +1 -1
- package/dist/modules/deviceRegistration/getDeviceSigner/getDeviceSigner.d.ts.map +1 -1
- package/dist/modules/deviceRegistration/getHeadersForNonceSignedByDeviceSigners/getHeadersForNonceSignedByDeviceSigners.d.ts +1 -1
- package/dist/modules/deviceRegistration/getHeadersForNonceSignedByDeviceSigners/getHeadersForNonceSignedByDeviceSigners.d.ts.map +1 -1
- package/dist/modules/deviceRegistration/getRegisteredDevices/getRegisteredDevices.d.ts +1 -1
- package/dist/modules/deviceRegistration/getRegisteredDevices/getRegisteredDevices.d.ts.map +1 -1
- package/dist/modules/extension/registerExtension/registerExtension.d.ts +1 -1
- package/dist/modules/funding/coinbase/addCoinbaseOnrampOrderEventListener/addCoinbaseOnrampOrderEventListener.d.ts +1 -1
- package/dist/modules/funding/coinbase/getCoinbaseBuyUrl/getCoinbaseBuyUrl.d.ts +1 -1
- package/dist/modules/funding/coinbase/getMissingVerificationForCoinbaseOnrampOrder/getMissingVerificationForCoinbaseOnrampOrder.d.ts +1 -1
- package/dist/modules/funding/kraken/getKrakenAccounts/getKrakenAccounts.d.ts +1 -1
- package/dist/modules/funding/kraken/getKrakenWhitelistedAddresses/getKrakenWhitelistedAddresses.d.ts +1 -1
- package/dist/modules/initializeClient/waitForClientInitialized/waitForClientInitialized.d.ts +1 -1
- package/dist/modules/initializeClient/waitForProjectSettings/waitForProjectSettings.d.ts +1 -1
- package/dist/modules/initializeClient/waitForProjectSettings/waitForProjectSettings.d.ts.map +1 -1
- package/dist/modules/legacyWalletBook/getWalletConnectCatalog/getWalletConnectCatalog.d.ts +1 -1
- package/dist/modules/legacyWalletBook/getWalletConnectCatalogWalletByWalletProviderKey/getWalletConnectCatalogWalletByWalletProviderKey.d.ts +1 -1
- package/dist/modules/mfa/consumeMfaTokenIfRequiredForAction/consumeMfaTokenIfRequiredForAction.d.ts +1 -1
- package/dist/modules/mfa/consumeMfaTokenIfRequiredForAction/consumeMfaTokenIfRequiredForAction.d.ts.map +1 -1
- package/dist/modules/mfa/getMfaDevices/getMfaDevices.d.ts +1 -1
- package/dist/modules/mfa/getMfaMethods/getMfaMethods.d.ts +1 -1
- package/dist/modules/mfa/getMfaRecoveryCodes/getMfaRecoveryCodes.d.ts +1 -1
- package/dist/modules/projectSettings/fetchProjectSettings/fetchProjectSettings.d.ts +1 -1
- package/dist/modules/sessionKeys/generateSessionKeys/generateSessionKeys.d.ts +1 -1
- package/dist/modules/sessionKeys/generateSessionKeys/generateSessionKeys.d.ts.map +1 -1
- package/dist/modules/sessionKeys/getSessionKeys/getSessionKeys.d.ts +1 -1
- package/dist/modules/sessionKeys/getSessionKeys/getSessionKeys.d.ts.map +1 -1
- package/dist/modules/sessionKeys/getSignedSessionId/getSignedSessionId.d.ts +1 -1
- package/dist/modules/sessionKeys/getSignedSessionId/getSignedSessionId.d.ts.map +1 -1
- package/dist/modules/swap/getSwapQuote/getSwapQuote.d.ts +1 -1
- package/dist/modules/swap/getSwapStatus/getSwapStatus.d.ts +1 -1
- package/dist/modules/wallets/getAvailableWalletProvidersData/getAvailableWalletProvidersData.d.ts +1 -1
- package/dist/modules/wallets/getConnectedAddresses/getConnectedAddresses.d.ts +1 -1
- package/dist/modules/wallets/getOwnerWalletAccountForSmartWalletAccount/getOwnerWalletAccountForSmartWalletAccount.d.ts +1 -1
- package/dist/modules/wallets/getOwnerWalletAccountForSmartWalletAccount/getOwnerWalletAccountForSmartWalletAccount.d.ts.map +1 -1
- package/dist/modules/wallets/getWalletAccounts/getWalletAccounts.d.ts +1 -1
- package/dist/modules/wallets/getWalletProviders/getWalletProviders.d.ts +1 -1
- package/dist/modules/wallets/networks/createBaseNetworkProvider/createBaseNetworkProvider.d.ts +1 -1
- package/dist/modules/wallets/networks/createBaseNetworkProvider/createBaseNetworkProvider.d.ts.map +1 -1
- package/dist/modules/wallets/networks/getActiveNetworkData/getActiveNetworkData.d.ts +1 -1
- package/dist/modules/wallets/networks/getActiveNetworkId/getActiveNetworkId.d.ts +1 -1
- package/dist/modules/wallets/networks/getBalance/getBalance.d.ts +1 -1
- package/dist/modules/wallets/networks/getBalanceForAddress/getBalanceForAddress.d.ts +1 -1
- package/dist/modules/wallets/networks/getNetworkDataForNetworkId/getNetworkDataForNetworkId.d.ts +1 -1
- package/dist/modules/wallets/networks/getNetworkDataForNetworkId/getNetworkDataForNetworkId.d.ts.map +1 -1
- package/dist/modules/wallets/networks/getNetworkProviderFromNetworkId/getNetworkProviderFromNetworkId.d.ts +1 -1
- package/dist/modules/wallets/networks/getNetworkProviderFromNetworkId/getNetworkProviderFromNetworkId.d.ts.map +1 -1
- package/dist/modules/wallets/networks/getNetworkProviders/getNetworkProviders.d.ts +1 -1
- package/dist/modules/wallets/networks/getNetworksData/getNetworksData.d.ts +1 -1
- package/dist/modules/wallets/networks/getTransactionHistory/getTransactionHistory.d.ts +1 -1
- package/dist/modules/wallets/primaryWalletAccount/getPrimaryWalletAccount/getPrimaryWalletAccount.d.ts +1 -1
- package/dist/modules/wallets/unverifiedWalletAccounts/removeUnverifiedWalletAccount/removeUnverifiedWalletAccount.d.ts +1 -1
- package/dist/modules/wallets/unverifiedWalletAccounts/setUnverifiedWalletAccounts/setUnverifiedWalletAccounts.d.ts +1 -1
- package/dist/modules/wallets/utils/getSignInMessage/createSignInMessageStatement/createSignInMessageStatement.d.ts +1 -1
- package/dist/modules/wallets/utils/getSignInMessage/createSignInMessageStatement/createSignInMessageStatement.d.ts.map +1 -1
- package/dist/modules/wallets/utils/getVerifiedCredentialForWalletAccount/getVerifiedCredentialForWalletAccount.d.ts +1 -1
- package/dist/modules/wallets/utils/getVerifiedCredentialForWalletAccount/getVerifiedCredentialForWalletAccount.d.ts.map +1 -1
- package/dist/modules/wallets/utils/getWalletProviderFromWalletAccount/getWalletProviderFromWalletAccount.d.ts +1 -1
- package/dist/modules/wallets/utils/getWalletProviderFromWalletAccount/getWalletProviderFromWalletAccount.d.ts.map +1 -1
- package/dist/modules/wallets/verifyMessageSignatureOwnership/verifyMessageSignatureOwnership.d.ts +1 -1
- package/dist/modules/wallets/walletProvider/defaultImplementations/getActiveNetworkIdFromLastKnownRegistry/getActiveNetworkIdFromLastKnownRegistry.d.ts +1 -1
- package/dist/modules/wallets/walletProvider/defaultImplementations/getActiveNetworkIdFromLastKnownRegistry/getActiveNetworkIdFromLastKnownRegistry.d.ts.map +1 -1
- package/dist/modules/wallets/walletProvider/defaultImplementations/switchActiveNetworkInLastKnownRegistry/switchActiveNetworkInLastKnownRegistry.d.ts +1 -1
- package/dist/modules/wallets/walletProvider/defaultImplementations/switchActiveNetworkInLastKnownRegistry/switchActiveNetworkInLastKnownRegistry.d.ts.map +1 -1
- package/dist/modules/wallets/walletProvider/events/createWalletProviderEventEmitter/createWalletProviderEventEmitter.d.ts +1 -1
- package/dist/modules/wallets/walletProvider/events/offWalletProviderEvent/offWalletProviderEvent.d.ts +1 -1
- package/dist/modules/wallets/walletProvider/events/onWalletProviderEvent/onWalletProviderEvent.d.ts +1 -1
- package/dist/modules/wallets/walletProvider/walletProviderKeyMap/updateWalletProviderKeysForVerifiedCredentials/updateWalletProviderKeysForVerifiedCredentials.d.ts +1 -1
- package/dist/modules/wallets/walletProvider/walletProviderKeyMap/updateWalletProviderKeysForVerifiedCredentials/updateWalletProviderKeysForVerifiedCredentials.d.ts.map +1 -1
- package/dist/services/crossTabBroadcast/createCrossTabBroadcast/createCrossTabBroadcast.d.ts +1 -1
- package/dist/services/keychain/createKeychainService/createKeychainService.d.ts +1 -1
- package/dist/services/keychain/createKeychainService/createKeychainService.d.ts.map +1 -1
- package/dist/services/logger/createLogger/createLogger.d.ts +1 -1
- package/dist/services/realtime/createRealtimeChannelSchema/createRealtimeChannelSchema.d.ts +1 -1
- package/dist/services/realtime/createRealtimeService/createRealtimeService.d.ts +1 -1
- package/dist/services/runtimeServices/createRuntimeServiceAccessKey/createRuntimeServiceAccessKey.d.ts +1 -1
- package/dist/services/storage/createLocalStorageAdapter/createLocalStorageAdapter.d.ts +1 -1
- package/dist/services/storage/createStorage/createStorage.d.ts +1 -1
- package/dist/services/storage/createStorageKeySchema/createStorageKeySchema.d.ts +1 -1
- package/dist/services/storage/createStorageKeySchema/createStorageKeySchema.d.ts.map +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/dist/utils/deferredPromise/createDeferredPromise.d.ts +1 -1
- package/dist/utils/deferredPromise/createDeferredPromise.d.ts.map +1 -1
- package/dist/utils/getChainFromVerifiedCredentialChain/getChainFromVerifiedCredentialChain.d.ts +1 -1
- package/dist/utils/getChainFromVerifiedCredentialChain/getChainFromVerifiedCredentialChain.d.ts.map +1 -1
- package/dist/utils/getNonce/getNonce.d.ts +1 -1
- package/dist/utils/observable/subscribeWithSelector/subscribeWithSelector.d.ts +1 -1
- package/dist/waas.cjs +7 -7
- package/dist/waas.cjs.map +1 -1
- package/dist/waas.esm.js +6 -6
- package/dist/waas.esm.js.map +1 -1
- package/dist/waas.native.esm.js +6 -6
- package/dist/waas.native.esm.js.map +1 -1
- package/dist/waasCore.cjs +26 -26
- package/dist/waasCore.cjs.map +1 -1
- package/dist/waasCore.esm.js +25 -25
- package/dist/waasCore.esm.js.map +1 -1
- package/dist/waasCore.native.esm.js +25 -25
- package/dist/waasCore.native.esm.js.map +1 -1
- package/package.json +4 -44
- package/android/build.gradle +0 -71
- package/android/src/main/java/xyz/dynamic/client/DynamicClientPackage.kt +0 -42
- package/android/src/main/java/xyz/dynamic/client/keychain/KeyStoreKeyManager.kt +0 -147
- package/android/src/main/java/xyz/dynamic/client/keychain/KeychainModule.kt +0 -85
- package/android/src/main/java/xyz/dynamic/client/manifest/ReactNativeManifestModule.kt +0 -25
- package/dist/InvalidParamError-DFpM4bIX.cjs.map +0 -1
- package/dist/InvalidParamError-F90z0K5r.native.esm.js.map +0 -1
- package/dist/InvalidParamError-WXK434H2.esm.js.map +0 -1
- package/dist/getNetworkProviderFromNetworkId-BV9lOcuP.cjs.map +0 -1
- package/dist/getNetworkProviderFromNetworkId-BVurb9VE.esm.js.map +0 -1
- package/dist/getNetworkProviderFromNetworkId-DbR2qejA.native.esm.js.map +0 -1
- package/dist/getSignedSessionId-CNkcX15D.cjs.map +0 -1
- package/dist/getSignedSessionId-DFiqF8_b.esm.js.map +0 -1
- package/dist/getSignedSessionId-DXtxIjxF.native.esm.js.map +0 -1
- package/dist/getVerifiedCredentialForWalletAccount-4eVkx2ZN.cjs.map +0 -1
- package/dist/getVerifiedCredentialForWalletAccount-6di80gqF.esm.js.map +0 -1
- package/dist/getVerifiedCredentialForWalletAccount-CHIZTYim.native.esm.js.map +0 -1
- package/dist/isMfaRequiredForAction-DKSH9YEU.esm.js.map +0 -1
- package/dist/isMfaRequiredForAction-ZwjmqVg-.cjs.map +0 -1
- package/dist/isMfaRequiredForAction-cJ294BGH.native.esm.js.map +0 -1
- package/dynamic-labs-sdk-client.podspec +0 -27
- package/ios/Keychain.h +0 -4
- package/ios/Keychain.mm +0 -101
- package/ios/ReactNativeManifest.h +0 -4
- package/ios/ReactNativeManifest.mm +0 -45
- package/ios/ReactNativeManifestImpl.swift +0 -20
- package/ios/SecureEnclaveKeyManager.swift +0 -180
- package/react-native.config.cjs +0 -14
- package/src/turboModules/NativeKeychain.native.spec.ts +0 -45
- package/src/turboModules/NativeKeychain.ts +0 -21
- package/src/turboModules/NativeReactNativeManifest.native.spec.ts +0 -55
- package/src/turboModules/NativeReactNativeManifest.ts +0 -29
package/dist/{isMfaRequiredForAction-DKSH9YEU.esm.js → isMfaRequiredForAction-CPlDnHuj.esm.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as instrumentFunction, F as getDefaultClient, u as
|
|
1
|
+
import { D as instrumentFunction, F as getDefaultClient, u as createApiClient, w as assertDefined, z as getCore } from "./InvalidParamError-De4xrOs4.esm.js";
|
|
2
2
|
|
|
3
3
|
//#region src/modules/mfa/consumeMfaToken/consumeMfaToken.ts
|
|
4
4
|
/**
|
|
@@ -42,27 +42,15 @@ const __consumeMfaToken_wrapped = instrumentFunction({
|
|
|
42
42
|
*
|
|
43
43
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
44
44
|
* @returns A promise that resolves to the user's MFA methods configuration.
|
|
45
|
-
* @instrumented
|
|
45
|
+
* @not-instrumented
|
|
46
46
|
*/
|
|
47
47
|
const getMfaMethods = async (client = getDefaultClient()) => {
|
|
48
48
|
const core = getCore(client);
|
|
49
|
-
return await
|
|
49
|
+
return await createApiClient({}, client).getUserMfaMethods({
|
|
50
50
|
environmentId: core.environmentId,
|
|
51
51
|
verifiedOnly: true
|
|
52
52
|
});
|
|
53
53
|
};
|
|
54
|
-
const __getMfaMethods_impl = getMfaMethods;
|
|
55
|
-
const __getMfaMethods_wrapped = instrumentFunction({
|
|
56
|
-
fn: __getMfaMethods_impl,
|
|
57
|
-
functionName: "getMfaMethods",
|
|
58
|
-
getCore: () => {
|
|
59
|
-
try {
|
|
60
|
-
return getCore(getDefaultClient());
|
|
61
|
-
} catch {
|
|
62
|
-
return;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
54
|
|
|
67
55
|
//#endregion
|
|
68
56
|
//#region src/modules/mfa/isMfaRequiredForAction/isMfaRequiredForAction.ts
|
|
@@ -81,9 +69,9 @@ const isMfaRequiredForAction = async ({ mfaAction }, client = getDefaultClient()
|
|
|
81
69
|
const projectSettings = client.projectSettings;
|
|
82
70
|
if (!projectSettings?.security?.mfa?.actions?.some((action) => action.action === mfaAction && action.required)) return false;
|
|
83
71
|
if (projectSettings?.security?.mfa?.required) return true;
|
|
84
|
-
return (await
|
|
72
|
+
return (await getMfaMethods(client)).userHasVerifiedMfaMethods;
|
|
85
73
|
};
|
|
86
74
|
|
|
87
75
|
//#endregion
|
|
88
|
-
export {
|
|
89
|
-
//# sourceMappingURL=isMfaRequiredForAction-
|
|
76
|
+
export { getMfaMethods as n, __consumeMfaToken_wrapped as r, isMfaRequiredForAction as t };
|
|
77
|
+
//# sourceMappingURL=isMfaRequiredForAction-CPlDnHuj.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isMfaRequiredForAction-CPlDnHuj.esm.js","names":[],"sources":["../src/modules/mfa/consumeMfaToken/consumeMfaToken.ts","../src/modules/mfa/getMfaMethods/getMfaMethods.ts","../src/modules/mfa/isMfaRequiredForAction/isMfaRequiredForAction.ts"],"sourcesContent":["import { getCore } from '../../../client/core/getCore';\nimport { getDefaultClient } from '../../../client/defaultClient';\nimport { assertDefined } from '../../../utils/assertDefined';\n\n/**\n * Consumes and clears the current MFA token from the client state.\n *\n * This function retrieves the MFA token obtained from a successful MFA authentication,\n * and removes it from the client, to prevent it from being used again.\n *\n * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.\n * @returns The MFA token that was consumed.\n * @throws Error if no MFA token is found.\n * @instrumented\n */\nexport const consumeMfaToken = (client = getDefaultClient()) => {\n const core = getCore(client);\n\n const mfaToken = core.state.get().mfaToken;\n\n assertDefined(mfaToken, 'No MFA token found');\n\n core.state.set({\n mfaToken: null,\n });\n\n return mfaToken;\n};\n","import { getCore } from '../../../client/core/getCore';\nimport { getDefaultClient } from '../../../client/defaultClient';\nimport { createApiClient } from '../../apiClient';\n\n/**\n * Retrieves the available MFA methods for the current user.\n *\n * This function fetches information about which multi-factor authentication\n * methods are available and configured for the user's account.\n *\n * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.\n * @returns A promise that resolves to the user's MFA methods configuration.\n * @not-instrumented\n */\nexport const getMfaMethods = async (client = getDefaultClient()) => {\n const core = getCore(client);\n const apiClient = createApiClient({}, client);\n\n const userMfaMethods = await apiClient.getUserMfaMethods({\n environmentId: core.environmentId,\n verifiedOnly: true,\n });\n\n return userMfaMethods;\n};\n","import type { MFAAction } from '@dynamic-labs/sdk-api-core';\n\nimport { getDefaultClient } from '../../../client/defaultClient';\nimport { getMfaMethods } from '../getMfaMethods';\n\ntype IsMfaRequiredForActionParams = {\n mfaAction: MFAAction;\n};\n\n/**\n * Checks if MFA is required for a specific action.\n *\n * This function determines whether multi-factor authentication is required\n * for the specified action based on project settings and user configuration.\n *\n * @param params.mfaAction - The action to check MFA requirements for.\n * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.\n * @returns A promise that resolves to true if MFA is required for the action, false otherwise.\n * @not-instrumented\n */\nexport const isMfaRequiredForAction = async (\n { mfaAction }: IsMfaRequiredForActionParams,\n client = getDefaultClient()\n) => {\n const projectSettings = client.projectSettings;\n\n const isRequiredForAction = projectSettings?.security?.mfa?.actions?.some(\n (action) => action.action === mfaAction && action.required\n );\n\n // if mfa is not required for the action, return false\n // no matter if general mfa is set to required or not\n if (!isRequiredForAction) {\n return false;\n }\n\n const isMfaMethodRequired = projectSettings?.security?.mfa?.required;\n\n // if mfa is required for the action and also set as required in general, return true\n if (isMfaMethodRequired) {\n return true;\n }\n\n const mfaMethods = await getMfaMethods(client);\n // if general mfa is optional, but user has registered methods,\n // then it should be required for the action\n return mfaMethods.userHasVerifiedMfaMethods;\n};\n"],"mappings":";;;;;;;;;;;;;;AAkBA,MAAE,mBAAsB,SAAU,kBAAU,KAAA;;;AAK1C,eAAY,UAAI,qBAAA;kBAGhB,UAAO,MACR,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACbD,MAAa,gBAAgB,OAAO,SAAS,kBAAkB,KAAK;CAClE,MAAM,OAAO,QAAQ,OAAO;AAQ5B,QALuB,MAFL,gBAAgB,EAAE,EAAE,OAAO,CAEN,kBAAkB;EACvD,eAAe,KAAK;EACpB,cAAc;EACf,CAAC;;;;;;;;;;;;;;;;ACDJ,MAAa,yBAAyB,OACpC,EAAE,aACF,SAAS,kBAAkB,KACxB;CACH,MAAM,kBAAkB,OAAO;AAQ/B,KAAI,CANwB,iBAAiB,UAAU,KAAK,SAAS,MAClE,WAAW,OAAO,WAAW,aAAa,OAAO,SACnD,CAKC,QAAO;AAMT,KAH4B,iBAAiB,UAAU,KAAK,SAI1D,QAAO;AAMT,SAHmB,MAAM,cAAc,OAAO,EAG5B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_InvalidParamError = require('./InvalidParamError-
|
|
1
|
+
const require_InvalidParamError = require('./InvalidParamError-XWDgGlk3.cjs');
|
|
2
2
|
|
|
3
3
|
//#region src/modules/mfa/consumeMfaToken/consumeMfaToken.ts
|
|
4
4
|
/**
|
|
@@ -42,27 +42,15 @@ const __consumeMfaToken_wrapped = require_InvalidParamError.instrumentFunction({
|
|
|
42
42
|
*
|
|
43
43
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
44
44
|
* @returns A promise that resolves to the user's MFA methods configuration.
|
|
45
|
-
* @instrumented
|
|
45
|
+
* @not-instrumented
|
|
46
46
|
*/
|
|
47
47
|
const getMfaMethods = async (client = require_InvalidParamError.getDefaultClient()) => {
|
|
48
48
|
const core = require_InvalidParamError.getCore(client);
|
|
49
|
-
return await require_InvalidParamError.
|
|
49
|
+
return await require_InvalidParamError.createApiClient({}, client).getUserMfaMethods({
|
|
50
50
|
environmentId: core.environmentId,
|
|
51
51
|
verifiedOnly: true
|
|
52
52
|
});
|
|
53
53
|
};
|
|
54
|
-
const __getMfaMethods_impl = getMfaMethods;
|
|
55
|
-
const __getMfaMethods_wrapped = require_InvalidParamError.instrumentFunction({
|
|
56
|
-
fn: __getMfaMethods_impl,
|
|
57
|
-
functionName: "getMfaMethods",
|
|
58
|
-
getCore: () => {
|
|
59
|
-
try {
|
|
60
|
-
return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
|
|
61
|
-
} catch {
|
|
62
|
-
return;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
54
|
|
|
67
55
|
//#endregion
|
|
68
56
|
//#region src/modules/mfa/isMfaRequiredForAction/isMfaRequiredForAction.ts
|
|
@@ -81,7 +69,7 @@ const isMfaRequiredForAction = async ({ mfaAction }, client = require_InvalidPar
|
|
|
81
69
|
const projectSettings = client.projectSettings;
|
|
82
70
|
if (!projectSettings?.security?.mfa?.actions?.some((action) => action.action === mfaAction && action.required)) return false;
|
|
83
71
|
if (projectSettings?.security?.mfa?.required) return true;
|
|
84
|
-
return (await
|
|
72
|
+
return (await getMfaMethods(client)).userHasVerifiedMfaMethods;
|
|
85
73
|
};
|
|
86
74
|
|
|
87
75
|
//#endregion
|
|
@@ -91,10 +79,10 @@ Object.defineProperty(exports, '__consumeMfaToken_wrapped', {
|
|
|
91
79
|
return __consumeMfaToken_wrapped;
|
|
92
80
|
}
|
|
93
81
|
});
|
|
94
|
-
Object.defineProperty(exports, '
|
|
82
|
+
Object.defineProperty(exports, 'getMfaMethods', {
|
|
95
83
|
enumerable: true,
|
|
96
84
|
get: function () {
|
|
97
|
-
return
|
|
85
|
+
return getMfaMethods;
|
|
98
86
|
}
|
|
99
87
|
});
|
|
100
88
|
Object.defineProperty(exports, 'isMfaRequiredForAction', {
|
|
@@ -103,4 +91,4 @@ Object.defineProperty(exports, 'isMfaRequiredForAction', {
|
|
|
103
91
|
return isMfaRequiredForAction;
|
|
104
92
|
}
|
|
105
93
|
});
|
|
106
|
-
//# sourceMappingURL=isMfaRequiredForAction-
|
|
94
|
+
//# sourceMappingURL=isMfaRequiredForAction-CYVZ_XGq.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isMfaRequiredForAction-CYVZ_XGq.cjs","names":["getDefaultClient","getCore","createApiClient","getDefaultClient"],"sources":["../src/modules/mfa/consumeMfaToken/consumeMfaToken.ts","../src/modules/mfa/getMfaMethods/getMfaMethods.ts","../src/modules/mfa/isMfaRequiredForAction/isMfaRequiredForAction.ts"],"sourcesContent":["import { getCore } from '../../../client/core/getCore';\nimport { getDefaultClient } from '../../../client/defaultClient';\nimport { assertDefined } from '../../../utils/assertDefined';\n\n/**\n * Consumes and clears the current MFA token from the client state.\n *\n * This function retrieves the MFA token obtained from a successful MFA authentication,\n * and removes it from the client, to prevent it from being used again.\n *\n * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.\n * @returns The MFA token that was consumed.\n * @throws Error if no MFA token is found.\n * @instrumented\n */\nexport const consumeMfaToken = (client = getDefaultClient()) => {\n const core = getCore(client);\n\n const mfaToken = core.state.get().mfaToken;\n\n assertDefined(mfaToken, 'No MFA token found');\n\n core.state.set({\n mfaToken: null,\n });\n\n return mfaToken;\n};\n","import { getCore } from '../../../client/core/getCore';\nimport { getDefaultClient } from '../../../client/defaultClient';\nimport { createApiClient } from '../../apiClient';\n\n/**\n * Retrieves the available MFA methods for the current user.\n *\n * This function fetches information about which multi-factor authentication\n * methods are available and configured for the user's account.\n *\n * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.\n * @returns A promise that resolves to the user's MFA methods configuration.\n * @not-instrumented\n */\nexport const getMfaMethods = async (client = getDefaultClient()) => {\n const core = getCore(client);\n const apiClient = createApiClient({}, client);\n\n const userMfaMethods = await apiClient.getUserMfaMethods({\n environmentId: core.environmentId,\n verifiedOnly: true,\n });\n\n return userMfaMethods;\n};\n","import type { MFAAction } from '@dynamic-labs/sdk-api-core';\n\nimport { getDefaultClient } from '../../../client/defaultClient';\nimport { getMfaMethods } from '../getMfaMethods';\n\ntype IsMfaRequiredForActionParams = {\n mfaAction: MFAAction;\n};\n\n/**\n * Checks if MFA is required for a specific action.\n *\n * This function determines whether multi-factor authentication is required\n * for the specified action based on project settings and user configuration.\n *\n * @param params.mfaAction - The action to check MFA requirements for.\n * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.\n * @returns A promise that resolves to true if MFA is required for the action, false otherwise.\n * @not-instrumented\n */\nexport const isMfaRequiredForAction = async (\n { mfaAction }: IsMfaRequiredForActionParams,\n client = getDefaultClient()\n) => {\n const projectSettings = client.projectSettings;\n\n const isRequiredForAction = projectSettings?.security?.mfa?.actions?.some(\n (action) => action.action === mfaAction && action.required\n );\n\n // if mfa is not required for the action, return false\n // no matter if general mfa is set to required or not\n if (!isRequiredForAction) {\n return false;\n }\n\n const isMfaMethodRequired = projectSettings?.security?.mfa?.required;\n\n // if mfa is required for the action and also set as required in general, return true\n if (isMfaMethodRequired) {\n return true;\n }\n\n const mfaMethods = await getMfaMethods(client);\n // if general mfa is optional, but user has registered methods,\n // then it should be required for the action\n return mfaMethods.userHasVerifiedMfaMethods;\n};\n"],"mappings":";;;;;;;;;;;;;;AAkBA,MAAE,mBAAsB,SAAU,4CAAU,KAAA;;;AAK1C,yCAAY,UAAI,qBAAA;kBAGhB,UAAO,MACR,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACbD,MAAa,gBAAgB,OAAO,SAASA,4CAAkB,KAAK;CAClE,MAAM,OAAOC,kCAAQ,OAAO;AAQ5B,QALuB,MAFLC,0CAAgB,EAAE,EAAE,OAAO,CAEN,kBAAkB;EACvD,eAAe,KAAK;EACpB,cAAc;EACf,CAAC;;;;;;;;;;;;;;;;ACDJ,MAAa,yBAAyB,OACpC,EAAE,aACF,SAASC,4CAAkB,KACxB;CACH,MAAM,kBAAkB,OAAO;AAQ/B,KAAI,CANwB,iBAAiB,UAAU,KAAK,SAAS,MAClE,WAAW,OAAO,WAAW,aAAa,OAAO,SACnD,CAKC,QAAO;AAMT,KAH4B,iBAAiB,UAAU,KAAK,SAI1D,QAAO;AAMT,SAHmB,MAAM,cAAc,OAAO,EAG5B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as instrumentFunction, F as getDefaultClient, u as
|
|
1
|
+
import { D as instrumentFunction, F as getDefaultClient, u as createApiClient, w as assertDefined, z as getCore } from "./InvalidParamError-DfGaCYmW.native.esm.js";
|
|
2
2
|
|
|
3
3
|
//#region src/modules/mfa/consumeMfaToken/consumeMfaToken.ts
|
|
4
4
|
/**
|
|
@@ -42,27 +42,15 @@ const __consumeMfaToken_wrapped = instrumentFunction({
|
|
|
42
42
|
*
|
|
43
43
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
44
44
|
* @returns A promise that resolves to the user's MFA methods configuration.
|
|
45
|
-
* @instrumented
|
|
45
|
+
* @not-instrumented
|
|
46
46
|
*/
|
|
47
47
|
const getMfaMethods = async (client = getDefaultClient()) => {
|
|
48
48
|
const core = getCore(client);
|
|
49
|
-
return await
|
|
49
|
+
return await createApiClient({}, client).getUserMfaMethods({
|
|
50
50
|
environmentId: core.environmentId,
|
|
51
51
|
verifiedOnly: true
|
|
52
52
|
});
|
|
53
53
|
};
|
|
54
|
-
const __getMfaMethods_impl = getMfaMethods;
|
|
55
|
-
const __getMfaMethods_wrapped = instrumentFunction({
|
|
56
|
-
fn: __getMfaMethods_impl,
|
|
57
|
-
functionName: "getMfaMethods",
|
|
58
|
-
getCore: () => {
|
|
59
|
-
try {
|
|
60
|
-
return getCore(getDefaultClient());
|
|
61
|
-
} catch {
|
|
62
|
-
return;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
54
|
|
|
67
55
|
//#endregion
|
|
68
56
|
//#region src/modules/mfa/isMfaRequiredForAction/isMfaRequiredForAction.ts
|
|
@@ -81,9 +69,9 @@ const isMfaRequiredForAction = async ({ mfaAction }, client = getDefaultClient()
|
|
|
81
69
|
const projectSettings = client.projectSettings;
|
|
82
70
|
if (!projectSettings?.security?.mfa?.actions?.some((action) => action.action === mfaAction && action.required)) return false;
|
|
83
71
|
if (projectSettings?.security?.mfa?.required) return true;
|
|
84
|
-
return (await
|
|
72
|
+
return (await getMfaMethods(client)).userHasVerifiedMfaMethods;
|
|
85
73
|
};
|
|
86
74
|
|
|
87
75
|
//#endregion
|
|
88
|
-
export {
|
|
89
|
-
//# sourceMappingURL=isMfaRequiredForAction-
|
|
76
|
+
export { getMfaMethods as n, __consumeMfaToken_wrapped as r, isMfaRequiredForAction as t };
|
|
77
|
+
//# sourceMappingURL=isMfaRequiredForAction-CwUE98S3.native.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isMfaRequiredForAction-CwUE98S3.native.esm.js","names":[],"sources":["../src/modules/mfa/consumeMfaToken/consumeMfaToken.ts","../src/modules/mfa/getMfaMethods/getMfaMethods.ts","../src/modules/mfa/isMfaRequiredForAction/isMfaRequiredForAction.ts"],"sourcesContent":["import { getCore } from '../../../client/core/getCore';\nimport { getDefaultClient } from '../../../client/defaultClient';\nimport { assertDefined } from '../../../utils/assertDefined';\n\n/**\n * Consumes and clears the current MFA token from the client state.\n *\n * This function retrieves the MFA token obtained from a successful MFA authentication,\n * and removes it from the client, to prevent it from being used again.\n *\n * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.\n * @returns The MFA token that was consumed.\n * @throws Error if no MFA token is found.\n * @instrumented\n */\nexport const consumeMfaToken = (client = getDefaultClient()) => {\n const core = getCore(client);\n\n const mfaToken = core.state.get().mfaToken;\n\n assertDefined(mfaToken, 'No MFA token found');\n\n core.state.set({\n mfaToken: null,\n });\n\n return mfaToken;\n};\n","import { getCore } from '../../../client/core/getCore';\nimport { getDefaultClient } from '../../../client/defaultClient';\nimport { createApiClient } from '../../apiClient';\n\n/**\n * Retrieves the available MFA methods for the current user.\n *\n * This function fetches information about which multi-factor authentication\n * methods are available and configured for the user's account.\n *\n * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.\n * @returns A promise that resolves to the user's MFA methods configuration.\n * @not-instrumented\n */\nexport const getMfaMethods = async (client = getDefaultClient()) => {\n const core = getCore(client);\n const apiClient = createApiClient({}, client);\n\n const userMfaMethods = await apiClient.getUserMfaMethods({\n environmentId: core.environmentId,\n verifiedOnly: true,\n });\n\n return userMfaMethods;\n};\n","import type { MFAAction } from '@dynamic-labs/sdk-api-core';\n\nimport { getDefaultClient } from '../../../client/defaultClient';\nimport { getMfaMethods } from '../getMfaMethods';\n\ntype IsMfaRequiredForActionParams = {\n mfaAction: MFAAction;\n};\n\n/**\n * Checks if MFA is required for a specific action.\n *\n * This function determines whether multi-factor authentication is required\n * for the specified action based on project settings and user configuration.\n *\n * @param params.mfaAction - The action to check MFA requirements for.\n * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.\n * @returns A promise that resolves to true if MFA is required for the action, false otherwise.\n * @not-instrumented\n */\nexport const isMfaRequiredForAction = async (\n { mfaAction }: IsMfaRequiredForActionParams,\n client = getDefaultClient()\n) => {\n const projectSettings = client.projectSettings;\n\n const isRequiredForAction = projectSettings?.security?.mfa?.actions?.some(\n (action) => action.action === mfaAction && action.required\n );\n\n // if mfa is not required for the action, return false\n // no matter if general mfa is set to required or not\n if (!isRequiredForAction) {\n return false;\n }\n\n const isMfaMethodRequired = projectSettings?.security?.mfa?.required;\n\n // if mfa is required for the action and also set as required in general, return true\n if (isMfaMethodRequired) {\n return true;\n }\n\n const mfaMethods = await getMfaMethods(client);\n // if general mfa is optional, but user has registered methods,\n // then it should be required for the action\n return mfaMethods.userHasVerifiedMfaMethods;\n};\n"],"mappings":";;;;;;;;;;;;;;AAkBA,MAAE,mBAAsB,SAAU,kBAAU,KAAA;;;AAK1C,eAAY,UAAI,qBAAA;kBAGhB,UAAO,MACR,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACbD,MAAa,gBAAgB,OAAO,SAAS,kBAAkB,KAAK;CAClE,MAAM,OAAO,QAAQ,OAAO;AAQ5B,QALuB,MAFL,gBAAgB,EAAE,EAAE,OAAO,CAEN,kBAAkB;EACvD,eAAe,KAAK;EACpB,cAAc;EACf,CAAC;;;;;;;;;;;;;;;;ACDJ,MAAa,yBAAyB,OACpC,EAAE,aACF,SAAS,kBAAkB,KACxB;CACH,MAAM,kBAAkB,OAAO;AAQ/B,KAAI,CANwB,iBAAiB,UAAU,KAAK,SAAS,MAClE,WAAW,OAAO,WAAW,aAAa,OAAO,SACnD,CAKC,QAAO;AAMT,KAH4B,iBAAiB,UAAU,KAAK,SAI1D,QAAO;AAMT,SAHmB,MAAM,cAAc,OAAO,EAG5B"}
|
|
@@ -5,7 +5,7 @@ import type { CreateApiClientOptions } from './apiClient.types';
|
|
|
5
5
|
* Returns a new instance of the SDK API client.
|
|
6
6
|
*
|
|
7
7
|
* This is not meant for storing, as it is very light we can create it whenever needed.
|
|
8
|
-
* @instrumented
|
|
8
|
+
* @not-instrumented
|
|
9
9
|
*/
|
|
10
10
|
export declare const createApiClient: (options: CreateApiClientOptions | undefined, client: DynamicClient) => SDKApi;
|
|
11
11
|
//# sourceMappingURL=createApiClient.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Middleware } from '@dynamic-labs/sdk-api-core';
|
|
2
2
|
import type { DynamicClient } from '../../../../client/types';
|
|
3
|
-
/** @instrumented */
|
|
3
|
+
/** @not-instrumented */
|
|
4
4
|
export declare const createDeviceSignatureHeadersMiddleware: (client: DynamicClient) => Middleware;
|
|
5
5
|
//# sourceMappingURL=createDeviceSignatureHeadersMiddleware.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createDeviceSignatureHeadersMiddleware.d.ts","sourceRoot":"","sources":["../../../../../src/modules/apiClient/utils/deviceSignatureHeadersMiddleware/createDeviceSignatureHeadersMiddleware.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAG7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAI9D,
|
|
1
|
+
{"version":3,"file":"createDeviceSignatureHeadersMiddleware.d.ts","sourceRoot":"","sources":["../../../../../src/modules/apiClient/utils/deviceSignatureHeadersMiddleware/createDeviceSignatureHeadersMiddleware.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAG7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAI9D,wBAAwB;AACxB,eAAO,MAAM,sCAAsC,WACzC,aAAa,KACpB,UA6BF,CAAC"}
|
|
@@ -5,7 +5,7 @@ type CreateVisitParams = {
|
|
|
5
5
|
authMode?: AuthModeEnum;
|
|
6
6
|
walletAccount: WalletAccount;
|
|
7
7
|
};
|
|
8
|
-
/** @instrumented */
|
|
8
|
+
/** @not-instrumented */
|
|
9
9
|
export declare const createVisit: ({ walletAccount, authMode }: CreateVisitParams, client: DynamicClient) => Promise<void>;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=createVisit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createVisit.d.ts","sourceRoot":"","sources":["../../../../src/modules/auth/createVisit/createVisit.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EAGb,MAAM,4BAA4B,CAAC;AAGpC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAI3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAEjE,KAAK,iBAAiB,GAAG;IACvB,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAOF,
|
|
1
|
+
{"version":3,"file":"createVisit.d.ts","sourceRoot":"","sources":["../../../../src/modules/auth/createVisit/createVisit.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EAGb,MAAM,4BAA4B,CAAC;AAGpC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAI3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAEjE,KAAK,iBAAiB,GAAG;IACvB,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAOF,wBAAwB;AACxB,eAAO,MAAM,WAAW,gCAC2B,iBAAiB,UAC1D,aAAa,kBAgCtB,CAAC"}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
8
8
|
* @returns A promise that resolves to an array of the user's registered passkeys.
|
|
9
|
-
* @instrumented
|
|
9
|
+
* @not-instrumented
|
|
10
10
|
*/
|
|
11
11
|
export declare const getPasskeys: (client?: import("../../../../exports").DynamicClient) => Promise<import("@dynamic-labs/sdk-api-core").UserPasskey[]>;
|
|
12
12
|
//# sourceMappingURL=getPasskeys.d.ts.map
|
|
@@ -4,7 +4,7 @@ import type { SocialAccount } from '../social.types';
|
|
|
4
4
|
*
|
|
5
5
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
6
6
|
* @returns An array of `SocialAccount` objects associated with the user.
|
|
7
|
-
* @instrumented
|
|
7
|
+
* @not-instrumented
|
|
8
8
|
*/
|
|
9
9
|
export declare const getUserSocialAccounts: (client?: import("../../../../exports").DynamicClient) => SocialAccount[];
|
|
10
10
|
//# sourceMappingURL=getUserSocialAccounts.d.ts.map
|
|
@@ -5,7 +5,7 @@ type DetectOAuthRedirectParams = {
|
|
|
5
5
|
* @deprecated Renamed to {@link detectSocialRedirectUrl}. This alias will be
|
|
6
6
|
* removed in a future major version.
|
|
7
7
|
*
|
|
8
|
-
* @instrumented
|
|
8
|
+
* @not-instrumented
|
|
9
9
|
*/
|
|
10
10
|
export declare const detectOAuthRedirect: (params: DetectOAuthRedirectParams, client?: import("../../../../../exports").DynamicClient) => Promise<boolean>;
|
|
11
11
|
export {};
|
|
@@ -10,7 +10,7 @@ export type { DetectSocialRedirectUrlParams } from './detectSocialRedirectUrl.ty
|
|
|
10
10
|
* @param params.url - The URL to check for OAuth redirect parameters.
|
|
11
11
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
12
12
|
* @returns A promise that resolves to true if the URL is an OAuth redirect, false otherwise.
|
|
13
|
-
* @instrumented
|
|
13
|
+
* @not-instrumented
|
|
14
14
|
*/
|
|
15
15
|
export declare const detectSocialRedirectUrl: ({ url }: DetectSocialRedirectUrlParams, client?: import("../../../../../exports").DynamicClient) => Promise<boolean>;
|
|
16
16
|
//# sourceMappingURL=detectSocialRedirectUrl.d.ts.map
|
|
@@ -3,7 +3,7 @@ import type { DynamicClient } from '../../../client/types';
|
|
|
3
3
|
type UpdateAuthFromVerifyResponseParams = {
|
|
4
4
|
response: VerifyResponse;
|
|
5
5
|
};
|
|
6
|
-
/** @instrumented */
|
|
6
|
+
/** @not-instrumented */
|
|
7
7
|
export declare const updateAuthFromVerifyResponse: ({ response }: UpdateAuthFromVerifyResponseParams, client: DynamicClient) => void;
|
|
8
8
|
export {};
|
|
9
9
|
//# sourceMappingURL=updateAuthFromVerifyResponse.d.ts.map
|
package/dist/modules/auth/updateAuthFromVerifyResponse/updateAuthFromVerifyResponse.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateAuthFromVerifyResponse.d.ts","sourceRoot":"","sources":["../../../../src/modules/auth/updateAuthFromVerifyResponse/updateAuthFromVerifyResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAIjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAS3D,KAAK,kCAAkC,GAAG;IACxC,QAAQ,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,
|
|
1
|
+
{"version":3,"file":"updateAuthFromVerifyResponse.d.ts","sourceRoot":"","sources":["../../../../src/modules/auth/updateAuthFromVerifyResponse/updateAuthFromVerifyResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAIjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAS3D,KAAK,kCAAkC,GAAG;IACxC,QAAQ,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,wBAAwB;AACxB,eAAO,MAAM,4BAA4B,iBACzB,kCAAkC,UACxC,aAAa,SAiEtB,CAAC"}
|
|
@@ -4,7 +4,7 @@ export type GetBalancesParams = {
|
|
|
4
4
|
/**
|
|
5
5
|
* Whether to filter out spam tokens.
|
|
6
6
|
* Defaults to true.
|
|
7
|
-
* @instrumented
|
|
7
|
+
* @not-instrumented
|
|
8
8
|
*/
|
|
9
9
|
filterSpamTokens?: boolean;
|
|
10
10
|
/** Whether to force a refresh of the balances instead of using the api cached value. */
|
|
@@ -17,7 +17,7 @@ export type GetMultichainBalancesParams = {
|
|
|
17
17
|
* @param params.balanceRequest - The balance request configuration specifying which chains, networks and addresses to query.
|
|
18
18
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
19
19
|
* @returns A promise that resolves to the chain balances across multiple networks.
|
|
20
|
-
* @instrumented
|
|
20
|
+
* @not-instrumented
|
|
21
21
|
*/
|
|
22
22
|
export declare const getMultichainBalances: ({ balanceRequest }: GetMultichainBalancesParams, client?: import("../../../exports").DynamicClient) => Promise<MultichainAccountBalanceResponse["chainBalances"]>;
|
|
23
23
|
//# sourceMappingURL=getMultichainBalances.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DynamicClient } from '../../../client/types';
|
|
2
2
|
/**
|
|
3
3
|
* Retrieves the current captcha token from the client state and sets it to null.
|
|
4
|
-
* @instrumented
|
|
4
|
+
* @not-instrumented
|
|
5
5
|
*/
|
|
6
6
|
export declare const consumeCaptchaToken: (client: DynamicClient) => string | undefined;
|
|
7
7
|
//# sourceMappingURL=consumeCaptchaToken.d.ts.map
|
|
@@ -9,7 +9,7 @@ export type GetCheckoutTransactionParams = {
|
|
|
9
9
|
* @param params GetCheckoutTransactionParams - The parameters for fetching the transaction.
|
|
10
10
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
11
11
|
* @returns The checkout transaction
|
|
12
|
-
* @instrumented
|
|
12
|
+
* @not-instrumented
|
|
13
13
|
*/
|
|
14
14
|
export declare const getCheckoutTransaction: ({ transactionId }: GetCheckoutTransactionParams, client?: DynamicClient) => Promise<CheckoutTransaction>;
|
|
15
15
|
//# sourceMappingURL=getCheckoutTransaction.d.ts.map
|
|
@@ -10,7 +10,7 @@ export type GetCheckoutTransactionQuoteParams = {
|
|
|
10
10
|
* @param params GetCheckoutTransactionQuoteParams - The quote parameters.
|
|
11
11
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
12
12
|
* @returns The updated checkout transaction with quote data
|
|
13
|
-
* @instrumented
|
|
13
|
+
* @not-instrumented
|
|
14
14
|
*/
|
|
15
15
|
export declare const getCheckoutTransactionQuote: ({ fromTokenAddress, slippage, transactionId, }: GetCheckoutTransactionQuoteParams, client?: import("../../../exports").DynamicClient) => Promise<CheckoutTransaction>;
|
|
16
16
|
//# sourceMappingURL=getCheckoutTransactionQuote.d.ts.map
|
|
@@ -13,7 +13,7 @@ export type TrackCheckoutTransactionParams = {
|
|
|
13
13
|
*
|
|
14
14
|
* @param params.transactionId - The ID of the checkout transaction to track.
|
|
15
15
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
16
|
-
* @instrumented
|
|
16
|
+
* @not-instrumented
|
|
17
17
|
*/
|
|
18
18
|
export declare const trackCheckoutTransaction: ({ transactionId }: TrackCheckoutTransactionParams, client?: import("../../../exports").DynamicClient) => Promise<void>;
|
|
19
19
|
//# sourceMappingURL=trackCheckoutTransaction.d.ts.map
|
|
@@ -14,7 +14,7 @@ export type RequiresConversionParams = {
|
|
|
14
14
|
* @param params - The from token details and the checkout's settlement config.
|
|
15
15
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
16
16
|
* @returns Whether a token conversion is required
|
|
17
|
-
* @instrumented
|
|
17
|
+
* @not-instrumented
|
|
18
18
|
*/
|
|
19
19
|
export declare const requiresConversion: ({ transaction }: RequiresConversionParams, client?: import("../../../../exports").DynamicClient) => Promise<boolean>;
|
|
20
20
|
//# sourceMappingURL=requiresConversion.d.ts.map
|
|
@@ -10,7 +10,7 @@ import type { DynamicEvents, EmitEventParams, OffEventParams, OnEventParams, Onc
|
|
|
10
10
|
* @param params.listener - The callback function to execute when the event is fired.
|
|
11
11
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
12
12
|
* @returns A function that can be called to remove the listener.
|
|
13
|
-
* @instrumented
|
|
13
|
+
* @not-instrumented
|
|
14
14
|
*/
|
|
15
15
|
export declare const onEvent: <E extends keyof DynamicEvents>({ event, listener }: OnEventParams<E>, client?: DynamicClient) => () => void;
|
|
16
16
|
/**
|
|
@@ -22,7 +22,7 @@ export declare const onEvent: <E extends keyof DynamicEvents>({ event, listener
|
|
|
22
22
|
* @param params.event - The event name to remove the listener from.
|
|
23
23
|
* @param params.listener - The callback function to remove.
|
|
24
24
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
25
|
-
* @instrumented
|
|
25
|
+
* @not-instrumented
|
|
26
26
|
*/
|
|
27
27
|
export declare const offEvent: <E extends keyof DynamicEvents>({ event, listener }: OffEventParams<E>, client?: DynamicClient) => void;
|
|
28
28
|
/**
|
|
@@ -35,7 +35,7 @@ export declare const offEvent: <E extends keyof DynamicEvents>({ event, listener
|
|
|
35
35
|
* @param params.listener - The callback function to execute when the event is fired.
|
|
36
36
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
37
37
|
* @returns A function that can be called to remove the listener before it fires.
|
|
38
|
-
* @instrumented
|
|
38
|
+
* @not-instrumented
|
|
39
39
|
*/
|
|
40
40
|
export declare const onceEvent: <E extends keyof DynamicEvents>({ event, listener }: OnceEventParams<E>, client?: DynamicClient) => () => void;
|
|
41
41
|
/**
|
|
@@ -8,7 +8,7 @@ type DetectDeviceRegistrationRedirectParams = {
|
|
|
8
8
|
* if it contains device registration redirect data from a device authentication flow.
|
|
9
9
|
*
|
|
10
10
|
* @returns True if the URL is a device registration redirect, false otherwise.
|
|
11
|
-
* @instrumented
|
|
11
|
+
* @not-instrumented
|
|
12
12
|
*/
|
|
13
13
|
export declare const detectDeviceRegistrationRedirect: ({ url, }: DetectDeviceRegistrationRedirectParams) => boolean;
|
|
14
14
|
export {};
|
|
@@ -9,7 +9,7 @@ type GetDeviceRegistrationTokenFromUrlParams = {
|
|
|
9
9
|
*
|
|
10
10
|
* @returns The device token as a string if valid.
|
|
11
11
|
* @throws InvalidDeviceRegistrationRedirectError If the URL is not a valid device registration redirect.
|
|
12
|
-
* @instrumented
|
|
12
|
+
* @not-instrumented
|
|
13
13
|
*/
|
|
14
14
|
export declare const getDeviceRegistrationTokenFromUrl: ({ url, }: GetDeviceRegistrationTokenFromUrlParams) => string;
|
|
15
15
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DynamicClient } from '../../../client/types';
|
|
2
2
|
import type { DeviceSigner } from '../../../services/deviceSigner';
|
|
3
|
-
/** @instrumented */
|
|
3
|
+
/** @not-instrumented */
|
|
4
4
|
export declare const getDeviceSigner: (client: DynamicClient) => Promise<DeviceSigner>;
|
|
5
5
|
//# sourceMappingURL=getDeviceSigner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDeviceSigner.d.ts","sourceRoot":"","sources":["../../../../src/modules/deviceRegistration/getDeviceSigner/getDeviceSigner.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAEnE,
|
|
1
|
+
{"version":3,"file":"getDeviceSigner.d.ts","sourceRoot":"","sources":["../../../../src/modules/deviceRegistration/getDeviceSigner/getDeviceSigner.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAEnE,wBAAwB;AACxB,eAAO,MAAM,eAAe,WAClB,aAAa,KACpB,OAAO,CAAC,YAAY,CAuBtB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { DynamicClient } from '../../../client/types';
|
|
2
|
-
/** @instrumented */
|
|
2
|
+
/** @not-instrumented */
|
|
3
3
|
export declare const getHeadersForNonceSignedByDeviceSigners: (client: DynamicClient) => Promise<Record<string, string>>;
|
|
4
4
|
//# sourceMappingURL=getHeadersForNonceSignedByDeviceSigners.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getHeadersForNonceSignedByDeviceSigners.d.ts","sourceRoot":"","sources":["../../../../src/modules/deviceRegistration/getHeadersForNonceSignedByDeviceSigners/getHeadersForNonceSignedByDeviceSigners.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAM3D,
|
|
1
|
+
{"version":3,"file":"getHeadersForNonceSignedByDeviceSigners.d.ts","sourceRoot":"","sources":["../../../../src/modules/deviceRegistration/getHeadersForNonceSignedByDeviceSigners/getHeadersForNonceSignedByDeviceSigners.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAM3D,wBAAwB;AACxB,eAAO,MAAM,uCAAuC,WAC1C,aAAa,KACpB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA0BhC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { DeviceRegistrationResponse } from '@dynamic-labs/sdk-api-core';
|
|
2
|
-
/** @instrumented */
|
|
2
|
+
/** @not-instrumented */
|
|
3
3
|
export declare const getRegisteredDevices: (client?: import("../../../exports").DynamicClient) => Promise<DeviceRegistrationResponse[]>;
|
|
4
4
|
//# sourceMappingURL=getRegisteredDevices.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRegisteredDevices.d.ts","sourceRoot":"","sources":["../../../../src/modules/deviceRegistration/getRegisteredDevices/getRegisteredDevices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAO7E,
|
|
1
|
+
{"version":3,"file":"getRegisteredDevices.d.ts","sourceRoot":"","sources":["../../../../src/modules/deviceRegistration/getRegisteredDevices/getRegisteredDevices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAO7E,wBAAwB;AACxB,eAAO,MAAM,oBAAoB,yDAE9B,OAAO,CAAC,0BAA0B,EAAE,CAqBtC,CAAC"}
|
|
@@ -11,7 +11,7 @@ type RegisterExtensionParams = {
|
|
|
11
11
|
* @param client - The client instance.
|
|
12
12
|
* @param extensionKey - The key of the extension to register.
|
|
13
13
|
* @returns The client instance.
|
|
14
|
-
* @instrumented
|
|
14
|
+
* @not-instrumented
|
|
15
15
|
*/
|
|
16
16
|
export declare const registerExtension: ({ extensionKey }: RegisterExtensionParams, client: DynamicClient) => void;
|
|
17
17
|
export {};
|
|
@@ -12,7 +12,7 @@ type AddCoinbaseOnrampOrderEventListenerParams = {
|
|
|
12
12
|
* @returns A function to remove the listener.
|
|
13
13
|
* @throws {ValueMustBeDefinedError} If the window is not available.
|
|
14
14
|
* @docs https://docs.cdp.coinbase.com/onramp-&-offramp/onramp-apis/apple-pay-onramp-api#events-names
|
|
15
|
-
* @instrumented
|
|
15
|
+
* @not-instrumented
|
|
16
16
|
*/
|
|
17
17
|
export declare const addCoinbaseOnrampOrderEventListener: ({ listener }: AddCoinbaseOnrampOrderEventListenerParams, client?: import("../../../../exports").DynamicClient) => VoidFunction;
|
|
18
18
|
export {};
|
|
@@ -5,7 +5,7 @@ import type { CoinbaseOnrampGetBuyUrlRequest, CoinbaseOnrampGetBuyUrlResponse }
|
|
|
5
5
|
* @param buyUrlParams CoinbaseOnrampGetBuyUrlRequest - The parameters for the buy URL.
|
|
6
6
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
7
7
|
* @returns an object containing the buy URL
|
|
8
|
-
* @instrumented
|
|
8
|
+
* @not-instrumented
|
|
9
9
|
*/
|
|
10
10
|
export declare const getCoinbaseBuyUrl: (buyUrlParams: CoinbaseOnrampGetBuyUrlRequest, client?: import("../../../../exports").DynamicClient) => Promise<CoinbaseOnrampGetBuyUrlResponse>;
|
|
11
11
|
//# sourceMappingURL=getCoinbaseBuyUrl.d.ts.map
|
|
@@ -17,7 +17,7 @@ type GetMissingVerificationForCoinbaseOnrampOrderParams = {
|
|
|
17
17
|
* @returns FieldMissingVerificationForCoinbaseOnramp[] - An array of fields that are missing verification for a Coinbase onramp order
|
|
18
18
|
* @throws {InvalidParamError} - If the payment method is not valid
|
|
19
19
|
* @throws {ValueMustBeDefinedError} - If the user is not authenticated
|
|
20
|
-
* @instrumented
|
|
20
|
+
* @not-instrumented
|
|
21
21
|
*/
|
|
22
22
|
export declare const getMissingVerificationForCoinbaseOnrampOrder: ({ paymentMethod }: GetMissingVerificationForCoinbaseOnrampOrderParams, client?: import("../../../../exports").DynamicClient) => GetMissingVerificationForCoinbaseOnrampOrderResponse;
|
|
23
23
|
export {};
|
package/dist/modules/funding/kraken/getKrakenWhitelistedAddresses/getKrakenWhitelistedAddresses.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { TransferDestinationResponse } from '../kraken.types';
|
|
|
4
4
|
*
|
|
5
5
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
6
6
|
* @returns Transfer destinations response with whitelisted addresses
|
|
7
|
-
* @instrumented
|
|
7
|
+
* @not-instrumented
|
|
8
8
|
*/
|
|
9
9
|
export declare const getKrakenWhitelistedAddresses: (client?: import("../../../../exports").DynamicClient) => Promise<TransferDestinationResponse>;
|
|
10
10
|
//# sourceMappingURL=getKrakenWhitelistedAddresses.d.ts.map
|
package/dist/modules/initializeClient/waitForClientInitialized/waitForClientInitialized.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* and are ready for use.
|
|
4
4
|
*
|
|
5
5
|
* @returns a promise that resolves once the client is fully initialized.
|
|
6
|
-
* @instrumented
|
|
6
|
+
* @not-instrumented
|
|
7
7
|
*/
|
|
8
8
|
export declare const waitForClientInitialized: (client?: import("../../../exports").DynamicClient) => Promise<void>;
|
|
9
9
|
//# sourceMappingURL=waitForClientInitialized.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { DynamicClient } from '../../../client/types';
|
|
2
|
-
/** @instrumented */
|
|
2
|
+
/** @not-instrumented */
|
|
3
3
|
export declare const waitForProjectSettings: (client: DynamicClient) => Promise<import("@dynamic-labs/sdk-api-core").ProjectSettings>;
|
|
4
4
|
//# sourceMappingURL=waitForProjectSettings.d.ts.map
|
package/dist/modules/initializeClient/waitForProjectSettings/waitForProjectSettings.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"waitForProjectSettings.d.ts","sourceRoot":"","sources":["../../../../src/modules/initializeClient/waitForProjectSettings/waitForProjectSettings.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAI3D,
|
|
1
|
+
{"version":3,"file":"waitForProjectSettings.d.ts","sourceRoot":"","sources":["../../../../src/modules/initializeClient/waitForProjectSettings/waitForProjectSettings.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAI3D,wBAAwB;AACxB,eAAO,MAAM,sBAAsB,WAAkB,aAAa,kEAiBjE,CAAC"}
|
|
@@ -8,7 +8,7 @@ import type { WalletConnectCatalog } from './getWalletConnectCatalog.types';
|
|
|
8
8
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
9
9
|
* @returns A promise that resolves to the WalletConnect catalog containing groups and wallets.
|
|
10
10
|
* @throws If unable to fetch the wallet book from the API (when both CDN fetch and cache retrieval fail).
|
|
11
|
-
* @instrumented
|
|
11
|
+
* @not-instrumented
|
|
12
12
|
*/
|
|
13
13
|
export declare const getWalletConnectCatalog: (client?: import("../../../exports").DynamicClient) => Promise<WalletConnectCatalog>;
|
|
14
14
|
//# sourceMappingURL=getWalletConnectCatalog.d.ts.map
|
|
@@ -12,7 +12,7 @@ type GetWalletConnectCatalogWalletByWalletProviderKeyParams = {
|
|
|
12
12
|
* @param params.walletProviderKey - The wallet provider key to get the catalog wallet entry for.
|
|
13
13
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
14
14
|
* @returns A promise that resolves to the WalletConnect catalog wallet entry, or undefined if not found.
|
|
15
|
-
* @instrumented
|
|
15
|
+
* @not-instrumented
|
|
16
16
|
*/
|
|
17
17
|
export declare const getWalletConnectCatalogWalletByWalletProviderKey: ({ walletProviderKey }: GetWalletConnectCatalogWalletByWalletProviderKeyParams, client?: import("../../../exports").DynamicClient) => Promise<WalletConnectCatalogWallet | undefined>;
|
|
18
18
|
export {};
|
package/dist/modules/mfa/consumeMfaTokenIfRequiredForAction/consumeMfaTokenIfRequiredForAction.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { DynamicClient } from '../../../client/types/DynamicClient';
|
|
|
3
3
|
type ConsumeMfaTokenIfRequiredForActionParams = {
|
|
4
4
|
mfaAction: MFAAction;
|
|
5
5
|
};
|
|
6
|
-
/** @instrumented */
|
|
6
|
+
/** @not-instrumented */
|
|
7
7
|
export declare const consumeMfaTokenIfRequiredForAction: ({ mfaAction }: ConsumeMfaTokenIfRequiredForActionParams, client: DynamicClient) => Promise<string | undefined>;
|
|
8
8
|
export {};
|
|
9
9
|
//# sourceMappingURL=consumeMfaTokenIfRequiredForAction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consumeMfaTokenIfRequiredForAction.d.ts","sourceRoot":"","sources":["../../../../src/modules/mfa/consumeMfaTokenIfRequiredForAction/consumeMfaTokenIfRequiredForAction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAE5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAIzE,KAAK,wCAAwC,GAAG;IAC9C,SAAS,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,
|
|
1
|
+
{"version":3,"file":"consumeMfaTokenIfRequiredForAction.d.ts","sourceRoot":"","sources":["../../../../src/modules/mfa/consumeMfaTokenIfRequiredForAction/consumeMfaTokenIfRequiredForAction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAE5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAIzE,KAAK,wCAAwC,GAAG;IAC9C,SAAS,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,wBAAwB;AACxB,eAAO,MAAM,kCAAkC,kBAC9B,wCAAwC,UAC/C,aAAa,KACpB,OAAO,CAAC,MAAM,GAAG,SAAS,CAW5B,CAAC"}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
8
8
|
* @returns A promise that resolves to an array of the user's registered MFA devices.
|
|
9
|
-
* @instrumented
|
|
9
|
+
* @not-instrumented
|
|
10
10
|
*/
|
|
11
11
|
export declare const getMfaDevices: (client?: import("../../../exports").DynamicClient) => Promise<import("@dynamic-labs/sdk-api-core").MFADevice[]>;
|
|
12
12
|
//# sourceMappingURL=getMfaDevices.d.ts.map
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
8
8
|
* @returns A promise that resolves to the user's MFA methods configuration.
|
|
9
|
-
* @instrumented
|
|
9
|
+
* @not-instrumented
|
|
10
10
|
*/
|
|
11
11
|
export declare const getMfaMethods: (client?: import("../../../exports").DynamicClient) => Promise<import("@dynamic-labs/sdk-api-core").MFAMethodsResponse>;
|
|
12
12
|
//# sourceMappingURL=getMfaMethods.d.ts.map
|