@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.
Files changed (550) hide show
  1. package/android/src/main/java/xyz/dynamic/client/webview/DynamicWebViewHost.kt +8 -3
  2. package/android/src/main/java/xyz/dynamic/client/webview/DynamicWebViewModule.kt +27 -0
  3. package/dist/client/defaultClient/defaultClient.d.ts.map +1 -1
  4. package/dist/core.cjs +5 -5
  5. package/dist/core.cjs.map +1 -1
  6. package/dist/core.esm.js +7 -7
  7. package/dist/core.esm.js.map +1 -1
  8. package/dist/core.native.esm.js +7 -7
  9. package/dist/core.native.esm.js.map +1 -1
  10. package/dist/errors/ScreeningNotRequiredError.d.ts +23 -0
  11. package/dist/errors/ScreeningNotRequiredError.d.ts.map +1 -0
  12. package/dist/errors/base/BaseError.d.ts.map +1 -1
  13. package/dist/exports/core.d.ts +2 -1
  14. package/dist/exports/core.d.ts.map +1 -1
  15. package/dist/exports/index.d.ts +10 -1
  16. package/dist/exports/index.d.ts.map +1 -1
  17. package/dist/exports/waas.d.ts +26 -2
  18. package/dist/exports/waas.d.ts.map +1 -1
  19. package/dist/{getNetworkProviderFromNetworkId-CKWQLHSE.native.esm.js → getNetworkProviderFromNetworkId-BUjaD1Hl.native.esm.js} +7 -7
  20. package/dist/getNetworkProviderFromNetworkId-BUjaD1Hl.native.esm.js.map +1 -0
  21. package/dist/{getNetworkProviderFromNetworkId-DBjVmBmy.esm.js → getNetworkProviderFromNetworkId-ChdEfI2Q.esm.js} +6 -6
  22. package/dist/getNetworkProviderFromNetworkId-ChdEfI2Q.esm.js.map +1 -0
  23. package/dist/{getNetworkProviderFromNetworkId-OhoRrL_X.cjs → getNetworkProviderFromNetworkId-wbWC24tw.cjs} +2 -2
  24. package/dist/getNetworkProviderFromNetworkId-wbWC24tw.cjs.map +1 -0
  25. package/dist/{getSignedSessionId-BncZzHdQ.esm.js → getSignedSessionId-CAcYlAuB.esm.js} +3 -3
  26. package/dist/getSignedSessionId-CAcYlAuB.esm.js.map +1 -0
  27. package/dist/{getSignedSessionId-gwqj9h2p.cjs → getSignedSessionId-Ccdmqz-E.cjs} +3 -3
  28. package/dist/getSignedSessionId-Ccdmqz-E.cjs.map +1 -0
  29. package/dist/{getSignedSessionId-Dwqj_Cxx.native.esm.js → getSignedSessionId-GpNy9mNZ.native.esm.js} +3 -3
  30. package/dist/getSignedSessionId-GpNy9mNZ.native.esm.js.map +1 -0
  31. package/dist/{getWalletProviderByKey-CnpXHkmq.cjs → getWalletProviderByKey-BapuuI8t.cjs} +2 -2
  32. package/dist/getWalletProviderByKey-BapuuI8t.cjs.map +1 -0
  33. package/dist/{getWalletProviderByKey-Dh1slnTF.native.esm.js → getWalletProviderByKey-Bo8REwtt.native.esm.js} +4 -2
  34. package/dist/getWalletProviderByKey-Bo8REwtt.native.esm.js.map +1 -0
  35. package/dist/{getWalletProviderByKey-C9TWlmDD.esm.js → getWalletProviderByKey-D678OktF.esm.js} +2 -2
  36. package/dist/getWalletProviderByKey-D678OktF.esm.js.map +1 -0
  37. package/dist/index.cjs +351 -6
  38. package/dist/index.cjs.map +1 -1
  39. package/dist/index.esm.js +349 -10
  40. package/dist/index.esm.js.map +1 -1
  41. package/dist/index.native.esm.js +349 -10
  42. package/dist/index.native.esm.js.map +1 -1
  43. package/dist/{isDynamicWaasEnabled-CvxVdfKf.native.esm.js → isDynamicWaasEnabled-6Fvh5fsA.native.esm.js} +2 -2
  44. package/dist/{isDynamicWaasEnabled-CvxVdfKf.native.esm.js.map → isDynamicWaasEnabled-6Fvh5fsA.native.esm.js.map} +1 -1
  45. package/dist/{isDynamicWaasEnabled-DnDhv_Uj.cjs → isDynamicWaasEnabled-BPEtdwZI.cjs} +2 -2
  46. package/dist/{isDynamicWaasEnabled-DnDhv_Uj.cjs.map → isDynamicWaasEnabled-BPEtdwZI.cjs.map} +1 -1
  47. package/dist/{isDynamicWaasEnabled-D3-nDwVw.esm.js → isDynamicWaasEnabled-CIJILHSm.esm.js} +2 -2
  48. package/dist/{isDynamicWaasEnabled-D3-nDwVw.esm.js.map → isDynamicWaasEnabled-CIJILHSm.esm.js.map} +1 -1
  49. package/dist/{isMfaRequiredForAction-BjRiou3K.cjs → isMfaRequiredForAction-DjZ5p_og.cjs} +2 -2
  50. package/dist/isMfaRequiredForAction-DjZ5p_og.cjs.map +1 -0
  51. package/dist/{isMfaRequiredForAction-BJGirRfD.native.esm.js → isMfaRequiredForAction-WvmXGQKP.native.esm.js} +2 -2
  52. package/dist/isMfaRequiredForAction-WvmXGQKP.native.esm.js.map +1 -0
  53. package/dist/{isMfaRequiredForAction-D5rzx59E.esm.js → isMfaRequiredForAction-h3H3j2fJ.esm.js} +2 -2
  54. package/dist/isMfaRequiredForAction-h3H3j2fJ.esm.js.map +1 -0
  55. package/dist/{isUserOnboardingComplete-OFxAxj23.esm.js → isUserOnboardingComplete-BYM3G09A.esm.js} +3 -3
  56. package/dist/{isUserOnboardingComplete-OFxAxj23.esm.js.map → isUserOnboardingComplete-BYM3G09A.esm.js.map} +1 -1
  57. package/dist/{isUserOnboardingComplete-KCtF3oaO.cjs → isUserOnboardingComplete-CxIX-dC1.cjs} +3 -3
  58. package/dist/{isUserOnboardingComplete-KCtF3oaO.cjs.map → isUserOnboardingComplete-CxIX-dC1.cjs.map} +1 -1
  59. package/dist/{isUserOnboardingComplete-B3cHYyNI.native.esm.js → isUserOnboardingComplete-HLRIFAZb.native.esm.js} +3 -3
  60. package/dist/{isUserOnboardingComplete-B3cHYyNI.native.esm.js.map → isUserOnboardingComplete-HLRIFAZb.native.esm.js.map} +1 -1
  61. package/dist/{migrateFromFireblocks-DY0SAilk.native.esm.js → migrateFromFireblocks-4jrfIkDp.native.esm.js} +3 -3
  62. package/dist/{migrateFromFireblocks-DY0SAilk.native.esm.js.map → migrateFromFireblocks-4jrfIkDp.native.esm.js.map} +1 -1
  63. package/dist/{migrateFromFireblocks-BM6Iaii-.esm.js → migrateFromFireblocks-R-aPmpUZ.esm.js} +3 -3
  64. package/dist/{migrateFromFireblocks-BM6Iaii-.esm.js.map → migrateFromFireblocks-R-aPmpUZ.esm.js.map} +1 -1
  65. package/dist/{migrateFromFireblocks-Dg6igmRk.cjs → migrateFromFireblocks-mA-hvJcQ.cjs} +3 -3
  66. package/dist/{migrateFromFireblocks-Dg6igmRk.cjs.map → migrateFromFireblocks-mA-hvJcQ.cjs.map} +1 -1
  67. package/dist/modules/apiClient/createApiClient.d.ts +2 -1
  68. package/dist/modules/apiClient/createApiClient.d.ts.map +1 -1
  69. package/dist/modules/apiClient/createBaseApiClient.d.ts.map +1 -1
  70. package/dist/modules/auth/createVisit/createVisit.d.ts.map +1 -1
  71. package/dist/modules/auth/decodeJwt/decodeJwt.d.ts +2 -1
  72. package/dist/modules/auth/decodeJwt/decodeJwt.d.ts.map +1 -1
  73. package/dist/modules/auth/externalAuth/requestExternalAuthElevatedToken/requestExternalAuthElevatedToken.d.ts +2 -1
  74. package/dist/modules/auth/externalAuth/requestExternalAuthElevatedToken/requestExternalAuthElevatedToken.d.ts.map +1 -1
  75. package/dist/modules/auth/externalAuth/signInWithExternalJwt/signInWithExternalJwt.d.ts +2 -1
  76. package/dist/modules/auth/externalAuth/signInWithExternalJwt/signInWithExternalJwt.d.ts.map +1 -1
  77. package/dist/modules/auth/initializeAuth/initializeAuth.d.ts.map +1 -1
  78. package/dist/modules/auth/isSignedIn/isSignedIn.d.ts.map +1 -1
  79. package/dist/modules/auth/logout/logout.d.ts.map +1 -1
  80. package/dist/modules/auth/logoutReason.d.ts +1 -1
  81. package/dist/modules/auth/logoutReason.d.ts.map +1 -1
  82. package/dist/modules/auth/logoutWithReason/logoutWithReason.d.ts.map +1 -1
  83. package/dist/modules/auth/passkeys/getPasskeys/getPasskeys.d.ts +3 -2
  84. package/dist/modules/auth/passkeys/getPasskeys/getPasskeys.d.ts.map +1 -1
  85. package/dist/modules/auth/passkeys/registerPasskey/registerPasskey.d.ts +2 -2
  86. package/dist/modules/auth/passkeys/registerPasskey/registerPasskey.d.ts.map +1 -1
  87. package/dist/modules/auth/passkeys/serverAuthenticatePasskey/serverAuthenticatePasskey.d.ts +2 -2
  88. package/dist/modules/auth/passkeys/serverAuthenticatePasskey/serverAuthenticatePasskey.d.ts.map +1 -1
  89. package/dist/modules/auth/passkeys/serverRegisterPasskey/serverRegisterPasskey.d.ts +2 -2
  90. package/dist/modules/auth/passkeys/serverRegisterPasskey/serverRegisterPasskey.d.ts.map +1 -1
  91. package/dist/modules/auth/passkeys/serverSigninPasskey/serverSigninPasskey.d.ts +2 -2
  92. package/dist/modules/auth/passkeys/serverSigninPasskey/serverSigninPasskey.d.ts.map +1 -1
  93. package/dist/modules/auth/passkeys/signInWithPasskey/signInWithPasskey.d.ts +2 -1
  94. package/dist/modules/auth/passkeys/signInWithPasskey/signInWithPasskey.d.ts.map +1 -1
  95. package/dist/modules/auth/social/oauth/authenticateWithSocial/authenticateWithSocial.d.ts.map +1 -1
  96. package/dist/modules/auth/social/oauth/signInWithSocialRedirect/signInWithSocialRedirect.d.ts.map +1 -1
  97. package/dist/modules/auth/social/removeDynamicOauthParamsFromUrl/removeDynamicOauthParamsFromUrl.d.ts.map +1 -1
  98. package/dist/modules/auth/updateAuthFromVerifyResponse/checkAndRaiseWalletAccountsChangedEvent/checkAndRaiseWalletAccountsChangedEvent.d.ts.map +1 -1
  99. package/dist/modules/auth/updateAuthFromVerifyResponse/updateAuthFromVerifyResponse.d.ts.map +1 -1
  100. package/dist/modules/captcha/isCaptchaRequired/isCaptchaRequired.d.ts.map +1 -1
  101. package/dist/modules/captcha/setCaptchaToken/setCaptchaToken.d.ts.map +1 -1
  102. package/dist/modules/checkout/utils/createCheckoutSessionTokenStorageKey/createCheckoutSessionTokenStorageKey.d.ts +2 -1
  103. package/dist/modules/checkout/utils/createCheckoutSessionTokenStorageKey/createCheckoutSessionTokenStorageKey.d.ts.map +1 -1
  104. package/dist/modules/checkout/utils/createCheckoutTransactionChannelSchema/createCheckoutTransactionChannelSchema.d.ts +9 -7
  105. package/dist/modules/checkout/utils/createCheckoutTransactionChannelSchema/createCheckoutTransactionChannelSchema.d.ts.map +1 -1
  106. package/dist/modules/clientEvents/clientEvents.d.ts +2 -2
  107. package/dist/modules/clientEvents/clientEvents.d.ts.map +1 -1
  108. package/dist/modules/crossTabEventSync/setupCrossTabEventSync/setupCrossTabEventSync.d.ts +1 -1
  109. package/dist/modules/crossTabEventSync/setupCrossTabEventSync/setupCrossTabEventSync.d.ts.map +1 -1
  110. package/dist/modules/deviceRegistration/isDeviceRegistrationRequired/isDeviceRegistrationRequired.d.ts +1 -1
  111. package/dist/modules/deviceRegistration/isDeviceRegistrationRequired/isDeviceRegistrationRequired.d.ts.map +1 -1
  112. package/dist/modules/extension/hasExtension/hasExtension.d.ts +1 -1
  113. package/dist/modules/extension/hasExtension/hasExtension.d.ts.map +1 -1
  114. package/dist/modules/extension/registerExtension/registerExtension.d.ts +1 -1
  115. package/dist/modules/extension/registerExtension/registerExtension.d.ts.map +1 -1
  116. package/dist/modules/flow/utils/createFlowSessionTokenStorageKey/createFlowSessionTokenStorageKey.d.ts +2 -1
  117. package/dist/modules/flow/utils/createFlowSessionTokenStorageKey/createFlowSessionTokenStorageKey.d.ts.map +1 -1
  118. package/dist/modules/initializeClient/initializeClient.d.ts.map +1 -1
  119. package/dist/modules/initializeClient/logoutIfSessionPublicKeyMismatched/logoutIfSessionPublicKeyMismatched.d.ts +18 -0
  120. package/dist/modules/initializeClient/logoutIfSessionPublicKeyMismatched/logoutIfSessionPublicKeyMismatched.d.ts.map +1 -0
  121. package/dist/modules/initializeClient/waitForClientInitialized/waitForClientInitialized.d.ts.map +1 -1
  122. package/dist/modules/initializeClient/waitForProjectSettings/waitForProjectSettings.d.ts +2 -1
  123. package/dist/modules/initializeClient/waitForProjectSettings/waitForProjectSettings.d.ts.map +1 -1
  124. package/dist/modules/instrumentation/setInstrumentationEnabled/setInstrumentationEnabled.d.ts.map +1 -1
  125. package/dist/modules/mfa/acknowledgeRecoveryCodes/acknowledgeRecoveryCodes.d.ts +3 -2
  126. package/dist/modules/mfa/acknowledgeRecoveryCodes/acknowledgeRecoveryCodes.d.ts.map +1 -1
  127. package/dist/modules/mfa/authenticateMfaRecoveryCode/authenticateMfaRecoveryCode.d.ts +2 -2
  128. package/dist/modules/mfa/authenticateMfaRecoveryCode/authenticateMfaRecoveryCode.d.ts.map +1 -1
  129. package/dist/modules/mfa/authenticatePasskeyMFA/authenticatePasskeyMFA.d.ts +2 -2
  130. package/dist/modules/mfa/authenticatePasskeyMFA/authenticatePasskeyMFA.d.ts.map +1 -1
  131. package/dist/modules/mfa/authenticateTotpMfaDevice/authenticateTotpMfaDevice.d.ts +2 -2
  132. package/dist/modules/mfa/authenticateTotpMfaDevice/authenticateTotpMfaDevice.d.ts.map +1 -1
  133. package/dist/modules/mfa/consumeMfaToken/consumeMfaToken.d.ts.map +1 -1
  134. package/dist/modules/mfa/createNewMfaRecoveryCodes/createNewMfaRecoveryCodes.d.ts +2 -1
  135. package/dist/modules/mfa/createNewMfaRecoveryCodes/createNewMfaRecoveryCodes.d.ts.map +1 -1
  136. package/dist/modules/mfa/deleteMfaDevice/deleteMfaDevice.d.ts +1 -1
  137. package/dist/modules/mfa/deleteMfaDevice/deleteMfaDevice.d.ts.map +1 -1
  138. package/dist/modules/mfa/getMfaDevices/getMfaDevices.d.ts +3 -2
  139. package/dist/modules/mfa/getMfaDevices/getMfaDevices.d.ts.map +1 -1
  140. package/dist/modules/mfa/getMfaMethods/getMfaMethods.d.ts +3 -2
  141. package/dist/modules/mfa/getMfaMethods/getMfaMethods.d.ts.map +1 -1
  142. package/dist/modules/mfa/getMfaRecoveryCodes/getMfaRecoveryCodes.d.ts +3 -2
  143. package/dist/modules/mfa/getMfaRecoveryCodes/getMfaRecoveryCodes.d.ts.map +1 -1
  144. package/dist/modules/mfa/isMfaRequiredForAction/isMfaRequiredForAction.d.ts +1 -1
  145. package/dist/modules/mfa/isMfaRequiredForAction/isMfaRequiredForAction.d.ts.map +1 -1
  146. package/dist/modules/mfa/isPendingRecoveryCodesAcknowledgment/isPendingRecoveryCodesAcknowledgment.d.ts +1 -1
  147. package/dist/modules/mfa/isPendingRecoveryCodesAcknowledgment/isPendingRecoveryCodesAcknowledgment.d.ts.map +1 -1
  148. package/dist/modules/mfa/isUserMissingMfaAuth/isUserMissingMfaAuth.d.ts +1 -1
  149. package/dist/modules/mfa/isUserMissingMfaAuth/isUserMissingMfaAuth.d.ts.map +1 -1
  150. package/dist/modules/mfa/registerTotpMfaDevice/registerTotpMfaDevice.d.ts +2 -1
  151. package/dist/modules/mfa/registerTotpMfaDevice/registerTotpMfaDevice.d.ts.map +1 -1
  152. package/dist/modules/mfa/setDefaultMfaDevice/setDefaultMfaDevice.d.ts +1 -1
  153. package/dist/modules/mfa/setDefaultMfaDevice/setDefaultMfaDevice.d.ts.map +1 -1
  154. package/dist/modules/otp/verifyOTP/verifyOTPForUserSignIn/verifyOTPForUserSignIn.d.ts +2 -1
  155. package/dist/modules/otp/verifyOTP/verifyOTPForUserSignIn/verifyOTPForUserSignIn.d.ts.map +1 -1
  156. package/dist/modules/otp/verifyOTP/verifyOTPForUserUpdate/verifyOTPForUserUpdate.d.ts +2 -1
  157. package/dist/modules/otp/verifyOTP/verifyOTPForUserUpdate/verifyOTPForUserUpdate.d.ts.map +1 -1
  158. package/dist/modules/projectSettings/fetchProjectSettings/fetchProjectSettings.d.ts +2 -1
  159. package/dist/modules/projectSettings/fetchProjectSettings/fetchProjectSettings.d.ts.map +1 -1
  160. package/dist/modules/sessionKeys/generateNonceSignature/generateNonceSignature.d.ts +4 -3
  161. package/dist/modules/sessionKeys/generateNonceSignature/generateNonceSignature.d.ts.map +1 -1
  162. package/dist/modules/sessionKeys/generateSessionSignature/generateSessionSignature.d.ts +4 -3
  163. package/dist/modules/sessionKeys/generateSessionSignature/generateSessionSignature.d.ts.map +1 -1
  164. package/dist/modules/sessionKeys/getSignedSessionId/getSignedSessionId.d.ts +5 -3
  165. package/dist/modules/sessionKeys/getSignedSessionId/getSignedSessionId.d.ts.map +1 -1
  166. package/dist/modules/state/raiseStateEvents/raiseStateEvents.d.ts.map +1 -1
  167. package/dist/modules/storageSync/initializeStorageSync.d.ts.map +1 -1
  168. package/dist/modules/storageSync/syncStateWithStorage/syncStateWithStorage.d.ts.map +1 -1
  169. package/dist/modules/swap/executeSwapTransaction/executeSwapTransaction.d.ts +4 -3
  170. package/dist/modules/swap/executeSwapTransaction/executeSwapTransaction.d.ts.map +1 -1
  171. package/dist/modules/swap/utils/ensureCorrectActiveNetwork/ensureCorrectActiveNetwork.d.ts.map +1 -1
  172. package/dist/modules/user/isUserOnboardingComplete/isUserOnboardingComplete.d.ts.map +1 -1
  173. package/dist/modules/waas/backupWaasKeySharesToGoogleDrive/backupWaasKeySharesToGoogleDrive.d.ts +1 -1
  174. package/dist/modules/waas/backupWaasKeySharesToGoogleDrive/backupWaasKeySharesToGoogleDrive.d.ts.map +1 -1
  175. package/dist/modules/waas/businessAccounts/addBusinessAccountSigner/addBusinessAccountSigner.d.ts +6 -5
  176. package/dist/modules/waas/businessAccounts/addBusinessAccountSigner/addBusinessAccountSigner.d.ts.map +1 -1
  177. package/dist/modules/waas/businessAccounts/createWalletForBusinessAccount/createWalletForBusinessAccount.d.ts +6 -5
  178. package/dist/modules/waas/businessAccounts/createWalletForBusinessAccount/createWalletForBusinessAccount.d.ts.map +1 -1
  179. package/dist/modules/waas/createWaasOfflineRecoveryShares/createWaasOfflineRecoveryShares.d.ts.map +1 -1
  180. package/dist/modules/waas/exportWaasClientKeyshares/exportWaasClientKeyshares.d.ts +1 -1
  181. package/dist/modules/waas/exportWaasClientKeyshares/exportWaasClientKeyshares.d.ts.map +1 -1
  182. package/dist/modules/waas/exportWaasPrivateKey/exportWaasPrivateKey.d.ts +1 -1
  183. package/dist/modules/waas/exportWaasPrivateKey/exportWaasPrivateKey.d.ts.map +1 -1
  184. package/dist/modules/waas/exportWaasPrivateKeyToContainer/exportWaasPrivateKeyToContainer.d.ts.map +1 -1
  185. package/dist/modules/waas/getWalletAccountShareSets/getWalletAccountShareSets.d.ts +27 -0
  186. package/dist/modules/waas/getWalletAccountShareSets/getWalletAccountShareSets.d.ts.map +1 -0
  187. package/dist/modules/waas/getWalletAccountShareSets/index.d.ts +3 -0
  188. package/dist/modules/waas/getWalletAccountShareSets/index.d.ts.map +1 -0
  189. package/dist/modules/waas/importWaasPrivateKey/importWaasPrivateKey.d.ts +1 -1
  190. package/dist/modules/waas/importWaasPrivateKey/importWaasPrivateKey.d.ts.map +1 -1
  191. package/dist/modules/waas/injectWaasVerifiedCredentialFields/injectWaasVerifiedCredentialFields.d.ts +26 -0
  192. package/dist/modules/waas/injectWaasVerifiedCredentialFields/injectWaasVerifiedCredentialFields.d.ts.map +1 -0
  193. package/dist/modules/waas/isDynamicWaasEnabled/isDynamicWaasEnabled.d.ts +1 -1
  194. package/dist/modules/waas/isDynamicWaasEnabled/isDynamicWaasEnabled.d.ts.map +1 -1
  195. package/dist/modules/waas/policies/applyPolicyLayerBatch/applyPolicyLayerBatch.d.ts +18 -0
  196. package/dist/modules/waas/policies/applyPolicyLayerBatch/applyPolicyLayerBatch.d.ts.map +1 -0
  197. package/dist/modules/waas/policies/applyPolicyLayerBatch/index.d.ts +2 -0
  198. package/dist/modules/waas/policies/applyPolicyLayerBatch/index.d.ts.map +1 -0
  199. package/dist/modules/waas/policies/buildAllowAddressesRule/buildAllowAddressesRule.d.ts +10 -0
  200. package/dist/modules/waas/policies/buildAllowAddressesRule/buildAllowAddressesRule.d.ts.map +1 -0
  201. package/dist/modules/waas/policies/buildAllowAddressesRule/index.d.ts +2 -0
  202. package/dist/modules/waas/policies/buildAllowAddressesRule/index.d.ts.map +1 -0
  203. package/dist/modules/waas/policies/buildAllowPolicyRule/buildAllowPolicyRule.d.ts +11 -0
  204. package/dist/modules/waas/policies/buildAllowPolicyRule/buildAllowPolicyRule.d.ts.map +1 -0
  205. package/dist/modules/waas/policies/buildAllowPolicyRule/index.d.ts +2 -0
  206. package/dist/modules/waas/policies/buildAllowPolicyRule/index.d.ts.map +1 -0
  207. package/dist/modules/waas/policies/buildBlockExportRule/buildBlockExportRule.d.ts +11 -0
  208. package/dist/modules/waas/policies/buildBlockExportRule/buildBlockExportRule.d.ts.map +1 -0
  209. package/dist/modules/waas/policies/buildBlockExportRule/index.d.ts +2 -0
  210. package/dist/modules/waas/policies/buildBlockExportRule/index.d.ts.map +1 -0
  211. package/dist/modules/waas/policies/buildDenyAddressesRule/buildDenyAddressesRule.d.ts +8 -0
  212. package/dist/modules/waas/policies/buildDenyAddressesRule/buildDenyAddressesRule.d.ts.map +1 -0
  213. package/dist/modules/waas/policies/buildDenyAddressesRule/index.d.ts +2 -0
  214. package/dist/modules/waas/policies/buildDenyAddressesRule/index.d.ts.map +1 -0
  215. package/dist/modules/waas/policies/buildDenyPolicyRule/buildDenyPolicyRule.d.ts +11 -0
  216. package/dist/modules/waas/policies/buildDenyPolicyRule/buildDenyPolicyRule.d.ts.map +1 -0
  217. package/dist/modules/waas/policies/buildDenyPolicyRule/index.d.ts +2 -0
  218. package/dist/modules/waas/policies/buildDenyPolicyRule/index.d.ts.map +1 -0
  219. package/dist/modules/waas/policies/buildMaxAmountPerTransactionRule/buildMaxAmountPerTransactionRule.d.ts +10 -0
  220. package/dist/modules/waas/policies/buildMaxAmountPerTransactionRule/buildMaxAmountPerTransactionRule.d.ts.map +1 -0
  221. package/dist/modules/waas/policies/buildMaxAmountPerTransactionRule/index.d.ts +2 -0
  222. package/dist/modules/waas/policies/buildMaxAmountPerTransactionRule/index.d.ts.map +1 -0
  223. package/dist/modules/waas/policies/buildOperationForExistingRule/buildOperationForExistingRule.d.ts +26 -0
  224. package/dist/modules/waas/policies/buildOperationForExistingRule/buildOperationForExistingRule.d.ts.map +1 -0
  225. package/dist/modules/waas/policies/buildOperationForExistingRule/index.d.ts +2 -0
  226. package/dist/modules/waas/policies/buildOperationForExistingRule/index.d.ts.map +1 -0
  227. package/dist/modules/waas/policies/buildOperationsForRule/buildOperationsForRule.d.ts +24 -0
  228. package/dist/modules/waas/policies/buildOperationsForRule/buildOperationsForRule.d.ts.map +1 -0
  229. package/dist/modules/waas/policies/buildOperationsForRule/index.d.ts +2 -0
  230. package/dist/modules/waas/policies/buildOperationsForRule/index.d.ts.map +1 -0
  231. package/dist/modules/waas/policies/buildValueLimit/buildValueLimit.d.ts +12 -0
  232. package/dist/modules/waas/policies/buildValueLimit/buildValueLimit.d.ts.map +1 -0
  233. package/dist/modules/waas/policies/buildValueLimit/index.d.ts +2 -0
  234. package/dist/modules/waas/policies/buildValueLimit/index.d.ts.map +1 -0
  235. package/dist/modules/waas/policies/createPolicy/createPolicy.d.ts +39 -0
  236. package/dist/modules/waas/policies/createPolicy/createPolicy.d.ts.map +1 -0
  237. package/dist/modules/waas/policies/createPolicy/index.d.ts +2 -0
  238. package/dist/modules/waas/policies/createPolicy/index.d.ts.map +1 -0
  239. package/dist/modules/waas/policies/desugarPolicyRules/desugarPolicyRules.d.ts +23 -0
  240. package/dist/modules/waas/policies/desugarPolicyRules/desugarPolicyRules.d.ts.map +1 -0
  241. package/dist/modules/waas/policies/desugarPolicyRules/index.d.ts +2 -0
  242. package/dist/modules/waas/policies/desugarPolicyRules/index.d.ts.map +1 -0
  243. package/dist/modules/waas/policies/expandPolicyRules/expandPolicyRules.d.ts +22 -0
  244. package/dist/modules/waas/policies/expandPolicyRules/expandPolicyRules.d.ts.map +1 -0
  245. package/dist/modules/waas/policies/expandPolicyRules/index.d.ts +2 -0
  246. package/dist/modules/waas/policies/expandPolicyRules/index.d.ts.map +1 -0
  247. package/dist/modules/waas/policies/fillOmittedRuleValues/fillOmittedRuleValues.d.ts +26 -0
  248. package/dist/modules/waas/policies/fillOmittedRuleValues/fillOmittedRuleValues.d.ts.map +1 -0
  249. package/dist/modules/waas/policies/fillOmittedRuleValues/index.d.ts +2 -0
  250. package/dist/modules/waas/policies/fillOmittedRuleValues/index.d.ts.map +1 -0
  251. package/dist/modules/waas/policies/findMatchedRuleKind/findMatchedRuleKind.d.ts +22 -0
  252. package/dist/modules/waas/policies/findMatchedRuleKind/findMatchedRuleKind.d.ts.map +1 -0
  253. package/dist/modules/waas/policies/findMatchedRuleKind/index.d.ts +3 -0
  254. package/dist/modules/waas/policies/findMatchedRuleKind/index.d.ts.map +1 -0
  255. package/dist/modules/waas/policies/getAccountPolicyLayer/getAccountPolicyLayer.d.ts +18 -0
  256. package/dist/modules/waas/policies/getAccountPolicyLayer/getAccountPolicyLayer.d.ts.map +1 -0
  257. package/dist/modules/waas/policies/getAccountPolicyLayer/index.d.ts +2 -0
  258. package/dist/modules/waas/policies/getAccountPolicyLayer/index.d.ts.map +1 -0
  259. package/dist/modules/waas/policies/getPolicy/getPolicy.d.ts +34 -0
  260. package/dist/modules/waas/policies/getPolicy/getPolicy.d.ts.map +1 -0
  261. package/dist/modules/waas/policies/getPolicy/index.d.ts +2 -0
  262. package/dist/modules/waas/policies/getPolicy/index.d.ts.map +1 -0
  263. package/dist/modules/waas/policies/getResolvedPolicyLayer/getResolvedPolicyLayer.d.ts +16 -0
  264. package/dist/modules/waas/policies/getResolvedPolicyLayer/getResolvedPolicyLayer.d.ts.map +1 -0
  265. package/dist/modules/waas/policies/getResolvedPolicyLayer/index.d.ts +2 -0
  266. package/dist/modules/waas/policies/getResolvedPolicyLayer/index.d.ts.map +1 -0
  267. package/dist/modules/waas/policies/getSignerPolicyLayer/getSignerPolicyLayer.d.ts +25 -0
  268. package/dist/modules/waas/policies/getSignerPolicyLayer/getSignerPolicyLayer.d.ts.map +1 -0
  269. package/dist/modules/waas/policies/getSignerPolicyLayer/index.d.ts +2 -0
  270. package/dist/modules/waas/policies/getSignerPolicyLayer/index.d.ts.map +1 -0
  271. package/dist/modules/waas/policies/getWalletPolicyLayer/getWalletPolicyLayer.d.ts +20 -0
  272. package/dist/modules/waas/policies/getWalletPolicyLayer/getWalletPolicyLayer.d.ts.map +1 -0
  273. package/dist/modules/waas/policies/getWalletPolicyLayer/index.d.ts +2 -0
  274. package/dist/modules/waas/policies/getWalletPolicyLayer/index.d.ts.map +1 -0
  275. package/dist/modules/waas/policies/hasAddresses/hasAddresses.d.ts +7 -0
  276. package/dist/modules/waas/policies/hasAddresses/hasAddresses.d.ts.map +1 -0
  277. package/dist/modules/waas/policies/hasAddresses/index.d.ts +2 -0
  278. package/dist/modules/waas/policies/hasAddresses/index.d.ts.map +1 -0
  279. package/dist/modules/waas/policies/hasUnrecognizedFields/hasUnrecognizedFields.d.ts +6 -0
  280. package/dist/modules/waas/policies/hasUnrecognizedFields/hasUnrecognizedFields.d.ts.map +1 -0
  281. package/dist/modules/waas/policies/hasUnrecognizedFields/index.d.ts +2 -0
  282. package/dist/modules/waas/policies/hasUnrecognizedFields/index.d.ts.map +1 -0
  283. package/dist/modules/waas/policies/isPolicyRuleDeletionMarker/index.d.ts +2 -0
  284. package/dist/modules/waas/policies/isPolicyRuleDeletionMarker/index.d.ts.map +1 -0
  285. package/dist/modules/waas/policies/isPolicyRuleDeletionMarker/isPolicyRuleDeletionMarker.d.ts +14 -0
  286. package/dist/modules/waas/policies/isPolicyRuleDeletionMarker/isPolicyRuleDeletionMarker.d.ts.map +1 -0
  287. package/dist/modules/waas/policies/matchExistingRules/index.d.ts +3 -0
  288. package/dist/modules/waas/policies/matchExistingRules/index.d.ts.map +1 -0
  289. package/dist/modules/waas/policies/matchExistingRules/matchExistingRules.d.ts +33 -0
  290. package/dist/modules/waas/policies/matchExistingRules/matchExistingRules.d.ts.map +1 -0
  291. package/dist/modules/waas/policies/policies.types.d.ts +91 -0
  292. package/dist/modules/waas/policies/policies.types.d.ts.map +1 -0
  293. package/dist/modules/waas/policies/policyRuleDefaultNames.d.ts +10 -0
  294. package/dist/modules/waas/policies/policyRuleDefaultNames.d.ts.map +1 -0
  295. package/dist/modules/waas/policies/policyRuleKinds.d.ts +34 -0
  296. package/dist/modules/waas/policies/policyRuleKinds.d.ts.map +1 -0
  297. package/dist/modules/waas/policies/readAllowAddressesRule/index.d.ts +2 -0
  298. package/dist/modules/waas/policies/readAllowAddressesRule/index.d.ts.map +1 -0
  299. package/dist/modules/waas/policies/readAllowAddressesRule/readAllowAddressesRule.d.ts +9 -0
  300. package/dist/modules/waas/policies/readAllowAddressesRule/readAllowAddressesRule.d.ts.map +1 -0
  301. package/dist/modules/waas/policies/readBlockExportRule/index.d.ts +2 -0
  302. package/dist/modules/waas/policies/readBlockExportRule/index.d.ts.map +1 -0
  303. package/dist/modules/waas/policies/readBlockExportRule/readBlockExportRule.d.ts +8 -0
  304. package/dist/modules/waas/policies/readBlockExportRule/readBlockExportRule.d.ts.map +1 -0
  305. package/dist/modules/waas/policies/readCoveredRule/index.d.ts +3 -0
  306. package/dist/modules/waas/policies/readCoveredRule/index.d.ts.map +1 -0
  307. package/dist/modules/waas/policies/readCoveredRule/readCoveredRule.d.ts +31 -0
  308. package/dist/modules/waas/policies/readCoveredRule/readCoveredRule.d.ts.map +1 -0
  309. package/dist/modules/waas/policies/readDenyAddressesRule/index.d.ts +2 -0
  310. package/dist/modules/waas/policies/readDenyAddressesRule/index.d.ts.map +1 -0
  311. package/dist/modules/waas/policies/readDenyAddressesRule/readDenyAddressesRule.d.ts +8 -0
  312. package/dist/modules/waas/policies/readDenyAddressesRule/readDenyAddressesRule.d.ts.map +1 -0
  313. package/dist/modules/waas/policies/readMaxAmountPerTransactionRule/index.d.ts +2 -0
  314. package/dist/modules/waas/policies/readMaxAmountPerTransactionRule/index.d.ts.map +1 -0
  315. package/dist/modules/waas/policies/readMaxAmountPerTransactionRule/readMaxAmountPerTransactionRule.d.ts +8 -0
  316. package/dist/modules/waas/policies/readMaxAmountPerTransactionRule/readMaxAmountPerTransactionRule.d.ts.map +1 -0
  317. package/dist/modules/waas/policies/readValueLimit/index.d.ts +2 -0
  318. package/dist/modules/waas/policies/readValueLimit/index.d.ts.map +1 -0
  319. package/dist/modules/waas/policies/readValueLimit/readValueLimit.d.ts +10 -0
  320. package/dist/modules/waas/policies/readValueLimit/readValueLimit.d.ts.map +1 -0
  321. package/dist/modules/waas/policies/removeAccountPolicyRule/index.d.ts +2 -0
  322. package/dist/modules/waas/policies/removeAccountPolicyRule/index.d.ts.map +1 -0
  323. package/dist/modules/waas/policies/removeAccountPolicyRule/removeAccountPolicyRule.d.ts +20 -0
  324. package/dist/modules/waas/policies/removeAccountPolicyRule/removeAccountPolicyRule.d.ts.map +1 -0
  325. package/dist/modules/waas/policies/removePolicyRules/index.d.ts +2 -0
  326. package/dist/modules/waas/policies/removePolicyRules/index.d.ts.map +1 -0
  327. package/dist/modules/waas/policies/removePolicyRules/removePolicyRules.d.ts +30 -0
  328. package/dist/modules/waas/policies/removePolicyRules/removePolicyRules.d.ts.map +1 -0
  329. package/dist/modules/waas/policies/removeSignerPolicyRule/index.d.ts +2 -0
  330. package/dist/modules/waas/policies/removeSignerPolicyRule/index.d.ts.map +1 -0
  331. package/dist/modules/waas/policies/removeSignerPolicyRule/removeSignerPolicyRule.d.ts +25 -0
  332. package/dist/modules/waas/policies/removeSignerPolicyRule/removeSignerPolicyRule.d.ts.map +1 -0
  333. package/dist/modules/waas/policies/removeWalletPolicyRule/index.d.ts +2 -0
  334. package/dist/modules/waas/policies/removeWalletPolicyRule/index.d.ts.map +1 -0
  335. package/dist/modules/waas/policies/removeWalletPolicyRule/removeWalletPolicyRule.d.ts +22 -0
  336. package/dist/modules/waas/policies/removeWalletPolicyRule/removeWalletPolicyRule.d.ts.map +1 -0
  337. package/dist/modules/waas/policies/resolvePolicyScope/index.d.ts +3 -0
  338. package/dist/modules/waas/policies/resolvePolicyScope/index.d.ts.map +1 -0
  339. package/dist/modules/waas/policies/resolvePolicyScope/resolvePolicyScope.d.ts +31 -0
  340. package/dist/modules/waas/policies/resolvePolicyScope/resolvePolicyScope.d.ts.map +1 -0
  341. package/dist/modules/waas/policies/resolveRuleName/index.d.ts +2 -0
  342. package/dist/modules/waas/policies/resolveRuleName/index.d.ts.map +1 -0
  343. package/dist/modules/waas/policies/resolveRuleName/resolveRuleName.d.ts +20 -0
  344. package/dist/modules/waas/policies/resolveRuleName/resolveRuleName.d.ts.map +1 -0
  345. package/dist/modules/waas/policies/sameChainIds/index.d.ts +2 -0
  346. package/dist/modules/waas/policies/sameChainIds/index.d.ts.map +1 -0
  347. package/dist/modules/waas/policies/sameChainIds/sameChainIds.d.ts +14 -0
  348. package/dist/modules/waas/policies/sameChainIds/sameChainIds.d.ts.map +1 -0
  349. package/dist/modules/waas/policies/sortRulesByRuleId/index.d.ts +2 -0
  350. package/dist/modules/waas/policies/sortRulesByRuleId/index.d.ts.map +1 -0
  351. package/dist/modules/waas/policies/sortRulesByRuleId/sortRulesByRuleId.d.ts +12 -0
  352. package/dist/modules/waas/policies/sortRulesByRuleId/sortRulesByRuleId.d.ts.map +1 -0
  353. package/dist/modules/waas/policies/upsertAccountPolicyRule/index.d.ts +2 -0
  354. package/dist/modules/waas/policies/upsertAccountPolicyRule/index.d.ts.map +1 -0
  355. package/dist/modules/waas/policies/upsertAccountPolicyRule/upsertAccountPolicyRule.d.ts +24 -0
  356. package/dist/modules/waas/policies/upsertAccountPolicyRule/upsertAccountPolicyRule.d.ts.map +1 -0
  357. package/dist/modules/waas/policies/upsertSignerPolicyRule/index.d.ts +2 -0
  358. package/dist/modules/waas/policies/upsertSignerPolicyRule/index.d.ts.map +1 -0
  359. package/dist/modules/waas/policies/upsertSignerPolicyRule/upsertSignerPolicyRule.d.ts +28 -0
  360. package/dist/modules/waas/policies/upsertSignerPolicyRule/upsertSignerPolicyRule.d.ts.map +1 -0
  361. package/dist/modules/waas/policies/upsertWalletPolicyRule/index.d.ts +2 -0
  362. package/dist/modules/waas/policies/upsertWalletPolicyRule/index.d.ts.map +1 -0
  363. package/dist/modules/waas/policies/upsertWalletPolicyRule/upsertWalletPolicyRule.d.ts +25 -0
  364. package/dist/modules/waas/policies/upsertWalletPolicyRule/upsertWalletPolicyRule.d.ts.map +1 -0
  365. package/dist/modules/waas/refreshWaasWalletAccountShares/refreshWaasWalletAccountShares.d.ts +1 -1
  366. package/dist/modules/waas/refreshWaasWalletAccountShares/refreshWaasWalletAccountShares.d.ts.map +1 -1
  367. package/dist/modules/waas/setWaasWalletAccountPassword/setWaasWalletAccountPassword.d.ts +1 -1
  368. package/dist/modules/waas/setWaasWalletAccountPassword/setWaasWalletAccountPassword.d.ts.map +1 -1
  369. package/dist/modules/waas/shouldAutoCreateWalletForChain/shouldAutoCreateWalletForChain.d.ts +1 -1
  370. package/dist/modules/waas/shouldAutoCreateWalletForChain/shouldAutoCreateWalletForChain.d.ts.map +1 -1
  371. package/dist/modules/waas/signSerializedTransaction/index.d.ts +2 -0
  372. package/dist/modules/waas/signSerializedTransaction/index.d.ts.map +1 -0
  373. package/dist/modules/waas/signSerializedTransaction/signSerializedTransaction.d.ts +24 -0
  374. package/dist/modules/waas/signSerializedTransaction/signSerializedTransaction.d.ts.map +1 -0
  375. package/dist/modules/waas/updateWaasPassword/updateWaasPassword.d.ts +1 -1
  376. package/dist/modules/waas/updateWaasPassword/updateWaasPassword.d.ts.map +1 -1
  377. package/dist/modules/waas/waas.types.d.ts +22 -1
  378. package/dist/modules/waas/waas.types.d.ts.map +1 -1
  379. package/dist/modules/wallets/assertWalletAccountSigningAvailability/assertWalletAccountSigningAvailability.d.ts +1 -1
  380. package/dist/modules/wallets/assertWalletAccountSigningAvailability/assertWalletAccountSigningAvailability.d.ts.map +1 -1
  381. package/dist/modules/wallets/connectAndVerifyWithWalletProvider/connectAndVerifyWithWalletProvider.d.ts +2 -1
  382. package/dist/modules/wallets/connectAndVerifyWithWalletProvider/connectAndVerifyWithWalletProvider.d.ts.map +1 -1
  383. package/dist/modules/wallets/destroyWalletProviders/destroyWalletProviders.d.ts.map +1 -1
  384. package/dist/modules/wallets/getConnectedAddresses/getConnectedAddresses.d.ts +4 -3
  385. package/dist/modules/wallets/getConnectedAddresses/getConnectedAddresses.d.ts.map +1 -1
  386. package/dist/modules/wallets/getWalletAccountAddressByType/getWalletAccountAddressByType.d.ts.map +1 -1
  387. package/dist/modules/wallets/getWalletProviderByKey/getWalletProviderByKey.d.ts +2 -1
  388. package/dist/modules/wallets/getWalletProviderByKey/getWalletProviderByKey.d.ts.map +1 -1
  389. package/dist/modules/wallets/getWalletProviders/getWalletProviders.d.ts +3 -2
  390. package/dist/modules/wallets/getWalletProviders/getWalletProviders.d.ts.map +1 -1
  391. package/dist/modules/wallets/isExternalWalletScreeningEnabled/index.d.ts +2 -0
  392. package/dist/modules/wallets/isExternalWalletScreeningEnabled/index.d.ts.map +1 -0
  393. package/dist/modules/wallets/isExternalWalletScreeningEnabled/isExternalWalletScreeningEnabled.d.ts +28 -0
  394. package/dist/modules/wallets/isExternalWalletScreeningEnabled/isExternalWalletScreeningEnabled.d.ts.map +1 -0
  395. package/dist/modules/wallets/isWalletAccountVerified/isWalletAccountVerified.d.ts.map +1 -1
  396. package/dist/modules/wallets/networks/addNetwork/addNetwork.d.ts +1 -1
  397. package/dist/modules/wallets/networks/addNetwork/addNetwork.d.ts.map +1 -1
  398. package/dist/modules/wallets/networks/getActiveNetworkData/getActiveNetworkData.d.ts +5 -3
  399. package/dist/modules/wallets/networks/getActiveNetworkData/getActiveNetworkData.d.ts.map +1 -1
  400. package/dist/modules/wallets/networks/getActiveNetworkId/getActiveNetworkId.d.ts +5 -4
  401. package/dist/modules/wallets/networks/getActiveNetworkId/getActiveNetworkId.d.ts.map +1 -1
  402. package/dist/modules/wallets/networks/getBalanceForAddress/getBalanceForAddress.d.ts +4 -3
  403. package/dist/modules/wallets/networks/getBalanceForAddress/getBalanceForAddress.d.ts.map +1 -1
  404. package/dist/modules/wallets/networks/getNativeBalance/getNativeBalance.d.ts +4 -3
  405. package/dist/modules/wallets/networks/getNativeBalance/getNativeBalance.d.ts.map +1 -1
  406. package/dist/modules/wallets/networks/isProgrammaticNetworkSwitchAvailable/isProgrammaticNetworkSwitchAvailable.d.ts +1 -1
  407. package/dist/modules/wallets/networks/isProgrammaticNetworkSwitchAvailable/isProgrammaticNetworkSwitchAvailable.d.ts.map +1 -1
  408. package/dist/modules/wallets/networks/switchActiveNetwork/switchActiveNetwork.d.ts.map +1 -1
  409. package/dist/modules/wallets/proveWalletAccountOwnership/proveWalletAccountOwnership.d.ts +5 -4
  410. package/dist/modules/wallets/proveWalletAccountOwnership/proveWalletAccountOwnership.d.ts.map +1 -1
  411. package/dist/modules/wallets/screenTransaction/index.d.ts +2 -0
  412. package/dist/modules/wallets/screenTransaction/index.d.ts.map +1 -0
  413. package/dist/modules/wallets/screenTransaction/screenTransaction.d.ts +47 -0
  414. package/dist/modules/wallets/screenTransaction/screenTransaction.d.ts.map +1 -0
  415. package/dist/modules/wallets/signMessage/signMessage.d.ts +4 -3
  416. package/dist/modules/wallets/signMessage/signMessage.d.ts.map +1 -1
  417. package/dist/modules/wallets/transferAmount/transferAmount.d.ts +5 -3
  418. package/dist/modules/wallets/transferAmount/transferAmount.d.ts.map +1 -1
  419. package/dist/modules/wallets/transferWalletAccount/transferWalletAccount.d.ts +2 -1
  420. package/dist/modules/wallets/transferWalletAccount/transferWalletAccount.d.ts.map +1 -1
  421. package/dist/modules/wallets/unverifiedWalletAccounts/removeUnverifiedWalletAccount/removeUnverifiedWalletAccount.d.ts +1 -1
  422. package/dist/modules/wallets/unverifiedWalletAccounts/removeUnverifiedWalletAccount/removeUnverifiedWalletAccount.d.ts.map +1 -1
  423. package/dist/modules/wallets/userHasExternalWallet/userHasExternalWallet.d.ts.map +1 -1
  424. package/dist/modules/wallets/utils/convertVerifiedCredentialToWalletAccount/convertVerifiedCredentialToWalletAccount.d.ts.map +1 -1
  425. package/dist/modules/wallets/utils/formatSignInMessage/formatSignInMessage.d.ts +1 -1
  426. package/dist/modules/wallets/utils/formatSignInMessage/formatSignInMessage.d.ts.map +1 -1
  427. package/dist/modules/wallets/utils/formatWalletProviderKey/formatWalletProviderKey.d.ts +1 -1
  428. package/dist/modules/wallets/utils/formatWalletProviderKey/formatWalletProviderKey.d.ts.map +1 -1
  429. package/dist/modules/wallets/utils/getAvailableWalletProvidersFromWalletAccounts/getAvailableWalletProvidersFromWalletAccounts.d.ts.map +1 -1
  430. package/dist/modules/wallets/utils/getChainIdForAccountVerification/getChainIdForAccountVerification.d.ts.map +1 -1
  431. package/dist/modules/wallets/utils/getSignInMessage/createSignInMessageStatement/createSignInMessageStatement.d.ts.map +1 -1
  432. package/dist/modules/wallets/utils/getSignInMessage/getSignInMessage.d.ts.map +1 -1
  433. package/dist/modules/wallets/utils/getVerifiedCredentialForWalletAccount/getVerifiedCredentialForWalletAccount.d.ts +2 -1
  434. package/dist/modules/wallets/utils/getVerifiedCredentialForWalletAccount/getVerifiedCredentialForWalletAccount.d.ts.map +1 -1
  435. package/dist/modules/wallets/utils/getWalletAccountFromAddress/getWalletAccountFromAddress.d.ts +2 -1
  436. package/dist/modules/wallets/utils/getWalletAccountFromAddress/getWalletAccountFromAddress.d.ts.map +1 -1
  437. package/dist/modules/wallets/utils/getWalletProviderFromWalletAccount/getWalletProviderFromWalletAccount.d.ts +2 -1
  438. package/dist/modules/wallets/utils/getWalletProviderFromWalletAccount/getWalletProviderFromWalletAccount.d.ts.map +1 -1
  439. package/dist/modules/wallets/utils/isSameAddress/isSameAddress.d.ts +1 -1
  440. package/dist/modules/wallets/utils/isSameAddress/isSameAddress.d.ts.map +1 -1
  441. package/dist/modules/wallets/utils/normalizeAddress/normalizeAddress.d.ts +1 -1
  442. package/dist/modules/wallets/utils/normalizeAddress/normalizeAddress.d.ts.map +1 -1
  443. package/dist/modules/wallets/walletAccount/walletAccount.types.d.ts +0 -2
  444. package/dist/modules/wallets/walletAccount/walletAccount.types.d.ts.map +1 -1
  445. package/dist/modules/wallets/walletProvider/events/createWalletProviderEventEmitter/createWalletProviderEventEmitter.d.ts +8 -7
  446. package/dist/modules/wallets/walletProvider/events/createWalletProviderEventEmitter/createWalletProviderEventEmitter.d.ts.map +1 -1
  447. package/dist/modules/wallets/walletProvider/events/createWalletProviderEventEmitter/index.d.ts +1 -0
  448. package/dist/modules/wallets/walletProvider/events/createWalletProviderEventEmitter/index.d.ts.map +1 -1
  449. package/dist/modules/wallets/walletProvider/events/offWalletProviderEvent/offWalletProviderEvent.d.ts +1 -1
  450. package/dist/modules/wallets/walletProvider/events/offWalletProviderEvent/offWalletProviderEvent.d.ts.map +1 -1
  451. package/dist/modules/wallets/walletProvider/events/onWalletProviderEvent/onWalletProviderEvent.d.ts +2 -2
  452. package/dist/modules/wallets/walletProvider/events/onWalletProviderEvent/onWalletProviderEvent.d.ts.map +1 -1
  453. package/dist/modules/wallets/walletProvider/index.d.ts +1 -1
  454. package/dist/modules/wallets/walletProvider/index.d.ts.map +1 -1
  455. package/dist/modules/wallets/walletProvider/walletProvider.types.d.ts +15 -1
  456. package/dist/modules/wallets/walletProvider/walletProvider.types.d.ts.map +1 -1
  457. package/dist/modules/wallets/walletProvider/walletProviderKeyMap/getWalletProviderKeyFromVerifiedCredential/getWalletProviderKeyFromVerifiedCredential.d.ts +3 -2
  458. package/dist/modules/wallets/walletProvider/walletProviderKeyMap/getWalletProviderKeyFromVerifiedCredential/getWalletProviderKeyFromVerifiedCredential.d.ts.map +1 -1
  459. package/dist/modules/wallets/walletProvider/walletProviderKeyMap/updateWalletProviderKeysForVerifiedCredentials/updateWalletProviderKeysForVerifiedCredentials.d.ts.map +1 -1
  460. package/dist/modules/yield/claimYieldRewards/claimYieldRewards.d.ts +43 -0
  461. package/dist/modules/yield/claimYieldRewards/claimYieldRewards.d.ts.map +1 -0
  462. package/dist/modules/yield/claimYieldRewards/index.d.ts +3 -0
  463. package/dist/modules/yield/claimYieldRewards/index.d.ts.map +1 -0
  464. package/dist/modules/yield/depositToYieldVault/depositToYieldVault.d.ts +66 -0
  465. package/dist/modules/yield/depositToYieldVault/depositToYieldVault.d.ts.map +1 -0
  466. package/dist/modules/yield/depositToYieldVault/index.d.ts +3 -0
  467. package/dist/modules/yield/depositToYieldVault/index.d.ts.map +1 -0
  468. package/dist/modules/yield/utils/executeYieldTransaction/executeYieldTransaction.d.ts +40 -0
  469. package/dist/modules/yield/utils/executeYieldTransaction/executeYieldTransaction.d.ts.map +1 -0
  470. package/dist/modules/yield/utils/executeYieldTransaction/index.d.ts +3 -0
  471. package/dist/modules/yield/utils/executeYieldTransaction/index.d.ts.map +1 -0
  472. package/dist/modules/yield/withdrawFromYieldVault/index.d.ts +3 -0
  473. package/dist/modules/yield/withdrawFromYieldVault/index.d.ts.map +1 -0
  474. package/dist/modules/yield/withdrawFromYieldVault/withdrawFromYieldVault.d.ts +57 -0
  475. package/dist/modules/yield/withdrawFromYieldVault/withdrawFromYieldVault.d.ts.map +1 -0
  476. package/dist/modules/yield/yield.types.d.ts +27 -1
  477. package/dist/modules/yield/yield.types.d.ts.map +1 -1
  478. package/dist/services/eventEmitter/createEventEmitter.d.ts +1 -1
  479. package/dist/services/eventEmitter/createEventEmitter.d.ts.map +1 -1
  480. package/dist/services/instrumentation/connectLoggerToInstrumentation/connectLoggerToInstrumentation.d.ts +1 -1
  481. package/dist/services/instrumentation/connectLoggerToInstrumentation/connectLoggerToInstrumentation.d.ts.map +1 -1
  482. package/dist/services/runtimeServices/createRuntimeServiceAccessKey/createRuntimeServiceAccessKey.d.ts +2 -2
  483. package/dist/services/runtimeServices/createRuntimeServiceAccessKey/createRuntimeServiceAccessKey.d.ts.map +1 -1
  484. package/dist/services/storage/createStorage/formatForStorage/storageFormat.d.ts.map +1 -1
  485. package/dist/tsconfig.lib.tsbuildinfo +1 -1
  486. package/dist/{updateAuthFromVerifyResponse-DcwFCD-Y.esm.js → updateAuthFromVerifyResponse-CFIyg2PR.esm.js} +62 -37
  487. package/dist/updateAuthFromVerifyResponse-CFIyg2PR.esm.js.map +1 -0
  488. package/dist/{updateAuthFromVerifyResponse-DtnQfhJ1.native.esm.js → updateAuthFromVerifyResponse-Cc1OH9i1.native.esm.js} +60 -37
  489. package/dist/updateAuthFromVerifyResponse-Cc1OH9i1.native.esm.js.map +1 -0
  490. package/dist/{updateAuthFromVerifyResponse-DD_rZDrQ.cjs → updateAuthFromVerifyResponse-Dvd40QfL.cjs} +67 -36
  491. package/dist/updateAuthFromVerifyResponse-Dvd40QfL.cjs.map +1 -0
  492. package/dist/utils/base64UrlDecode/base64UrlDecode.d.ts +2 -2
  493. package/dist/utils/base64UrlDecode/base64UrlDecode.d.ts.map +1 -1
  494. package/dist/utils/bufferToHex/bufferToHex.d.ts +1 -1
  495. package/dist/utils/bufferToHex/bufferToHex.d.ts.map +1 -1
  496. package/dist/utils/compressRawPublicKey/compressRawPublicKey.d.ts +2 -2
  497. package/dist/utils/compressRawPublicKey/compressRawPublicKey.d.ts.map +1 -1
  498. package/dist/utils/createTranslateRejection/createTranslateRejection.d.ts +1 -1
  499. package/dist/utils/createTranslateRejection/createTranslateRejection.d.ts.map +1 -1
  500. package/dist/utils/digestSHA256/digestSHA256.d.ts.map +1 -1
  501. package/dist/utils/encodeBase64Url/encodeBase64Url.d.ts +1 -1
  502. package/dist/utils/encodeBase64Url/encodeBase64Url.d.ts.map +1 -1
  503. package/dist/utils/getBuffer/getBuffer.d.ts.map +1 -1
  504. package/dist/utils/isEqualShallow/isEqualShallow.d.ts +1 -1
  505. package/dist/utils/isEqualShallow/isEqualShallow.d.ts.map +1 -1
  506. package/dist/utils/isMobile/isMobile.d.ts.map +1 -1
  507. package/dist/utils/isServerSideRendering/isServerSideRendering.d.ts +1 -1
  508. package/dist/utils/isServerSideRendering/isServerSideRendering.d.ts.map +1 -1
  509. package/dist/utils/objectKeys/index.d.ts +2 -0
  510. package/dist/utils/objectKeys/index.d.ts.map +1 -0
  511. package/dist/utils/objectKeys/objectKeys.d.ts +8 -0
  512. package/dist/utils/objectKeys/objectKeys.d.ts.map +1 -0
  513. package/dist/utils/observable/subscribeWithSelector/subscribeWithSelector.d.ts +2 -2
  514. package/dist/utils/observable/subscribeWithSelector/subscribeWithSelector.d.ts.map +1 -1
  515. package/dist/utils/p256Keygen/p256Keygen.d.ts +5 -3
  516. package/dist/utils/p256Keygen/p256Keygen.d.ts.map +1 -1
  517. package/dist/utils/p256Sign/p256Sign.d.ts +1 -1
  518. package/dist/utils/p256Sign/p256Sign.d.ts.map +1 -1
  519. package/dist/utils/randomString/randomString.d.ts.map +1 -1
  520. package/dist/utils/retryOnFail/retryOnFail.d.ts.map +1 -1
  521. package/dist/utils/setCookie/setCookie.d.ts +1 -1
  522. package/dist/utils/setCookie/setCookie.d.ts.map +1 -1
  523. package/dist/waas.cjs +1198 -4
  524. package/dist/waas.cjs.map +1 -1
  525. package/dist/waas.esm.js +1176 -7
  526. package/dist/waas.esm.js.map +1 -1
  527. package/dist/waas.native.esm.js +1176 -7
  528. package/dist/waas.native.esm.js.map +1 -1
  529. package/dist/waasCore.cjs +6 -6
  530. package/dist/waasCore.cjs.map +1 -1
  531. package/dist/waasCore.esm.js +6 -6
  532. package/dist/waasCore.esm.js.map +1 -1
  533. package/dist/waasCore.native.esm.js +6 -6
  534. package/dist/waasCore.native.esm.js.map +1 -1
  535. package/package.json +4 -4
  536. package/dist/getNetworkProviderFromNetworkId-CKWQLHSE.native.esm.js.map +0 -1
  537. package/dist/getNetworkProviderFromNetworkId-DBjVmBmy.esm.js.map +0 -1
  538. package/dist/getNetworkProviderFromNetworkId-OhoRrL_X.cjs.map +0 -1
  539. package/dist/getSignedSessionId-BncZzHdQ.esm.js.map +0 -1
  540. package/dist/getSignedSessionId-Dwqj_Cxx.native.esm.js.map +0 -1
  541. package/dist/getSignedSessionId-gwqj9h2p.cjs.map +0 -1
  542. package/dist/getWalletProviderByKey-C9TWlmDD.esm.js.map +0 -1
  543. package/dist/getWalletProviderByKey-CnpXHkmq.cjs.map +0 -1
  544. package/dist/getWalletProviderByKey-Dh1slnTF.native.esm.js.map +0 -1
  545. package/dist/isMfaRequiredForAction-BJGirRfD.native.esm.js.map +0 -1
  546. package/dist/isMfaRequiredForAction-BjRiou3K.cjs.map +0 -1
  547. package/dist/isMfaRequiredForAction-D5rzx59E.esm.js.map +0 -1
  548. package/dist/updateAuthFromVerifyResponse-DD_rZDrQ.cjs.map +0 -1
  549. package/dist/updateAuthFromVerifyResponse-DcwFCD-Y.esm.js.map +0 -1
  550. 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-DD_rZDrQ.cjs');
2
- const require_getNetworkProviderFromNetworkId = require('./getNetworkProviderFromNetworkId-OhoRrL_X.cjs');
3
- const require_isDynamicWaasEnabled = require('./isDynamicWaasEnabled-DnDhv_Uj.cjs');
4
- const require_isUserOnboardingComplete = require('./isUserOnboardingComplete-KCtF3oaO.cjs');
5
- const require_getWalletProviderByKey = require('./getWalletProviderByKey-CnpXHkmq.cjs');
6
- const require_isMfaRequiredForAction = require('./isMfaRequiredForAction-BjRiou3K.cjs');
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