@dynamic-labs/utils 4.25.6 → 4.25.8-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,4 +1,13 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.25.8-alpha.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.25.7...v4.25.8-alpha.0) (2025-08-04)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* don't deep link to metamask in-app browser when already in the in-app browser ([f7c061e](https://github.com/dynamic-labs/dynamic-auth/commit/f7c061e0820ca7d5ff1600c18ad0763b4288dc1d))
|
|
8
|
+
|
|
9
|
+
### [4.25.7](https://github.com/dynamic-labs/dynamic-auth/compare/v4.25.6...v4.25.7) (2025-07-28)
|
|
10
|
+
|
|
2
11
|
### [4.25.6](https://github.com/dynamic-labs/dynamic-auth/compare/v4.25.5...v4.25.6) (2025-07-28)
|
|
3
12
|
|
|
4
13
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/utils",
|
|
3
|
-
"version": "4.25.
|
|
3
|
+
"version": "4.25.8-alpha.0",
|
|
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.728",
|
|
22
22
|
"tldts": "6.0.16",
|
|
23
|
-
"@dynamic-labs/assert-package-version": "4.25.
|
|
24
|
-
"@dynamic-labs/logger": "4.25.
|
|
25
|
-
"@dynamic-labs/types": "4.25.
|
|
23
|
+
"@dynamic-labs/assert-package-version": "4.25.8-alpha.0",
|
|
24
|
+
"@dynamic-labs/logger": "4.25.8-alpha.0",
|
|
25
|
+
"@dynamic-labs/types": "4.25.8-alpha.0",
|
|
26
26
|
"buffer": "6.0.3",
|
|
27
27
|
"eventemitter3": "5.0.1"
|
|
28
28
|
},
|
|
@@ -42,17 +42,23 @@ class StorageService {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
|
-
* Temporary
|
|
45
|
+
* Temporary fallbacks until we ensure that one instance of the utils package is
|
|
46
46
|
* installed
|
|
47
47
|
*
|
|
48
48
|
* thread https://dynamiclabsgroup.slack.com/archives/C03HMTUCXRR/p1752662470299459
|
|
49
49
|
*/
|
|
50
50
|
if (priority.includes('localStorage')) {
|
|
51
|
-
logger.logger.info('No available storage found based on the specified priority,
|
|
51
|
+
logger.logger.info('No available storage found based on the specified priority, defaulting to localStorage');
|
|
52
52
|
return createStorageService.createStorageService({
|
|
53
53
|
storage: localStorage,
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
|
+
if (priority.includes('sessionStorage')) {
|
|
57
|
+
logger.logger.info('No available storage found based on the specified priority, defaulting to sessionStorage');
|
|
58
|
+
return createStorageService.createStorageService({
|
|
59
|
+
storage: sessionStorage,
|
|
60
|
+
});
|
|
61
|
+
}
|
|
56
62
|
logger.logger.logVerboseTroubleshootingMessage('No storage found — StorageService.registry:', StorageService.registry);
|
|
57
63
|
throw new Error('No available storage found based on the specified priority');
|
|
58
64
|
}
|
|
@@ -34,17 +34,23 @@ class StorageService {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
* Temporary
|
|
37
|
+
* Temporary fallbacks until we ensure that one instance of the utils package is
|
|
38
38
|
* installed
|
|
39
39
|
*
|
|
40
40
|
* thread https://dynamiclabsgroup.slack.com/archives/C03HMTUCXRR/p1752662470299459
|
|
41
41
|
*/
|
|
42
42
|
if (priority.includes('localStorage')) {
|
|
43
|
-
logger.info('No available storage found based on the specified priority,
|
|
43
|
+
logger.info('No available storage found based on the specified priority, defaulting to localStorage');
|
|
44
44
|
return createStorageService({
|
|
45
45
|
storage: localStorage,
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
|
+
if (priority.includes('sessionStorage')) {
|
|
49
|
+
logger.info('No available storage found based on the specified priority, defaulting to sessionStorage');
|
|
50
|
+
return createStorageService({
|
|
51
|
+
storage: sessionStorage,
|
|
52
|
+
});
|
|
53
|
+
}
|
|
48
54
|
logger.logVerboseTroubleshootingMessage('No storage found — StorageService.registry:', StorageService.registry);
|
|
49
55
|
throw new Error('No available storage found based on the specified priority');
|
|
50
56
|
}
|