@dynamic-labs/solana 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 +31 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +13 -13
- package/src/walletConnect/SolanaWalletConnectConnector/SolanaWalletConnectConnector.cjs +5 -1
- package/src/walletConnect/SolanaWalletConnectConnector/SolanaWalletConnectConnector.d.ts +1 -0
- package/src/walletConnect/SolanaWalletConnectConnector/SolanaWalletConnectConnector.js +6 -2
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
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/solana",
|
|
3
|
-
"version": "4.
|
|
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,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@dynamic-labs/wallet-connect": "4.
|
|
21
|
+
"@dynamic-labs/wallet-connect": "4.63.1",
|
|
22
22
|
"@solana/web3.js": "1.98.1",
|
|
23
23
|
"@wallet-standard/app": "1.0.1",
|
|
24
24
|
"@wallet-standard/base": "1.0.1",
|
|
@@ -29,17 +29,17 @@
|
|
|
29
29
|
"@walletconnect/sign-client": "2.21.5",
|
|
30
30
|
"@walletconnect/utils": "2.21.5",
|
|
31
31
|
"@walletconnect/types": "2.21.5",
|
|
32
|
-
"@dynamic-labs/assert-package-version": "4.
|
|
33
|
-
"@dynamic-labs/embedded-wallet-solana": "4.
|
|
34
|
-
"@dynamic-labs/logger": "4.
|
|
35
|
-
"@dynamic-labs/rpc-providers": "4.
|
|
36
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
37
|
-
"@dynamic-labs/solana-core": "4.
|
|
38
|
-
"@dynamic-labs/types": "4.
|
|
39
|
-
"@dynamic-labs/utils": "4.
|
|
40
|
-
"@dynamic-labs/waas-svm": "4.
|
|
41
|
-
"@dynamic-labs/wallet-book": "4.
|
|
42
|
-
"@dynamic-labs/wallet-connector-core": "4.
|
|
32
|
+
"@dynamic-labs/assert-package-version": "4.63.1",
|
|
33
|
+
"@dynamic-labs/embedded-wallet-solana": "4.63.1",
|
|
34
|
+
"@dynamic-labs/logger": "4.63.1",
|
|
35
|
+
"@dynamic-labs/rpc-providers": "4.63.1",
|
|
36
|
+
"@dynamic-labs/sdk-api-core": "0.0.875",
|
|
37
|
+
"@dynamic-labs/solana-core": "4.63.1",
|
|
38
|
+
"@dynamic-labs/types": "4.63.1",
|
|
39
|
+
"@dynamic-labs/utils": "4.63.1",
|
|
40
|
+
"@dynamic-labs/waas-svm": "4.63.1",
|
|
41
|
+
"@dynamic-labs/wallet-book": "4.63.1",
|
|
42
|
+
"@dynamic-labs/wallet-connector-core": "4.63.1",
|
|
43
43
|
"eventemitter3": "5.0.1"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {}
|
|
@@ -161,6 +161,7 @@ class SolanaWalletConnectConnector extends solanaCore.SolanaWalletConnector {
|
|
|
161
161
|
appIcon: (_a = args.appLogoUrl) !== null && _a !== void 0 ? _a : '',
|
|
162
162
|
appName: (_b = args.appName) !== null && _b !== void 0 ? _b : '',
|
|
163
163
|
projectId: args.projectId,
|
|
164
|
+
redirectUrl: args.redirectUrl,
|
|
164
165
|
});
|
|
165
166
|
SolanaWalletConnectConnector.signClientReference =
|
|
166
167
|
yield SolanaWalletConnectConnector.signClientPromise;
|
|
@@ -270,7 +271,7 @@ class SolanaWalletConnectConnector extends solanaCore.SolanaWalletConnector {
|
|
|
270
271
|
yield walletConnectorCore.performPlatformSpecificConnectionMethod(this.connectionUri, this.metadata.deepLinks, {
|
|
271
272
|
onDesktopUri: connectionOpts === null || connectionOpts === void 0 ? void 0 : connectionOpts.onDesktopUri,
|
|
272
273
|
onDisplayUri: connectionOpts === null || connectionOpts === void 0 ? void 0 : connectionOpts.onDisplayUri,
|
|
273
|
-
}, this.deepLinkPreference);
|
|
274
|
+
}, this.deepLinkPreference, this.constructorProps.redirectUrl);
|
|
274
275
|
});
|
|
275
276
|
}
|
|
276
277
|
getAddress(opts) {
|
|
@@ -380,6 +381,9 @@ class SolanaWalletConnectConnector extends solanaCore.SolanaWalletConnector {
|
|
|
380
381
|
if (utils.isMobile() &&
|
|
381
382
|
deepLink &&
|
|
382
383
|
methodsThatRequireDeepLink.includes(params.method)) {
|
|
384
|
+
// Store current route before opening wallet so we can emit an event on return
|
|
385
|
+
const currentUrl = utils.PlatformService.getUrl();
|
|
386
|
+
utils.walletReturnRoute.set(currentUrl.pathname);
|
|
383
387
|
utils.PlatformService.openURL(deepLink);
|
|
384
388
|
}
|
|
385
389
|
}
|
|
@@ -5,7 +5,7 @@ import { SDK_ERRORS } from '@walletconnect/utils';
|
|
|
5
5
|
import bs58 from 'bs58';
|
|
6
6
|
import EventEmitter from 'eventemitter3';
|
|
7
7
|
import { SolanaWalletConnector, SolanaUiTransaction, isVersionedTransaction, isTxAlreadySigned } from '@dynamic-labs/solana-core';
|
|
8
|
-
import { StorageService, DynamicError, filterDuplicates, isMobile, PlatformService, bufferToBase64 } from '@dynamic-labs/utils';
|
|
8
|
+
import { StorageService, DynamicError, filterDuplicates, isMobile, PlatformService, walletReturnRoute, bufferToBase64 } from '@dynamic-labs/utils';
|
|
9
9
|
import { getSignClientSingleton } from '@dynamic-labs/wallet-connect';
|
|
10
10
|
import { getDeepLink, performPlatformSpecificConnectionMethod, isSameAddress } from '@dynamic-labs/wallet-connector-core';
|
|
11
11
|
import { logger } from '../../utils/logger.js';
|
|
@@ -152,6 +152,7 @@ class SolanaWalletConnectConnector extends SolanaWalletConnector {
|
|
|
152
152
|
appIcon: (_a = args.appLogoUrl) !== null && _a !== void 0 ? _a : '',
|
|
153
153
|
appName: (_b = args.appName) !== null && _b !== void 0 ? _b : '',
|
|
154
154
|
projectId: args.projectId,
|
|
155
|
+
redirectUrl: args.redirectUrl,
|
|
155
156
|
});
|
|
156
157
|
SolanaWalletConnectConnector.signClientReference =
|
|
157
158
|
yield SolanaWalletConnectConnector.signClientPromise;
|
|
@@ -261,7 +262,7 @@ class SolanaWalletConnectConnector extends SolanaWalletConnector {
|
|
|
261
262
|
yield performPlatformSpecificConnectionMethod(this.connectionUri, this.metadata.deepLinks, {
|
|
262
263
|
onDesktopUri: connectionOpts === null || connectionOpts === void 0 ? void 0 : connectionOpts.onDesktopUri,
|
|
263
264
|
onDisplayUri: connectionOpts === null || connectionOpts === void 0 ? void 0 : connectionOpts.onDisplayUri,
|
|
264
|
-
}, this.deepLinkPreference);
|
|
265
|
+
}, this.deepLinkPreference, this.constructorProps.redirectUrl);
|
|
265
266
|
});
|
|
266
267
|
}
|
|
267
268
|
getAddress(opts) {
|
|
@@ -371,6 +372,9 @@ class SolanaWalletConnectConnector extends SolanaWalletConnector {
|
|
|
371
372
|
if (isMobile() &&
|
|
372
373
|
deepLink &&
|
|
373
374
|
methodsThatRequireDeepLink.includes(params.method)) {
|
|
375
|
+
// Store current route before opening wallet so we can emit an event on return
|
|
376
|
+
const currentUrl = PlatformService.getUrl();
|
|
377
|
+
walletReturnRoute.set(currentUrl.pathname);
|
|
374
378
|
PlatformService.openURL(deepLink);
|
|
375
379
|
}
|
|
376
380
|
}
|