@dynamic-labs/types 4.47.0 → 4.47.2

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,33 @@
1
1
 
2
+ ### [4.47.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.47.1...v4.47.2) (2025-11-27)
3
+
4
+
5
+ ### Features
6
+
7
+ * 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))
8
+ * 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))
9
+ * **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))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * 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))
15
+ * 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))
16
+
17
+ ### [4.47.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.47.0...v4.47.1) (2025-11-24)
18
+
19
+
20
+ ### Features
21
+
22
+ * add aptos non-native coins to sendBalance ([#9914](https://github.com/dynamic-labs/dynamic-auth/issues/9914)) ([0f0f855](https://github.com/dynamic-labs/dynamic-auth/commit/0f0f855229a052eb280831c81d235b0164f26ff3))
23
+ * add aptos non-native token sending to dynamic widget ([#9915](https://github.com/dynamic-labs/dynamic-auth/issues/9915)) ([c91c117](https://github.com/dynamic-labs/dynamic-auth/commit/c91c1172d5185c151f9b4cac1a0757f6d72304ca))
24
+ * **react-native:** add waas wallet upgrade to react-native ([#9936](https://github.com/dynamic-labs/dynamic-auth/issues/9936)) ([024366e](https://github.com/dynamic-labs/dynamic-auth/commit/024366e179b284353d0b05667e916a01520b2874))
25
+
26
+
27
+ ### Bug Fixes
28
+
29
+ * remove noise from wallet connect when it is disabled ([#9945](https://github.com/dynamic-labs/dynamic-auth/issues/9945)) ([ada6511](https://github.com/dynamic-labs/dynamic-auth/commit/ada6511e2d25351f1b63312eb4810752f6d95ad6))
30
+
2
31
  ## [4.47.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.46.3...v4.47.0) (2025-11-21)
3
32
 
4
33
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.47.0";
6
+ var version = "4.47.2";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.47.0";
2
+ var version = "4.47.2";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/types",
3
- "version": "4.47.0",
3
+ "version": "4.47.2",
4
4
  "description": "A React SDK for implementing wallet web3 authentication and authorization to your website.",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -18,8 +18,8 @@
18
18
  "./package.json": "./package.json"
19
19
  },
20
20
  "dependencies": {
21
- "@dynamic-labs/sdk-api-core": "0.0.821",
22
- "@dynamic-labs/assert-package-version": "4.47.0"
21
+ "@dynamic-labs/sdk-api-core": "0.0.823",
22
+ "@dynamic-labs/assert-package-version": "4.47.2"
23
23
  },
24
24
  "peerDependencies": {}
25
25
  }
@@ -1,3 +1,4 @@
1
1
  export type { WalletUiUtils, WalletAddressType } from './wallets';
2
2
  export { BaseWallet } from './BaseWallet';
3
3
  export type { BaseWalletProps } from './BaseWallet';
4
+ export type { WalletOptionMetadata, HardwareWallet, WalletDeepLinks, WalletDownloadLinks, WalletEvent, WalletLimitations, WalletLinks, WalletMetadata, WalletMethod, } from './walletOptions';
@@ -0,0 +1,110 @@
1
+ export type WalletEvent = 'accountChanged' | 'chainChanged';
2
+ export type WalletMethod = 'getConnectedAccounts';
3
+ export type WalletLimitations = {
4
+ desktop?: {
5
+ unsupportedEvents?: WalletEvent[];
6
+ unsupportedMethods?: WalletMethod[];
7
+ };
8
+ mobile?: {
9
+ unsupportedEvents?: WalletEvent[];
10
+ unsupportedMethods?: WalletMethod[];
11
+ };
12
+ };
13
+ /**
14
+ * @property android - The full url to download the wallet on Android
15
+ * @property brave - The full url to download the wallet on Brave
16
+ * @property chrome - The full url to download the wallet on Chrome
17
+ * @property edge - The full url to download the wallet on Edge
18
+ * @property firefox - The full url to download the wallet on Firefox
19
+ * @property ios - The full url to download the wallet on iOS
20
+ */
21
+ export type WalletLinks = {
22
+ android: string;
23
+ brave: string;
24
+ chrome: string;
25
+ edge: string;
26
+ firefox: string;
27
+ ios: string;
28
+ };
29
+ export type WalletDownloadLinks = {
30
+ chromeId?: string;
31
+ edgeId?: string;
32
+ firefoxId?: string;
33
+ operaId?: string;
34
+ safariId?: string;
35
+ /**
36
+ * @property androidId - The id to download the wallet on Google Play
37
+ */
38
+ androidId?: string;
39
+ /**
40
+ * @property iosId - The id to download the wallet on App Store
41
+ */
42
+ iosId?: string;
43
+ /**
44
+ * @property android - The url to download the wallet on Android
45
+ */
46
+ androidUrl?: string;
47
+ /**
48
+ * @property ios - The url to download the wallet on iOS
49
+ */
50
+ iosUrl?: string;
51
+ };
52
+ export type WalletDeepLinks = {
53
+ mobile?: {
54
+ native?: string;
55
+ universal?: string;
56
+ };
57
+ desktop?: {
58
+ native?: string;
59
+ universal?: string;
60
+ };
61
+ };
62
+ export type HardwareWallet = 'ledger';
63
+ /**
64
+ * @property id - A key that can be used to identify the wallet/connector, based on the wallet name
65
+ * @property name - The wallet name
66
+ * @property icon - The url or data for the wallet icon
67
+ * @property brandColor - The hex valye for the wallet brand color
68
+ * @property groupKey - Key used to group wallets together, for example, by chain
69
+ * @property inAppBrowserUrl - The url to open the wallet in the in-app browser
70
+ * @property deepLinks - The mobile deep links of the wallet
71
+ * @property downloadLinks - The ids to download the wallet in the different browsers and mobile stores
72
+ * @property walletLimitations - The limitations of the wallet in regards to methods and events
73
+ * @property rdns - The wallet rdns if it supports EIP-6963
74
+ */
75
+ export type WalletMetadata = {
76
+ id: string;
77
+ name: string;
78
+ icon: string;
79
+ brandColor?: `#${string}`;
80
+ groupKey?: string;
81
+ inAppBrowserUrl?: string;
82
+ deepLinks?: WalletDeepLinks;
83
+ downloadLinks?: WalletDownloadLinks;
84
+ walletLimitations?: WalletLimitations;
85
+ supportedHardwareWallets?: HardwareWallet[];
86
+ rdns?: string;
87
+ };
88
+ /**
89
+ * Serializable wallet option metadata for message transport.
90
+ * This is a simplified version of WalletOption from sdk-react-core
91
+ * that can be sent over message transport between client and webview.
92
+ */
93
+ export type WalletOptionMetadata = {
94
+ /** The blockchain chain this wallet supports */
95
+ chain: string | null;
96
+ /** The group this wallet belongs to */
97
+ group: string | null;
98
+ /** The display name of the group */
99
+ groupName: string | null;
100
+ /** Whether this wallet is installed on the browser */
101
+ isInstalledOnBrowser: boolean;
102
+ /** Whether this wallet uses WalletConnect */
103
+ isWalletConnect: boolean;
104
+ /** Unique identifier for this wallet connector */
105
+ key: string;
106
+ /** Metadata about the wallet */
107
+ metadata: WalletMetadata;
108
+ /** Display name of the wallet */
109
+ name: string;
110
+ };