@dynamic-labs-sdk/client 1.28.0 → 1.30.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/android/src/main/java/xyz/dynamic/client/webview/DynamicWebViewHost.kt +8 -3
- package/android/src/main/java/xyz/dynamic/client/webview/DynamicWebViewModule.kt +27 -0
- package/dist/client/defaultClient/defaultClient.d.ts.map +1 -1
- package/dist/core.cjs +5 -5
- package/dist/core.cjs.map +1 -1
- package/dist/core.esm.js +7 -7
- package/dist/core.esm.js.map +1 -1
- package/dist/core.native.esm.js +7 -7
- package/dist/core.native.esm.js.map +1 -1
- package/dist/errors/ScreeningNotRequiredError.d.ts +23 -0
- package/dist/errors/ScreeningNotRequiredError.d.ts.map +1 -0
- package/dist/errors/base/BaseError.d.ts.map +1 -1
- package/dist/exports/core.d.ts +2 -1
- package/dist/exports/core.d.ts.map +1 -1
- package/dist/exports/index.d.ts +10 -1
- package/dist/exports/index.d.ts.map +1 -1
- package/dist/exports/waas.d.ts +26 -2
- package/dist/exports/waas.d.ts.map +1 -1
- package/dist/{getNetworkProviderFromNetworkId-CKWQLHSE.native.esm.js → getNetworkProviderFromNetworkId-BUjaD1Hl.native.esm.js} +7 -7
- package/dist/getNetworkProviderFromNetworkId-BUjaD1Hl.native.esm.js.map +1 -0
- package/dist/{getNetworkProviderFromNetworkId-DBjVmBmy.esm.js → getNetworkProviderFromNetworkId-ChdEfI2Q.esm.js} +6 -6
- package/dist/getNetworkProviderFromNetworkId-ChdEfI2Q.esm.js.map +1 -0
- package/dist/{getNetworkProviderFromNetworkId-OhoRrL_X.cjs → getNetworkProviderFromNetworkId-wbWC24tw.cjs} +2 -2
- package/dist/getNetworkProviderFromNetworkId-wbWC24tw.cjs.map +1 -0
- package/dist/{getSignedSessionId-BncZzHdQ.esm.js → getSignedSessionId-CAcYlAuB.esm.js} +3 -3
- package/dist/getSignedSessionId-CAcYlAuB.esm.js.map +1 -0
- package/dist/{getSignedSessionId-gwqj9h2p.cjs → getSignedSessionId-Ccdmqz-E.cjs} +3 -3
- package/dist/getSignedSessionId-Ccdmqz-E.cjs.map +1 -0
- package/dist/{getSignedSessionId-Dwqj_Cxx.native.esm.js → getSignedSessionId-GpNy9mNZ.native.esm.js} +3 -3
- package/dist/getSignedSessionId-GpNy9mNZ.native.esm.js.map +1 -0
- package/dist/{getWalletProviderByKey-CnpXHkmq.cjs → getWalletProviderByKey-BapuuI8t.cjs} +2 -2
- package/dist/getWalletProviderByKey-BapuuI8t.cjs.map +1 -0
- package/dist/{getWalletProviderByKey-Dh1slnTF.native.esm.js → getWalletProviderByKey-Bo8REwtt.native.esm.js} +4 -2
- package/dist/getWalletProviderByKey-Bo8REwtt.native.esm.js.map +1 -0
- package/dist/{getWalletProviderByKey-C9TWlmDD.esm.js → getWalletProviderByKey-D678OktF.esm.js} +2 -2
- package/dist/getWalletProviderByKey-D678OktF.esm.js.map +1 -0
- package/dist/index.cjs +351 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +349 -10
- package/dist/index.esm.js.map +1 -1
- package/dist/index.native.esm.js +349 -10
- package/dist/index.native.esm.js.map +1 -1
- package/dist/{isDynamicWaasEnabled-CvxVdfKf.native.esm.js → isDynamicWaasEnabled-6Fvh5fsA.native.esm.js} +2 -2
- package/dist/{isDynamicWaasEnabled-CvxVdfKf.native.esm.js.map → isDynamicWaasEnabled-6Fvh5fsA.native.esm.js.map} +1 -1
- package/dist/{isDynamicWaasEnabled-DnDhv_Uj.cjs → isDynamicWaasEnabled-BPEtdwZI.cjs} +2 -2
- package/dist/{isDynamicWaasEnabled-DnDhv_Uj.cjs.map → isDynamicWaasEnabled-BPEtdwZI.cjs.map} +1 -1
- package/dist/{isDynamicWaasEnabled-D3-nDwVw.esm.js → isDynamicWaasEnabled-CIJILHSm.esm.js} +2 -2
- package/dist/{isDynamicWaasEnabled-D3-nDwVw.esm.js.map → isDynamicWaasEnabled-CIJILHSm.esm.js.map} +1 -1
- package/dist/{isMfaRequiredForAction-BjRiou3K.cjs → isMfaRequiredForAction-DjZ5p_og.cjs} +2 -2
- package/dist/isMfaRequiredForAction-DjZ5p_og.cjs.map +1 -0
- package/dist/{isMfaRequiredForAction-BJGirRfD.native.esm.js → isMfaRequiredForAction-WvmXGQKP.native.esm.js} +2 -2
- package/dist/isMfaRequiredForAction-WvmXGQKP.native.esm.js.map +1 -0
- package/dist/{isMfaRequiredForAction-D5rzx59E.esm.js → isMfaRequiredForAction-h3H3j2fJ.esm.js} +2 -2
- package/dist/isMfaRequiredForAction-h3H3j2fJ.esm.js.map +1 -0
- package/dist/{isUserOnboardingComplete-OFxAxj23.esm.js → isUserOnboardingComplete-BYM3G09A.esm.js} +3 -3
- package/dist/{isUserOnboardingComplete-OFxAxj23.esm.js.map → isUserOnboardingComplete-BYM3G09A.esm.js.map} +1 -1
- package/dist/{isUserOnboardingComplete-KCtF3oaO.cjs → isUserOnboardingComplete-CxIX-dC1.cjs} +3 -3
- package/dist/{isUserOnboardingComplete-KCtF3oaO.cjs.map → isUserOnboardingComplete-CxIX-dC1.cjs.map} +1 -1
- package/dist/{isUserOnboardingComplete-B3cHYyNI.native.esm.js → isUserOnboardingComplete-HLRIFAZb.native.esm.js} +3 -3
- package/dist/{isUserOnboardingComplete-B3cHYyNI.native.esm.js.map → isUserOnboardingComplete-HLRIFAZb.native.esm.js.map} +1 -1
- package/dist/{migrateFromFireblocks-DY0SAilk.native.esm.js → migrateFromFireblocks-4jrfIkDp.native.esm.js} +3 -3
- package/dist/{migrateFromFireblocks-DY0SAilk.native.esm.js.map → migrateFromFireblocks-4jrfIkDp.native.esm.js.map} +1 -1
- package/dist/{migrateFromFireblocks-BM6Iaii-.esm.js → migrateFromFireblocks-R-aPmpUZ.esm.js} +3 -3
- package/dist/{migrateFromFireblocks-BM6Iaii-.esm.js.map → migrateFromFireblocks-R-aPmpUZ.esm.js.map} +1 -1
- package/dist/{migrateFromFireblocks-Dg6igmRk.cjs → migrateFromFireblocks-mA-hvJcQ.cjs} +3 -3
- package/dist/{migrateFromFireblocks-Dg6igmRk.cjs.map → migrateFromFireblocks-mA-hvJcQ.cjs.map} +1 -1
- package/dist/modules/apiClient/createApiClient.d.ts +2 -1
- package/dist/modules/apiClient/createApiClient.d.ts.map +1 -1
- package/dist/modules/apiClient/createBaseApiClient.d.ts.map +1 -1
- package/dist/modules/auth/createVisit/createVisit.d.ts.map +1 -1
- package/dist/modules/auth/decodeJwt/decodeJwt.d.ts +2 -1
- package/dist/modules/auth/decodeJwt/decodeJwt.d.ts.map +1 -1
- package/dist/modules/auth/externalAuth/requestExternalAuthElevatedToken/requestExternalAuthElevatedToken.d.ts +2 -1
- package/dist/modules/auth/externalAuth/requestExternalAuthElevatedToken/requestExternalAuthElevatedToken.d.ts.map +1 -1
- package/dist/modules/auth/externalAuth/signInWithExternalJwt/signInWithExternalJwt.d.ts +2 -1
- package/dist/modules/auth/externalAuth/signInWithExternalJwt/signInWithExternalJwt.d.ts.map +1 -1
- package/dist/modules/auth/initializeAuth/initializeAuth.d.ts.map +1 -1
- package/dist/modules/auth/isSignedIn/isSignedIn.d.ts.map +1 -1
- package/dist/modules/auth/logout/logout.d.ts.map +1 -1
- package/dist/modules/auth/logoutReason.d.ts +1 -1
- package/dist/modules/auth/logoutReason.d.ts.map +1 -1
- package/dist/modules/auth/logoutWithReason/logoutWithReason.d.ts.map +1 -1
- package/dist/modules/auth/passkeys/getPasskeys/getPasskeys.d.ts +3 -2
- package/dist/modules/auth/passkeys/getPasskeys/getPasskeys.d.ts.map +1 -1
- package/dist/modules/auth/passkeys/registerPasskey/registerPasskey.d.ts +2 -2
- package/dist/modules/auth/passkeys/registerPasskey/registerPasskey.d.ts.map +1 -1
- package/dist/modules/auth/passkeys/serverAuthenticatePasskey/serverAuthenticatePasskey.d.ts +2 -2
- package/dist/modules/auth/passkeys/serverAuthenticatePasskey/serverAuthenticatePasskey.d.ts.map +1 -1
- package/dist/modules/auth/passkeys/serverRegisterPasskey/serverRegisterPasskey.d.ts +2 -2
- package/dist/modules/auth/passkeys/serverRegisterPasskey/serverRegisterPasskey.d.ts.map +1 -1
- package/dist/modules/auth/passkeys/serverSigninPasskey/serverSigninPasskey.d.ts +2 -2
- package/dist/modules/auth/passkeys/serverSigninPasskey/serverSigninPasskey.d.ts.map +1 -1
- package/dist/modules/auth/passkeys/signInWithPasskey/signInWithPasskey.d.ts +2 -1
- package/dist/modules/auth/passkeys/signInWithPasskey/signInWithPasskey.d.ts.map +1 -1
- package/dist/modules/auth/social/oauth/authenticateWithSocial/authenticateWithSocial.d.ts.map +1 -1
- package/dist/modules/auth/social/oauth/signInWithSocialRedirect/signInWithSocialRedirect.d.ts.map +1 -1
- package/dist/modules/auth/social/removeDynamicOauthParamsFromUrl/removeDynamicOauthParamsFromUrl.d.ts.map +1 -1
- package/dist/modules/auth/updateAuthFromVerifyResponse/checkAndRaiseWalletAccountsChangedEvent/checkAndRaiseWalletAccountsChangedEvent.d.ts.map +1 -1
- package/dist/modules/auth/updateAuthFromVerifyResponse/updateAuthFromVerifyResponse.d.ts.map +1 -1
- package/dist/modules/captcha/isCaptchaRequired/isCaptchaRequired.d.ts.map +1 -1
- package/dist/modules/captcha/setCaptchaToken/setCaptchaToken.d.ts.map +1 -1
- package/dist/modules/checkout/utils/createCheckoutSessionTokenStorageKey/createCheckoutSessionTokenStorageKey.d.ts +2 -1
- package/dist/modules/checkout/utils/createCheckoutSessionTokenStorageKey/createCheckoutSessionTokenStorageKey.d.ts.map +1 -1
- package/dist/modules/checkout/utils/createCheckoutTransactionChannelSchema/createCheckoutTransactionChannelSchema.d.ts +9 -7
- package/dist/modules/checkout/utils/createCheckoutTransactionChannelSchema/createCheckoutTransactionChannelSchema.d.ts.map +1 -1
- package/dist/modules/clientEvents/clientEvents.d.ts +2 -2
- package/dist/modules/clientEvents/clientEvents.d.ts.map +1 -1
- package/dist/modules/crossTabEventSync/setupCrossTabEventSync/setupCrossTabEventSync.d.ts +1 -1
- package/dist/modules/crossTabEventSync/setupCrossTabEventSync/setupCrossTabEventSync.d.ts.map +1 -1
- package/dist/modules/deviceRegistration/isDeviceRegistrationRequired/isDeviceRegistrationRequired.d.ts +1 -1
- package/dist/modules/deviceRegistration/isDeviceRegistrationRequired/isDeviceRegistrationRequired.d.ts.map +1 -1
- package/dist/modules/extension/hasExtension/hasExtension.d.ts +1 -1
- package/dist/modules/extension/hasExtension/hasExtension.d.ts.map +1 -1
- package/dist/modules/extension/registerExtension/registerExtension.d.ts +1 -1
- package/dist/modules/extension/registerExtension/registerExtension.d.ts.map +1 -1
- package/dist/modules/flow/utils/createFlowSessionTokenStorageKey/createFlowSessionTokenStorageKey.d.ts +2 -1
- package/dist/modules/flow/utils/createFlowSessionTokenStorageKey/createFlowSessionTokenStorageKey.d.ts.map +1 -1
- package/dist/modules/initializeClient/initializeClient.d.ts.map +1 -1
- package/dist/modules/initializeClient/logoutIfSessionPublicKeyMismatched/logoutIfSessionPublicKeyMismatched.d.ts +18 -0
- package/dist/modules/initializeClient/logoutIfSessionPublicKeyMismatched/logoutIfSessionPublicKeyMismatched.d.ts.map +1 -0
- package/dist/modules/initializeClient/waitForClientInitialized/waitForClientInitialized.d.ts.map +1 -1
- package/dist/modules/initializeClient/waitForProjectSettings/waitForProjectSettings.d.ts +2 -1
- package/dist/modules/initializeClient/waitForProjectSettings/waitForProjectSettings.d.ts.map +1 -1
- package/dist/modules/instrumentation/setInstrumentationEnabled/setInstrumentationEnabled.d.ts.map +1 -1
- package/dist/modules/mfa/acknowledgeRecoveryCodes/acknowledgeRecoveryCodes.d.ts +3 -2
- package/dist/modules/mfa/acknowledgeRecoveryCodes/acknowledgeRecoveryCodes.d.ts.map +1 -1
- package/dist/modules/mfa/authenticateMfaRecoveryCode/authenticateMfaRecoveryCode.d.ts +2 -2
- package/dist/modules/mfa/authenticateMfaRecoveryCode/authenticateMfaRecoveryCode.d.ts.map +1 -1
- package/dist/modules/mfa/authenticatePasskeyMFA/authenticatePasskeyMFA.d.ts +2 -2
- package/dist/modules/mfa/authenticatePasskeyMFA/authenticatePasskeyMFA.d.ts.map +1 -1
- package/dist/modules/mfa/authenticateTotpMfaDevice/authenticateTotpMfaDevice.d.ts +2 -2
- package/dist/modules/mfa/authenticateTotpMfaDevice/authenticateTotpMfaDevice.d.ts.map +1 -1
- package/dist/modules/mfa/consumeMfaToken/consumeMfaToken.d.ts.map +1 -1
- package/dist/modules/mfa/createNewMfaRecoveryCodes/createNewMfaRecoveryCodes.d.ts +2 -1
- package/dist/modules/mfa/createNewMfaRecoveryCodes/createNewMfaRecoveryCodes.d.ts.map +1 -1
- package/dist/modules/mfa/deleteMfaDevice/deleteMfaDevice.d.ts +1 -1
- package/dist/modules/mfa/deleteMfaDevice/deleteMfaDevice.d.ts.map +1 -1
- package/dist/modules/mfa/getMfaDevices/getMfaDevices.d.ts +3 -2
- package/dist/modules/mfa/getMfaDevices/getMfaDevices.d.ts.map +1 -1
- package/dist/modules/mfa/getMfaMethods/getMfaMethods.d.ts +3 -2
- package/dist/modules/mfa/getMfaMethods/getMfaMethods.d.ts.map +1 -1
- package/dist/modules/mfa/getMfaRecoveryCodes/getMfaRecoveryCodes.d.ts +3 -2
- package/dist/modules/mfa/getMfaRecoveryCodes/getMfaRecoveryCodes.d.ts.map +1 -1
- package/dist/modules/mfa/isMfaRequiredForAction/isMfaRequiredForAction.d.ts +1 -1
- package/dist/modules/mfa/isMfaRequiredForAction/isMfaRequiredForAction.d.ts.map +1 -1
- package/dist/modules/mfa/isPendingRecoveryCodesAcknowledgment/isPendingRecoveryCodesAcknowledgment.d.ts +1 -1
- package/dist/modules/mfa/isPendingRecoveryCodesAcknowledgment/isPendingRecoveryCodesAcknowledgment.d.ts.map +1 -1
- package/dist/modules/mfa/isUserMissingMfaAuth/isUserMissingMfaAuth.d.ts +1 -1
- package/dist/modules/mfa/isUserMissingMfaAuth/isUserMissingMfaAuth.d.ts.map +1 -1
- package/dist/modules/mfa/registerTotpMfaDevice/registerTotpMfaDevice.d.ts +2 -1
- package/dist/modules/mfa/registerTotpMfaDevice/registerTotpMfaDevice.d.ts.map +1 -1
- package/dist/modules/mfa/setDefaultMfaDevice/setDefaultMfaDevice.d.ts +1 -1
- package/dist/modules/mfa/setDefaultMfaDevice/setDefaultMfaDevice.d.ts.map +1 -1
- package/dist/modules/otp/verifyOTP/verifyOTPForUserSignIn/verifyOTPForUserSignIn.d.ts +2 -1
- package/dist/modules/otp/verifyOTP/verifyOTPForUserSignIn/verifyOTPForUserSignIn.d.ts.map +1 -1
- package/dist/modules/otp/verifyOTP/verifyOTPForUserUpdate/verifyOTPForUserUpdate.d.ts +2 -1
- package/dist/modules/otp/verifyOTP/verifyOTPForUserUpdate/verifyOTPForUserUpdate.d.ts.map +1 -1
- package/dist/modules/projectSettings/fetchProjectSettings/fetchProjectSettings.d.ts +2 -1
- package/dist/modules/projectSettings/fetchProjectSettings/fetchProjectSettings.d.ts.map +1 -1
- package/dist/modules/sessionKeys/generateNonceSignature/generateNonceSignature.d.ts +4 -3
- package/dist/modules/sessionKeys/generateNonceSignature/generateNonceSignature.d.ts.map +1 -1
- package/dist/modules/sessionKeys/generateSessionSignature/generateSessionSignature.d.ts +4 -3
- package/dist/modules/sessionKeys/generateSessionSignature/generateSessionSignature.d.ts.map +1 -1
- package/dist/modules/sessionKeys/getSignedSessionId/getSignedSessionId.d.ts +5 -3
- package/dist/modules/sessionKeys/getSignedSessionId/getSignedSessionId.d.ts.map +1 -1
- package/dist/modules/state/raiseStateEvents/raiseStateEvents.d.ts.map +1 -1
- package/dist/modules/storageSync/initializeStorageSync.d.ts.map +1 -1
- package/dist/modules/storageSync/syncStateWithStorage/syncStateWithStorage.d.ts.map +1 -1
- package/dist/modules/swap/executeSwapTransaction/executeSwapTransaction.d.ts +4 -3
- package/dist/modules/swap/executeSwapTransaction/executeSwapTransaction.d.ts.map +1 -1
- package/dist/modules/swap/utils/ensureCorrectActiveNetwork/ensureCorrectActiveNetwork.d.ts.map +1 -1
- package/dist/modules/user/isUserOnboardingComplete/isUserOnboardingComplete.d.ts.map +1 -1
- package/dist/modules/waas/backupWaasKeySharesToGoogleDrive/backupWaasKeySharesToGoogleDrive.d.ts +1 -1
- package/dist/modules/waas/backupWaasKeySharesToGoogleDrive/backupWaasKeySharesToGoogleDrive.d.ts.map +1 -1
- package/dist/modules/waas/businessAccounts/addBusinessAccountSigner/addBusinessAccountSigner.d.ts +6 -5
- package/dist/modules/waas/businessAccounts/addBusinessAccountSigner/addBusinessAccountSigner.d.ts.map +1 -1
- package/dist/modules/waas/businessAccounts/createWalletForBusinessAccount/createWalletForBusinessAccount.d.ts +6 -5
- package/dist/modules/waas/businessAccounts/createWalletForBusinessAccount/createWalletForBusinessAccount.d.ts.map +1 -1
- package/dist/modules/waas/createWaasOfflineRecoveryShares/createWaasOfflineRecoveryShares.d.ts.map +1 -1
- package/dist/modules/waas/exportWaasClientKeyshares/exportWaasClientKeyshares.d.ts +1 -1
- package/dist/modules/waas/exportWaasClientKeyshares/exportWaasClientKeyshares.d.ts.map +1 -1
- package/dist/modules/waas/exportWaasPrivateKey/exportWaasPrivateKey.d.ts +1 -1
- package/dist/modules/waas/exportWaasPrivateKey/exportWaasPrivateKey.d.ts.map +1 -1
- package/dist/modules/waas/exportWaasPrivateKeyToContainer/exportWaasPrivateKeyToContainer.d.ts.map +1 -1
- package/dist/modules/waas/getWalletAccountShareSets/getWalletAccountShareSets.d.ts +27 -0
- package/dist/modules/waas/getWalletAccountShareSets/getWalletAccountShareSets.d.ts.map +1 -0
- package/dist/modules/waas/getWalletAccountShareSets/index.d.ts +3 -0
- package/dist/modules/waas/getWalletAccountShareSets/index.d.ts.map +1 -0
- package/dist/modules/waas/importWaasPrivateKey/importWaasPrivateKey.d.ts +1 -1
- package/dist/modules/waas/importWaasPrivateKey/importWaasPrivateKey.d.ts.map +1 -1
- package/dist/modules/waas/injectWaasVerifiedCredentialFields/injectWaasVerifiedCredentialFields.d.ts +26 -0
- package/dist/modules/waas/injectWaasVerifiedCredentialFields/injectWaasVerifiedCredentialFields.d.ts.map +1 -0
- package/dist/modules/waas/isDynamicWaasEnabled/isDynamicWaasEnabled.d.ts +1 -1
- package/dist/modules/waas/isDynamicWaasEnabled/isDynamicWaasEnabled.d.ts.map +1 -1
- package/dist/modules/waas/policies/applyPolicyLayerBatch/applyPolicyLayerBatch.d.ts +18 -0
- package/dist/modules/waas/policies/applyPolicyLayerBatch/applyPolicyLayerBatch.d.ts.map +1 -0
- package/dist/modules/waas/policies/applyPolicyLayerBatch/index.d.ts +2 -0
- package/dist/modules/waas/policies/applyPolicyLayerBatch/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/buildAllowAddressesRule/buildAllowAddressesRule.d.ts +10 -0
- package/dist/modules/waas/policies/buildAllowAddressesRule/buildAllowAddressesRule.d.ts.map +1 -0
- package/dist/modules/waas/policies/buildAllowAddressesRule/index.d.ts +2 -0
- package/dist/modules/waas/policies/buildAllowAddressesRule/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/buildAllowPolicyRule/buildAllowPolicyRule.d.ts +11 -0
- package/dist/modules/waas/policies/buildAllowPolicyRule/buildAllowPolicyRule.d.ts.map +1 -0
- package/dist/modules/waas/policies/buildAllowPolicyRule/index.d.ts +2 -0
- package/dist/modules/waas/policies/buildAllowPolicyRule/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/buildBlockExportRule/buildBlockExportRule.d.ts +11 -0
- package/dist/modules/waas/policies/buildBlockExportRule/buildBlockExportRule.d.ts.map +1 -0
- package/dist/modules/waas/policies/buildBlockExportRule/index.d.ts +2 -0
- package/dist/modules/waas/policies/buildBlockExportRule/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/buildDenyAddressesRule/buildDenyAddressesRule.d.ts +8 -0
- package/dist/modules/waas/policies/buildDenyAddressesRule/buildDenyAddressesRule.d.ts.map +1 -0
- package/dist/modules/waas/policies/buildDenyAddressesRule/index.d.ts +2 -0
- package/dist/modules/waas/policies/buildDenyAddressesRule/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/buildDenyPolicyRule/buildDenyPolicyRule.d.ts +11 -0
- package/dist/modules/waas/policies/buildDenyPolicyRule/buildDenyPolicyRule.d.ts.map +1 -0
- package/dist/modules/waas/policies/buildDenyPolicyRule/index.d.ts +2 -0
- package/dist/modules/waas/policies/buildDenyPolicyRule/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/buildMaxAmountPerTransactionRule/buildMaxAmountPerTransactionRule.d.ts +10 -0
- package/dist/modules/waas/policies/buildMaxAmountPerTransactionRule/buildMaxAmountPerTransactionRule.d.ts.map +1 -0
- package/dist/modules/waas/policies/buildMaxAmountPerTransactionRule/index.d.ts +2 -0
- package/dist/modules/waas/policies/buildMaxAmountPerTransactionRule/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/buildOperationForExistingRule/buildOperationForExistingRule.d.ts +26 -0
- package/dist/modules/waas/policies/buildOperationForExistingRule/buildOperationForExistingRule.d.ts.map +1 -0
- package/dist/modules/waas/policies/buildOperationForExistingRule/index.d.ts +2 -0
- package/dist/modules/waas/policies/buildOperationForExistingRule/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/buildOperationsForRule/buildOperationsForRule.d.ts +24 -0
- package/dist/modules/waas/policies/buildOperationsForRule/buildOperationsForRule.d.ts.map +1 -0
- package/dist/modules/waas/policies/buildOperationsForRule/index.d.ts +2 -0
- package/dist/modules/waas/policies/buildOperationsForRule/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/buildValueLimit/buildValueLimit.d.ts +12 -0
- package/dist/modules/waas/policies/buildValueLimit/buildValueLimit.d.ts.map +1 -0
- package/dist/modules/waas/policies/buildValueLimit/index.d.ts +2 -0
- package/dist/modules/waas/policies/buildValueLimit/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/createPolicy/createPolicy.d.ts +39 -0
- package/dist/modules/waas/policies/createPolicy/createPolicy.d.ts.map +1 -0
- package/dist/modules/waas/policies/createPolicy/index.d.ts +2 -0
- package/dist/modules/waas/policies/createPolicy/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/desugarPolicyRules/desugarPolicyRules.d.ts +23 -0
- package/dist/modules/waas/policies/desugarPolicyRules/desugarPolicyRules.d.ts.map +1 -0
- package/dist/modules/waas/policies/desugarPolicyRules/index.d.ts +2 -0
- package/dist/modules/waas/policies/desugarPolicyRules/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/expandPolicyRules/expandPolicyRules.d.ts +22 -0
- package/dist/modules/waas/policies/expandPolicyRules/expandPolicyRules.d.ts.map +1 -0
- package/dist/modules/waas/policies/expandPolicyRules/index.d.ts +2 -0
- package/dist/modules/waas/policies/expandPolicyRules/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/fillOmittedRuleValues/fillOmittedRuleValues.d.ts +26 -0
- package/dist/modules/waas/policies/fillOmittedRuleValues/fillOmittedRuleValues.d.ts.map +1 -0
- package/dist/modules/waas/policies/fillOmittedRuleValues/index.d.ts +2 -0
- package/dist/modules/waas/policies/fillOmittedRuleValues/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/findMatchedRuleKind/findMatchedRuleKind.d.ts +22 -0
- package/dist/modules/waas/policies/findMatchedRuleKind/findMatchedRuleKind.d.ts.map +1 -0
- package/dist/modules/waas/policies/findMatchedRuleKind/index.d.ts +3 -0
- package/dist/modules/waas/policies/findMatchedRuleKind/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/getAccountPolicyLayer/getAccountPolicyLayer.d.ts +18 -0
- package/dist/modules/waas/policies/getAccountPolicyLayer/getAccountPolicyLayer.d.ts.map +1 -0
- package/dist/modules/waas/policies/getAccountPolicyLayer/index.d.ts +2 -0
- package/dist/modules/waas/policies/getAccountPolicyLayer/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/getPolicy/getPolicy.d.ts +34 -0
- package/dist/modules/waas/policies/getPolicy/getPolicy.d.ts.map +1 -0
- package/dist/modules/waas/policies/getPolicy/index.d.ts +2 -0
- package/dist/modules/waas/policies/getPolicy/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/getResolvedPolicyLayer/getResolvedPolicyLayer.d.ts +16 -0
- package/dist/modules/waas/policies/getResolvedPolicyLayer/getResolvedPolicyLayer.d.ts.map +1 -0
- package/dist/modules/waas/policies/getResolvedPolicyLayer/index.d.ts +2 -0
- package/dist/modules/waas/policies/getResolvedPolicyLayer/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/getSignerPolicyLayer/getSignerPolicyLayer.d.ts +25 -0
- package/dist/modules/waas/policies/getSignerPolicyLayer/getSignerPolicyLayer.d.ts.map +1 -0
- package/dist/modules/waas/policies/getSignerPolicyLayer/index.d.ts +2 -0
- package/dist/modules/waas/policies/getSignerPolicyLayer/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/getWalletPolicyLayer/getWalletPolicyLayer.d.ts +20 -0
- package/dist/modules/waas/policies/getWalletPolicyLayer/getWalletPolicyLayer.d.ts.map +1 -0
- package/dist/modules/waas/policies/getWalletPolicyLayer/index.d.ts +2 -0
- package/dist/modules/waas/policies/getWalletPolicyLayer/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/hasAddresses/hasAddresses.d.ts +7 -0
- package/dist/modules/waas/policies/hasAddresses/hasAddresses.d.ts.map +1 -0
- package/dist/modules/waas/policies/hasAddresses/index.d.ts +2 -0
- package/dist/modules/waas/policies/hasAddresses/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/hasUnrecognizedFields/hasUnrecognizedFields.d.ts +6 -0
- package/dist/modules/waas/policies/hasUnrecognizedFields/hasUnrecognizedFields.d.ts.map +1 -0
- package/dist/modules/waas/policies/hasUnrecognizedFields/index.d.ts +2 -0
- package/dist/modules/waas/policies/hasUnrecognizedFields/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/isPolicyRuleDeletionMarker/index.d.ts +2 -0
- package/dist/modules/waas/policies/isPolicyRuleDeletionMarker/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/isPolicyRuleDeletionMarker/isPolicyRuleDeletionMarker.d.ts +14 -0
- package/dist/modules/waas/policies/isPolicyRuleDeletionMarker/isPolicyRuleDeletionMarker.d.ts.map +1 -0
- package/dist/modules/waas/policies/matchExistingRules/index.d.ts +3 -0
- package/dist/modules/waas/policies/matchExistingRules/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/matchExistingRules/matchExistingRules.d.ts +33 -0
- package/dist/modules/waas/policies/matchExistingRules/matchExistingRules.d.ts.map +1 -0
- package/dist/modules/waas/policies/policies.types.d.ts +91 -0
- package/dist/modules/waas/policies/policies.types.d.ts.map +1 -0
- package/dist/modules/waas/policies/policyRuleDefaultNames.d.ts +10 -0
- package/dist/modules/waas/policies/policyRuleDefaultNames.d.ts.map +1 -0
- package/dist/modules/waas/policies/policyRuleKinds.d.ts +34 -0
- package/dist/modules/waas/policies/policyRuleKinds.d.ts.map +1 -0
- package/dist/modules/waas/policies/readAllowAddressesRule/index.d.ts +2 -0
- package/dist/modules/waas/policies/readAllowAddressesRule/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/readAllowAddressesRule/readAllowAddressesRule.d.ts +9 -0
- package/dist/modules/waas/policies/readAllowAddressesRule/readAllowAddressesRule.d.ts.map +1 -0
- package/dist/modules/waas/policies/readBlockExportRule/index.d.ts +2 -0
- package/dist/modules/waas/policies/readBlockExportRule/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/readBlockExportRule/readBlockExportRule.d.ts +8 -0
- package/dist/modules/waas/policies/readBlockExportRule/readBlockExportRule.d.ts.map +1 -0
- package/dist/modules/waas/policies/readCoveredRule/index.d.ts +3 -0
- package/dist/modules/waas/policies/readCoveredRule/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/readCoveredRule/readCoveredRule.d.ts +31 -0
- package/dist/modules/waas/policies/readCoveredRule/readCoveredRule.d.ts.map +1 -0
- package/dist/modules/waas/policies/readDenyAddressesRule/index.d.ts +2 -0
- package/dist/modules/waas/policies/readDenyAddressesRule/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/readDenyAddressesRule/readDenyAddressesRule.d.ts +8 -0
- package/dist/modules/waas/policies/readDenyAddressesRule/readDenyAddressesRule.d.ts.map +1 -0
- package/dist/modules/waas/policies/readMaxAmountPerTransactionRule/index.d.ts +2 -0
- package/dist/modules/waas/policies/readMaxAmountPerTransactionRule/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/readMaxAmountPerTransactionRule/readMaxAmountPerTransactionRule.d.ts +8 -0
- package/dist/modules/waas/policies/readMaxAmountPerTransactionRule/readMaxAmountPerTransactionRule.d.ts.map +1 -0
- package/dist/modules/waas/policies/readValueLimit/index.d.ts +2 -0
- package/dist/modules/waas/policies/readValueLimit/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/readValueLimit/readValueLimit.d.ts +10 -0
- package/dist/modules/waas/policies/readValueLimit/readValueLimit.d.ts.map +1 -0
- package/dist/modules/waas/policies/removeAccountPolicyRule/index.d.ts +2 -0
- package/dist/modules/waas/policies/removeAccountPolicyRule/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/removeAccountPolicyRule/removeAccountPolicyRule.d.ts +20 -0
- package/dist/modules/waas/policies/removeAccountPolicyRule/removeAccountPolicyRule.d.ts.map +1 -0
- package/dist/modules/waas/policies/removePolicyRules/index.d.ts +2 -0
- package/dist/modules/waas/policies/removePolicyRules/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/removePolicyRules/removePolicyRules.d.ts +30 -0
- package/dist/modules/waas/policies/removePolicyRules/removePolicyRules.d.ts.map +1 -0
- package/dist/modules/waas/policies/removeSignerPolicyRule/index.d.ts +2 -0
- package/dist/modules/waas/policies/removeSignerPolicyRule/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/removeSignerPolicyRule/removeSignerPolicyRule.d.ts +25 -0
- package/dist/modules/waas/policies/removeSignerPolicyRule/removeSignerPolicyRule.d.ts.map +1 -0
- package/dist/modules/waas/policies/removeWalletPolicyRule/index.d.ts +2 -0
- package/dist/modules/waas/policies/removeWalletPolicyRule/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/removeWalletPolicyRule/removeWalletPolicyRule.d.ts +22 -0
- package/dist/modules/waas/policies/removeWalletPolicyRule/removeWalletPolicyRule.d.ts.map +1 -0
- package/dist/modules/waas/policies/resolvePolicyScope/index.d.ts +3 -0
- package/dist/modules/waas/policies/resolvePolicyScope/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/resolvePolicyScope/resolvePolicyScope.d.ts +31 -0
- package/dist/modules/waas/policies/resolvePolicyScope/resolvePolicyScope.d.ts.map +1 -0
- package/dist/modules/waas/policies/resolveRuleName/index.d.ts +2 -0
- package/dist/modules/waas/policies/resolveRuleName/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/resolveRuleName/resolveRuleName.d.ts +20 -0
- package/dist/modules/waas/policies/resolveRuleName/resolveRuleName.d.ts.map +1 -0
- package/dist/modules/waas/policies/sameChainIds/index.d.ts +2 -0
- package/dist/modules/waas/policies/sameChainIds/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/sameChainIds/sameChainIds.d.ts +14 -0
- package/dist/modules/waas/policies/sameChainIds/sameChainIds.d.ts.map +1 -0
- package/dist/modules/waas/policies/sortRulesByRuleId/index.d.ts +2 -0
- package/dist/modules/waas/policies/sortRulesByRuleId/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/sortRulesByRuleId/sortRulesByRuleId.d.ts +12 -0
- package/dist/modules/waas/policies/sortRulesByRuleId/sortRulesByRuleId.d.ts.map +1 -0
- package/dist/modules/waas/policies/upsertAccountPolicyRule/index.d.ts +2 -0
- package/dist/modules/waas/policies/upsertAccountPolicyRule/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/upsertAccountPolicyRule/upsertAccountPolicyRule.d.ts +24 -0
- package/dist/modules/waas/policies/upsertAccountPolicyRule/upsertAccountPolicyRule.d.ts.map +1 -0
- package/dist/modules/waas/policies/upsertSignerPolicyRule/index.d.ts +2 -0
- package/dist/modules/waas/policies/upsertSignerPolicyRule/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/upsertSignerPolicyRule/upsertSignerPolicyRule.d.ts +28 -0
- package/dist/modules/waas/policies/upsertSignerPolicyRule/upsertSignerPolicyRule.d.ts.map +1 -0
- package/dist/modules/waas/policies/upsertWalletPolicyRule/index.d.ts +2 -0
- package/dist/modules/waas/policies/upsertWalletPolicyRule/index.d.ts.map +1 -0
- package/dist/modules/waas/policies/upsertWalletPolicyRule/upsertWalletPolicyRule.d.ts +25 -0
- package/dist/modules/waas/policies/upsertWalletPolicyRule/upsertWalletPolicyRule.d.ts.map +1 -0
- package/dist/modules/waas/refreshWaasWalletAccountShares/refreshWaasWalletAccountShares.d.ts +1 -1
- package/dist/modules/waas/refreshWaasWalletAccountShares/refreshWaasWalletAccountShares.d.ts.map +1 -1
- package/dist/modules/waas/setWaasWalletAccountPassword/setWaasWalletAccountPassword.d.ts +1 -1
- package/dist/modules/waas/setWaasWalletAccountPassword/setWaasWalletAccountPassword.d.ts.map +1 -1
- package/dist/modules/waas/shouldAutoCreateWalletForChain/shouldAutoCreateWalletForChain.d.ts +1 -1
- package/dist/modules/waas/shouldAutoCreateWalletForChain/shouldAutoCreateWalletForChain.d.ts.map +1 -1
- package/dist/modules/waas/signSerializedTransaction/index.d.ts +2 -0
- package/dist/modules/waas/signSerializedTransaction/index.d.ts.map +1 -0
- package/dist/modules/waas/signSerializedTransaction/signSerializedTransaction.d.ts +24 -0
- package/dist/modules/waas/signSerializedTransaction/signSerializedTransaction.d.ts.map +1 -0
- package/dist/modules/waas/updateWaasPassword/updateWaasPassword.d.ts +1 -1
- package/dist/modules/waas/updateWaasPassword/updateWaasPassword.d.ts.map +1 -1
- package/dist/modules/waas/waas.types.d.ts +22 -1
- package/dist/modules/waas/waas.types.d.ts.map +1 -1
- package/dist/modules/wallets/assertWalletAccountSigningAvailability/assertWalletAccountSigningAvailability.d.ts +1 -1
- package/dist/modules/wallets/assertWalletAccountSigningAvailability/assertWalletAccountSigningAvailability.d.ts.map +1 -1
- package/dist/modules/wallets/connectAndVerifyWithWalletProvider/connectAndVerifyWithWalletProvider.d.ts +2 -1
- package/dist/modules/wallets/connectAndVerifyWithWalletProvider/connectAndVerifyWithWalletProvider.d.ts.map +1 -1
- package/dist/modules/wallets/destroyWalletProviders/destroyWalletProviders.d.ts.map +1 -1
- package/dist/modules/wallets/getConnectedAddresses/getConnectedAddresses.d.ts +4 -3
- package/dist/modules/wallets/getConnectedAddresses/getConnectedAddresses.d.ts.map +1 -1
- package/dist/modules/wallets/getWalletAccountAddressByType/getWalletAccountAddressByType.d.ts.map +1 -1
- package/dist/modules/wallets/getWalletProviderByKey/getWalletProviderByKey.d.ts +2 -1
- package/dist/modules/wallets/getWalletProviderByKey/getWalletProviderByKey.d.ts.map +1 -1
- package/dist/modules/wallets/getWalletProviders/getWalletProviders.d.ts +3 -2
- package/dist/modules/wallets/getWalletProviders/getWalletProviders.d.ts.map +1 -1
- package/dist/modules/wallets/isExternalWalletScreeningEnabled/index.d.ts +2 -0
- package/dist/modules/wallets/isExternalWalletScreeningEnabled/index.d.ts.map +1 -0
- package/dist/modules/wallets/isExternalWalletScreeningEnabled/isExternalWalletScreeningEnabled.d.ts +28 -0
- package/dist/modules/wallets/isExternalWalletScreeningEnabled/isExternalWalletScreeningEnabled.d.ts.map +1 -0
- package/dist/modules/wallets/isWalletAccountVerified/isWalletAccountVerified.d.ts.map +1 -1
- package/dist/modules/wallets/networks/addNetwork/addNetwork.d.ts +1 -1
- package/dist/modules/wallets/networks/addNetwork/addNetwork.d.ts.map +1 -1
- package/dist/modules/wallets/networks/getActiveNetworkData/getActiveNetworkData.d.ts +5 -3
- package/dist/modules/wallets/networks/getActiveNetworkData/getActiveNetworkData.d.ts.map +1 -1
- package/dist/modules/wallets/networks/getActiveNetworkId/getActiveNetworkId.d.ts +5 -4
- package/dist/modules/wallets/networks/getActiveNetworkId/getActiveNetworkId.d.ts.map +1 -1
- package/dist/modules/wallets/networks/getBalanceForAddress/getBalanceForAddress.d.ts +4 -3
- package/dist/modules/wallets/networks/getBalanceForAddress/getBalanceForAddress.d.ts.map +1 -1
- package/dist/modules/wallets/networks/getNativeBalance/getNativeBalance.d.ts +4 -3
- package/dist/modules/wallets/networks/getNativeBalance/getNativeBalance.d.ts.map +1 -1
- package/dist/modules/wallets/networks/isProgrammaticNetworkSwitchAvailable/isProgrammaticNetworkSwitchAvailable.d.ts +1 -1
- package/dist/modules/wallets/networks/isProgrammaticNetworkSwitchAvailable/isProgrammaticNetworkSwitchAvailable.d.ts.map +1 -1
- package/dist/modules/wallets/networks/switchActiveNetwork/switchActiveNetwork.d.ts.map +1 -1
- package/dist/modules/wallets/proveWalletAccountOwnership/proveWalletAccountOwnership.d.ts +5 -4
- package/dist/modules/wallets/proveWalletAccountOwnership/proveWalletAccountOwnership.d.ts.map +1 -1
- package/dist/modules/wallets/screenTransaction/index.d.ts +2 -0
- package/dist/modules/wallets/screenTransaction/index.d.ts.map +1 -0
- package/dist/modules/wallets/screenTransaction/screenTransaction.d.ts +47 -0
- package/dist/modules/wallets/screenTransaction/screenTransaction.d.ts.map +1 -0
- package/dist/modules/wallets/signMessage/signMessage.d.ts +4 -3
- package/dist/modules/wallets/signMessage/signMessage.d.ts.map +1 -1
- package/dist/modules/wallets/transferAmount/transferAmount.d.ts +5 -3
- package/dist/modules/wallets/transferAmount/transferAmount.d.ts.map +1 -1
- package/dist/modules/wallets/transferWalletAccount/transferWalletAccount.d.ts +2 -1
- package/dist/modules/wallets/transferWalletAccount/transferWalletAccount.d.ts.map +1 -1
- package/dist/modules/wallets/unverifiedWalletAccounts/removeUnverifiedWalletAccount/removeUnverifiedWalletAccount.d.ts +1 -1
- package/dist/modules/wallets/unverifiedWalletAccounts/removeUnverifiedWalletAccount/removeUnverifiedWalletAccount.d.ts.map +1 -1
- package/dist/modules/wallets/userHasExternalWallet/userHasExternalWallet.d.ts.map +1 -1
- package/dist/modules/wallets/utils/convertVerifiedCredentialToWalletAccount/convertVerifiedCredentialToWalletAccount.d.ts.map +1 -1
- package/dist/modules/wallets/utils/formatSignInMessage/formatSignInMessage.d.ts +1 -1
- package/dist/modules/wallets/utils/formatSignInMessage/formatSignInMessage.d.ts.map +1 -1
- package/dist/modules/wallets/utils/formatWalletProviderKey/formatWalletProviderKey.d.ts +1 -1
- package/dist/modules/wallets/utils/formatWalletProviderKey/formatWalletProviderKey.d.ts.map +1 -1
- package/dist/modules/wallets/utils/getAvailableWalletProvidersFromWalletAccounts/getAvailableWalletProvidersFromWalletAccounts.d.ts.map +1 -1
- package/dist/modules/wallets/utils/getChainIdForAccountVerification/getChainIdForAccountVerification.d.ts.map +1 -1
- package/dist/modules/wallets/utils/getSignInMessage/createSignInMessageStatement/createSignInMessageStatement.d.ts.map +1 -1
- package/dist/modules/wallets/utils/getSignInMessage/getSignInMessage.d.ts.map +1 -1
- package/dist/modules/wallets/utils/getVerifiedCredentialForWalletAccount/getVerifiedCredentialForWalletAccount.d.ts +2 -1
- package/dist/modules/wallets/utils/getVerifiedCredentialForWalletAccount/getVerifiedCredentialForWalletAccount.d.ts.map +1 -1
- package/dist/modules/wallets/utils/getWalletAccountFromAddress/getWalletAccountFromAddress.d.ts +2 -1
- package/dist/modules/wallets/utils/getWalletAccountFromAddress/getWalletAccountFromAddress.d.ts.map +1 -1
- package/dist/modules/wallets/utils/getWalletProviderFromWalletAccount/getWalletProviderFromWalletAccount.d.ts +2 -1
- package/dist/modules/wallets/utils/getWalletProviderFromWalletAccount/getWalletProviderFromWalletAccount.d.ts.map +1 -1
- package/dist/modules/wallets/utils/isSameAddress/isSameAddress.d.ts +1 -1
- package/dist/modules/wallets/utils/isSameAddress/isSameAddress.d.ts.map +1 -1
- package/dist/modules/wallets/utils/normalizeAddress/normalizeAddress.d.ts +1 -1
- package/dist/modules/wallets/utils/normalizeAddress/normalizeAddress.d.ts.map +1 -1
- package/dist/modules/wallets/walletAccount/walletAccount.types.d.ts +0 -2
- package/dist/modules/wallets/walletAccount/walletAccount.types.d.ts.map +1 -1
- package/dist/modules/wallets/walletProvider/events/createWalletProviderEventEmitter/createWalletProviderEventEmitter.d.ts +8 -7
- package/dist/modules/wallets/walletProvider/events/createWalletProviderEventEmitter/createWalletProviderEventEmitter.d.ts.map +1 -1
- package/dist/modules/wallets/walletProvider/events/createWalletProviderEventEmitter/index.d.ts +1 -0
- package/dist/modules/wallets/walletProvider/events/createWalletProviderEventEmitter/index.d.ts.map +1 -1
- package/dist/modules/wallets/walletProvider/events/offWalletProviderEvent/offWalletProviderEvent.d.ts +1 -1
- package/dist/modules/wallets/walletProvider/events/offWalletProviderEvent/offWalletProviderEvent.d.ts.map +1 -1
- package/dist/modules/wallets/walletProvider/events/onWalletProviderEvent/onWalletProviderEvent.d.ts +2 -2
- package/dist/modules/wallets/walletProvider/events/onWalletProviderEvent/onWalletProviderEvent.d.ts.map +1 -1
- package/dist/modules/wallets/walletProvider/index.d.ts +1 -1
- package/dist/modules/wallets/walletProvider/index.d.ts.map +1 -1
- package/dist/modules/wallets/walletProvider/walletProvider.types.d.ts +15 -1
- package/dist/modules/wallets/walletProvider/walletProvider.types.d.ts.map +1 -1
- package/dist/modules/wallets/walletProvider/walletProviderKeyMap/getWalletProviderKeyFromVerifiedCredential/getWalletProviderKeyFromVerifiedCredential.d.ts +3 -2
- package/dist/modules/wallets/walletProvider/walletProviderKeyMap/getWalletProviderKeyFromVerifiedCredential/getWalletProviderKeyFromVerifiedCredential.d.ts.map +1 -1
- package/dist/modules/wallets/walletProvider/walletProviderKeyMap/updateWalletProviderKeysForVerifiedCredentials/updateWalletProviderKeysForVerifiedCredentials.d.ts.map +1 -1
- package/dist/modules/yield/claimYieldRewards/claimYieldRewards.d.ts +43 -0
- package/dist/modules/yield/claimYieldRewards/claimYieldRewards.d.ts.map +1 -0
- package/dist/modules/yield/claimYieldRewards/index.d.ts +3 -0
- package/dist/modules/yield/claimYieldRewards/index.d.ts.map +1 -0
- package/dist/modules/yield/depositToYieldVault/depositToYieldVault.d.ts +66 -0
- package/dist/modules/yield/depositToYieldVault/depositToYieldVault.d.ts.map +1 -0
- package/dist/modules/yield/depositToYieldVault/index.d.ts +3 -0
- package/dist/modules/yield/depositToYieldVault/index.d.ts.map +1 -0
- package/dist/modules/yield/utils/executeYieldTransaction/executeYieldTransaction.d.ts +40 -0
- package/dist/modules/yield/utils/executeYieldTransaction/executeYieldTransaction.d.ts.map +1 -0
- package/dist/modules/yield/utils/executeYieldTransaction/index.d.ts +3 -0
- package/dist/modules/yield/utils/executeYieldTransaction/index.d.ts.map +1 -0
- package/dist/modules/yield/withdrawFromYieldVault/index.d.ts +3 -0
- package/dist/modules/yield/withdrawFromYieldVault/index.d.ts.map +1 -0
- package/dist/modules/yield/withdrawFromYieldVault/withdrawFromYieldVault.d.ts +57 -0
- package/dist/modules/yield/withdrawFromYieldVault/withdrawFromYieldVault.d.ts.map +1 -0
- package/dist/modules/yield/yield.types.d.ts +27 -1
- package/dist/modules/yield/yield.types.d.ts.map +1 -1
- package/dist/services/eventEmitter/createEventEmitter.d.ts +1 -1
- package/dist/services/eventEmitter/createEventEmitter.d.ts.map +1 -1
- package/dist/services/instrumentation/connectLoggerToInstrumentation/connectLoggerToInstrumentation.d.ts +1 -1
- package/dist/services/instrumentation/connectLoggerToInstrumentation/connectLoggerToInstrumentation.d.ts.map +1 -1
- package/dist/services/runtimeServices/createRuntimeServiceAccessKey/createRuntimeServiceAccessKey.d.ts +2 -2
- package/dist/services/runtimeServices/createRuntimeServiceAccessKey/createRuntimeServiceAccessKey.d.ts.map +1 -1
- package/dist/services/storage/createStorage/formatForStorage/storageFormat.d.ts.map +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/dist/{updateAuthFromVerifyResponse-DcwFCD-Y.esm.js → updateAuthFromVerifyResponse-CFIyg2PR.esm.js} +62 -37
- package/dist/updateAuthFromVerifyResponse-CFIyg2PR.esm.js.map +1 -0
- package/dist/{updateAuthFromVerifyResponse-DtnQfhJ1.native.esm.js → updateAuthFromVerifyResponse-Cc1OH9i1.native.esm.js} +60 -37
- package/dist/updateAuthFromVerifyResponse-Cc1OH9i1.native.esm.js.map +1 -0
- package/dist/{updateAuthFromVerifyResponse-DD_rZDrQ.cjs → updateAuthFromVerifyResponse-Dvd40QfL.cjs} +67 -36
- package/dist/updateAuthFromVerifyResponse-Dvd40QfL.cjs.map +1 -0
- package/dist/utils/base64UrlDecode/base64UrlDecode.d.ts +2 -2
- package/dist/utils/base64UrlDecode/base64UrlDecode.d.ts.map +1 -1
- package/dist/utils/bufferToHex/bufferToHex.d.ts +1 -1
- package/dist/utils/bufferToHex/bufferToHex.d.ts.map +1 -1
- package/dist/utils/compressRawPublicKey/compressRawPublicKey.d.ts +2 -2
- package/dist/utils/compressRawPublicKey/compressRawPublicKey.d.ts.map +1 -1
- package/dist/utils/createTranslateRejection/createTranslateRejection.d.ts +1 -1
- package/dist/utils/createTranslateRejection/createTranslateRejection.d.ts.map +1 -1
- package/dist/utils/digestSHA256/digestSHA256.d.ts.map +1 -1
- package/dist/utils/encodeBase64Url/encodeBase64Url.d.ts +1 -1
- package/dist/utils/encodeBase64Url/encodeBase64Url.d.ts.map +1 -1
- package/dist/utils/getBuffer/getBuffer.d.ts.map +1 -1
- package/dist/utils/isEqualShallow/isEqualShallow.d.ts +1 -1
- package/dist/utils/isEqualShallow/isEqualShallow.d.ts.map +1 -1
- package/dist/utils/isMobile/isMobile.d.ts.map +1 -1
- package/dist/utils/isServerSideRendering/isServerSideRendering.d.ts +1 -1
- package/dist/utils/isServerSideRendering/isServerSideRendering.d.ts.map +1 -1
- package/dist/utils/objectKeys/index.d.ts +2 -0
- package/dist/utils/objectKeys/index.d.ts.map +1 -0
- package/dist/utils/objectKeys/objectKeys.d.ts +8 -0
- package/dist/utils/objectKeys/objectKeys.d.ts.map +1 -0
- package/dist/utils/observable/subscribeWithSelector/subscribeWithSelector.d.ts +2 -2
- package/dist/utils/observable/subscribeWithSelector/subscribeWithSelector.d.ts.map +1 -1
- package/dist/utils/p256Keygen/p256Keygen.d.ts +5 -3
- package/dist/utils/p256Keygen/p256Keygen.d.ts.map +1 -1
- package/dist/utils/p256Sign/p256Sign.d.ts +1 -1
- package/dist/utils/p256Sign/p256Sign.d.ts.map +1 -1
- package/dist/utils/randomString/randomString.d.ts.map +1 -1
- package/dist/utils/retryOnFail/retryOnFail.d.ts.map +1 -1
- package/dist/utils/setCookie/setCookie.d.ts +1 -1
- package/dist/utils/setCookie/setCookie.d.ts.map +1 -1
- package/dist/waas.cjs +1198 -4
- package/dist/waas.cjs.map +1 -1
- package/dist/waas.esm.js +1176 -7
- package/dist/waas.esm.js.map +1 -1
- package/dist/waas.native.esm.js +1176 -7
- package/dist/waas.native.esm.js.map +1 -1
- package/dist/waasCore.cjs +6 -6
- package/dist/waasCore.cjs.map +1 -1
- package/dist/waasCore.esm.js +6 -6
- package/dist/waasCore.esm.js.map +1 -1
- package/dist/waasCore.native.esm.js +6 -6
- package/dist/waasCore.native.esm.js.map +1 -1
- package/package.json +4 -4
- package/dist/getNetworkProviderFromNetworkId-CKWQLHSE.native.esm.js.map +0 -1
- package/dist/getNetworkProviderFromNetworkId-DBjVmBmy.esm.js.map +0 -1
- package/dist/getNetworkProviderFromNetworkId-OhoRrL_X.cjs.map +0 -1
- package/dist/getSignedSessionId-BncZzHdQ.esm.js.map +0 -1
- package/dist/getSignedSessionId-Dwqj_Cxx.native.esm.js.map +0 -1
- package/dist/getSignedSessionId-gwqj9h2p.cjs.map +0 -1
- package/dist/getWalletProviderByKey-C9TWlmDD.esm.js.map +0 -1
- package/dist/getWalletProviderByKey-CnpXHkmq.cjs.map +0 -1
- package/dist/getWalletProviderByKey-Dh1slnTF.native.esm.js.map +0 -1
- package/dist/isMfaRequiredForAction-BJGirRfD.native.esm.js.map +0 -1
- package/dist/isMfaRequiredForAction-BjRiou3K.cjs.map +0 -1
- package/dist/isMfaRequiredForAction-D5rzx59E.esm.js.map +0 -1
- package/dist/updateAuthFromVerifyResponse-DD_rZDrQ.cjs.map +0 -1
- package/dist/updateAuthFromVerifyResponse-DcwFCD-Y.esm.js.map +0 -1
- package/dist/updateAuthFromVerifyResponse-DtnQfhJ1.native.esm.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
const require_updateAuthFromVerifyResponse = require('./updateAuthFromVerifyResponse-
|
|
2
|
-
const require_getNetworkProviderFromNetworkId = require('./getNetworkProviderFromNetworkId-
|
|
3
|
-
const require_isDynamicWaasEnabled = require('./isDynamicWaasEnabled-
|
|
4
|
-
const require_isUserOnboardingComplete = require('./isUserOnboardingComplete-
|
|
5
|
-
const require_getWalletProviderByKey = require('./getWalletProviderByKey-
|
|
6
|
-
const require_isMfaRequiredForAction = require('./isMfaRequiredForAction-
|
|
1
|
+
const require_updateAuthFromVerifyResponse = require('./updateAuthFromVerifyResponse-Dvd40QfL.cjs');
|
|
2
|
+
const require_getNetworkProviderFromNetworkId = require('./getNetworkProviderFromNetworkId-wbWC24tw.cjs');
|
|
3
|
+
const require_isDynamicWaasEnabled = require('./isDynamicWaasEnabled-BPEtdwZI.cjs');
|
|
4
|
+
const require_isUserOnboardingComplete = require('./isUserOnboardingComplete-CxIX-dC1.cjs');
|
|
5
|
+
const require_getWalletProviderByKey = require('./getWalletProviderByKey-BapuuI8t.cjs');
|
|
6
|
+
const require_isMfaRequiredForAction = require('./isMfaRequiredForAction-DjZ5p_og.cjs');
|
|
7
7
|
let _dynamic_labs_sdk_assert_package_version = require("@dynamic-labs-sdk/assert-package-version");
|
|
8
8
|
let _dynamic_labs_sdk_api_core = require("@dynamic-labs/sdk-api-core");
|
|
9
9
|
let zod_mini = require("zod/mini");
|
|
@@ -407,6 +407,40 @@ var ClientAlreadyInitializedError = class extends require_updateAuthFromVerifyRe
|
|
|
407
407
|
}
|
|
408
408
|
};
|
|
409
409
|
|
|
410
|
+
//#endregion
|
|
411
|
+
//#region src/modules/initializeClient/logoutIfSessionPublicKeyMismatched/logoutIfSessionPublicKeyMismatched.ts
|
|
412
|
+
/**
|
|
413
|
+
* Signs the user out when the local session key no longer matches the
|
|
414
|
+
* `sessionPublicKey` claim carried by the current token.
|
|
415
|
+
*
|
|
416
|
+
* The claim is captured once at sign-in and carried forward unchanged on
|
|
417
|
+
* every token refresh (it is not re-derived from the client's current
|
|
418
|
+
* session key). If the local session key is regenerated afterwards — e.g. a
|
|
419
|
+
* re-init racing a token refresh, or storage being partially cleared — every
|
|
420
|
+
* subsequent request keeps signing with the new key while asserting the
|
|
421
|
+
* stale claim, and is rejected server-side with `invalid_nonce_signature`
|
|
422
|
+
* forever, since retrying never re-syncs the claim. Signing out forces a
|
|
423
|
+
* fresh sign-in, which is the only flow that re-captures the claim from the
|
|
424
|
+
* client's current key.
|
|
425
|
+
* @notInstrumented
|
|
426
|
+
*/
|
|
427
|
+
const logoutIfSessionPublicKeyMismatched = async (client) => {
|
|
428
|
+
const core = require_updateAuthFromVerifyResponse.getCore(client);
|
|
429
|
+
const { sessionKeys, token } = core.state.get();
|
|
430
|
+
if (!sessionKeys || !token) return;
|
|
431
|
+
let tokenSessionPublicKey;
|
|
432
|
+
try {
|
|
433
|
+
({sessionPublicKey: tokenSessionPublicKey} = require_updateAuthFromVerifyResponse.decodeJwt(token));
|
|
434
|
+
} catch (error) {
|
|
435
|
+
core.logger.error("[logoutIfSessionPublicKeyMismatched] Failed to decode token", error);
|
|
436
|
+
return;
|
|
437
|
+
}
|
|
438
|
+
if (tokenSessionPublicKey && tokenSessionPublicKey !== sessionKeys) {
|
|
439
|
+
core.logger.error("[logoutIfSessionPublicKeyMismatched] Session key does not match token claim");
|
|
440
|
+
await require_updateAuthFromVerifyResponse.__logoutWithReason_wrapped({ reason: "session-public-key-mismatch" }, client);
|
|
441
|
+
}
|
|
442
|
+
};
|
|
443
|
+
|
|
410
444
|
//#endregion
|
|
411
445
|
//#region src/modules/initializeClient/initializeClient.ts
|
|
412
446
|
/**
|
|
@@ -460,6 +494,7 @@ const initializeClient = async (client = require_updateAuthFromVerifyResponse.ge
|
|
|
460
494
|
storage: core.storage
|
|
461
495
|
}).catch(() => require_updateAuthFromVerifyResponse.__logoutWithReason_wrapped({ reason: "keychain-migration-failed" }, client));
|
|
462
496
|
if (core.state.get().sessionKeys && !await core.keychain.hasKey("session")) await require_updateAuthFromVerifyResponse.__logoutWithReason_wrapped({ reason: "keychain-key-missing" }, client);
|
|
497
|
+
await logoutIfSessionPublicKeyMismatched(client);
|
|
463
498
|
}).then(async () => {
|
|
464
499
|
if (!core.state.get().projectSettings) await require_updateAuthFromVerifyResponse.fetchProjectSettings(client);
|
|
465
500
|
});
|
|
@@ -1587,6 +1622,38 @@ var NoWebAuthNSupportError = class extends require_updateAuthFromVerifyResponse.
|
|
|
1587
1622
|
}
|
|
1588
1623
|
};
|
|
1589
1624
|
|
|
1625
|
+
//#endregion
|
|
1626
|
+
//#region src/errors/ScreeningNotRequiredError.ts
|
|
1627
|
+
/**
|
|
1628
|
+
* Thrown when screening is requested for a Dynamic embedded wallet, which is
|
|
1629
|
+
* already screened server-side during the signing ceremony.
|
|
1630
|
+
*
|
|
1631
|
+
* @example
|
|
1632
|
+
* ```ts
|
|
1633
|
+
* try {
|
|
1634
|
+
* await screenSolanaTransactions({ transactions, walletAccount });
|
|
1635
|
+
* } catch (error) {
|
|
1636
|
+
* if (error instanceof ScreeningNotRequiredError) {
|
|
1637
|
+
* // Already covered server-side — go straight to signing.
|
|
1638
|
+
* }
|
|
1639
|
+
* }
|
|
1640
|
+
* ```
|
|
1641
|
+
*
|
|
1642
|
+
* @see screenTransaction
|
|
1643
|
+
* @see isExternalWalletScreeningEnabled
|
|
1644
|
+
*/
|
|
1645
|
+
var ScreeningNotRequiredError = class extends require_updateAuthFromVerifyResponse.BaseError {
|
|
1646
|
+
constructor() {
|
|
1647
|
+
super({
|
|
1648
|
+
cause: null,
|
|
1649
|
+
code: "screening_not_required",
|
|
1650
|
+
docsUrl: null,
|
|
1651
|
+
name: "ScreeningNotRequiredError",
|
|
1652
|
+
shortMessage: "Dynamic embedded wallets are screened during signing; screening them again is redundant"
|
|
1653
|
+
});
|
|
1654
|
+
}
|
|
1655
|
+
};
|
|
1656
|
+
|
|
1590
1657
|
//#endregion
|
|
1591
1658
|
//#region src/errors/SimulationFailedError.ts
|
|
1592
1659
|
var SimulationFailedError = class extends require_updateAuthFromVerifyResponse.BaseError {
|
|
@@ -8808,6 +8875,39 @@ const isHardwareWalletAccount = ({ walletAccount }) => walletAccount.hardwareWal
|
|
|
8808
8875
|
*/
|
|
8809
8876
|
const isAnyWalletAccountConnected = (client = require_updateAuthFromVerifyResponse.getDefaultClient()) => require_updateAuthFromVerifyResponse.getWalletAccounts(client).length > 0;
|
|
8810
8877
|
|
|
8878
|
+
//#endregion
|
|
8879
|
+
//#region src/modules/wallets/isExternalWalletScreeningEnabled/isExternalWalletScreeningEnabled.ts
|
|
8880
|
+
/**
|
|
8881
|
+
* Checks whether the environment expects connected-wallet transactions to be
|
|
8882
|
+
* screened for sanctions before signing.
|
|
8883
|
+
*
|
|
8884
|
+
* @example
|
|
8885
|
+
* ```ts
|
|
8886
|
+
* if (isExternalWalletScreeningEnabled()) {
|
|
8887
|
+
* const { decision } = await screenTransaction({
|
|
8888
|
+
* chain: 'EVM',
|
|
8889
|
+
* context: { evmTransaction: { to } },
|
|
8890
|
+
* senderAddress: walletAccount.address,
|
|
8891
|
+
* });
|
|
8892
|
+
*
|
|
8893
|
+
* if (decision === 'block') return;
|
|
8894
|
+
* }
|
|
8895
|
+
*
|
|
8896
|
+
* await walletClient.sendTransaction(transaction);
|
|
8897
|
+
* ```
|
|
8898
|
+
*
|
|
8899
|
+
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
8900
|
+
* @returns True if the environment has enabled on-transaction sanctions screening for connected wallets, false otherwise.
|
|
8901
|
+
* @throws {ValueMustBeDefinedError} If the client has no project settings loaded yet.
|
|
8902
|
+
* @see screenTransaction
|
|
8903
|
+
* @see isSolanaGasSponsorshipEnabled
|
|
8904
|
+
* @notInstrumented
|
|
8905
|
+
*/
|
|
8906
|
+
const isExternalWalletScreeningEnabled = (client = require_updateAuthFromVerifyResponse.getDefaultClient()) => {
|
|
8907
|
+
require_updateAuthFromVerifyResponse.assertDefined(client.projectSettings, "Project settings are not defined");
|
|
8908
|
+
return client.projectSettings.sdk.featureFlags?.enableExternalWalletOnTransactionSanctions ?? false;
|
|
8909
|
+
};
|
|
8910
|
+
|
|
8811
8911
|
//#endregion
|
|
8812
8912
|
//#region src/modules/wallets/isWalletAccountVerified/isWalletAccountVerified.ts
|
|
8813
8913
|
/**
|
|
@@ -9074,6 +9174,51 @@ const __switchActiveNetwork_wrapped = require_updateAuthFromVerifyResponse.instr
|
|
|
9074
9174
|
}
|
|
9075
9175
|
});
|
|
9076
9176
|
|
|
9177
|
+
//#endregion
|
|
9178
|
+
//#region src/modules/wallets/screenTransaction/screenTransaction.ts
|
|
9179
|
+
/**
|
|
9180
|
+
* Screens a connected wallet's transaction for sanctioned addresses before you
|
|
9181
|
+
* prompt it to sign, and returns the verdict. Requires an authenticated
|
|
9182
|
+
* session.
|
|
9183
|
+
*
|
|
9184
|
+
* @example
|
|
9185
|
+
* ```ts
|
|
9186
|
+
* if (isExternalWalletScreeningEnabled()) {
|
|
9187
|
+
* const { decision, blockedAddresses } = await screenTransaction({
|
|
9188
|
+
* chain: 'EVM',
|
|
9189
|
+
* context: { evmTransaction: { to } },
|
|
9190
|
+
* senderAddress: walletAccount.address,
|
|
9191
|
+
* });
|
|
9192
|
+
*
|
|
9193
|
+
* if (decision === 'block') {
|
|
9194
|
+
* throw new Error(`Blocked destination: ${blockedAddresses?.join(', ')}`);
|
|
9195
|
+
* }
|
|
9196
|
+
* }
|
|
9197
|
+
*
|
|
9198
|
+
* await walletClient.sendTransaction(transaction);
|
|
9199
|
+
* ```
|
|
9200
|
+
*
|
|
9201
|
+
* @param params.chain - The chain family the transaction is for.
|
|
9202
|
+
* @param params.context - The per-chain transaction payload the server extracts addresses from.
|
|
9203
|
+
* @param [params.networkId] - The network within the chain family, recorded for audit only.
|
|
9204
|
+
* @param [params.senderAddress] - The transaction sender, screened alongside the destinations.
|
|
9205
|
+
* @param [params.signal] - Cancels the in-flight request, e.g. `AbortSignal.timeout(2000)`.
|
|
9206
|
+
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
9207
|
+
* @returns The screening verdict, including the addresses that caused a block.
|
|
9208
|
+
* @see isExternalWalletScreeningEnabled
|
|
9209
|
+
* @see screenSolanaTransactions
|
|
9210
|
+
* @notInstrumented
|
|
9211
|
+
*/
|
|
9212
|
+
const screenTransaction = async ({ chain, context, networkId, senderAddress, signal }, client = require_updateAuthFromVerifyResponse.getDefaultClient()) => require_updateAuthFromVerifyResponse.createApiClient({}, client).screenTransaction({
|
|
9213
|
+
environmentId: require_updateAuthFromVerifyResponse.getCore(client).environmentId,
|
|
9214
|
+
screenTransactionRequest: {
|
|
9215
|
+
chain,
|
|
9216
|
+
chainId: networkId,
|
|
9217
|
+
context,
|
|
9218
|
+
senderAddress
|
|
9219
|
+
}
|
|
9220
|
+
}, { signal });
|
|
9221
|
+
|
|
9077
9222
|
//#endregion
|
|
9078
9223
|
//#region src/modules/wallets/selectedWalletAccount/setSelectedWalletAccount/setSelectedWalletAccount.ts
|
|
9079
9224
|
/**
|
|
@@ -9481,6 +9626,144 @@ const onWalletProviderEvent = ({ callback, event, walletProviderKey }, client =
|
|
|
9481
9626
|
};
|
|
9482
9627
|
};
|
|
9483
9628
|
|
|
9629
|
+
//#endregion
|
|
9630
|
+
//#region src/modules/yield/utils/executeYieldTransaction/executeYieldTransaction.ts
|
|
9631
|
+
/**
|
|
9632
|
+
* Executes a yield vault action's signing payload by signing and sending it
|
|
9633
|
+
* on-chain. Delegates to the wallet provider's own `executeYieldTransaction`,
|
|
9634
|
+
* which is only implemented by EVM wallet providers for now — other chains
|
|
9635
|
+
* fail via {@link assertWalletProviderMethodDefined}.
|
|
9636
|
+
*
|
|
9637
|
+
* @param params ExecuteYieldTransactionParams - The signing payload, wallet account, and step callback.
|
|
9638
|
+
* @param client - The Dynamic client instance.
|
|
9639
|
+
* @returns The transaction hash.
|
|
9640
|
+
* @see depositToYieldVault
|
|
9641
|
+
* @see withdrawFromYieldVault
|
|
9642
|
+
* @see claimYieldRewards
|
|
9643
|
+
* @notInstrumented
|
|
9644
|
+
*/
|
|
9645
|
+
const executeYieldTransaction = async ({ onStepChange, signingPayload, walletAccount }, client) => {
|
|
9646
|
+
const walletProvider = require_updateAuthFromVerifyResponse.getWalletProviderFromWalletAccount({ walletAccount }, client);
|
|
9647
|
+
assertWalletProviderMethodDefined(walletProvider, "executeYieldTransaction");
|
|
9648
|
+
await ensureCorrectActiveNetwork({
|
|
9649
|
+
requiredNetworkId: signingPayload.chainId,
|
|
9650
|
+
walletProvider
|
|
9651
|
+
}, client);
|
|
9652
|
+
const { transactionHash } = await walletProvider.executeYieldTransaction({
|
|
9653
|
+
onStepChange,
|
|
9654
|
+
signingPayload,
|
|
9655
|
+
walletAccount
|
|
9656
|
+
});
|
|
9657
|
+
return { transactionHash };
|
|
9658
|
+
};
|
|
9659
|
+
|
|
9660
|
+
//#endregion
|
|
9661
|
+
//#region src/modules/yield/claimYieldRewards/claimYieldRewards.ts
|
|
9662
|
+
/**
|
|
9663
|
+
* Claims a wallet's accrued rewards in a yield vault, then signs and sends
|
|
9664
|
+
* the resulting transaction. The reward distributor's address and the
|
|
9665
|
+
* per-user merkle proof live server-side, so callers only need to pass a
|
|
9666
|
+
* `vaultId`.
|
|
9667
|
+
*
|
|
9668
|
+
* Rejects when there is nothing claimable for this vault right now — no
|
|
9669
|
+
* reward campaign, or every attributable token is already fully claimed.
|
|
9670
|
+
* Read accrued rewards with {@link getYieldRewards} before calling.
|
|
9671
|
+
*
|
|
9672
|
+
* @example
|
|
9673
|
+
* ```ts
|
|
9674
|
+
* const { transactionHash } = await claimYieldRewards({ vaultId, walletAccount });
|
|
9675
|
+
* ```
|
|
9676
|
+
*
|
|
9677
|
+
* @param params ClaimYieldRewardsParams - The vault and wallet account to claim for.
|
|
9678
|
+
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
9679
|
+
* @returns The hash of the claim transaction.
|
|
9680
|
+
* @see getYieldRewards
|
|
9681
|
+
* @see depositToYieldVault
|
|
9682
|
+
* @instrumented
|
|
9683
|
+
*/
|
|
9684
|
+
const claimYieldRewards = async ({ vaultId, walletAccount }, client = require_updateAuthFromVerifyResponse.getDefaultClient()) => {
|
|
9685
|
+
const core = require_updateAuthFromVerifyResponse.getCore(client);
|
|
9686
|
+
const { signingPayload } = await require_updateAuthFromVerifyResponse.createApiClient({}, client).yieldVaultClaim({
|
|
9687
|
+
environmentId: core.environmentId,
|
|
9688
|
+
vaultId,
|
|
9689
|
+
yieldVaultClaimRequest: { ownerAddress: walletAccount.address }
|
|
9690
|
+
});
|
|
9691
|
+
return executeYieldTransaction({
|
|
9692
|
+
signingPayload,
|
|
9693
|
+
walletAccount
|
|
9694
|
+
}, client);
|
|
9695
|
+
};
|
|
9696
|
+
const __claimYieldRewards_impl = claimYieldRewards;
|
|
9697
|
+
const __claimYieldRewards_wrapped = require_updateAuthFromVerifyResponse.instrumentFunction({
|
|
9698
|
+
fn: __claimYieldRewards_impl,
|
|
9699
|
+
functionName: "claimYieldRewards",
|
|
9700
|
+
getCore: () => {
|
|
9701
|
+
try {
|
|
9702
|
+
return require_updateAuthFromVerifyResponse.getCore(require_updateAuthFromVerifyResponse.getDefaultClient());
|
|
9703
|
+
} catch {
|
|
9704
|
+
return;
|
|
9705
|
+
}
|
|
9706
|
+
}
|
|
9707
|
+
});
|
|
9708
|
+
|
|
9709
|
+
//#endregion
|
|
9710
|
+
//#region src/modules/yield/depositToYieldVault/depositToYieldVault.ts
|
|
9711
|
+
/**
|
|
9712
|
+
* Deposits assets into a yield vault, then signs and sends the resulting
|
|
9713
|
+
* transaction. The vault's contract address and its asset's decimals live
|
|
9714
|
+
* server-side, so callers pass a `vaultId` and a human-readable `amount`
|
|
9715
|
+
* rather than encoding a call themselves.
|
|
9716
|
+
*
|
|
9717
|
+
* When the wallet's allowance for the vault is short of `amount`, an ERC-20
|
|
9718
|
+
* approval is signed and sent first — `onStepChange` reports which step is in
|
|
9719
|
+
* flight.
|
|
9720
|
+
*
|
|
9721
|
+
* @example
|
|
9722
|
+
* ```ts
|
|
9723
|
+
* const { transactionHash } = await depositToYieldVault({
|
|
9724
|
+
* amount: '10.5',
|
|
9725
|
+
* vaultId,
|
|
9726
|
+
* walletAccount,
|
|
9727
|
+
* });
|
|
9728
|
+
* ```
|
|
9729
|
+
*
|
|
9730
|
+
* @param params DepositToYieldVaultParams - The vault, wallet account, and amount to deposit.
|
|
9731
|
+
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
9732
|
+
* @returns The hash of the deposit transaction.
|
|
9733
|
+
* @see withdrawFromYieldVault
|
|
9734
|
+
* @see getYieldPosition
|
|
9735
|
+
* @instrumented
|
|
9736
|
+
*/
|
|
9737
|
+
const depositToYieldVault = async ({ amount, onStepChange, receiverAddress, vaultId, walletAccount }, client = require_updateAuthFromVerifyResponse.getDefaultClient()) => {
|
|
9738
|
+
const core = require_updateAuthFromVerifyResponse.getCore(client);
|
|
9739
|
+
const { signingPayload } = await require_updateAuthFromVerifyResponse.createApiClient({}, client).yieldVaultDeposit({
|
|
9740
|
+
environmentId: core.environmentId,
|
|
9741
|
+
vaultId,
|
|
9742
|
+
yieldVaultActionRequest: {
|
|
9743
|
+
amount,
|
|
9744
|
+
ownerAddress: walletAccount.address,
|
|
9745
|
+
receiverAddress
|
|
9746
|
+
}
|
|
9747
|
+
});
|
|
9748
|
+
return executeYieldTransaction({
|
|
9749
|
+
onStepChange,
|
|
9750
|
+
signingPayload,
|
|
9751
|
+
walletAccount
|
|
9752
|
+
}, client);
|
|
9753
|
+
};
|
|
9754
|
+
const __depositToYieldVault_impl = depositToYieldVault;
|
|
9755
|
+
const __depositToYieldVault_wrapped = require_updateAuthFromVerifyResponse.instrumentFunction({
|
|
9756
|
+
fn: __depositToYieldVault_impl,
|
|
9757
|
+
functionName: "depositToYieldVault",
|
|
9758
|
+
getCore: () => {
|
|
9759
|
+
try {
|
|
9760
|
+
return require_updateAuthFromVerifyResponse.getCore(require_updateAuthFromVerifyResponse.getDefaultClient());
|
|
9761
|
+
} catch {
|
|
9762
|
+
return;
|
|
9763
|
+
}
|
|
9764
|
+
}
|
|
9765
|
+
});
|
|
9766
|
+
|
|
9484
9767
|
//#endregion
|
|
9485
9768
|
//#region src/modules/yield/getYieldDetails/getYieldDetails.ts
|
|
9486
9769
|
/**
|
|
@@ -9597,6 +9880,62 @@ const listYieldVaults = async (client = require_updateAuthFromVerifyResponse.get
|
|
|
9597
9880
|
return vaults;
|
|
9598
9881
|
};
|
|
9599
9882
|
|
|
9883
|
+
//#endregion
|
|
9884
|
+
//#region src/modules/yield/withdrawFromYieldVault/withdrawFromYieldVault.ts
|
|
9885
|
+
/**
|
|
9886
|
+
* Withdraws assets from a yield vault, then signs and sends the resulting
|
|
9887
|
+
* transaction. The vault's contract address and its asset's decimals live
|
|
9888
|
+
* server-side, so callers pass a `vaultId` and a human-readable `amount`
|
|
9889
|
+
* rather than encoding a call themselves.
|
|
9890
|
+
*
|
|
9891
|
+
* Unlike {@link depositToYieldVault} there is no approval step — the wallet
|
|
9892
|
+
* redeems shares it already holds — so this is always a single transaction.
|
|
9893
|
+
*
|
|
9894
|
+
* @example
|
|
9895
|
+
* ```ts
|
|
9896
|
+
* const { transactionHash } = await withdrawFromYieldVault({
|
|
9897
|
+
* amount: '10.5',
|
|
9898
|
+
* vaultId,
|
|
9899
|
+
* walletAccount,
|
|
9900
|
+
* });
|
|
9901
|
+
* ```
|
|
9902
|
+
*
|
|
9903
|
+
* @param params WithdrawFromYieldVaultParams - The vault, wallet account, and amount to withdraw.
|
|
9904
|
+
* @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
|
|
9905
|
+
* @returns The hash of the withdraw transaction.
|
|
9906
|
+
* @see depositToYieldVault
|
|
9907
|
+
* @see getYieldPosition
|
|
9908
|
+
* @instrumented
|
|
9909
|
+
*/
|
|
9910
|
+
const withdrawFromYieldVault = async ({ amount, receiverAddress, vaultId, walletAccount }, client = require_updateAuthFromVerifyResponse.getDefaultClient()) => {
|
|
9911
|
+
const core = require_updateAuthFromVerifyResponse.getCore(client);
|
|
9912
|
+
const { signingPayload } = await require_updateAuthFromVerifyResponse.createApiClient({}, client).yieldVaultWithdraw({
|
|
9913
|
+
environmentId: core.environmentId,
|
|
9914
|
+
vaultId,
|
|
9915
|
+
yieldVaultActionRequest: {
|
|
9916
|
+
amount,
|
|
9917
|
+
ownerAddress: walletAccount.address,
|
|
9918
|
+
receiverAddress
|
|
9919
|
+
}
|
|
9920
|
+
});
|
|
9921
|
+
return executeYieldTransaction({
|
|
9922
|
+
signingPayload,
|
|
9923
|
+
walletAccount
|
|
9924
|
+
}, client);
|
|
9925
|
+
};
|
|
9926
|
+
const __withdrawFromYieldVault_impl = withdrawFromYieldVault;
|
|
9927
|
+
const __withdrawFromYieldVault_wrapped = require_updateAuthFromVerifyResponse.instrumentFunction({
|
|
9928
|
+
fn: __withdrawFromYieldVault_impl,
|
|
9929
|
+
functionName: "withdrawFromYieldVault",
|
|
9930
|
+
getCore: () => {
|
|
9931
|
+
try {
|
|
9932
|
+
return require_updateAuthFromVerifyResponse.getCore(require_updateAuthFromVerifyResponse.getDefaultClient());
|
|
9933
|
+
} catch {
|
|
9934
|
+
return;
|
|
9935
|
+
}
|
|
9936
|
+
}
|
|
9937
|
+
});
|
|
9938
|
+
|
|
9600
9939
|
//#endregion
|
|
9601
9940
|
//#region src/utils/appendConnectionUriToDeeplink/appendConnectionUriToDeeplink.ts
|
|
9602
9941
|
/**
|
|
@@ -9764,6 +10103,7 @@ Object.defineProperty(exports, 'ProviderEnum', {
|
|
|
9764
10103
|
}
|
|
9765
10104
|
});
|
|
9766
10105
|
exports.SandboxMaximumThresholdReachedError = require_updateAuthFromVerifyResponse.SandboxMaximumThresholdReachedError;
|
|
10106
|
+
exports.ScreeningNotRequiredError = ScreeningNotRequiredError;
|
|
9767
10107
|
exports.SimulationFailedError = SimulationFailedError;
|
|
9768
10108
|
Object.defineProperty(exports, 'TokenScope', {
|
|
9769
10109
|
enumerable: true,
|
|
@@ -9805,6 +10145,7 @@ exports.cancelCheckoutTransaction = __cancelCheckoutTransaction_wrapped;
|
|
|
9805
10145
|
exports.cancelFlow = __cancelFlow_wrapped;
|
|
9806
10146
|
exports.checkStepUpAuth = __checkStepUpAuth_wrapped;
|
|
9807
10147
|
exports.checkUserScopes = checkUserScopes;
|
|
10148
|
+
exports.claimYieldRewards = __claimYieldRewards_wrapped;
|
|
9808
10149
|
exports.clearDeviceRegistrationRedirectParams = clearDeviceRegistrationRedirectParams;
|
|
9809
10150
|
exports.clearSocialRedirectParams = clearSocialRedirectParams;
|
|
9810
10151
|
exports.completeDeviceRegistration = __completeDeviceRegistration_wrapped;
|
|
@@ -9824,6 +10165,7 @@ exports.createNewMfaRecoveryCodes = __createNewMfaRecoveryCodes_wrapped;
|
|
|
9824
10165
|
exports.deleteMfaDevice = __deleteMfaDevice_wrapped;
|
|
9825
10166
|
exports.deletePasskey = __deletePasskey_wrapped;
|
|
9826
10167
|
exports.deleteUser = __deleteUser_wrapped;
|
|
10168
|
+
exports.depositToYieldVault = __depositToYieldVault_wrapped;
|
|
9827
10169
|
exports.detectDeviceRegistrationRedirect = detectDeviceRegistrationRedirect;
|
|
9828
10170
|
exports.detectOAuthRedirect = detectOAuthRedirect;
|
|
9829
10171
|
exports.detectSocialRedirectUrl = detectSocialRedirectUrl;
|
|
@@ -9889,6 +10231,7 @@ exports.isAnyWalletAccountConnected = isAnyWalletAccountConnected;
|
|
|
9889
10231
|
exports.isCaptchaRequired = require_getNetworkProviderFromNetworkId.isCaptchaRequired;
|
|
9890
10232
|
exports.isDeeplinkWalletProvider = isDeeplinkWalletProvider;
|
|
9891
10233
|
exports.isDeviceRegistrationRequired = require_isUserOnboardingComplete.isDeviceRegistrationRequired;
|
|
10234
|
+
exports.isExternalWalletScreeningEnabled = isExternalWalletScreeningEnabled;
|
|
9892
10235
|
exports.isHardwareWalletAccount = isHardwareWalletAccount;
|
|
9893
10236
|
exports.isInsufficientGoogleDriveScopesError = isInsufficientGoogleDriveScopesError;
|
|
9894
10237
|
exports.isMfaRequiredForAction = require_isMfaRequiredForAction.isMfaRequiredForAction;
|
|
@@ -9921,6 +10264,7 @@ exports.requestExternalAuthElevatedToken = __requestExternalAuthElevatedToken_wr
|
|
|
9921
10264
|
exports.requiresConversion = requiresConversion;
|
|
9922
10265
|
exports.revokeAllRegisteredDevices = __revokeAllRegisteredDevices_wrapped;
|
|
9923
10266
|
exports.revokeRegisteredDevice = __revokeRegisteredDevice_wrapped;
|
|
10267
|
+
exports.screenTransaction = screenTransaction;
|
|
9924
10268
|
exports.selectPrimaryWalletAccount = __selectPrimaryWalletAccount_wrapped;
|
|
9925
10269
|
exports.sendEmailOTP = __sendEmailOTP_wrapped;
|
|
9926
10270
|
exports.sendSmsOTP = __sendSmsOTP_wrapped;
|
|
@@ -9945,4 +10289,5 @@ exports.updateUser = __updateUser_wrapped;
|
|
|
9945
10289
|
exports.verifyOTP = __verifyOTP_wrapped;
|
|
9946
10290
|
exports.verifyWalletAccount = __verifyWalletAccount_wrapped;
|
|
9947
10291
|
exports.waitForClientInitialized = waitForClientInitialized;
|
|
10292
|
+
exports.withdrawFromYieldVault = __withdrawFromYieldVault_wrapped;
|
|
9948
10293
|
//# sourceMappingURL=index.cjs.map
|