@dynamic-labs/wallet-book 2.0.0-alpha.22 → 2.0.0-alpha.23

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,31 @@
1
1
 
2
+ ## [2.0.0-alpha.23](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.22...v2.0.0-alpha.23) (2024-04-01)
3
+
4
+
5
+ ### ⚠ BREAKING CHANGES
6
+
7
+ * implement proper solana embedded wallet signer (#5092)
8
+ * prevent adding temporary wallet connection to userWallets (#5104)
9
+
10
+ ### Bug Fixes
11
+
12
+ * Multiple WC bug fixes ([#5142](https://github.com/dynamic-labs/DynamicAuth/issues/5142)) ([92236e6](https://github.com/dynamic-labs/DynamicAuth/commit/92236e6d74c28516403f6df79c539406ece3d6d0)) ([#5132](https://github.com/dynamic-labs/DynamicAuth/issues/5132)) ([99f564a](https://github.com/dynamic-labs/DynamicAuth/commit/99f564a39e35e28af0be2a03617f12aa19cbeb7f))
13
+
14
+ * Better handling of empty callback queue([#5147](https://github.com/dynamic-labs/DynamicAuth/issues/5147)) ([e2d6bf2](https://github.com/dynamic-labs/DynamicAuth/commit/e2d6bf2444ca01199796ead4136f34b81b6c9b61))
15
+
16
+ * multiple improvements to the wallet list ([#5112](https://github.com/dynamic-labs/DynamicAuth/issues/5112)) ([00eec5f](https://github.com/dynamic-labs/DynamicAuth/commit/00eec5fde70548c3d771260f3d86e5365e73878d))
17
+
18
+ * Improved scroll experience on ios ([#5152](https://github.com/dynamic-labs/DynamicAuth/issues/5152)) ([341704f](https://github.com/dynamic-labs/DynamicAuth/commit/341704f99cb6e06f253309f3a8afb1684bb8ae2a))
19
+
20
+ * better handling of multiwallet state([#5146](https://github.com/dynamic-labs/DynamicAuth/issues/5146)) ([403267b](https://github.com/dynamic-labs/DynamicAuth/commit/403267b3c268d648aba155e0b6fea31d7fdc1b56))
21
+
22
+ * show correct OTP error message ([#5135](https://github.com/dynamic-labs/DynamicAuth/issues/5135)) ([e7494ce](https://github.com/dynamic-labs/DynamicAuth/commit/e7494cee4a1b5132af91058cbcb2dae0b7eac44b))
23
+
24
+ * implement proper solana embedded wallet signer ([#5092](https://github.com/dynamic-labs/DynamicAuth/issues/5092)) ([7749b97](https://github.com/dynamic-labs/DynamicAuth/commit/7749b97db49fb9af8ae0668172f478e1f0c29665))
25
+
26
+ * prevent adding temporary wallet connection to userWallets ([#5104](https://github.com/dynamic-labs/DynamicAuth/issues/5104)) ([3c02b78](https://github.com/dynamic-labs/DynamicAuth/commit/3c02b781c997c63ff11a7f1c255b92d10962327f))
27
+
28
+
2
29
  ## [2.0.0-alpha.22](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.21...v2.0.0-alpha.22) (2024-03-27)
3
30
 
4
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/wallet-book",
3
- "version": "2.0.0-alpha.22",
3
+ "version": "2.0.0-alpha.23",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dynamic-labs/DynamicAuth.git",
@@ -26,9 +26,9 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "zod": "3.22.4",
29
- "@dynamic-labs/iconic": "2.0.0-alpha.22",
30
- "@dynamic-labs/logger": "2.0.0-alpha.22",
31
- "@dynamic-labs/utils": "2.0.0-alpha.22",
29
+ "@dynamic-labs/iconic": "2.0.0-alpha.23",
30
+ "@dynamic-labs/logger": "2.0.0-alpha.23",
31
+ "@dynamic-labs/utils": "2.0.0-alpha.23",
32
32
  "util": "0.12.5"
33
33
  },
34
34
  "peerDependencies": {
@@ -1,12 +1,4 @@
1
1
  export declare const walletConnectSourceData: Record<string, {
2
- id: string;
3
- metadata: {
4
- shortName: string | null;
5
- colors: {
6
- primary: string | null;
7
- secondary: string | null;
8
- };
9
- };
10
2
  name: string;
11
3
  chains: string[];
12
4
  desktop: {
@@ -36,6 +28,7 @@ export declare const walletConnectSourceData: Record<string, {
36
28
  category: string | null;
37
29
  description: string | null;
38
30
  homepage: string;
31
+ id: string;
39
32
  image_id: string;
40
33
  image_url: {
41
34
  lg: string;
@@ -46,15 +39,22 @@ export declare const walletConnectSourceData: Record<string, {
46
39
  injected_id: string;
47
40
  namespace: string;
48
41
  }[] | null;
42
+ metadata: {
43
+ shortName: string | null;
44
+ colors: {
45
+ primary: string | null;
46
+ secondary: string | null;
47
+ };
48
+ };
49
49
  slug: string;
50
50
  updatedAt: string;
51
51
  versions: string[];
52
52
  supported_standards?: {
53
53
  id: string;
54
- title: string;
55
- url: string;
56
54
  standard_id: number;
57
55
  standard_prefix: string;
56
+ title: string;
57
+ url: string;
58
58
  }[] | undefined;
59
59
  }>;
60
60
  export declare const walletConnectTransformedData: Promise<Record<string, {
@@ -1,147 +1,5 @@
1
1
  export declare const WALLET_CONNECT_ENTRIES_TO_REMOVE: string[];
2
- export declare const applyOverrides: (sourceData: any, overrides?: {
3
- cryptocom: {
4
- eip6963Config: {
5
- action: string;
6
- value: {
7
- rdns: string;
8
- };
9
- };
10
- mobile: {
11
- action: string;
12
- value: null;
13
- };
14
- };
15
- exodus: {
16
- group: {
17
- action: string;
18
- value: string;
19
- };
20
- };
21
- exodusevm: {
22
- chains: {
23
- action: string;
24
- value: string[];
25
- };
26
- mobile: {
27
- action: string;
28
- value: {
29
- androidId: string;
30
- iosId: string;
31
- native: string;
32
- };
33
- };
34
- walletConnect: {
35
- action: string;
36
- value: {
37
- sdks: string[];
38
- };
39
- };
40
- };
41
- ledger: {
42
- mobile: {
43
- action: string;
44
- value: {
45
- androidId: string;
46
- iosId: string;
47
- native: string;
48
- universal: string;
49
- };
50
- };
51
- switchNetworkOnlyFromWallet: {
52
- action: string;
53
- value: boolean;
54
- };
55
- };
56
- metamask: {
57
- walletConnect: {
58
- sdks: {
59
- action: string;
60
- value: string[];
61
- };
62
- };
63
- };
64
- okxwallet: {
65
- desktop: {
66
- action: string;
67
- value: {
68
- chromeId: string;
69
- };
70
- };
71
- walletConnect: {
72
- sdks: {
73
- action: string;
74
- value: string[];
75
- };
76
- };
77
- };
78
- rainbow: {
79
- brand: {
80
- spriteId: {
81
- action: string;
82
- value: string;
83
- };
84
- };
85
- };
86
- safe: {
87
- mobile: {
88
- native: {
89
- action: string;
90
- value: null;
91
- };
92
- universal: {
93
- action: string;
94
- value: null;
95
- };
96
- };
97
- };
98
- safepal: {
99
- eip6963Config: {
100
- action: string;
101
- value: {
102
- rdns: string;
103
- };
104
- };
105
- switchNetworkOnlyFromWallet: {
106
- action: string;
107
- value: boolean;
108
- };
109
- };
110
- sequence: {
111
- eip6963Config: {
112
- action: string;
113
- value: {
114
- rdns: string;
115
- };
116
- };
117
- };
118
- trust: {
119
- chains: {
120
- action: string;
121
- value: string[];
122
- };
123
- };
124
- zengo: {
125
- brand: {
126
- primaryColor: {
127
- action: string;
128
- value: string;
129
- };
130
- spriteId: {
131
- action: string;
132
- value: string;
133
- };
134
- };
135
- };
136
- zerion: {
137
- brand: {
138
- primaryColor: {
139
- action: string;
140
- value: string;
141
- };
142
- };
143
- };
144
- }) => void;
2
+ export declare const applyOverrides: (sourceData: any, overrides?: any) => void;
145
3
  export declare const walletConnectOverrides: {
146
4
  cryptocom: {
147
5
  eip6963Config: {
@@ -264,6 +122,10 @@ export declare const walletConnectOverrides: {
264
122
  value: string[];
265
123
  };
266
124
  };
125
+ wallet: {
126
+ action: string;
127
+ value: string;
128
+ };
267
129
  zengo: {
268
130
  brand: {
269
131
  primaryColor: {