@dynamic-labs/wallet-book 4.47.3 → 4.48.1

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,26 @@
1
1
 
2
+ ### [4.48.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.48.0...v4.48.1) (2025-12-02)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * support for linking multiple slush wallets ([#9957](https://github.com/dynamic-labs/dynamic-auth/issues/9957)) ([b1433a4](https://github.com/dynamic-labs/dynamic-auth/commit/b1433a49d1b31abe4806bcc66fc5b03750c953d4))
8
+
9
+ ## [4.48.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.47.3...v4.48.0) (2025-12-01)
10
+
11
+
12
+ ### Features
13
+
14
+ * export share view ([#9973](https://github.com/dynamic-labs/dynamic-auth/issues/9973)) ([41831bf](https://github.com/dynamic-labs/dynamic-auth/commit/41831bf31f5661fae3a6664643f7b2e7875df137))
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * add logout button to MFA verification view ([#9972](https://github.com/dynamic-labs/dynamic-auth/issues/9972)) ([240a286](https://github.com/dynamic-labs/dynamic-auth/commit/240a2864ca92ff2262720797001327b5721bd894))
20
+ * allow user to login with MFA after logout ([#9975](https://github.com/dynamic-labs/dynamic-auth/issues/9975)) ([b404874](https://github.com/dynamic-labs/dynamic-auth/commit/b404874d65ffca166f8f2e8289a6624c685fa257))
21
+ * issue connecting with custom cosmos chain using Keplr wallet ([#9995](https://github.com/dynamic-labs/dynamic-auth/issues/9995)) ([8e045ea](https://github.com/dynamic-labs/dynamic-auth/commit/8e045ea084299f5264ae7a7515fd8d68d4f9caf2))
22
+ * support waas wallet for cookie-auth with optional custom KeyshareRelayBaseUrl ([#9994](https://github.com/dynamic-labs/dynamic-auth/issues/9994)) ([d768378](https://github.com/dynamic-labs/dynamic-auth/commit/d768378693a1cd11e89b0f59f8219ac9fd8690f9))
23
+
2
24
  ### [4.47.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.47.2...v4.47.3) (2025-11-27)
3
25
 
4
26
  ### [4.47.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.47.1...v4.47.2) (2025-11-27)
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.3";
6
+ var version = "4.48.1";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.47.3";
2
+ var version = "4.48.1";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/wallet-book",
3
- "version": "4.47.3",
3
+ "version": "4.48.1",
4
4
  "author": "Dynamic Labs, Inc.",
5
5
  "license": "MIT",
6
6
  "main": "./src/index.cjs",
@@ -17,10 +17,10 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "zod": "4.0.5",
20
- "@dynamic-labs/assert-package-version": "4.47.3",
21
- "@dynamic-labs/iconic": "4.47.3",
22
- "@dynamic-labs/logger": "4.47.3",
23
- "@dynamic-labs/utils": "4.47.3",
20
+ "@dynamic-labs/assert-package-version": "4.48.1",
21
+ "@dynamic-labs/iconic": "4.48.1",
22
+ "@dynamic-labs/logger": "4.48.1",
23
+ "@dynamic-labs/utils": "4.48.1",
24
24
  "eventemitter3": "5.0.1",
25
25
  "util": "0.12.5"
26
26
  },
@@ -58,6 +58,7 @@ export declare const generateWalletFallbacks: (wallets: WalletRecordsSchema) =>
58
58
  universal?: string | undefined;
59
59
  } | undefined;
60
60
  mobileExperience?: "in-app-browser" | "redirect" | undefined;
61
+ requiresDisconnectBeforeNewConnection?: boolean | undefined;
61
62
  shortName?: string | undefined;
62
63
  showOnlyIfInstalled?: boolean | undefined;
63
64
  switchNetworkOnlyFromWallet?: boolean | undefined;
@@ -110,6 +110,7 @@ export declare const walletConnectTransformedData: Promise<Record<string, {
110
110
  universal?: string | undefined;
111
111
  } | undefined;
112
112
  mobileExperience?: "in-app-browser" | "redirect" | undefined;
113
+ requiresDisconnectBeforeNewConnection?: boolean | undefined;
113
114
  shortName?: string | undefined;
114
115
  showOnlyIfInstalled?: boolean | undefined;
115
116
  switchNetworkOnlyFromWallet?: boolean | undefined;
@@ -52,6 +52,7 @@ export declare const findWalletBookWallet: (walletBook: WalletBookSchema, wallet
52
52
  universal?: string | undefined;
53
53
  } | undefined;
54
54
  mobileExperience?: "in-app-browser" | "redirect" | undefined;
55
+ requiresDisconnectBeforeNewConnection?: boolean | undefined;
55
56
  shortName?: string | undefined;
56
57
  showOnlyIfInstalled?: boolean | undefined;
57
58
  switchNetworkOnlyFromWallet?: boolean | undefined;
@@ -52,6 +52,7 @@ export declare const findWalletBookWalletByNameAndChain: (walletBook: WalletBook
52
52
  universal?: string | undefined;
53
53
  } | undefined;
54
54
  mobileExperience?: "in-app-browser" | "redirect" | undefined;
55
+ requiresDisconnectBeforeNewConnection?: boolean | undefined;
55
56
  shortName?: string | undefined;
56
57
  showOnlyIfInstalled?: boolean | undefined;
57
58
  switchNetworkOnlyFromWallet?: boolean | undefined;
@@ -72,6 +72,7 @@ export declare const walletBookCache: {
72
72
  universal?: string | undefined;
73
73
  } | undefined;
74
74
  mobileExperience?: "in-app-browser" | "redirect" | undefined;
75
+ requiresDisconnectBeforeNewConnection?: boolean | undefined;
75
76
  shortName?: string | undefined;
76
77
  showOnlyIfInstalled?: boolean | undefined;
77
78
  switchNetworkOnlyFromWallet?: boolean | undefined;
@@ -69,6 +69,7 @@ export declare const useWalletBookCdn: () => {
69
69
  universal?: string | undefined;
70
70
  } | undefined;
71
71
  mobileExperience?: "in-app-browser" | "redirect" | undefined;
72
+ requiresDisconnectBeforeNewConnection?: boolean | undefined;
72
73
  shortName?: string | undefined;
73
74
  showOnlyIfInstalled?: boolean | undefined;
74
75
  switchNetworkOnlyFromWallet?: boolean | undefined;
@@ -89,6 +89,7 @@ export declare const walletRecordsSchema: z.ZodMiniRecord<z.ZodMiniString<string
89
89
  redirect: "redirect";
90
90
  }>>;
91
91
  name: z.ZodMiniString<string>;
92
+ requiresDisconnectBeforeNewConnection: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
92
93
  shortName: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
93
94
  showOnlyIfInstalled: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
94
95
  switchNetworkOnlyFromWallet: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
@@ -163,6 +164,7 @@ export declare const walletRecordsSchema: z.ZodMiniRecord<z.ZodMiniString<string
163
164
  universal?: string | undefined;
164
165
  } | undefined;
165
166
  mobileExperience?: "in-app-browser" | "redirect" | undefined;
167
+ requiresDisconnectBeforeNewConnection?: boolean | undefined;
166
168
  shortName?: string | undefined;
167
169
  showOnlyIfInstalled?: boolean | undefined;
168
170
  switchNetworkOnlyFromWallet?: boolean | undefined;
@@ -233,6 +235,7 @@ export declare const walletRecordsSchema: z.ZodMiniRecord<z.ZodMiniString<string
233
235
  universal?: string | undefined;
234
236
  } | undefined;
235
237
  mobileExperience?: "in-app-browser" | "redirect" | undefined;
238
+ requiresDisconnectBeforeNewConnection?: boolean | undefined;
236
239
  shortName?: string | undefined;
237
240
  showOnlyIfInstalled?: boolean | undefined;
238
241
  switchNetworkOnlyFromWallet?: boolean | undefined;
@@ -359,6 +362,7 @@ export declare const walletBookSchema: z.ZodMiniPipe<z.ZodMiniTransform<unknown,
359
362
  redirect: "redirect";
360
363
  }>>;
361
364
  name: z.ZodMiniString<string>;
365
+ requiresDisconnectBeforeNewConnection: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
362
366
  shortName: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
363
367
  showOnlyIfInstalled: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
364
368
  switchNetworkOnlyFromWallet: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
@@ -433,6 +437,7 @@ export declare const walletBookSchema: z.ZodMiniPipe<z.ZodMiniTransform<unknown,
433
437
  universal?: string | undefined;
434
438
  } | undefined;
435
439
  mobileExperience?: "in-app-browser" | "redirect" | undefined;
440
+ requiresDisconnectBeforeNewConnection?: boolean | undefined;
436
441
  shortName?: string | undefined;
437
442
  showOnlyIfInstalled?: boolean | undefined;
438
443
  switchNetworkOnlyFromWallet?: boolean | undefined;
@@ -503,6 +508,7 @@ export declare const walletBookSchema: z.ZodMiniPipe<z.ZodMiniTransform<unknown,
503
508
  universal?: string | undefined;
504
509
  } | undefined;
505
510
  mobileExperience?: "in-app-browser" | "redirect" | undefined;
511
+ requiresDisconnectBeforeNewConnection?: boolean | undefined;
506
512
  shortName?: string | undefined;
507
513
  showOnlyIfInstalled?: boolean | undefined;
508
514
  switchNetworkOnlyFromWallet?: boolean | undefined;
@@ -108,6 +108,11 @@ const walletSchema = z__namespace.pipe(z__namespace.pipe(z__namespace.transform(
108
108
  })), z__namespace.transform(filterEmptyObject.filterEmptyObject))),
109
109
  mobileExperience: z__namespace.optional(z__namespace.enum(['in-app-browser', 'redirect'])),
110
110
  name: z__namespace.string(),
111
+ /**
112
+ * Indicates if the wallet requires disconnecting current wallet before connecting a new one.
113
+ * An example is Slush.
114
+ */
115
+ requiresDisconnectBeforeNewConnection: z__namespace.optional(z__namespace.boolean()),
111
116
  shortName: nonEmptyString.nonEmptyString,
112
117
  showOnlyIfInstalled: z__namespace.optional(z__namespace.boolean()),
113
118
  switchNetworkOnlyFromWallet: z__namespace.optional(z__namespace.boolean()),
@@ -136,6 +136,11 @@ export declare const walletSchema: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniTransfor
136
136
  redirect: "redirect";
137
137
  }>>;
138
138
  name: z.ZodMiniString<string>;
139
+ /**
140
+ * Indicates if the wallet requires disconnecting current wallet before connecting a new one.
141
+ * An example is Slush.
142
+ */
143
+ requiresDisconnectBeforeNewConnection: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
139
144
  shortName: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
140
145
  showOnlyIfInstalled: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
141
146
  switchNetworkOnlyFromWallet: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
@@ -213,6 +218,7 @@ export declare const walletSchema: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniTransfor
213
218
  universal?: string | undefined;
214
219
  } | undefined;
215
220
  mobileExperience?: "in-app-browser" | "redirect" | undefined;
221
+ requiresDisconnectBeforeNewConnection?: boolean | undefined;
216
222
  shortName?: string | undefined;
217
223
  showOnlyIfInstalled?: boolean | undefined;
218
224
  switchNetworkOnlyFromWallet?: boolean | undefined;
@@ -283,6 +289,7 @@ export declare const walletSchema: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniTransfor
283
289
  universal?: string | undefined;
284
290
  } | undefined;
285
291
  mobileExperience?: "in-app-browser" | "redirect" | undefined;
292
+ requiresDisconnectBeforeNewConnection?: boolean | undefined;
286
293
  shortName?: string | undefined;
287
294
  showOnlyIfInstalled?: boolean | undefined;
288
295
  switchNetworkOnlyFromWallet?: boolean | undefined;
@@ -84,6 +84,11 @@ const walletSchema = z.pipe(z.pipe(z.transform((val) => val), z.object({
84
84
  })), z.transform(filterEmptyObject))),
85
85
  mobileExperience: z.optional(z.enum(['in-app-browser', 'redirect'])),
86
86
  name: z.string(),
87
+ /**
88
+ * Indicates if the wallet requires disconnecting current wallet before connecting a new one.
89
+ * An example is Slush.
90
+ */
91
+ requiresDisconnectBeforeNewConnection: z.optional(z.boolean()),
87
92
  shortName: nonEmptyString,
88
93
  showOnlyIfInstalled: z.optional(z.boolean()),
89
94
  switchNetworkOnlyFromWallet: z.optional(z.boolean()),