@dynamic-labs/utils 4.62.0 → 4.63.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,35 @@
1
1
 
2
+ ### [4.63.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.63.0...v4.63.1) (2026-02-24)
3
+
4
+
5
+ ### Features
6
+
7
+ * add elevated access token to WaaS export ([#10481](https://github.com/dynamic-labs/dynamic-auth/issues/10481)) ([9a3c6a6](https://github.com/dynamic-labs/dynamic-auth/commit/9a3c6a6eaa4bd7ced5aeb873fe7872717d0e25d9))
8
+ * add multi-wallet delegation support with React parity ([#10450](https://github.com/dynamic-labs/dynamic-auth/issues/10450)) ([e4d5135](https://github.com/dynamic-labs/dynamic-auth/commit/e4d5135c50595c022dfb02da2d9f05a389c0ee09))
9
+ * add Stellar chain support with balance fetching and network mapping ([#10494](https://github.com/dynamic-labs/dynamic-auth/issues/10494)) ([f12553c](https://github.com/dynamic-labs/dynamic-auth/commit/f12553ce864a56a75f87d1d55c087e1fc9378cc6))
10
+ * add Stellar WaaS transaction signing and broadcast UI ([#10495](https://github.com/dynamic-labs/dynamic-auth/issues/10495)) ([f87a860](https://github.com/dynamic-labs/dynamic-auth/commit/f87a860f59cdf5b0c4f99586c61e60186efc19f2))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * cancel authFlowClose timeout when navigation occurs during delay ([#10487](https://github.com/dynamic-labs/dynamic-auth/issues/10487)) ([aef92b4](https://github.com/dynamic-labs/dynamic-auth/commit/aef92b4a80827c517819cc63414acdf3e9ad7b05))
16
+ * **e2e:** update gating test to expect user:basic scope ([#10505](https://github.com/dynamic-labs/dynamic-auth/issues/10505)) ([56f449a](https://github.com/dynamic-labs/dynamic-auth/commit/56f449a282f37b33d365d60380c7a68c1cf5eced)), closes [dynamic-labs/redcoast#8339](https://github.com/dynamic-labs/redcoast/issues/8339)
17
+ * use selected network for Horizon server and include WaaS connector in StellarWalletConnectors ([#10493](https://github.com/dynamic-labs/dynamic-auth/issues/10493)) ([f340c09](https://github.com/dynamic-labs/dynamic-auth/commit/f340c094f08afb39829f2d90db2ec665a69ba469))
18
+ * **waas:** normalize SOL to SVM chain name when looking up WaaS connector ([#10506](https://github.com/dynamic-labs/dynamic-auth/issues/10506)) ([102d314](https://github.com/dynamic-labs/dynamic-auth/commit/102d3142d65d0e67338884affc736e5151a8e296))
19
+
20
+ ## [4.63.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.62.0...v4.63.0) (2026-02-24)
21
+
22
+
23
+ ### Features
24
+
25
+ * **react-native:** raise walletReturnFromDeepLink event to allow redirecting back to the same route as before ([#10364](https://github.com/dynamic-labs/dynamic-auth/issues/10364)) ([cd56fd0](https://github.com/dynamic-labs/dynamic-auth/commit/cd56fd089e867bb5ed09a7c999b04480d8f59f81))
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * **react-native:** include redirectUrl in WalletConnect connection deep links on iOS and add session redirect metadata for Solana ([#10479](https://github.com/dynamic-labs/dynamic-auth/issues/10479)) ([68829f9](https://github.com/dynamic-labs/dynamic-auth/commit/68829f9ef39c845917ce49bfd63922e5252c2299))
31
+ * ton external wallet connection ([#10460](https://github.com/dynamic-labs/dynamic-auth/issues/10460)) ([7431a74](https://github.com/dynamic-labs/dynamic-auth/commit/7431a74fcd0bcd04755e6a81b49aa24dfc261f09))
32
+
2
33
  ## [4.62.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.61.7...v4.62.0) (2026-02-23)
3
34
 
4
35
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.62.0";
6
+ var version = "4.63.1";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.62.0";
2
+ var version = "4.63.1";
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.62.0",
3
+ "version": "4.63.1",
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",
@@ -18,11 +18,11 @@
18
18
  },
19
19
  "homepage": "https://www.dynamic.xyz/",
20
20
  "dependencies": {
21
- "@dynamic-labs/sdk-api-core": "0.0.864",
21
+ "@dynamic-labs/sdk-api-core": "0.0.875",
22
22
  "tldts": "6.0.16",
23
- "@dynamic-labs/assert-package-version": "4.62.0",
24
- "@dynamic-labs/logger": "4.62.0",
25
- "@dynamic-labs/types": "4.62.0",
23
+ "@dynamic-labs/assert-package-version": "4.63.1",
24
+ "@dynamic-labs/logger": "4.63.1",
25
+ "@dynamic-labs/types": "4.63.1",
26
26
  "buffer": "6.0.3",
27
27
  "eventemitter3": "5.0.1"
28
28
  },
package/src/index.cjs CHANGED
@@ -86,6 +86,7 @@ var cryptoAvailability = require('./encryption/cryptoAvailability/cryptoAvailabi
86
86
  var uint8ArrayToBase64 = require('./uint8ArrayToBase64/uint8ArrayToBase64.cjs');
87
87
  var assertDefined = require('./assertDefined/assertDefined.cjs');
88
88
  var filterDuplicates = require('./filterDuplicates/filterDuplicates.cjs');
89
+ var walletReturnRoute = require('./walletReturnRoute/walletReturnRoute.cjs');
89
90
  var cloneObjectWithOverrides = require('./cloneObjectWithOverrides/cloneObjectWithOverrides.cjs');
90
91
  var get = require('./get/get.cjs');
91
92
  var hexToString = require('./hexToString/hexToString.cjs');
@@ -217,6 +218,7 @@ exports.uint8ArrayFromBase64 = uint8ArrayToBase64.uint8ArrayFromBase64;
217
218
  exports.uint8ArrayToBase64 = uint8ArrayToBase64.uint8ArrayToBase64;
218
219
  exports.assertDefined = assertDefined.assertDefined;
219
220
  exports.filterDuplicates = filterDuplicates.filterDuplicates;
221
+ exports.walletReturnRoute = walletReturnRoute.walletReturnRoute;
220
222
  exports.cloneObjectWithOverrides = cloneObjectWithOverrides.cloneObjectWithOverrides;
221
223
  exports.get = get.get;
222
224
  exports.hexToString = hexToString.hexToString;
package/src/index.d.ts CHANGED
@@ -29,6 +29,7 @@ export * from './encryption';
29
29
  export * from './uint8ArrayToBase64';
30
30
  export * from './assertDefined';
31
31
  export * from './filterDuplicates';
32
+ export * from './walletReturnRoute';
32
33
  export { cloneObjectWithOverrides } from './cloneObjectWithOverrides';
33
34
  export { get } from './get';
34
35
  export { hexToString } from './hexToString';
package/src/index.js CHANGED
@@ -82,6 +82,7 @@ export { CryptoNotAvailableError, assertCryptoSubtleAvailable, isCryptoSubtleAva
82
82
  export { uint8ArrayFromBase64, uint8ArrayToBase64 } from './uint8ArrayToBase64/uint8ArrayToBase64.js';
83
83
  export { assertDefined } from './assertDefined/assertDefined.js';
84
84
  export { filterDuplicates } from './filterDuplicates/filterDuplicates.js';
85
+ export { walletReturnRoute } from './walletReturnRoute/walletReturnRoute.js';
85
86
  export { cloneObjectWithOverrides } from './cloneObjectWithOverrides/cloneObjectWithOverrides.js';
86
87
  export { get } from './get/get.js';
87
88
  export { hexToString } from './hexToString/hexToString.js';
@@ -0,0 +1 @@
1
+ export { walletReturnRoute } from './walletReturnRoute';
@@ -0,0 +1,41 @@
1
+ 'use client'
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, '__esModule', { value: true });
5
+
6
+ var StorageService = require('../services/StorageService/StorageService.cjs');
7
+ require('../logger/logger.cjs');
8
+
9
+ const WALLET_RETURN_ROUTE_KEY = 'dynamic-wallet-return-route';
10
+ /**
11
+ * Utility for storing and retrieving the route to return to after
12
+ * a wallet deep link operation completes.
13
+ */
14
+ const walletReturnRoute = {
15
+ /**
16
+ * Clear any stored return route without retrieving it.
17
+ */
18
+ clear: () => {
19
+ StorageService.StorageService.removeItem(WALLET_RETURN_ROUTE_KEY);
20
+ },
21
+ /**
22
+ * Get and clear the stored return route.
23
+ * Returns undefined if no route was stored.
24
+ */
25
+ getAndClear: () => {
26
+ const route = StorageService.StorageService.getItem(WALLET_RETURN_ROUTE_KEY);
27
+ if (route) {
28
+ StorageService.StorageService.removeItem(WALLET_RETURN_ROUTE_KEY);
29
+ }
30
+ return route !== null && route !== void 0 ? route : undefined;
31
+ },
32
+ /**
33
+ * Store the current route before opening a wallet deep link.
34
+ * This will be retrieved when the app returns from the wallet.
35
+ */
36
+ set: (route) => {
37
+ StorageService.StorageService.setItem(WALLET_RETURN_ROUTE_KEY, route);
38
+ },
39
+ };
40
+
41
+ exports.walletReturnRoute = walletReturnRoute;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Utility for storing and retrieving the route to return to after
3
+ * a wallet deep link operation completes.
4
+ */
5
+ export declare const walletReturnRoute: {
6
+ /**
7
+ * Clear any stored return route without retrieving it.
8
+ */
9
+ clear: () => void;
10
+ /**
11
+ * Get and clear the stored return route.
12
+ * Returns undefined if no route was stored.
13
+ */
14
+ getAndClear: () => string | undefined;
15
+ /**
16
+ * Store the current route before opening a wallet deep link.
17
+ * This will be retrieved when the app returns from the wallet.
18
+ */
19
+ set: (route: string) => void;
20
+ };
@@ -0,0 +1,37 @@
1
+ 'use client'
2
+ import { StorageService } from '../services/StorageService/StorageService.js';
3
+ import '../logger/logger.js';
4
+
5
+ const WALLET_RETURN_ROUTE_KEY = 'dynamic-wallet-return-route';
6
+ /**
7
+ * Utility for storing and retrieving the route to return to after
8
+ * a wallet deep link operation completes.
9
+ */
10
+ const walletReturnRoute = {
11
+ /**
12
+ * Clear any stored return route without retrieving it.
13
+ */
14
+ clear: () => {
15
+ StorageService.removeItem(WALLET_RETURN_ROUTE_KEY);
16
+ },
17
+ /**
18
+ * Get and clear the stored return route.
19
+ * Returns undefined if no route was stored.
20
+ */
21
+ getAndClear: () => {
22
+ const route = StorageService.getItem(WALLET_RETURN_ROUTE_KEY);
23
+ if (route) {
24
+ StorageService.removeItem(WALLET_RETURN_ROUTE_KEY);
25
+ }
26
+ return route !== null && route !== void 0 ? route : undefined;
27
+ },
28
+ /**
29
+ * Store the current route before opening a wallet deep link.
30
+ * This will be retrieved when the app returns from the wallet.
31
+ */
32
+ set: (route) => {
33
+ StorageService.setItem(WALLET_RETURN_ROUTE_KEY, route);
34
+ },
35
+ };
36
+
37
+ export { walletReturnRoute };