@dynamic-labs/wallet-connector-core 4.47.1 → 4.47.3
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 +17 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +8 -8
- package/src/interfaces/IDynamicWaasConnector.d.ts +4 -0
- package/src/types.d.ts +1 -87
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.47.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.47.2...v4.47.3) (2025-11-27)
|
|
3
|
+
|
|
4
|
+
### [4.47.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.47.1...v4.47.2) (2025-11-27)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* add export client key share from google drive ([#9942](https://github.com/dynamic-labs/dynamic-auth/issues/9942)) ([38091b8](https://github.com/dynamic-labs/dynamic-auth/commit/38091b84cb69713591ab2b78e2cc26d4a56ca407))
|
|
10
|
+
* add token balance refresh to dynamic widget ([#9645](https://github.com/dynamic-labs/dynamic-auth/issues/9645)) ([331954e](https://github.com/dynamic-labs/dynamic-auth/commit/331954ea38c5f4058938392bb4eea973997d0ff6))
|
|
11
|
+
* **react-native:** introduce wallets.connectWallet and wallets.walletOptions ([#9958](https://github.com/dynamic-labs/dynamic-auth/issues/9958)) ([d6d2fff](https://github.com/dynamic-labs/dynamic-auth/commit/d6d2fff3b2a238d8b7a27553d9c6667c40bc53cd))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* await oauth flow on popup ([#9944](https://github.com/dynamic-labs/dynamic-auth/issues/9944)) ([486a536](https://github.com/dynamic-labs/dynamic-auth/commit/486a5365066f1492ddd47ff830eb5a4f347e5ab3))
|
|
17
|
+
* ensure MFA modal only open when necessary ([#9959](https://github.com/dynamic-labs/dynamic-auth/issues/9959)) ([1783a61](https://github.com/dynamic-labs/dynamic-auth/commit/1783a61ddf97eb8af82c132cfc531fee7f57fa0f))
|
|
18
|
+
|
|
2
19
|
### [4.47.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.47.0...v4.47.1) (2025-11-24)
|
|
3
20
|
|
|
4
21
|
|
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.47.
|
|
3
|
+
"version": "4.47.3",
|
|
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,13 +18,13 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
22
|
-
"@dynamic-labs/assert-package-version": "4.47.
|
|
23
|
-
"@dynamic-labs/logger": "4.47.
|
|
24
|
-
"@dynamic-labs/rpc-providers": "4.47.
|
|
25
|
-
"@dynamic-labs/types": "4.47.
|
|
26
|
-
"@dynamic-labs/utils": "4.47.
|
|
27
|
-
"@dynamic-labs/wallet-book": "4.47.
|
|
21
|
+
"@dynamic-labs/sdk-api-core": "0.0.823",
|
|
22
|
+
"@dynamic-labs/assert-package-version": "4.47.3",
|
|
23
|
+
"@dynamic-labs/logger": "4.47.3",
|
|
24
|
+
"@dynamic-labs/rpc-providers": "4.47.3",
|
|
25
|
+
"@dynamic-labs/types": "4.47.3",
|
|
26
|
+
"@dynamic-labs/utils": "4.47.3",
|
|
27
|
+
"@dynamic-labs/wallet-book": "4.47.3",
|
|
28
28
|
"eventemitter3": "5.0.1"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {}
|
|
@@ -38,6 +38,10 @@ export interface IDynamicWaasConnector extends WalletConnectorBase {
|
|
|
38
38
|
accountAddress: string;
|
|
39
39
|
password?: string;
|
|
40
40
|
}): Promise<void>;
|
|
41
|
+
exportClientKeysharesFromGoogleDrive({ accountAddress, password, }: {
|
|
42
|
+
accountAddress: string;
|
|
43
|
+
password?: string;
|
|
44
|
+
}): Promise<void>;
|
|
41
45
|
delegateKeyShares({ accountAddress, password, }: {
|
|
42
46
|
accountAddress: string;
|
|
43
47
|
password?: string;
|
package/src/types.d.ts
CHANGED
|
@@ -3,91 +3,5 @@ export type ChainChangeEventHandler = (chainId: string | number) => Promise<void
|
|
|
3
3
|
export type DisconnectEventHandler = (error?: {
|
|
4
4
|
code: number;
|
|
5
5
|
}) => Promise<void>;
|
|
6
|
-
export type WalletEvent = 'accountChanged' | 'chainChanged';
|
|
7
|
-
export type WalletMethod = 'getConnectedAccounts';
|
|
8
|
-
export type WalletLimitations = {
|
|
9
|
-
desktop?: {
|
|
10
|
-
unsupportedEvents?: WalletEvent[];
|
|
11
|
-
unsupportedMethods?: WalletMethod[];
|
|
12
|
-
};
|
|
13
|
-
mobile?: {
|
|
14
|
-
unsupportedEvents?: WalletEvent[];
|
|
15
|
-
unsupportedMethods?: WalletMethod[];
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* @property android - The full url to download the wallet on Android
|
|
20
|
-
* @property brave - The full url to download the wallet on Brave
|
|
21
|
-
* @property chrome - The full url to download the wallet on Chrome
|
|
22
|
-
* @property edge - The full url to download the wallet on Edge
|
|
23
|
-
* @property firefox - The full url to download the wallet on Firefox
|
|
24
|
-
* @property ios - The full url to download the wallet on iOS
|
|
25
|
-
*/
|
|
26
|
-
export type WalletLinks = {
|
|
27
|
-
android: string;
|
|
28
|
-
brave: string;
|
|
29
|
-
chrome: string;
|
|
30
|
-
edge: string;
|
|
31
|
-
firefox: string;
|
|
32
|
-
ios: string;
|
|
33
|
-
};
|
|
34
|
-
export type WalletDownloadLinks = {
|
|
35
|
-
chromeId?: string;
|
|
36
|
-
edgeId?: string;
|
|
37
|
-
firefoxId?: string;
|
|
38
|
-
operaId?: string;
|
|
39
|
-
safariId?: string;
|
|
40
|
-
/**
|
|
41
|
-
* @property androidId - The id to download the wallet on Google Play
|
|
42
|
-
*/
|
|
43
|
-
androidId?: string;
|
|
44
|
-
/**
|
|
45
|
-
* @property iosId - The id to download the wallet on App Store
|
|
46
|
-
*/
|
|
47
|
-
iosId?: string;
|
|
48
|
-
/**
|
|
49
|
-
* @property android - The url to download the wallet on Android
|
|
50
|
-
*/
|
|
51
|
-
androidUrl?: string;
|
|
52
|
-
/**
|
|
53
|
-
* @property ios - The url to download the wallet on iOS
|
|
54
|
-
*/
|
|
55
|
-
iosUrl?: string;
|
|
56
|
-
};
|
|
57
|
-
export type WalletDeepLinks = {
|
|
58
|
-
mobile?: {
|
|
59
|
-
native?: string;
|
|
60
|
-
universal?: string;
|
|
61
|
-
};
|
|
62
|
-
desktop?: {
|
|
63
|
-
native?: string;
|
|
64
|
-
universal?: string;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
export type HardwareWallet = 'ledger';
|
|
68
|
-
/**
|
|
69
|
-
* @property id - A key that can be used to identify the wallet/connector, based on the wallet name
|
|
70
|
-
* @property name - The wallet name
|
|
71
|
-
* @property icon - The url or data for the wallet icon
|
|
72
|
-
* @property brandColor - The hex valye for the wallet brand color
|
|
73
|
-
* @property groupKey - Key used to group wallets together, for example, by chain
|
|
74
|
-
* @property inAppBrowserUrl - The url to open the wallet in the in-app browser
|
|
75
|
-
* @property deepLinks - The mobile deep links of the wallet
|
|
76
|
-
* @property downloadLinks - The ids to download the wallet in the different browsers and mobile stores
|
|
77
|
-
* @property walletLimitations - The limitations of the wallet in regards to methods and events
|
|
78
|
-
* @property rdns - The wallet rdns if it supports EIP-6963
|
|
79
|
-
*/
|
|
80
|
-
export type WalletMetadata = {
|
|
81
|
-
id: string;
|
|
82
|
-
name: string;
|
|
83
|
-
icon: string;
|
|
84
|
-
brandColor?: `#${string}`;
|
|
85
|
-
groupKey?: string;
|
|
86
|
-
inAppBrowserUrl?: string;
|
|
87
|
-
deepLinks?: WalletDeepLinks;
|
|
88
|
-
downloadLinks?: WalletDownloadLinks;
|
|
89
|
-
walletLimitations?: WalletLimitations;
|
|
90
|
-
supportedHardwareWallets?: HardwareWallet[];
|
|
91
|
-
rdns?: string;
|
|
92
|
-
};
|
|
93
6
|
export declare namespace WalletConnectorCore { }
|
|
7
|
+
export type { WalletMetadata, HardwareWallet, WalletDeepLinks, WalletDownloadLinks, WalletEvent, WalletLimitations, WalletLinks, WalletMethod, } from '@dynamic-labs/types';
|