@dynamic-labs/wallet-book 2.1.2-alpha.1 → 2.2.0-alpha.0

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,25 +1,10 @@
1
1
 
2
- ### [2.1.2-alpha.1](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.2-alpha.0...v2.1.2-alpha.1) (2024-06-07)
3
-
4
-
5
- ### Bug Fixes
6
-
7
- * find phantom solana provider when opening dapp on new tab ([#5902](https://github.com/dynamic-labs/DynamicAuth/issues/5902)) ([99daf87](https://github.com/dynamic-labs/DynamicAuth/commit/99daf87f17caed870a76e4f89a257a14da37c7ab)), closes [#5895](https://github.com/dynamic-labs/DynamicAuth/issues/5895) [#5896](https://github.com/dynamic-labs/DynamicAuth/issues/5896) [#5897](https://github.com/dynamic-labs/DynamicAuth/issues/5897)
8
-
9
- ### [2.1.2-alpha.0](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.1...v2.1.2-alpha.0) (2024-06-07)
2
+ ## [2.2.0-alpha.0](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.0...v2.2.0-alpha.0) (2024-06-04)
10
3
 
11
4
 
12
5
  ### Features
13
6
 
14
- * display enabled countries in phone number field ([#5825](https://github.com/dynamic-labs/DynamicAuth/issues/5825)) ([#5868](https://github.com/dynamic-labs/DynamicAuth/issues/5868)) ([640a4a7](https://github.com/dynamic-labs/DynamicAuth/commit/640a4a77c994390ceed759faf186717b38f393a4))
15
-
16
-
17
- ### Bug Fixes
18
-
19
- * btc getBalance should use ordinal address if payment not available ([#5883](https://github.com/dynamic-labs/DynamicAuth/issues/5883)) ([bc5ac55](https://github.com/dynamic-labs/DynamicAuth/commit/bc5ac5589e90193d41282d23ce037db360dd23e6))
20
- * phone number in kyc step ([#5875](https://github.com/dynamic-labs/DynamicAuth/issues/5875)) ([#5879](https://github.com/dynamic-labs/DynamicAuth/issues/5879)) ([3d8a5be](https://github.com/dynamic-labs/DynamicAuth/commit/3d8a5bef35d4a13a1068aaf80d2c39e795b097cd))
21
-
22
- ### [2.1.1](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.0...v2.1.1) (2024-06-04)
7
+ * add multi-asset wallet header ([#5608](https://github.com/dynamic-labs/DynamicAuth/issues/5608)) ([47998b1](https://github.com/dynamic-labs/DynamicAuth/commit/47998b1999ddf786bf88b86248c79fc92f278331)), closes [#5655](https://github.com/dynamic-labs/DynamicAuth/issues/5655) [#5643](https://github.com/dynamic-labs/DynamicAuth/issues/5643) [#5673](https://github.com/dynamic-labs/DynamicAuth/issues/5673) [#5762](https://github.com/dynamic-labs/DynamicAuth/issues/5762) [#5766](https://github.com/dynamic-labs/DynamicAuth/issues/5766) [#5777](https://github.com/dynamic-labs/DynamicAuth/issues/5777)
23
8
 
24
9
  ## [2.1.0](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.0-alpha.32...v2.1.0) (2024-06-04)
25
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/wallet-book",
3
- "version": "2.1.2-alpha.1",
3
+ "version": "2.2.0-alpha.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/dynamic-labs/dynamic-auth.git",
@@ -26,9 +26,9 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "zod": "3.22.4",
29
- "@dynamic-labs/iconic": "2.1.2-alpha.1",
30
- "@dynamic-labs/logger": "2.1.2-alpha.1",
31
- "@dynamic-labs/utils": "2.1.2-alpha.1",
29
+ "@dynamic-labs/iconic": "2.2.0-alpha.0",
30
+ "@dynamic-labs/logger": "2.2.0-alpha.0",
31
+ "@dynamic-labs/utils": "2.2.0-alpha.0",
32
32
  "util": "0.12.5"
33
33
  },
34
34
  "peerDependencies": {
@@ -40,10 +40,6 @@ export declare const generateWalletFallbacks: (wallets: WalletRecordsSchema) =>
40
40
  name: string;
41
41
  features: string[];
42
42
  } | undefined;
43
- walletStandardLocators?: {
44
- name: string;
45
- locator: string;
46
- }[] | undefined;
47
43
  windowLocations?: string[] | undefined;
48
44
  }[] | undefined;
49
45
  mobile?: {
@@ -92,10 +92,6 @@ export declare const walletConnectTransformedData: Promise<Record<string, {
92
92
  name: string;
93
93
  features: string[];
94
94
  } | undefined;
95
- walletStandardLocators?: {
96
- name: string;
97
- locator: string;
98
- }[] | undefined;
99
95
  windowLocations?: string[] | undefined;
100
96
  }[] | undefined;
101
97
  mobile?: {
@@ -32,9 +32,6 @@ const injectedConfigSchema = zod.z.object({
32
32
  walletStandard: zod.z
33
33
  .object({ features: zod.z.array(zod.z.string()), name: zod.z.string() })
34
34
  .optional(),
35
- walletStandardLocators: zod.z
36
- .array(zod.z.object({ locator: zod.z.string(), name: zod.z.string() }))
37
- .optional(),
38
35
  windowLocations: zod.z
39
36
  .array(zod.z.string())
40
37
  .optional()
@@ -31,16 +31,6 @@ declare const injectedConfigSchema: z.ZodObject<{
31
31
  features: string[];
32
32
  name: string;
33
33
  }>>;
34
- walletStandardLocators: z.ZodOptional<z.ZodArray<z.ZodObject<{
35
- locator: z.ZodString;
36
- name: z.ZodString;
37
- }, "strip", z.ZodTypeAny, {
38
- name: string;
39
- locator: string;
40
- }, {
41
- name: string;
42
- locator: string;
43
- }>, "many">>;
44
34
  windowLocations: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[] | undefined, string[] | undefined>;
45
35
  }, "strip", z.ZodTypeAny, {
46
36
  chain: string;
@@ -53,10 +43,6 @@ declare const injectedConfigSchema: z.ZodObject<{
53
43
  features: string[];
54
44
  name: string;
55
45
  } | undefined;
56
- walletStandardLocators?: {
57
- name: string;
58
- locator: string;
59
- }[] | undefined;
60
46
  windowLocations?: string[] | undefined;
61
47
  }, {
62
48
  chain: string;
@@ -69,10 +55,6 @@ declare const injectedConfigSchema: z.ZodObject<{
69
55
  features: string[];
70
56
  name: string;
71
57
  } | undefined;
72
- walletStandardLocators?: {
73
- name: string;
74
- locator: string;
75
- }[] | undefined;
76
58
  windowLocations?: string[] | undefined;
77
59
  }>;
78
60
  export declare const brandSchema: z.ZodObject<{
@@ -190,16 +172,6 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
190
172
  features: string[];
191
173
  name: string;
192
174
  }>>;
193
- walletStandardLocators: z.ZodOptional<z.ZodArray<z.ZodObject<{
194
- locator: z.ZodString;
195
- name: z.ZodString;
196
- }, "strip", z.ZodTypeAny, {
197
- name: string;
198
- locator: string;
199
- }, {
200
- name: string;
201
- locator: string;
202
- }>, "many">>;
203
175
  windowLocations: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[] | undefined, string[] | undefined>;
204
176
  }, "strip", z.ZodTypeAny, {
205
177
  chain: string;
@@ -212,10 +184,6 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
212
184
  features: string[];
213
185
  name: string;
214
186
  } | undefined;
215
- walletStandardLocators?: {
216
- name: string;
217
- locator: string;
218
- }[] | undefined;
219
187
  windowLocations?: string[] | undefined;
220
188
  }, {
221
189
  chain: string;
@@ -228,10 +196,6 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
228
196
  features: string[];
229
197
  name: string;
230
198
  } | undefined;
231
- walletStandardLocators?: {
232
- name: string;
233
- locator: string;
234
- }[] | undefined;
235
199
  windowLocations?: string[] | undefined;
236
200
  }>, "many">>;
237
201
  mobile: z.ZodEffects<z.ZodOptional<z.ZodObject<{
@@ -326,10 +290,6 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
326
290
  features: string[];
327
291
  name: string;
328
292
  } | undefined;
329
- walletStandardLocators?: {
330
- name: string;
331
- locator: string;
332
- }[] | undefined;
333
293
  windowLocations?: string[] | undefined;
334
294
  }[] | undefined;
335
295
  mobile?: {
@@ -383,10 +343,6 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
383
343
  features: string[];
384
344
  name: string;
385
345
  } | undefined;
386
- walletStandardLocators?: {
387
- name: string;
388
- locator: string;
389
- }[] | undefined;
390
346
  windowLocations?: string[] | undefined;
391
347
  }[] | undefined;
392
348
  mobile?: {
@@ -440,10 +396,6 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
440
396
  features: string[];
441
397
  name: string;
442
398
  } | undefined;
443
- walletStandardLocators?: {
444
- name: string;
445
- locator: string;
446
- }[] | undefined;
447
399
  windowLocations?: string[] | undefined;
448
400
  }[] | undefined;
449
401
  mobile?: {
@@ -497,10 +449,6 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
497
449
  features: string[];
498
450
  name: string;
499
451
  } | undefined;
500
- walletStandardLocators?: {
501
- name: string;
502
- locator: string;
503
- }[] | undefined;
504
452
  windowLocations?: string[] | undefined;
505
453
  }[] | undefined;
506
454
  mobile?: {
@@ -28,9 +28,6 @@ const injectedConfigSchema = z.object({
28
28
  walletStandard: z
29
29
  .object({ features: z.array(z.string()), name: z.string() })
30
30
  .optional(),
31
- walletStandardLocators: z
32
- .array(z.object({ locator: z.string(), name: z.string() }))
33
- .optional(),
34
31
  windowLocations: z
35
32
  .array(z.string())
36
33
  .optional()
@@ -304,12 +304,6 @@ var wallets = {
304
304
  value: false
305
305
  }
306
306
  ],
307
- walletStandardLocators: [
308
- {
309
- locator: "features.phantom:.phantom",
310
- name: "Phantom"
311
- }
312
- ],
313
307
  windowLocations: [
314
308
  "phantom.solana"
315
309
  ]
@@ -391,12 +385,6 @@ var wallets = {
391
385
  value: false
392
386
  }
393
387
  ],
394
- walletStandardLocators: [
395
- {
396
- locator: "features.phantom:.phantom",
397
- name: "Phantom"
398
- }
399
- ],
400
388
  windowLocations: [
401
389
  "phantom.solana"
402
390
  ]
@@ -300,12 +300,6 @@ var wallets = {
300
300
  value: false
301
301
  }
302
302
  ],
303
- walletStandardLocators: [
304
- {
305
- locator: "features.phantom:.phantom",
306
- name: "Phantom"
307
- }
308
- ],
309
303
  windowLocations: [
310
304
  "phantom.solana"
311
305
  ]
@@ -387,12 +381,6 @@ var wallets = {
387
381
  value: false
388
382
  }
389
383
  ],
390
- walletStandardLocators: [
391
- {
392
- locator: "features.phantom:.phantom",
393
- name: "Phantom"
394
- }
395
- ],
396
384
  windowLocations: [
397
385
  "phantom.solana"
398
386
  ]