@dynamic-labs/wallet-connector-core 4.65.0 → 4.67.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/CHANGELOG.md CHANGED
@@ -1,4 +1,36 @@
1
1
 
2
+ ## [4.67.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.66.0...v4.67.0) (2026-03-09)
3
+
4
+
5
+ ### Features
6
+
7
+ * add MFA methods to useStepUpAuthentication hook ([#10581](https://github.com/dynamic-labs/dynamic-auth/issues/10581)) ([7903290](https://github.com/dynamic-labs/dynamic-auth/commit/79032906d548ba2d4bcdf69cd9e6eb820064e408)), closes [dynamic-labs/dynamic-js-sdk#1061](https://github.com/dynamic-labs/dynamic-js-sdk/issues/1061) [dynamic-labs/dynamic-js-sdk#1062](https://github.com/dynamic-labs/dynamic-js-sdk/issues/1062)
8
+ * **demo:** add Passkey MFA and TOTP MFA step-up auth demos ([#10582](https://github.com/dynamic-labs/dynamic-auth/issues/10582)) ([92b9e28](https://github.com/dynamic-labs/dynamic-auth/commit/92b9e28e62084031a8bca11216aab39198948e82)), closes [#10581](https://github.com/dynamic-labs/dynamic-auth/issues/10581)
9
+ * **demo:** add Step-up Auth section ([#10483](https://github.com/dynamic-labs/dynamic-auth/issues/10483)) ([4bfff9a](https://github.com/dynamic-labs/dynamic-auth/commit/4bfff9a0fe475b4d8dbb6b8c4fccebb6550aa06f))
10
+ * **react-native:** add minifiedToken support to authModule ([#10595](https://github.com/dynamic-labs/dynamic-auth/issues/10595)) ([6b6e067](https://github.com/dynamic-labs/dynamic-auth/commit/6b6e067e62b97f573a31140967f3a07064e9f3fd))
11
+ * **stellar:** add account activation handling for unfunded recipients ([#10578](https://github.com/dynamic-labs/dynamic-auth/issues/10578)) ([ea5ef7b](https://github.com/dynamic-labs/dynamic-auth/commit/ea5ef7bfce7cf984ff091ea7d6321814dc3eea81))
12
+ * update demo CTA buttons - 'Book a call' and 'Get a free account' ([#10589](https://github.com/dynamic-labs/dynamic-auth/issues/10589)) ([e7d967c](https://github.com/dynamic-labs/dynamic-auth/commit/e7d967c59c5ad616348d9a51ea4bd314ec1ddd9f))
13
+ * **waas:** add password support to upgradeToDynamicWaas ([#10606](https://github.com/dynamic-labs/dynamic-auth/issues/10606)) ([d998a3e](https://github.com/dynamic-labs/dynamic-auth/commit/d998a3e955110f419dc40c4aeaddd93834957eb7))
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * add overflow-y auto to backup codes view to prevent Complete button cutoff ([#10513](https://github.com/dynamic-labs/dynamic-auth/issues/10513)) ([5dfa94e](https://github.com/dynamic-labs/dynamic-auth/commit/5dfa94eaa232535f2e8c6905370dd8d8546485e3))
19
+ * prevent infinite re-render loop in UserPhoneField due to rapid t… ([#10475](https://github.com/dynamic-labs/dynamic-auth/issues/10475)) ([0d79b07](https://github.com/dynamic-labs/dynamic-auth/commit/0d79b0782606c9fa926ed4697a17381211ad2f4a))
20
+
21
+ ## [4.66.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.65.0...v4.66.0) (2026-03-02)
22
+
23
+
24
+ ### Features
25
+
26
+ * **stellar:** send serialized XDR for transaction signing ([#10548](https://github.com/dynamic-labs/dynamic-auth/issues/10548)) ([3ff6438](https://github.com/dynamic-labs/dynamic-auth/commit/3ff64384e16d5fdb32cd6a3fd144757bf05f4456))
27
+
28
+
29
+ ### Bug Fixes
30
+
31
+ * prevent MFA backup codes screen from being dismissed before acknowledgement ([#10530](https://github.com/dynamic-labs/dynamic-auth/issues/10530)) ([67086f0](https://github.com/dynamic-labs/dynamic-auth/commit/67086f0b4a1302d39853eb2eedcb6f5b8bfca889))
32
+ * **react-native:** add retry when setting items to secure store ([#10576](https://github.com/dynamic-labs/dynamic-auth/issues/10576)) ([22ea162](https://github.com/dynamic-labs/dynamic-auth/commit/22ea162420806a4a67394c99f3691754982a7f1f))
33
+
2
34
  ## [4.65.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.64.0...v4.65.0) (2026-02-27)
3
35
 
4
36
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.65.0";
6
+ var version = "4.67.0";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.65.0";
2
+ var version = "4.67.0";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/wallet-connector-core",
3
- "version": "4.65.0",
3
+ "version": "4.67.0",
4
4
  "description": "Core package for utilities and types for handling multiple wallet/chain support Dynamic SDK",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -18,14 +18,14 @@
18
18
  },
19
19
  "homepage": "https://www.dynamic.xyz/",
20
20
  "dependencies": {
21
- "@dynamic-labs/sdk-api-core": "0.0.875",
22
- "@dynamic-labs-wallet/browser-wallet-client": "0.0.286",
23
- "@dynamic-labs/assert-package-version": "4.65.0",
24
- "@dynamic-labs/logger": "4.65.0",
25
- "@dynamic-labs/rpc-providers": "4.65.0",
26
- "@dynamic-labs/types": "4.65.0",
27
- "@dynamic-labs/utils": "4.65.0",
28
- "@dynamic-labs/wallet-book": "4.65.0",
21
+ "@dynamic-labs/sdk-api-core": "0.0.881",
22
+ "@dynamic-labs-wallet/browser-wallet-client": "0.0.289",
23
+ "@dynamic-labs/assert-package-version": "4.67.0",
24
+ "@dynamic-labs/logger": "4.67.0",
25
+ "@dynamic-labs/rpc-providers": "4.67.0",
26
+ "@dynamic-labs/types": "4.67.0",
27
+ "@dynamic-labs/utils": "4.67.0",
28
+ "@dynamic-labs/wallet-book": "4.67.0",
29
29
  "eventemitter3": "5.0.1"
30
30
  },
31
31
  "peerDependencies": {}
@@ -4,6 +4,7 @@
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
6
  const Chains = [
7
+ 'ALEO',
7
8
  'ALGO',
8
9
  'APTOS',
9
10
  'ATOM',
@@ -1,6 +1,6 @@
1
1
  import EventEmitter from 'eventemitter3';
2
2
  import { WalletConnectorCore } from '../types';
3
- export declare const Chains: readonly ["ALGO", "APTOS", "ATOM", "BTC", "COSMOS", "ECLIPSE", "ETH", "EVM", "FLOW", "SOL", "SPARK", "STARK", "STELLAR", "SUI", "TRON", "TON"];
3
+ export declare const Chains: readonly ["ALEO", "ALGO", "APTOS", "ATOM", "BTC", "COSMOS", "ECLIPSE", "ETH", "EVM", "FLOW", "SOL", "SPARK", "STARK", "STELLAR", "SUI", "TRON", "TON"];
4
4
  export type Chain = typeof Chains[number];
5
5
  export declare const socialProviders: readonly ["google", "facebook", "apple", "github", "bitbucket", "gitlab", "linkedin", "twitter", "discord", "twitch", "microsoft"];
6
6
  export type SocialProvider = typeof socialProviders[number];
@@ -1,5 +1,6 @@
1
1
  'use client'
2
2
  const Chains = [
3
+ 'ALEO',
3
4
  'ALGO',
4
5
  'APTOS',
5
6
  'ATOM',
package/src/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { walletConnectorEvents, type ProviderReadyEventProps } from './events';
2
- export { type Attestation, type AuthenticatorRecoveryHandler, type AuthenticatorType, type BitcoinSignPsbtRequest, type BitcoinSignPsbtRequestSignature, type BitcoinSignPsbtResponse, type ExportHandler, type IAccountAbstractionWalletConnector, type IBitcoinWalletConnector, type IEmailOTPWalletConnector, type IEmailWalletConnector, type IHardwareWalletConnector, type IPasskeyWalletConnector, type IPhantomRedirectConnector, type IPhantomRedirectConnectorWithEvents, type ISendBalanceWalletConnector, type ISessionKeyCompatibleWalletConnector, type ISMSWalletConnector, type ITurnkeyWalletConnector, type ITurnkeyWalletConnectorStamper, type IWalletConnectConnector, type IZeroDevConnector, type RecoveryEmailParams, type RecoveryWebAuthnAttestation, type SignAllTransactionsListener, type SignAndSendTransactionListener, type SignMessageListener, type SignTransactionListener, type WebAuthnAttestation, type IEthereumConnector, type IPublicClient, type ISolanaConnection, type IDynamicWaasConnector, type GetWalletPasswordFn, } from './interfaces';
2
+ export { type Attestation, type AuthenticatorRecoveryHandler, type AuthenticatorType, type BitcoinSignPsbtRequest, type BitcoinSignPsbtRequestSignature, type BitcoinSignPsbtResponse, type ExportHandler, type IAccountAbstractionWalletConnector, type IBitcoinWalletConnector, type IEmailOTPWalletConnector, type IEmailWalletConnector, type IHardwareWalletConnector, type IPasskeyWalletConnector, type IPhantomRedirectConnector, type IPhantomRedirectConnectorWithEvents, type ISendBalanceWalletConnector, type ISessionKeyCompatibleWalletConnector, type ISMSWalletConnector, type ITurnkeyWalletConnector, type ITurnkeyWalletConnectorStamper, type IWalletConnectConnector, type IZeroDevConnector, type Eip7702SignedAuthorization, type RecoveryEmailParams, type RecoveryWebAuthnAttestation, type SignAllTransactionsListener, type SignAndSendTransactionListener, type SignMessageListener, type SignTransactionListener, type WebAuthnAttestation, type IEthereumConnector, type IPublicClient, type ISolanaConnection, type IDynamicWaasConnector, type GetWalletPasswordFn, } from './interfaces';
3
3
  export type { AccountChangeEventHandler, ChainChangeEventHandler, DisconnectEventHandler, WalletConnectorCore, WalletMetadata, WalletDeepLinks, WalletDownloadLinks, WalletLimitations, WalletLinks, } from './types';
4
4
  export { addHexPrefix, bufferToHex, connectorRequiresDisconnectionForNewConnection, eventListenerHandlers, getChainInfo, getChainInfoWithOverrides, getDeepLink, getMobileExperience, getRpcUrlForChain, getWalletConnectorByKey, isAccountAbstractionConnector, isBitcoinConnector, isBloctoConnector, isEmailOTPWalletConnector, isEmailWalletConnector, isEmbeddedConnector, isHardwareWalletConnector, isHex, isMagicConnector, isPasskeyWalletConnector, isPhantomRedirectConnector, isSameAddress, isSendBalanceWalletConnector, isSessionKeyCompatibleWallet, isSessionKeyCompatibleWalletConnector, isSocialWalletConnector, isTurnkeyWalletConnector, isWalletConnectConnector, isConnectorMethodSupported, isConnectorEventSupported, getWalletProvider, getWalletMetadataFromWalletBook, getWalletLinks, logger, performPlatformSpecificConnectionMethod, ProviderLookup, setChainInfoOverrides, shouldLowercaseAddress, utf8ToHex, convertWalletToBaseWallet, convertWalletToBaseWalletPartial, type ChainDisplayOverrides, type DeepLinkVariant, type ProviderCondition, isDynamicWaasConnector, } from './utils';
5
5
  export { Wallet, type WalletConstructor, type WalletProps } from './Wallet';
@@ -1,6 +1,20 @@
1
1
  import { EcdsaValidatorOptions, JwtVerifiedCredential, ProviderEntryPointVersionEnum, ProviderKernelVersionEnum, SmartWalletProperties } from '@dynamic-labs/sdk-api-core';
2
2
  import { ISendBalanceWalletConnector } from '../interfaces/ISendBalanceWalletConnector';
3
3
  import { WalletConnector, WalletConnectorBase, InternalWalletConnector } from '../WalletConnectorBase';
4
+ /**
5
+ * EIP-7702 signed authorization payload.
6
+ * Matches the shape returned by viem's signAuthorization (SignAuthorizationReturnType).
7
+ * Defined here to avoid a viem dependency in wallet-connector-core.
8
+ */
9
+ export type Eip7702SignedAuthorization = {
10
+ address: `0x${string}`;
11
+ chainId: number;
12
+ nonce: number;
13
+ r: `0x${string}`;
14
+ s: `0x${string}`;
15
+ v?: bigint;
16
+ yParity?: number;
17
+ };
4
18
  type GetAccountAbstractionProviderProps = {
5
19
  withSponsorship?: boolean;
6
20
  };
@@ -15,6 +29,18 @@ export type IZeroDevConnector = IAccountAbstractionWalletConnector & ISendBalanc
15
29
  sponsored: boolean;
16
30
  }>;
17
31
  formatUserOperation(userOperation: unknown): Promise<any>;
32
+ /**
33
+ * Signs an EIP-7702 authorization for ZeroDev kernel delegation.
34
+ * This is the entry point for the pre-auth MFA flow; the returned value
35
+ * should be passed to setEip7702Auth to inject the authorization into the
36
+ * kernel client.
37
+ */
38
+ signEip7702PreAuth(chainId?: number): Promise<Eip7702SignedAuthorization>;
39
+ /**
40
+ * Stores a pre-signed EIP-7702 authorization and recreates the kernel
41
+ * client to inject it. Use after signing with useSignEip7702Authorization.
42
+ */
43
+ setEip7702Auth(auth: Eip7702SignedAuthorization): Promise<void>;
18
44
  registerEoa({ smartWalletAddress, eoaAddress, eoaConnector, shouldSetEoaConnector, ecdsaProviderType, entryPointVersion, kernelVersion, }: {
19
45
  smartWalletAddress: string;
20
46
  eoaAddress: string;