@dynamic-labs/wallet-connector-core 4.60.0 → 4.60.1
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 +15 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +9 -9
- package/src/index.d.ts +1 -1
- package/src/interfaces/IDynamicWaasConnector.d.ts +4 -4
- package/src/utils/getChainInfo/getChainInfo.cjs +1 -0
- package/src/utils/getChainInfo/getChainInfo.d.ts +1 -1
- package/src/utils/getChainInfo/getChainInfo.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.60.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.60.0...v4.60.1) (2026-02-09)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add WAAS password handlers to DynamicContextProvider settings ([#10360](https://github.com/dynamic-labs/dynamic-auth/issues/10360)) ([5fc3fa7](https://github.com/dynamic-labs/dynamic-auth/commit/5fc3fa7148c53b64d36672be2d1ae629cb9cdaf8))
|
|
8
|
+
* improve password handling and UI for wallet protection ([#10386](https://github.com/dynamic-labs/dynamic-auth/issues/10386)) ([d27936e](https://github.com/dynamic-labs/dynamic-auth/commit/d27936e5bea37facceefccc0f2507d25a775ad33))
|
|
9
|
+
* pass authToken to wallet recovery operations ([#10379](https://github.com/dynamic-labs/dynamic-auth/issues/10379)) ([294efc7](https://github.com/dynamic-labs/dynamic-auth/commit/294efc7ab5816f63b7e5cc49a150cf9d34d300af))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* override fast-xml-parser to 5.3.4 for CVE-2026-25128 ([#10381](https://github.com/dynamic-labs/dynamic-auth/issues/10381)) ([7fb4c22](https://github.com/dynamic-labs/dynamic-auth/commit/7fb4c221252b84bf38bbdab0b37b8f9a981ebe1a))
|
|
15
|
+
* unlock wallet view error handling and password error UI ([#10388](https://github.com/dynamic-labs/dynamic-auth/issues/10388)) ([5ffc8e1](https://github.com/dynamic-labs/dynamic-auth/commit/5ffc8e1e6dd0d7f32bb94c37ce3674be949f010b))
|
|
16
|
+
|
|
2
17
|
## [4.60.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.59.2...v4.60.0) (2026-02-05)
|
|
3
18
|
|
|
4
19
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/wallet-connector-core",
|
|
3
|
-
"version": "4.60.
|
|
3
|
+
"version": "4.60.1",
|
|
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.
|
|
22
|
-
"@dynamic-labs-wallet/browser-wallet-client": "0.0.
|
|
23
|
-
"@dynamic-labs/assert-package-version": "4.60.
|
|
24
|
-
"@dynamic-labs/logger": "4.60.
|
|
25
|
-
"@dynamic-labs/rpc-providers": "4.60.
|
|
26
|
-
"@dynamic-labs/types": "4.60.
|
|
27
|
-
"@dynamic-labs/utils": "4.60.
|
|
28
|
-
"@dynamic-labs/wallet-book": "4.60.
|
|
21
|
+
"@dynamic-labs/sdk-api-core": "0.0.864",
|
|
22
|
+
"@dynamic-labs-wallet/browser-wallet-client": "0.0.260",
|
|
23
|
+
"@dynamic-labs/assert-package-version": "4.60.1",
|
|
24
|
+
"@dynamic-labs/logger": "4.60.1",
|
|
25
|
+
"@dynamic-labs/rpc-providers": "4.60.1",
|
|
26
|
+
"@dynamic-labs/types": "4.60.1",
|
|
27
|
+
"@dynamic-labs/utils": "4.60.1",
|
|
28
|
+
"@dynamic-labs/wallet-book": "4.60.1",
|
|
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, } 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 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';
|
|
@@ -6,13 +6,13 @@ interface GetMfaTokenFunction {
|
|
|
6
6
|
mfaAction?: MFAAction;
|
|
7
7
|
}): Promise<string | undefined>;
|
|
8
8
|
}
|
|
9
|
-
export type
|
|
9
|
+
export type GetWalletPasswordFn = (props: {
|
|
10
10
|
accountAddress: string;
|
|
11
11
|
chainName: string;
|
|
12
12
|
}) => Promise<string | undefined>;
|
|
13
13
|
export interface IDynamicWaasConnector extends WalletConnectorBase {
|
|
14
14
|
setWaasAuthMode(authMode: 'cookie' | 'header'): void;
|
|
15
|
-
|
|
15
|
+
setGetWalletPasswordFunction(getWalletPassword: GetWalletPasswordFn): void;
|
|
16
16
|
getPasswordIfNeeded(props: {
|
|
17
17
|
accountAddress: string;
|
|
18
18
|
}): Promise<string | undefined>;
|
|
@@ -86,12 +86,12 @@ export interface IDynamicWaasConnector extends WalletConnectorBase {
|
|
|
86
86
|
}): Promise<void>;
|
|
87
87
|
updatePassword({ accountAddress, existingPassword, newPassword, }: {
|
|
88
88
|
accountAddress: string;
|
|
89
|
-
existingPassword
|
|
89
|
+
existingPassword?: string;
|
|
90
90
|
newPassword: string;
|
|
91
91
|
}): Promise<void>;
|
|
92
92
|
unlockWallet({ accountAddress, password, }: {
|
|
93
93
|
accountAddress: string;
|
|
94
|
-
password
|
|
94
|
+
password?: string;
|
|
95
95
|
}): Promise<GetWalletResponse>;
|
|
96
96
|
getWalletRecoveryState({ accountAddress, signedSessionId, }: {
|
|
97
97
|
accountAddress: string;
|
|
@@ -20,6 +20,7 @@ const chainsInfo = [
|
|
|
20
20
|
createChainInfo('Solana', 'solana', 'SOL'),
|
|
21
21
|
createChainInfo('Spark', 'spark', 'SPARK'),
|
|
22
22
|
createChainInfo('Starknet', 'starknet', 'ETH'),
|
|
23
|
+
createChainInfo('Stellar', 'stellar', 'XLM'),
|
|
23
24
|
createChainInfo('Sui', 'sui', 'SUI'),
|
|
24
25
|
createChainInfo('Tron', 'tron', 'TRON'),
|
|
25
26
|
createChainInfo('TON', 'ton', 'TON'),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChainInfo } from '../..';
|
|
2
|
-
export type ChainName = 'algorand' | 'aptos' | 'bitcoin' | 'cosmos' | 'eclipse' | 'evm' | 'flow' | 'solana' | 'spark' | 'starknet' | 'sui' | 'ton' | 'tron';
|
|
2
|
+
export type ChainName = 'algorand' | 'aptos' | 'bitcoin' | 'cosmos' | 'eclipse' | 'evm' | 'flow' | 'solana' | 'spark' | 'starknet' | 'stellar' | 'sui' | 'ton' | 'tron';
|
|
3
3
|
export type ChainDisplayOverrides = Partial<Record<ChainName, {
|
|
4
4
|
displayName?: string;
|
|
5
5
|
}>>;
|
|
@@ -16,6 +16,7 @@ const chainsInfo = [
|
|
|
16
16
|
createChainInfo('Solana', 'solana', 'SOL'),
|
|
17
17
|
createChainInfo('Spark', 'spark', 'SPARK'),
|
|
18
18
|
createChainInfo('Starknet', 'starknet', 'ETH'),
|
|
19
|
+
createChainInfo('Stellar', 'stellar', 'XLM'),
|
|
19
20
|
createChainInfo('Sui', 'sui', 'SUI'),
|
|
20
21
|
createChainInfo('Tron', 'tron', 'TRON'),
|
|
21
22
|
createChainInfo('TON', 'ton', 'TON'),
|