@dynamic-labs/wallet-book 1.1.0-alpha.0 → 1.1.0-alpha.10

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,110 @@
1
1
 
2
+ ## [1.1.0-alpha.10](https://github.com/dynamic-labs/DynamicAuth/compare/v1.1.0-alpha.9...v1.1.0-alpha.10) (2024-01-06)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * pass flow network to magic client ([#4322](https://github.com/dynamic-labs/DynamicAuth/issues/4322)) ([f3adccf](https://github.com/dynamic-labs/DynamicAuth/commit/f3adccf9f8d835f6b04e4767acd0fbd2ac238379))
8
+ * prevent error message when mobile wallet app is open ([#4301](https://github.com/dynamic-labs/DynamicAuth/issues/4301)) ([2a66dcf](https://github.com/dynamic-labs/DynamicAuth/commit/2a66dcfaf8100b3d910c559d35d8b731b1cb380e))
9
+ * turnkeyWalletConnector is not an email otp connector and uses dynamic otp ([#4313](https://github.com/dynamic-labs/DynamicAuth/issues/4313)) ([e4ea56f](https://github.com/dynamic-labs/DynamicAuth/commit/e4ea56f40fdf97b3f5440b016ebd95501089cebe))
10
+
11
+ ## [1.1.0-alpha.9](https://github.com/dynamic-labs/DynamicAuth/compare/v1.1.0-alpha.8...v1.1.0-alpha.9) (2024-01-04)
12
+
13
+
14
+ ### Features
15
+
16
+ * add solana magic support ([#4258](https://github.com/dynamic-labs/DynamicAuth/issues/4258)) ([da726aa](https://github.com/dynamic-labs/DynamicAuth/commit/da726aa78466c52ee3e1f18952e4351cde754cbc))
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * edge case with unlinking wallet ([#4285](https://github.com/dynamic-labs/DynamicAuth/issues/4285)) ([1057fe4](https://github.com/dynamic-labs/DynamicAuth/commit/1057fe47599381f5d9dc39ce4cbeca2041c70319))
22
+ * remove normalizeWalletName from DynamicAuth ([5592817](https://github.com/dynamic-labs/DynamicAuth/commit/5592817b62e345319e04cca9a98276ffad87cfc2))
23
+ * **useFetchBalance:** ensure the latest wallet balance is fetched ([#4288](https://github.com/dynamic-labs/DynamicAuth/issues/4288)) ([25dd035](https://github.com/dynamic-labs/DynamicAuth/commit/25dd035cf8893b7cd28f550026134ba0eecda142))
24
+
25
+ ## [1.1.0-alpha.8](https://github.com/dynamic-labs/DynamicAuth/compare/v1.1.0-alpha.7...v1.1.0-alpha.8) (2024-01-03)
26
+
27
+
28
+ ### Features
29
+
30
+ * add new sdk view section for text ([#4280](https://github.com/dynamic-labs/DynamicAuth/issues/4280)) ([457ae38](https://github.com/dynamic-labs/DynamicAuth/commit/457ae38cd2be8dae078f40b54ffc4704299d4ed9))
31
+ * add new setShowLinkNewWalletModal method ([f46447a](https://github.com/dynamic-labs/DynamicAuth/commit/f46447ab606f4fdbf55e5fef21dd98f8f2650e90))
32
+ * add pk export for hd wallets ([#4266](https://github.com/dynamic-labs/DynamicAuth/issues/4266)) ([44aac69](https://github.com/dynamic-labs/DynamicAuth/commit/44aac69580ed44e66eab971f87cb6061a3fadc90))
33
+ * add starknet support for sopelia ([#4248](https://github.com/dynamic-labs/DynamicAuth/issues/4248)) ([f9a0980](https://github.com/dynamic-labs/DynamicAuth/commit/f9a0980c3cd2d6d95c5dd17b179fbd0931f08b1a))
34
+ * enable hardware wallet for solana wallets ([#4275](https://github.com/dynamic-labs/DynamicAuth/issues/4275)) ([704b380](https://github.com/dynamic-labs/DynamicAuth/commit/704b380186618a5a5793e88f36ccbe84b59a2e4a))
35
+
36
+
37
+ ### Bug Fixes
38
+
39
+ * phantom solana not connecting on mobile ([#4284](https://github.com/dynamic-labs/DynamicAuth/issues/4284)) ([6ad75f1](https://github.com/dynamic-labs/DynamicAuth/commit/6ad75f152896459f5cf658227f998c246b6a572b))
40
+ * use bitcoin payment address for onramp ([#4273](https://github.com/dynamic-labs/DynamicAuth/issues/4273)) ([a2f54e8](https://github.com/dynamic-labs/DynamicAuth/commit/a2f54e812a11a91ee488eca64f14b5eeea1a8874))
41
+
42
+ ## [1.1.0-alpha.7](https://github.com/dynamic-labs/DynamicAuth/compare/v1.1.0-alpha.6...v1.1.0-alpha.7) (2023-12-28)
43
+
44
+
45
+ ### Features
46
+
47
+ * better coinbase deeplinking ux ([#4164](https://github.com/dynamic-labs/DynamicAuth/issues/4164)) ([5252608](https://github.com/dynamic-labs/DynamicAuth/commit/525260851900a33a52f129def338963400344205))
48
+
49
+
50
+ ### Bug Fixes
51
+
52
+ * don't prompt for connect when selecting bitcoin wallet if already connected ([#4265](https://github.com/dynamic-labs/DynamicAuth/issues/4265)) ([adef402](https://github.com/dynamic-labs/DynamicAuth/commit/adef402ef94270a17fab896a8585a7f2eacd3681))
53
+
54
+ ## [1.1.0-alpha.6](https://github.com/dynamic-labs/DynamicAuth/compare/v1.1.0-alpha.5...v1.1.0-alpha.6) (2023-12-27)
55
+
56
+
57
+ ### Features
58
+
59
+ * add multi-wallet-prompts-widget ([#4166](https://github.com/dynamic-labs/DynamicAuth/issues/4166)) ([151e3d2](https://github.com/dynamic-labs/DynamicAuth/commit/151e3d2e7bebbf18448e4af8eecbf660f713cd3d))
60
+
61
+
62
+ ### Bug Fixes
63
+
64
+ * coinbase solana signMessage ([#4254](https://github.com/dynamic-labs/DynamicAuth/issues/4254)) ([f0300a9](https://github.com/dynamic-labs/DynamicAuth/commit/f0300a93ed6c9ba9dfab613820d8cedbe72abb87))
65
+ * make useConnectWithEmailOtp work cross views ([#4252](https://github.com/dynamic-labs/DynamicAuth/issues/4252)) ([a097119](https://github.com/dynamic-labs/DynamicAuth/commit/a097119556c38a22f338a783f79d512b99203cf5))
66
+
67
+ ## [1.1.0-alpha.5](https://github.com/dynamic-labs/DynamicAuth/compare/v1.1.0-alpha.4...v1.1.0-alpha.5) (2023-12-21)
68
+
69
+
70
+ ### Features
71
+
72
+ * add support for xverse wallet ([#4245](https://github.com/dynamic-labs/DynamicAuth/issues/4245)) ([7b68546](https://github.com/dynamic-labs/DynamicAuth/commit/7b6854684412007bcb33896555900936395176df))
73
+ * **gvty-526:** add embedded reveal ([#4233](https://github.com/dynamic-labs/DynamicAuth/issues/4233)) ([c2d0f90](https://github.com/dynamic-labs/DynamicAuth/commit/c2d0f903f4a4646f86c71834540fd49d51a4a7ae))
74
+
75
+ ## [1.1.0-alpha.4](https://github.com/dynamic-labs/DynamicAuth/compare/v1.1.0-alpha.3...v1.1.0-alpha.4) (2023-12-21)
76
+
77
+
78
+ ### Features
79
+
80
+ * add bitcoin integration ([#4216](https://github.com/dynamic-labs/DynamicAuth/issues/4216)) ([9584f1c](https://github.com/dynamic-labs/DynamicAuth/commit/9584f1cc3133835049ad1c53da980192263b8f21))
81
+ * add default footer to wallet list when tos and pp not enabled ([#4224](https://github.com/dynamic-labs/DynamicAuth/issues/4224)) ([0ad81c4](https://github.com/dynamic-labs/DynamicAuth/commit/0ad81c409bcb4aafb0dc565685525d620a95efce))
82
+ * adds useConnectWithEmailOtp ([#4234](https://github.com/dynamic-labs/DynamicAuth/issues/4234)) ([4a4e50a](https://github.com/dynamic-labs/DynamicAuth/commit/4a4e50ac8651c2a249d5125ae6bcf49aaf49be8c))
83
+
84
+ ## [1.1.0-alpha.3](https://github.com/dynamic-labs/DynamicAuth/compare/v1.1.0-alpha.2...v1.1.0-alpha.3) (2023-12-19)
85
+
86
+
87
+ ### Features
88
+
89
+ * add Flow support in magic wallet connector ([#4158](https://github.com/dynamic-labs/DynamicAuth/issues/4158)) ([fbbaea7](https://github.com/dynamic-labs/DynamicAuth/commit/fbbaea76b36ceb693f6bd4f2404dfa1204e61492))
90
+ * add showDynamicUserProfile to DynamicContext ([#4214](https://github.com/dynamic-labs/DynamicAuth/issues/4214)) ([2aeb8e3](https://github.com/dynamic-labs/DynamicAuth/commit/2aeb8e3c45a3d9f87bd9196ea9b46927e02eb633))
91
+
92
+
93
+ ### Bug Fixes
94
+
95
+ * add shortname to braveevm to allow for lookups by name as well as key ([#4213](https://github.com/dynamic-labs/DynamicAuth/issues/4213)) ([969b089](https://github.com/dynamic-labs/DynamicAuth/commit/969b089be516fb57fcdc941f908c078998eb4ec0))
96
+ * solflare connect ([#4215](https://github.com/dynamic-labs/DynamicAuth/issues/4215)) ([9a4164e](https://github.com/dynamic-labs/DynamicAuth/commit/9a4164e53198f33ef7201cd4e1eff745a09e9701))
97
+ * wagmi attempt to connect to primary wallet first ([#4206](https://github.com/dynamic-labs/DynamicAuth/issues/4206)) ([9e5fc8e](https://github.com/dynamic-labs/DynamicAuth/commit/9e5fc8ef026628935ac32d3bb0c22bda35057e5d))
98
+
99
+ ## [1.1.0-alpha.2](https://github.com/dynamic-labs/DynamicAuth/compare/v1.1.0-alpha.1...v1.1.0-alpha.2) (2023-12-18)
100
+
101
+
102
+ ### Bug Fixes
103
+
104
+ * increase timeout when fetching wallet network ([#4197](https://github.com/dynamic-labs/DynamicAuth/issues/4197)) ([bd43d45](https://github.com/dynamic-labs/DynamicAuth/commit/bd43d452dccf36f68bd012e5737480599b93c3b5))
105
+
106
+ ## [1.1.0-alpha.1](https://github.com/dynamic-labs/DynamicAuth/compare/v1.1.0-alpha.0...v1.1.0-alpha.1) (2023-12-15)
107
+
2
108
  ## [1.1.0-alpha.0](https://github.com/dynamic-labs/DynamicAuth/compare/v1.0.0-alpha.14...v1.1.0-alpha.0) (2023-12-12)
3
109
 
4
110
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/wallet-book",
3
- "version": "1.1.0-alpha.0",
3
+ "version": "1.1.0-alpha.10",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dynamic-labs/DynamicAuth.git",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "zod": "3.22.4",
29
- "@dynamic-labs/logger": "1.1.0-alpha.0"
29
+ "@dynamic-labs/logger": "1.1.0-alpha.10"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "react": "^17.0.2 || ^18.0.0",
@@ -34,6 +34,10 @@ export declare const generateWalletFallbacks: (wallets: WalletRecordsSchema) =>
34
34
  value: boolean;
35
35
  flag: string;
36
36
  }[];
37
+ walletStandard?: {
38
+ name: string;
39
+ features: string[];
40
+ } | undefined;
37
41
  windowLocations?: string[] | undefined;
38
42
  }[] | undefined;
39
43
  mobile?: {
@@ -86,6 +86,10 @@ export declare const walletConnectTransformedData: Promise<Record<string, {
86
86
  value: boolean;
87
87
  flag: string;
88
88
  }[];
89
+ walletStandard?: {
90
+ name: string;
91
+ features: string[];
92
+ } | undefined;
89
93
  windowLocations?: string[] | undefined;
90
94
  }[] | undefined;
91
95
  mobile?: {
@@ -3,6 +3,7 @@ export declare const preprocessBrand: (sourceData: any) => void;
3
3
  export declare const preprocessDesktop: (sourceData: any) => void;
4
4
  export declare const preprocessMobile: (sourceData: any) => void;
5
5
  export declare const preprocessSdks: (sourceData: any) => void;
6
+ export declare const preprocessRdns: (sourceData: any) => void;
6
7
  export declare const preprocessUniversal: (data: any) => Promise<void>;
7
8
  export declare const preprocessNative: (data: any) => void;
8
9
  /**
@@ -1,6 +1,12 @@
1
1
  export declare const WALLET_CONNECT_ENTRIES_TO_REMOVE: string[];
2
2
  export declare const applyOverrides: (sourceData: any, overrides?: {
3
3
  cryptocom: {
4
+ eip6963Config: {
5
+ action: string;
6
+ value: {
7
+ rdns: string;
8
+ };
9
+ };
4
10
  mobile: {
5
11
  action: string;
6
12
  value: null;
@@ -107,11 +113,25 @@ export declare const applyOverrides: (sourceData: any, overrides?: {
107
113
  };
108
114
  };
109
115
  safepal: {
116
+ eip6963Config: {
117
+ action: string;
118
+ value: {
119
+ rdns: string;
120
+ };
121
+ };
110
122
  switchNetworkOnlyFromWallet: {
111
123
  action: string;
112
124
  value: boolean;
113
125
  };
114
126
  };
127
+ sequence: {
128
+ eip6963Config: {
129
+ action: string;
130
+ value: {
131
+ rdns: string;
132
+ };
133
+ };
134
+ };
115
135
  trust: {
116
136
  chains: {
117
137
  action: string;
@@ -145,6 +165,12 @@ export declare const applyOverrides: (sourceData: any, overrides?: {
145
165
  }) => void;
146
166
  export declare const walletConnectOverrides: {
147
167
  cryptocom: {
168
+ eip6963Config: {
169
+ action: string;
170
+ value: {
171
+ rdns: string;
172
+ };
173
+ };
148
174
  mobile: {
149
175
  action: string;
150
176
  value: null;
@@ -251,11 +277,25 @@ export declare const walletConnectOverrides: {
251
277
  };
252
278
  };
253
279
  safepal: {
280
+ eip6963Config: {
281
+ action: string;
282
+ value: {
283
+ rdns: string;
284
+ };
285
+ };
254
286
  switchNetworkOnlyFromWallet: {
255
287
  action: string;
256
288
  value: boolean;
257
289
  };
258
290
  };
291
+ sequence: {
292
+ eip6963Config: {
293
+ action: string;
294
+ value: {
295
+ rdns: string;
296
+ };
297
+ };
298
+ };
259
299
  trust: {
260
300
  chains: {
261
301
  action: string;
@@ -11,7 +11,7 @@ const findWalletBookWallet = (walletBook, walletKey) => {
11
11
  return walletData;
12
12
  }
13
13
  catch (err) {
14
- logger.logger.error(err);
14
+ logger.logger.warn(err);
15
15
  return undefined;
16
16
  }
17
17
  };
@@ -28,6 +28,10 @@ export declare const findWalletBookWallet: (walletBook: WalletBookSchema, wallet
28
28
  value: boolean;
29
29
  flag: string;
30
30
  }[];
31
+ walletStandard?: {
32
+ name: string;
33
+ features: string[];
34
+ } | undefined;
31
35
  windowLocations?: string[] | undefined;
32
36
  }[] | undefined;
33
37
  mobile?: {
@@ -44,4 +48,5 @@ export declare const findWalletBookWallet: (walletBook: WalletBookSchema, wallet
44
48
  walletConnect?: {
45
49
  sdks?: string[] | undefined;
46
50
  } | undefined;
51
+ walletStandardId?: string | undefined;
47
52
  } | undefined;
@@ -7,7 +7,7 @@ const findWalletBookWallet = (walletBook, walletKey) => {
7
7
  return walletData;
8
8
  }
9
9
  catch (err) {
10
- logger.error(err);
10
+ logger.warn(err);
11
11
  return undefined;
12
12
  }
13
13
  };
@@ -2,14 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var normalizeWalletName = require('./normalizeWalletName.cjs');
6
-
7
- const getWalletBookWallet = (walletBook, walletName) => {
5
+ const getWalletBookWallet = (walletBook, walletKey) => {
8
6
  var _a, _b;
9
- const normalizedWalletName = normalizeWalletName.normalizeWalletName(walletName);
10
- const walletData = (_a = walletBook === null || walletBook === void 0 ? void 0 : walletBook.wallets) === null || _a === void 0 ? void 0 : _a[normalizedWalletName];
7
+ const walletKeyOrDefault = walletKey !== null && walletKey !== void 0 ? walletKey : 'undefined-wallet-key';
8
+ const walletData = (_a = walletBook === null || walletBook === void 0 ? void 0 : walletBook.wallets) === null || _a === void 0 ? void 0 : _a[walletKeyOrDefault];
11
9
  if (!walletData)
12
- throw new Error(`Wallet ${walletName} not found in wallet book (${Object.keys((_b = walletBook === null || walletBook === void 0 ? void 0 : walletBook.wallets) !== null && _b !== void 0 ? _b : {}).length} wallets found)`);
10
+ throw new Error(`Wallet ${walletKeyOrDefault} not found in wallet book (${Object.keys((_b = walletBook === null || walletBook === void 0 ? void 0 : walletBook.wallets) !== null && _b !== void 0 ? _b : {}).length} wallets found)`);
13
11
  return walletData;
14
12
  };
15
13
 
@@ -1,2 +1,2 @@
1
1
  import { WalletBookSchema, WalletSchema } from '../schemas';
2
- export declare const getWalletBookWallet: (walletBook: WalletBookSchema, walletName: string | undefined) => WalletSchema;
2
+ export declare const getWalletBookWallet: (walletBook: WalletBookSchema, walletKey: string | undefined) => WalletSchema;
@@ -1,11 +1,9 @@
1
- import { normalizeWalletName } from './normalizeWalletName.js';
2
-
3
- const getWalletBookWallet = (walletBook, walletName) => {
1
+ const getWalletBookWallet = (walletBook, walletKey) => {
4
2
  var _a, _b;
5
- const normalizedWalletName = normalizeWalletName(walletName);
6
- const walletData = (_a = walletBook === null || walletBook === void 0 ? void 0 : walletBook.wallets) === null || _a === void 0 ? void 0 : _a[normalizedWalletName];
3
+ const walletKeyOrDefault = walletKey !== null && walletKey !== void 0 ? walletKey : 'undefined-wallet-key';
4
+ const walletData = (_a = walletBook === null || walletBook === void 0 ? void 0 : walletBook.wallets) === null || _a === void 0 ? void 0 : _a[walletKeyOrDefault];
7
5
  if (!walletData)
8
- throw new Error(`Wallet ${walletName} not found in wallet book (${Object.keys((_b = walletBook === null || walletBook === void 0 ? void 0 : walletBook.wallets) !== null && _b !== void 0 ? _b : {}).length} wallets found)`);
6
+ throw new Error(`Wallet ${walletKeyOrDefault} not found in wallet book (${Object.keys((_b = walletBook === null || walletBook === void 0 ? void 0 : walletBook.wallets) !== null && _b !== void 0 ? _b : {}).length} wallets found)`);
9
7
  return walletData;
10
8
  };
11
9
 
@@ -38,6 +38,10 @@ export declare const useWalletBookCdn: () => {
38
38
  value: boolean;
39
39
  flag: string;
40
40
  }[];
41
+ walletStandard?: {
42
+ name: string;
43
+ features: string[];
44
+ } | undefined;
41
45
  windowLocations?: string[] | undefined;
42
46
  }[] | undefined;
43
47
  mobile?: {
@@ -54,5 +58,6 @@ export declare const useWalletBookCdn: () => {
54
58
  walletConnect?: {
55
59
  sdks?: string[] | undefined;
56
60
  } | undefined;
61
+ walletStandardId?: string | undefined;
57
62
  }>;
58
63
  };
@@ -89,6 +89,16 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
89
89
  flag: string;
90
90
  value?: boolean | undefined;
91
91
  }>, "many">;
92
+ walletStandard: z.ZodOptional<z.ZodObject<{
93
+ features: z.ZodArray<z.ZodString, "many">;
94
+ name: z.ZodString;
95
+ }, "strip", z.ZodTypeAny, {
96
+ features: string[];
97
+ name: string;
98
+ }, {
99
+ features: string[];
100
+ name: string;
101
+ }>>;
92
102
  windowLocations: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[] | undefined, string[] | undefined>;
93
103
  }, "strip", z.ZodTypeAny, {
94
104
  chain: string;
@@ -96,6 +106,10 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
96
106
  value: boolean;
97
107
  flag: string;
98
108
  }[];
109
+ walletStandard?: {
110
+ features: string[];
111
+ name: string;
112
+ } | undefined;
99
113
  windowLocations?: string[] | undefined;
100
114
  }, {
101
115
  chain: string;
@@ -103,6 +117,10 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
103
117
  flag: string;
104
118
  value?: boolean | undefined;
105
119
  }[];
120
+ walletStandard?: {
121
+ features: string[];
122
+ name: string;
123
+ } | undefined;
106
124
  windowLocations?: string[] | undefined;
107
125
  }>, "many">>;
108
126
  mobile: z.ZodEffects<z.ZodOptional<z.ZodObject<{
@@ -156,6 +174,7 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
156
174
  } | undefined, {
157
175
  sdks?: unknown;
158
176
  } | undefined>;
177
+ walletStandardId: z.ZodOptional<z.ZodString>;
159
178
  }, "strip", z.ZodTypeAny, {
160
179
  name: string;
161
180
  brand?: {
@@ -185,6 +204,10 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
185
204
  value: boolean;
186
205
  flag: string;
187
206
  }[];
207
+ walletStandard?: {
208
+ features: string[];
209
+ name: string;
210
+ } | undefined;
188
211
  windowLocations?: string[] | undefined;
189
212
  }[] | undefined;
190
213
  mobile?: {
@@ -201,6 +224,7 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
201
224
  walletConnect?: {
202
225
  sdks?: string[] | undefined;
203
226
  } | undefined;
227
+ walletStandardId?: string | undefined;
204
228
  }, {
205
229
  name: string;
206
230
  brand?: {
@@ -230,6 +254,10 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
230
254
  flag: string;
231
255
  value?: boolean | undefined;
232
256
  }[];
257
+ walletStandard?: {
258
+ features: string[];
259
+ name: string;
260
+ } | undefined;
233
261
  windowLocations?: string[] | undefined;
234
262
  }[] | undefined;
235
263
  mobile?: {
@@ -246,6 +274,7 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
246
274
  walletConnect?: {
247
275
  sdks?: unknown;
248
276
  } | undefined;
277
+ walletStandardId?: string | undefined;
249
278
  }>, {
250
279
  name: string;
251
280
  brand?: {
@@ -275,6 +304,10 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
275
304
  value: boolean;
276
305
  flag: string;
277
306
  }[];
307
+ walletStandard?: {
308
+ features: string[];
309
+ name: string;
310
+ } | undefined;
278
311
  windowLocations?: string[] | undefined;
279
312
  }[] | undefined;
280
313
  mobile?: {
@@ -291,6 +324,7 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
291
324
  walletConnect?: {
292
325
  sdks?: string[] | undefined;
293
326
  } | undefined;
327
+ walletStandardId?: string | undefined;
294
328
  }, unknown>, {
295
329
  name: string;
296
330
  brand?: {
@@ -320,6 +354,10 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
320
354
  value: boolean;
321
355
  flag: string;
322
356
  }[];
357
+ walletStandard?: {
358
+ features: string[];
359
+ name: string;
360
+ } | undefined;
323
361
  windowLocations?: string[] | undefined;
324
362
  }[] | undefined;
325
363
  mobile?: {
@@ -336,6 +374,7 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
336
374
  walletConnect?: {
337
375
  sdks?: string[] | undefined;
338
376
  } | undefined;
377
+ walletStandardId?: string | undefined;
339
378
  }, unknown>>;
340
379
  export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
341
380
  groups: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -476,6 +515,16 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
476
515
  flag: string;
477
516
  value?: boolean | undefined;
478
517
  }>, "many">;
518
+ walletStandard: z.ZodOptional<z.ZodObject<{
519
+ features: z.ZodArray<z.ZodString, "many">;
520
+ name: z.ZodString;
521
+ }, "strip", z.ZodTypeAny, {
522
+ features: string[];
523
+ name: string;
524
+ }, {
525
+ features: string[];
526
+ name: string;
527
+ }>>;
479
528
  windowLocations: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[] | undefined, string[] | undefined>;
480
529
  }, "strip", z.ZodTypeAny, {
481
530
  chain: string;
@@ -483,6 +532,10 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
483
532
  value: boolean;
484
533
  flag: string;
485
534
  }[];
535
+ walletStandard?: {
536
+ features: string[];
537
+ name: string;
538
+ } | undefined;
486
539
  windowLocations?: string[] | undefined;
487
540
  }, {
488
541
  chain: string;
@@ -490,6 +543,10 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
490
543
  flag: string;
491
544
  value?: boolean | undefined;
492
545
  }[];
546
+ walletStandard?: {
547
+ features: string[];
548
+ name: string;
549
+ } | undefined;
493
550
  windowLocations?: string[] | undefined;
494
551
  }>, "many">>;
495
552
  mobile: z.ZodEffects<z.ZodOptional<z.ZodObject<{
@@ -543,6 +600,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
543
600
  } | undefined, {
544
601
  sdks?: unknown;
545
602
  } | undefined>;
603
+ walletStandardId: z.ZodOptional<z.ZodString>;
546
604
  }, "strip", z.ZodTypeAny, {
547
605
  name: string;
548
606
  brand?: {
@@ -572,6 +630,10 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
572
630
  value: boolean;
573
631
  flag: string;
574
632
  }[];
633
+ walletStandard?: {
634
+ features: string[];
635
+ name: string;
636
+ } | undefined;
575
637
  windowLocations?: string[] | undefined;
576
638
  }[] | undefined;
577
639
  mobile?: {
@@ -588,6 +650,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
588
650
  walletConnect?: {
589
651
  sdks?: string[] | undefined;
590
652
  } | undefined;
653
+ walletStandardId?: string | undefined;
591
654
  }, {
592
655
  name: string;
593
656
  brand?: {
@@ -617,6 +680,10 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
617
680
  flag: string;
618
681
  value?: boolean | undefined;
619
682
  }[];
683
+ walletStandard?: {
684
+ features: string[];
685
+ name: string;
686
+ } | undefined;
620
687
  windowLocations?: string[] | undefined;
621
688
  }[] | undefined;
622
689
  mobile?: {
@@ -633,6 +700,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
633
700
  walletConnect?: {
634
701
  sdks?: unknown;
635
702
  } | undefined;
703
+ walletStandardId?: string | undefined;
636
704
  }>, {
637
705
  name: string;
638
706
  brand?: {
@@ -662,6 +730,10 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
662
730
  value: boolean;
663
731
  flag: string;
664
732
  }[];
733
+ walletStandard?: {
734
+ features: string[];
735
+ name: string;
736
+ } | undefined;
665
737
  windowLocations?: string[] | undefined;
666
738
  }[] | undefined;
667
739
  mobile?: {
@@ -678,6 +750,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
678
750
  walletConnect?: {
679
751
  sdks?: string[] | undefined;
680
752
  } | undefined;
753
+ walletStandardId?: string | undefined;
681
754
  }, unknown>, {
682
755
  name: string;
683
756
  brand?: {
@@ -707,6 +780,10 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
707
780
  value: boolean;
708
781
  flag: string;
709
782
  }[];
783
+ walletStandard?: {
784
+ features: string[];
785
+ name: string;
786
+ } | undefined;
710
787
  windowLocations?: string[] | undefined;
711
788
  }[] | undefined;
712
789
  mobile?: {
@@ -723,6 +800,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
723
800
  walletConnect?: {
724
801
  sdks?: string[] | undefined;
725
802
  } | undefined;
803
+ walletStandardId?: string | undefined;
726
804
  }, unknown>>;
727
805
  }, "strip", z.ZodTypeAny, {
728
806
  groups: Record<string, {
@@ -764,6 +842,10 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
764
842
  value: boolean;
765
843
  flag: string;
766
844
  }[];
845
+ walletStandard?: {
846
+ features: string[];
847
+ name: string;
848
+ } | undefined;
767
849
  windowLocations?: string[] | undefined;
768
850
  }[] | undefined;
769
851
  mobile?: {
@@ -780,6 +862,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
780
862
  walletConnect?: {
781
863
  sdks?: string[] | undefined;
782
864
  } | undefined;
865
+ walletStandardId?: string | undefined;
783
866
  }>;
784
867
  }, {
785
868
  groups: Record<string, {
@@ -833,6 +916,10 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
833
916
  value: boolean;
834
917
  flag: string;
835
918
  }[];
919
+ walletStandard?: {
920
+ features: string[];
921
+ name: string;
922
+ } | undefined;
836
923
  windowLocations?: string[] | undefined;
837
924
  }[] | undefined;
838
925
  mobile?: {
@@ -849,6 +936,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
849
936
  walletConnect?: {
850
937
  sdks?: string[] | undefined;
851
938
  } | undefined;
939
+ walletStandardId?: string | undefined;
852
940
  }>;
853
941
  }, unknown>;
854
942
  export type WalletBookSchema = z.infer<typeof walletBookSchema>;
@@ -18,6 +18,9 @@ const injectedConfigSchema = zod.z.object({
18
18
  flag: zod.z.string(),
19
19
  value: zod.z.boolean().optional().default(true),
20
20
  })),
21
+ walletStandard: zod.z
22
+ .object({ features: zod.z.array(zod.z.string()), name: zod.z.string() })
23
+ .optional(),
21
24
  windowLocations: zod.z
22
25
  .array(zod.z.string())
23
26
  .optional()
@@ -11,6 +11,16 @@ declare const injectedConfigSchema: z.ZodObject<{
11
11
  flag: string;
12
12
  value?: boolean | undefined;
13
13
  }>, "many">;
14
+ walletStandard: z.ZodOptional<z.ZodObject<{
15
+ features: z.ZodArray<z.ZodString, "many">;
16
+ name: z.ZodString;
17
+ }, "strip", z.ZodTypeAny, {
18
+ features: string[];
19
+ name: string;
20
+ }, {
21
+ features: string[];
22
+ name: string;
23
+ }>>;
14
24
  windowLocations: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[] | undefined, string[] | undefined>;
15
25
  }, "strip", z.ZodTypeAny, {
16
26
  chain: string;
@@ -18,6 +28,10 @@ declare const injectedConfigSchema: z.ZodObject<{
18
28
  value: boolean;
19
29
  flag: string;
20
30
  }[];
31
+ walletStandard?: {
32
+ features: string[];
33
+ name: string;
34
+ } | undefined;
21
35
  windowLocations?: string[] | undefined;
22
36
  }, {
23
37
  chain: string;
@@ -25,6 +39,10 @@ declare const injectedConfigSchema: z.ZodObject<{
25
39
  flag: string;
26
40
  value?: boolean | undefined;
27
41
  }[];
42
+ walletStandard?: {
43
+ features: string[];
44
+ name: string;
45
+ } | undefined;
28
46
  windowLocations?: string[] | undefined;
29
47
  }>;
30
48
  export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
@@ -117,6 +135,16 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
117
135
  flag: string;
118
136
  value?: boolean | undefined;
119
137
  }>, "many">;
138
+ walletStandard: z.ZodOptional<z.ZodObject<{
139
+ features: z.ZodArray<z.ZodString, "many">;
140
+ name: z.ZodString;
141
+ }, "strip", z.ZodTypeAny, {
142
+ features: string[];
143
+ name: string;
144
+ }, {
145
+ features: string[];
146
+ name: string;
147
+ }>>;
120
148
  windowLocations: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[] | undefined, string[] | undefined>;
121
149
  }, "strip", z.ZodTypeAny, {
122
150
  chain: string;
@@ -124,6 +152,10 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
124
152
  value: boolean;
125
153
  flag: string;
126
154
  }[];
155
+ walletStandard?: {
156
+ features: string[];
157
+ name: string;
158
+ } | undefined;
127
159
  windowLocations?: string[] | undefined;
128
160
  }, {
129
161
  chain: string;
@@ -131,6 +163,10 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
131
163
  flag: string;
132
164
  value?: boolean | undefined;
133
165
  }[];
166
+ walletStandard?: {
167
+ features: string[];
168
+ name: string;
169
+ } | undefined;
134
170
  windowLocations?: string[] | undefined;
135
171
  }>, "many">>;
136
172
  mobile: z.ZodEffects<z.ZodOptional<z.ZodObject<{
@@ -213,6 +249,10 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
213
249
  value: boolean;
214
250
  flag: string;
215
251
  }[];
252
+ walletStandard?: {
253
+ features: string[];
254
+ name: string;
255
+ } | undefined;
216
256
  windowLocations?: string[] | undefined;
217
257
  }[] | undefined;
218
258
  mobile?: {
@@ -258,6 +298,10 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
258
298
  flag: string;
259
299
  value?: boolean | undefined;
260
300
  }[];
301
+ walletStandard?: {
302
+ features: string[];
303
+ name: string;
304
+ } | undefined;
261
305
  windowLocations?: string[] | undefined;
262
306
  }[] | undefined;
263
307
  mobile?: {
@@ -303,6 +347,10 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
303
347
  value: boolean;
304
348
  flag: string;
305
349
  }[];
350
+ walletStandard?: {
351
+ features: string[];
352
+ name: string;
353
+ } | undefined;
306
354
  windowLocations?: string[] | undefined;
307
355
  }[] | undefined;
308
356
  mobile?: {
@@ -348,6 +396,10 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
348
396
  value: boolean;
349
397
  flag: string;
350
398
  }[];
399
+ walletStandard?: {
400
+ features: string[];
401
+ name: string;
402
+ } | undefined;
351
403
  windowLocations?: string[] | undefined;
352
404
  }[] | undefined;
353
405
  mobile?: {
@@ -14,6 +14,9 @@ const injectedConfigSchema = z.object({
14
14
  flag: z.string(),
15
15
  value: z.boolean().optional().default(true),
16
16
  })),
17
+ walletStandard: z
18
+ .object({ features: z.array(z.string()), name: z.string() })
19
+ .optional(),
17
20
  windowLocations: z
18
21
  .array(z.string())
19
22
  .optional()
@@ -3,6 +3,15 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var groups = {
6
+ argentx: {
7
+ brand: {
8
+ alt: "ArgentX",
9
+ imageId: "argentx",
10
+ primaryColor: "#FF875B"
11
+ },
12
+ key: "argentx",
13
+ name: "ArgentX"
14
+ },
6
15
  blocto: {
7
16
  brand: {
8
17
  alt: "Blocto",
@@ -99,10 +108,6 @@ var wallets = {
99
108
  flag: "isExodus",
100
109
  value: false
101
110
  },
102
- {
103
- flag: "isPhantom",
104
- value: false
105
- },
106
111
  {
107
112
  flag: "isZerion",
108
113
  value: false
@@ -163,9 +168,23 @@ var wallets = {
163
168
  chromeId: "hnfanknocfeofbddgcijnmhnfnkdnaad"
164
169
  },
165
170
  eip6963Config: {
166
- rdns: "com.coinbase"
171
+ rdns: "com.coinbase.wallet"
167
172
  },
168
173
  group: "coinbase",
174
+ injectedConfig: [
175
+ {
176
+ chain: "evm",
177
+ extensionLocators: [
178
+ {
179
+ flag: "isCoinbaseWallet",
180
+ value: true
181
+ }
182
+ ],
183
+ windowLocations: [
184
+ "coinbaseWalletExtension"
185
+ ]
186
+ }
187
+ ],
169
188
  mobile: {
170
189
  androidId: "org.toshi",
171
190
  iosId: "id1278383455"
@@ -189,6 +208,54 @@ var wallets = {
189
208
  },
190
209
  name: "Phantom"
191
210
  },
211
+ phantomevm: {
212
+ brand: {
213
+ alt: "Phantom Wallet",
214
+ primaryColor: "#4B49C6",
215
+ spriteId: "phantom"
216
+ },
217
+ desktop: {
218
+ chromeId: "bfnaelmomeimhlpmgjnjophhpkkoljpa",
219
+ firefoxId: "phantom-app"
220
+ },
221
+ group: "phantom",
222
+ injectedConfig: [
223
+ {
224
+ chain: "evm",
225
+ extensionLocators: [
226
+ {
227
+ flag: "isPhantom",
228
+ value: true
229
+ }
230
+ ],
231
+ windowLocations: [
232
+ "phantom.ethereum"
233
+ ]
234
+ }
235
+ ],
236
+ mobile: {
237
+ androidId: "app.phantom",
238
+ iosId: "id1598432977"
239
+ },
240
+ name: "Phantom (EVM)"
241
+ },
242
+ phantomledger: {
243
+ brand: {
244
+ alt: "Phantom Wallet",
245
+ primaryColor: "#4B49C6",
246
+ spriteId: "phantom"
247
+ },
248
+ desktop: {
249
+ chromeId: "bfnaelmomeimhlpmgjnjophhpkkoljpa",
250
+ firefoxId: "phantom-app"
251
+ },
252
+ group: "phantom",
253
+ mobile: {
254
+ androidId: "app.phantom",
255
+ iosId: "id1598432977"
256
+ },
257
+ name: "Phantom (Ledger)"
258
+ },
192
259
  walletconnect: {
193
260
  brand: {
194
261
  alt: "WalletConnect",
@@ -203,7 +270,7 @@ var wallets = {
203
270
  },
204
271
  argentx: {
205
272
  brand: {
206
- alt: "Argent Wallet",
273
+ alt: "Argent X Wallet",
207
274
  primaryColor: "#FF875B",
208
275
  spriteId: "argentx"
209
276
  },
@@ -281,7 +348,24 @@ var wallets = {
281
348
  desktop: {
282
349
  chromeId: "egjidjbpglichdcondbcbdnbeeppgdph"
283
350
  },
351
+ eip6963Config: {
352
+ rdns: "com.trustwallet.app"
353
+ },
284
354
  filterFromWalletConnect: true,
355
+ injectedConfig: [
356
+ {
357
+ chain: "evm",
358
+ extensionLocators: [
359
+ {
360
+ flag: "isTrustWallet",
361
+ value: true
362
+ }
363
+ ],
364
+ windowLocations: [
365
+ "trustWallet"
366
+ ]
367
+ }
368
+ ],
285
369
  mobile: {
286
370
  androidId: "com.wallet.crypto.trustapp",
287
371
  iosId: "id1288339409",
@@ -317,6 +401,9 @@ var wallets = {
317
401
  edgeId: "cpojfbodiccabbabgimdeohkkpjfpbnf",
318
402
  firefoxId: "rainbow-extension"
319
403
  },
404
+ eip6963Config: {
405
+ rdns: "me.rainbow"
406
+ },
320
407
  filterFromWalletConnect: true,
321
408
  injectedConfig: [
322
409
  {
@@ -438,6 +525,141 @@ var wallets = {
438
525
  },
439
526
  group: "magiceden",
440
527
  name: "Magic Eden (Solana)"
528
+ },
529
+ exodus: {
530
+ brand: {
531
+ alt: "Exodus Wallet",
532
+ imageId: "4c16cad4-cac9-4643-6726-c696efaf5200"
533
+ },
534
+ chains: [
535
+ "eip155:1",
536
+ "eip155:137",
537
+ "eip155:43114",
538
+ "eip155:56",
539
+ "solana:4sGjMW1sUnHzSxGspuhpqLDx6wiyjNtZ"
540
+ ],
541
+ desktop: {
542
+ chromeId: "aholpfdialjgjfhomihkjbmgjidlcdno"
543
+ },
544
+ filterFromWalletConnect: true,
545
+ group: "exodus",
546
+ mobile: {
547
+ androidId: "exodusmovement.exodus",
548
+ iosId: "id1414384820",
549
+ native: "exodus://wc"
550
+ },
551
+ name: "Exodus",
552
+ walletConnect: {
553
+ sdks: [
554
+ "sign_v1",
555
+ "sign_v2",
556
+ "auth_v1"
557
+ ]
558
+ }
559
+ },
560
+ exodusevm: {
561
+ brand: {
562
+ alt: "Exodus Wallet",
563
+ spriteId: "exodus"
564
+ },
565
+ chains: [
566
+ "eip155:1",
567
+ "eip155:137",
568
+ "eip155:43114",
569
+ "eip155:56"
570
+ ],
571
+ desktop: {
572
+ chromeId: "aholpfdialjgjfhomihkjbmgjidlcdno"
573
+ },
574
+ filterFromWalletConnect: true,
575
+ group: "exodus",
576
+ injectedConfig: [
577
+ {
578
+ chain: "evm",
579
+ extensionLocators: [
580
+ {
581
+ flag: "isExodus",
582
+ value: true
583
+ }
584
+ ]
585
+ }
586
+ ],
587
+ mobile: {
588
+ androidId: "exodusmovement.exodus",
589
+ iosId: "id1414384820",
590
+ native: "exodus://wc"
591
+ },
592
+ name: "Exodus Wallet (EVM)",
593
+ walletConnect: {
594
+ sdks: [
595
+ "sign_v2",
596
+ "auth_v1"
597
+ ]
598
+ }
599
+ },
600
+ exodussol: {
601
+ brand: {
602
+ alt: "Exodus Wallet",
603
+ spriteId: "exodus"
604
+ },
605
+ desktop: {
606
+ chromeId: "aholpfdialjgjfhomihkjbmgjidlcdno"
607
+ },
608
+ group: "exodus",
609
+ mobile: {
610
+ androidId: "exodusmovement.exodus",
611
+ iosId: "id1414384820"
612
+ },
613
+ name: "Exodus Wallet (Solana)"
614
+ },
615
+ okxwallet: {
616
+ brand: {
617
+ alt: "OKX Wallet",
618
+ imageId: "45f2f08e-fc0c-4d62-3e63-404e72170500"
619
+ },
620
+ chains: [
621
+ "eip155:1",
622
+ "eip155:137",
623
+ "eip155:43114",
624
+ "eip155:56",
625
+ "eip155:66"
626
+ ],
627
+ desktop: {
628
+ chromeId: "mcohilncbfahbmgdjkbpemcciiolgcge"
629
+ },
630
+ eip6963Config: {
631
+ rdns: "com.okex.wallet"
632
+ },
633
+ filterFromWalletConnect: true,
634
+ injectedConfig: [
635
+ {
636
+ chain: "evm",
637
+ extensionLocators: [
638
+ {
639
+ flag: "isOKExWallet",
640
+ value: true
641
+ },
642
+ {
643
+ flag: "isOkxWallet",
644
+ value: true
645
+ }
646
+ ],
647
+ windowLocations: [
648
+ "okxwallet"
649
+ ]
650
+ }
651
+ ],
652
+ mobile: {
653
+ androidId: "com.okinc.okex.gp",
654
+ iosId: "id1327268470",
655
+ native: "okex://main/wc"
656
+ },
657
+ name: "OKX Wallet",
658
+ walletConnect: {
659
+ sdks: [
660
+ "sign_v2"
661
+ ]
662
+ }
441
663
  }
442
664
  };
443
665
  var walletBookFallbacks = {
@@ -1,4 +1,13 @@
1
1
  var groups = {
2
+ argentx: {
3
+ brand: {
4
+ alt: "ArgentX",
5
+ imageId: "argentx",
6
+ primaryColor: "#FF875B"
7
+ },
8
+ key: "argentx",
9
+ name: "ArgentX"
10
+ },
2
11
  blocto: {
3
12
  brand: {
4
13
  alt: "Blocto",
@@ -95,10 +104,6 @@ var wallets = {
95
104
  flag: "isExodus",
96
105
  value: false
97
106
  },
98
- {
99
- flag: "isPhantom",
100
- value: false
101
- },
102
107
  {
103
108
  flag: "isZerion",
104
109
  value: false
@@ -159,9 +164,23 @@ var wallets = {
159
164
  chromeId: "hnfanknocfeofbddgcijnmhnfnkdnaad"
160
165
  },
161
166
  eip6963Config: {
162
- rdns: "com.coinbase"
167
+ rdns: "com.coinbase.wallet"
163
168
  },
164
169
  group: "coinbase",
170
+ injectedConfig: [
171
+ {
172
+ chain: "evm",
173
+ extensionLocators: [
174
+ {
175
+ flag: "isCoinbaseWallet",
176
+ value: true
177
+ }
178
+ ],
179
+ windowLocations: [
180
+ "coinbaseWalletExtension"
181
+ ]
182
+ }
183
+ ],
165
184
  mobile: {
166
185
  androidId: "org.toshi",
167
186
  iosId: "id1278383455"
@@ -185,6 +204,54 @@ var wallets = {
185
204
  },
186
205
  name: "Phantom"
187
206
  },
207
+ phantomevm: {
208
+ brand: {
209
+ alt: "Phantom Wallet",
210
+ primaryColor: "#4B49C6",
211
+ spriteId: "phantom"
212
+ },
213
+ desktop: {
214
+ chromeId: "bfnaelmomeimhlpmgjnjophhpkkoljpa",
215
+ firefoxId: "phantom-app"
216
+ },
217
+ group: "phantom",
218
+ injectedConfig: [
219
+ {
220
+ chain: "evm",
221
+ extensionLocators: [
222
+ {
223
+ flag: "isPhantom",
224
+ value: true
225
+ }
226
+ ],
227
+ windowLocations: [
228
+ "phantom.ethereum"
229
+ ]
230
+ }
231
+ ],
232
+ mobile: {
233
+ androidId: "app.phantom",
234
+ iosId: "id1598432977"
235
+ },
236
+ name: "Phantom (EVM)"
237
+ },
238
+ phantomledger: {
239
+ brand: {
240
+ alt: "Phantom Wallet",
241
+ primaryColor: "#4B49C6",
242
+ spriteId: "phantom"
243
+ },
244
+ desktop: {
245
+ chromeId: "bfnaelmomeimhlpmgjnjophhpkkoljpa",
246
+ firefoxId: "phantom-app"
247
+ },
248
+ group: "phantom",
249
+ mobile: {
250
+ androidId: "app.phantom",
251
+ iosId: "id1598432977"
252
+ },
253
+ name: "Phantom (Ledger)"
254
+ },
188
255
  walletconnect: {
189
256
  brand: {
190
257
  alt: "WalletConnect",
@@ -199,7 +266,7 @@ var wallets = {
199
266
  },
200
267
  argentx: {
201
268
  brand: {
202
- alt: "Argent Wallet",
269
+ alt: "Argent X Wallet",
203
270
  primaryColor: "#FF875B",
204
271
  spriteId: "argentx"
205
272
  },
@@ -277,7 +344,24 @@ var wallets = {
277
344
  desktop: {
278
345
  chromeId: "egjidjbpglichdcondbcbdnbeeppgdph"
279
346
  },
347
+ eip6963Config: {
348
+ rdns: "com.trustwallet.app"
349
+ },
280
350
  filterFromWalletConnect: true,
351
+ injectedConfig: [
352
+ {
353
+ chain: "evm",
354
+ extensionLocators: [
355
+ {
356
+ flag: "isTrustWallet",
357
+ value: true
358
+ }
359
+ ],
360
+ windowLocations: [
361
+ "trustWallet"
362
+ ]
363
+ }
364
+ ],
281
365
  mobile: {
282
366
  androidId: "com.wallet.crypto.trustapp",
283
367
  iosId: "id1288339409",
@@ -313,6 +397,9 @@ var wallets = {
313
397
  edgeId: "cpojfbodiccabbabgimdeohkkpjfpbnf",
314
398
  firefoxId: "rainbow-extension"
315
399
  },
400
+ eip6963Config: {
401
+ rdns: "me.rainbow"
402
+ },
316
403
  filterFromWalletConnect: true,
317
404
  injectedConfig: [
318
405
  {
@@ -434,6 +521,141 @@ var wallets = {
434
521
  },
435
522
  group: "magiceden",
436
523
  name: "Magic Eden (Solana)"
524
+ },
525
+ exodus: {
526
+ brand: {
527
+ alt: "Exodus Wallet",
528
+ imageId: "4c16cad4-cac9-4643-6726-c696efaf5200"
529
+ },
530
+ chains: [
531
+ "eip155:1",
532
+ "eip155:137",
533
+ "eip155:43114",
534
+ "eip155:56",
535
+ "solana:4sGjMW1sUnHzSxGspuhpqLDx6wiyjNtZ"
536
+ ],
537
+ desktop: {
538
+ chromeId: "aholpfdialjgjfhomihkjbmgjidlcdno"
539
+ },
540
+ filterFromWalletConnect: true,
541
+ group: "exodus",
542
+ mobile: {
543
+ androidId: "exodusmovement.exodus",
544
+ iosId: "id1414384820",
545
+ native: "exodus://wc"
546
+ },
547
+ name: "Exodus",
548
+ walletConnect: {
549
+ sdks: [
550
+ "sign_v1",
551
+ "sign_v2",
552
+ "auth_v1"
553
+ ]
554
+ }
555
+ },
556
+ exodusevm: {
557
+ brand: {
558
+ alt: "Exodus Wallet",
559
+ spriteId: "exodus"
560
+ },
561
+ chains: [
562
+ "eip155:1",
563
+ "eip155:137",
564
+ "eip155:43114",
565
+ "eip155:56"
566
+ ],
567
+ desktop: {
568
+ chromeId: "aholpfdialjgjfhomihkjbmgjidlcdno"
569
+ },
570
+ filterFromWalletConnect: true,
571
+ group: "exodus",
572
+ injectedConfig: [
573
+ {
574
+ chain: "evm",
575
+ extensionLocators: [
576
+ {
577
+ flag: "isExodus",
578
+ value: true
579
+ }
580
+ ]
581
+ }
582
+ ],
583
+ mobile: {
584
+ androidId: "exodusmovement.exodus",
585
+ iosId: "id1414384820",
586
+ native: "exodus://wc"
587
+ },
588
+ name: "Exodus Wallet (EVM)",
589
+ walletConnect: {
590
+ sdks: [
591
+ "sign_v2",
592
+ "auth_v1"
593
+ ]
594
+ }
595
+ },
596
+ exodussol: {
597
+ brand: {
598
+ alt: "Exodus Wallet",
599
+ spriteId: "exodus"
600
+ },
601
+ desktop: {
602
+ chromeId: "aholpfdialjgjfhomihkjbmgjidlcdno"
603
+ },
604
+ group: "exodus",
605
+ mobile: {
606
+ androidId: "exodusmovement.exodus",
607
+ iosId: "id1414384820"
608
+ },
609
+ name: "Exodus Wallet (Solana)"
610
+ },
611
+ okxwallet: {
612
+ brand: {
613
+ alt: "OKX Wallet",
614
+ imageId: "45f2f08e-fc0c-4d62-3e63-404e72170500"
615
+ },
616
+ chains: [
617
+ "eip155:1",
618
+ "eip155:137",
619
+ "eip155:43114",
620
+ "eip155:56",
621
+ "eip155:66"
622
+ ],
623
+ desktop: {
624
+ chromeId: "mcohilncbfahbmgdjkbpemcciiolgcge"
625
+ },
626
+ eip6963Config: {
627
+ rdns: "com.okex.wallet"
628
+ },
629
+ filterFromWalletConnect: true,
630
+ injectedConfig: [
631
+ {
632
+ chain: "evm",
633
+ extensionLocators: [
634
+ {
635
+ flag: "isOKExWallet",
636
+ value: true
637
+ },
638
+ {
639
+ flag: "isOkxWallet",
640
+ value: true
641
+ }
642
+ ],
643
+ windowLocations: [
644
+ "okxwallet"
645
+ ]
646
+ }
647
+ ],
648
+ mobile: {
649
+ androidId: "com.okinc.okex.gp",
650
+ iosId: "id1327268470",
651
+ native: "okex://main/wc"
652
+ },
653
+ name: "OKX Wallet",
654
+ walletConnect: {
655
+ sdks: [
656
+ "sign_v2"
657
+ ]
658
+ }
437
659
  }
438
660
  };
439
661
  var walletBookFallbacks = {
@@ -1,7 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const normalizeWalletName = (name) => { var _a; return (_a = name === null || name === void 0 ? void 0 : name.toLowerCase().replace(/\W/g, '')) !== null && _a !== void 0 ? _a : 'undefined-wallet'; };
6
-
7
- exports.normalizeWalletName = normalizeWalletName;
@@ -1,3 +0,0 @@
1
- const normalizeWalletName = (name) => { var _a; return (_a = name === null || name === void 0 ? void 0 : name.toLowerCase().replace(/\W/g, '')) !== null && _a !== void 0 ? _a : 'undefined-wallet'; };
2
-
3
- export { normalizeWalletName };