@dynamic-labs/sdk-react-core 5.9.4 → 5.9.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,15 @@
|
|
|
1
1
|
|
|
2
|
+
### [5.9.6](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.5...v5.9.6) (2026-10-06)
|
|
3
|
+
|
|
4
|
+
### [5.9.5](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.4...v5.9.5) (2026-10-06)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* **ton:** move encodeComment to base TonWalletConnector ([#12459](https://github.com/dynamic-labs/dynamic-auth/issues/12459)) ([647df5b](https://github.com/dynamic-labs/dynamic-auth/commit/647df5bc3986d59d89dbe31bbd3ebe1c4605ec40))
|
|
10
|
+
* **waas-svm:** apply overrideBlockhash before sponsorship ([#12319](https://github.com/dynamic-labs/dynamic-auth/issues/12319)) ([074ce3c](https://github.com/dynamic-labs/dynamic-auth/commit/074ce3c4ecfa080b683c84120fa7643e8fe064d4)), closes [#10599](https://github.com/dynamic-labs/dynamic-auth/issues/10599) [#10599](https://github.com/dynamic-labs/dynamic-auth/issues/10599) [#10599](https://github.com/dynamic-labs/dynamic-auth/issues/10599) [#10599](https://github.com/dynamic-labs/dynamic-auth/issues/10599)
|
|
11
|
+
* **wallet-book:** use phantom.com for Phantom in-app-browser links ([#12456](https://github.com/dynamic-labs/dynamic-auth/issues/12456)) ([e762553](https://github.com/dynamic-labs/dynamic-auth/commit/e7625534f8beda3e649f121e637451e2188faef6))
|
|
12
|
+
|
|
2
13
|
### [5.9.4](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.3...v5.9.4) (2026-10-02)
|
|
3
14
|
|
|
4
15
|
### [5.9.3](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.2...v5.9.3) (2026-10-02)
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/sdk-react-core",
|
|
3
|
-
"version": "5.9.
|
|
3
|
+
"version": "5.9.6",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@dynamic-labs/sdk-api-core": "0.70.0",
|
|
6
6
|
"@dynamic-labs-sdk/client": "1.37.0",
|
|
@@ -19,17 +19,17 @@
|
|
|
19
19
|
"react-i18next": "13.5.0",
|
|
20
20
|
"react-international-phone": "4.5.0",
|
|
21
21
|
"yup": "0.32.11",
|
|
22
|
-
"@dynamic-labs/assert-package-version": "5.9.
|
|
23
|
-
"@dynamic-labs/iconic": "5.9.
|
|
24
|
-
"@dynamic-labs/locale": "5.9.
|
|
25
|
-
"@dynamic-labs/logger": "5.9.
|
|
26
|
-
"@dynamic-labs/multi-wallet": "5.9.
|
|
27
|
-
"@dynamic-labs/rpc-providers": "5.9.
|
|
28
|
-
"@dynamic-labs/store": "5.9.
|
|
29
|
-
"@dynamic-labs/types": "5.9.
|
|
30
|
-
"@dynamic-labs/utils": "5.9.
|
|
31
|
-
"@dynamic-labs/wallet-book": "5.9.
|
|
32
|
-
"@dynamic-labs/wallet-connector-core": "5.9.
|
|
22
|
+
"@dynamic-labs/assert-package-version": "5.9.6",
|
|
23
|
+
"@dynamic-labs/iconic": "5.9.6",
|
|
24
|
+
"@dynamic-labs/locale": "5.9.6",
|
|
25
|
+
"@dynamic-labs/logger": "5.9.6",
|
|
26
|
+
"@dynamic-labs/multi-wallet": "5.9.6",
|
|
27
|
+
"@dynamic-labs/rpc-providers": "5.9.6",
|
|
28
|
+
"@dynamic-labs/store": "5.9.6",
|
|
29
|
+
"@dynamic-labs/types": "5.9.6",
|
|
30
|
+
"@dynamic-labs/utils": "5.9.6",
|
|
31
|
+
"@dynamic-labs/wallet-book": "5.9.6",
|
|
32
|
+
"@dynamic-labs/wallet-connector-core": "5.9.6",
|
|
33
33
|
"eventemitter3": "5.0.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
@@ -347,9 +347,14 @@ const TransactionConfirmationView = ({ transaction, onError, onSuccess, mutation
|
|
|
347
347
|
}
|
|
348
348
|
}, [activeConnector, transaction, update]);
|
|
349
349
|
React.useEffect(() => {
|
|
350
|
+
var _a;
|
|
350
351
|
// If SVM gas sponsorship is enabled in project settings, treat as sponsored
|
|
351
|
-
// before the fee payer is actually replaced (which happens at send time)
|
|
352
|
-
|
|
352
|
+
// before the fee payer is actually replaced (which happens at send time).
|
|
353
|
+
// A per-transaction sponsorship mode overrides the project default.
|
|
354
|
+
const sponsorshipMode = (_a = transaction.sponsorshipMode) !== null && _a !== void 0 ? _a : 'auto';
|
|
355
|
+
const treatAsSponsored = sponsorshipMode === 'required' ||
|
|
356
|
+
(sponsorshipMode === 'auto' && svmGasSponsorshipEnabled);
|
|
357
|
+
if (treatAsSponsored && (walletConnector === null || walletConnector === void 0 ? void 0 : walletConnector.connectedChain) === 'SOL') {
|
|
353
358
|
setIsGasSponsored(true);
|
|
354
359
|
return;
|
|
355
360
|
}
|
|
@@ -339,9 +339,14 @@ const TransactionConfirmationView = ({ transaction, onError, onSuccess, mutation
|
|
|
339
339
|
}
|
|
340
340
|
}, [activeConnector, transaction, update]);
|
|
341
341
|
useEffect(() => {
|
|
342
|
+
var _a;
|
|
342
343
|
// If SVM gas sponsorship is enabled in project settings, treat as sponsored
|
|
343
|
-
// before the fee payer is actually replaced (which happens at send time)
|
|
344
|
-
|
|
344
|
+
// before the fee payer is actually replaced (which happens at send time).
|
|
345
|
+
// A per-transaction sponsorship mode overrides the project default.
|
|
346
|
+
const sponsorshipMode = (_a = transaction.sponsorshipMode) !== null && _a !== void 0 ? _a : 'auto';
|
|
347
|
+
const treatAsSponsored = sponsorshipMode === 'required' ||
|
|
348
|
+
(sponsorshipMode === 'auto' && svmGasSponsorshipEnabled);
|
|
349
|
+
if (treatAsSponsored && (walletConnector === null || walletConnector === void 0 ? void 0 : walletConnector.connectedChain) === 'SOL') {
|
|
345
350
|
setIsGasSponsored(true);
|
|
346
351
|
return;
|
|
347
352
|
}
|