@dynamic-labs/utils 4.61.5 → 4.61.6

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,11 @@
1
1
 
2
+ ### [4.61.6](https://github.com/dynamic-labs/dynamic-auth/compare/v4.61.5...v4.61.6) (2026-02-19)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * support legacy 4337 + 7702 wallet coexistence ([#10459](https://github.com/dynamic-labs/dynamic-auth/issues/10459)) ([a1e1577](https://github.com/dynamic-labs/dynamic-auth/commit/a1e1577c037059c177c6d5b010746a45610c223b))
8
+
2
9
  ### [4.61.5](https://github.com/dynamic-labs/dynamic-auth/compare/v4.61.4...v4.61.5) (2026-02-19)
3
10
 
4
11
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.61.5";
6
+ var version = "4.61.6";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.61.5";
2
+ var version = "4.61.6";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/utils",
3
- "version": "4.61.5",
3
+ "version": "4.61.6",
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",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@dynamic-labs/sdk-api-core": "0.0.864",
22
22
  "tldts": "6.0.16",
23
- "@dynamic-labs/assert-package-version": "4.61.5",
24
- "@dynamic-labs/logger": "4.61.5",
25
- "@dynamic-labs/types": "4.61.5",
23
+ "@dynamic-labs/assert-package-version": "4.61.6",
24
+ "@dynamic-labs/logger": "4.61.6",
25
+ "@dynamic-labs/types": "4.61.6",
26
26
  "buffer": "6.0.3",
27
27
  "eventemitter3": "5.0.1"
28
28
  },
@@ -90,6 +90,13 @@ class PlatformService {
90
90
  var _b, _c;
91
91
  return (_c = (_b = _a.implementation).onUrlUpdate) === null || _c === void 0 ? void 0 : _c.call(_b, listener);
92
92
  }
93
+ /**
94
+ * Indicates whether the SDK is executed in an environment where
95
+ * waas keyshares secure storage is supported.
96
+ */
97
+ static get isWaasSecureStorageSupported() {
98
+ return _a.implementation.isWaasSecureStorageSupported;
99
+ }
93
100
  }
94
101
  _a = PlatformService;
95
102
  _PlatformService_implementation = { value: void 0 };
@@ -55,4 +55,9 @@ export declare class PlatformService {
55
55
  * @returns A function to unsubscribe the listener, or undefined if not supported.
56
56
  */
57
57
  static onUrlUpdate(listener: PlatformServiceUrlUpdateListener): (() => void) | undefined;
58
+ /**
59
+ * Indicates whether the SDK is executed in an environment where
60
+ * waas keyshares secure storage is supported.
61
+ */
62
+ static get isWaasSecureStorageSupported(): boolean;
58
63
  }
@@ -86,6 +86,13 @@ class PlatformService {
86
86
  var _b, _c;
87
87
  return (_c = (_b = _a.implementation).onUrlUpdate) === null || _c === void 0 ? void 0 : _c.call(_b, listener);
88
88
  }
89
+ /**
90
+ * Indicates whether the SDK is executed in an environment where
91
+ * waas keyshares secure storage is supported.
92
+ */
93
+ static get isWaasSecureStorageSupported() {
94
+ return _a.implementation.isWaasSecureStorageSupported;
95
+ }
89
96
  }
90
97
  _a = PlatformService;
91
98
  _PlatformService_implementation = { value: void 0 };
@@ -34,6 +34,7 @@ const createBrowserPlatformService = (window) => ({
34
34
  },
35
35
  getUrl: () => new URL(window.location.href),
36
36
  isNativeMobile: false,
37
+ isWaasSecureStorageSupported: false,
37
38
  openURL: (url_1, ...args_1) => _tslib.__awaiter(void 0, [url_1, ...args_1], void 0, function* (url, target = 'self', features = '') {
38
39
  if (target === 'blank') {
39
40
  window.open(url, '_blank', features);
@@ -30,6 +30,7 @@ const createBrowserPlatformService = (window) => ({
30
30
  },
31
31
  getUrl: () => new URL(window.location.href),
32
32
  isNativeMobile: false,
33
+ isWaasSecureStorageSupported: false,
33
34
  openURL: (url_1, ...args_1) => __awaiter(void 0, [url_1, ...args_1], void 0, function* (url, target = 'self', features = '') {
34
35
  if (target === 'blank') {
35
36
  window.open(url, '_blank', features);
@@ -5,6 +5,11 @@ export interface IPlatformService {
5
5
  * like react-native or flutter.
6
6
  */
7
7
  isNativeMobile: boolean;
8
+ /**
9
+ * Indicates whether the SDK is executed in an environment where
10
+ * waas keyshares secure storage is supported.
11
+ */
12
+ isWaasSecureStorageSupported: boolean;
8
13
  /**
9
14
  * Gets the hostname of the current location.
10
15
  *
@@ -30,6 +30,7 @@ const setupPlatformService = (initialParentURL) => {
30
30
  getTLD: () => parentURL.hostname,
31
31
  getUrl: () => parentURL,
32
32
  isNativeMobile: false,
33
+ isWaasSecureStorageSupported: false,
33
34
  openURL: (url_1, ...args_1) => _tslib.__awaiter(void 0, [url_1, ...args_1], void 0, function* (url, target = 'self', features = '') {
34
35
  return messageSender('OPEN_URL', {
35
36
  features,
@@ -26,6 +26,7 @@ const setupPlatformService = (initialParentURL) => {
26
26
  getTLD: () => parentURL.hostname,
27
27
  getUrl: () => parentURL,
28
28
  isNativeMobile: false,
29
+ isWaasSecureStorageSupported: false,
29
30
  openURL: (url_1, ...args_1) => __awaiter(void 0, [url_1, ...args_1], void 0, function* (url, target = 'self', features = '') {
30
31
  return messageSender('OPEN_URL', {
31
32
  features,