@dynamic-labs/wallet-connector-core 4.65.0 → 4.66.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,17 @@
1
1
 
2
+ ## [4.66.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.65.0...v4.66.0) (2026-03-02)
3
+
4
+
5
+ ### Features
6
+
7
+ * **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))
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * 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))
13
+ * **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))
14
+
2
15
  ## [4.65.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.64.0...v4.65.0) (2026-02-27)
3
16
 
4
17
 
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.66.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.66.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.66.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",
@@ -19,13 +19,13 @@
19
19
  "homepage": "https://www.dynamic.xyz/",
20
20
  "dependencies": {
21
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",
22
+ "@dynamic-labs-wallet/browser-wallet-client": "0.0.289",
23
+ "@dynamic-labs/assert-package-version": "4.66.0",
24
+ "@dynamic-labs/logger": "4.66.0",
25
+ "@dynamic-labs/rpc-providers": "4.66.0",
26
+ "@dynamic-labs/types": "4.66.0",
27
+ "@dynamic-labs/utils": "4.66.0",
28
+ "@dynamic-labs/wallet-book": "4.66.0",
29
29
  "eventemitter3": "5.0.1"
30
30
  },
31
31
  "peerDependencies": {}
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;