@dynamic-labs/sui-core 5.11.0 → 5.12.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 +18 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +10 -9
- package/src/wallet/SuiWallet.cjs +5 -1
- package/src/wallet/SuiWallet.d.ts +4 -1
- package/src/wallet/SuiWallet.js +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,22 @@
|
|
|
1
1
|
|
|
2
|
+
### [5.12.1](https://github.com/dynamic-labs/dynamic-auth/compare/v5.12.0...v5.12.1) (2026-10-20)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* rabby not using native rabby:// scheme when redirecting on android devices [main] ([#12541](https://github.com/dynamic-labs/dynamic-auth/issues/12541)) ([923a372](https://github.com/dynamic-labs/dynamic-auth/commit/923a3724eae5e82ef896de78641320b7320933df))
|
|
8
|
+
* **sui,ton:** sign serialized Sui txs without parsing; native TON balance for jetton sends ([#12503](https://github.com/dynamic-labs/dynamic-auth/issues/12503)) ([6a5bfd6](https://github.com/dynamic-labs/dynamic-auth/commit/6a5bfd6bd0118b8ed7ce079159c10ac47cade337))
|
|
9
|
+
|
|
10
|
+
## [5.12.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.11.0...v5.12.0) (2026-10-16)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **embedded-wallet-solana:** add getSolanaSponsorAddress ([#12517](https://github.com/dynamic-labs/dynamic-auth/issues/12517)) ([b95c550](https://github.com/dynamic-labs/dynamic-auth/commit/b95c550e3dab783b7ff0b019051a17b22ea44f97))
|
|
16
|
+
* **embedded-wallet:** show chain and wallet in private key export modal ([#12507](https://github.com/dynamic-labs/dynamic-auth/issues/12507)) ([4bfb6d6](https://github.com/dynamic-labs/dynamic-auth/commit/4bfb6d6168aac3f800792fde933e0597f288058f))
|
|
17
|
+
* **sdk-react-core:** send OTP purpose from step-up flows ([#12511](https://github.com/dynamic-labs/dynamic-auth/issues/12511)) ([0d2d8a3](https://github.com/dynamic-labs/dynamic-auth/commit/0d2d8a31058b3e75c71af7a34f459e2a3ddf383b)), closes [#12898](https://github.com/dynamic-labs/dynamic-auth/issues/12898) [#816](https://github.com/dynamic-labs/dynamic-auth/issues/816) [#203](https://github.com/dynamic-labs/dynamic-auth/issues/203) [#12512](https://github.com/dynamic-labs/dynamic-auth/issues/12512)
|
|
18
|
+
* **wallet-connect:** back WalletConnect storage with native secure storage on mobile ([#12515](https://github.com/dynamic-labs/dynamic-auth/issues/12515)) ([7b57903](https://github.com/dynamic-labs/dynamic-auth/commit/7b5790325fce707d73d591483a0130b960ed055c))
|
|
19
|
+
|
|
2
20
|
## [5.11.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.10.0...v5.11.0) (2026-10-14)
|
|
3
21
|
|
|
4
22
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/sui-core",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.12.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,17 +18,18 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@dynamic-labs/
|
|
22
|
-
"@dynamic-labs/
|
|
21
|
+
"@dynamic-labs-wallet/core": "1.1.43",
|
|
22
|
+
"@dynamic-labs/sdk-api-core": "0.104.0",
|
|
23
|
+
"@dynamic-labs/utils": "5.12.1",
|
|
23
24
|
"@mysten/wallet-standard": "0.19.9",
|
|
24
25
|
"@mysten/sui": "1.45.2",
|
|
25
26
|
"text-encoding": "0.7.0",
|
|
26
|
-
"@dynamic-labs/assert-package-version": "5.
|
|
27
|
-
"@dynamic-labs/logger": "5.
|
|
28
|
-
"@dynamic-labs/rpc-providers": "5.
|
|
29
|
-
"@dynamic-labs/types": "5.
|
|
30
|
-
"@dynamic-labs/wallet-book": "5.
|
|
31
|
-
"@dynamic-labs/wallet-connector-core": "5.
|
|
27
|
+
"@dynamic-labs/assert-package-version": "5.12.1",
|
|
28
|
+
"@dynamic-labs/logger": "5.12.1",
|
|
29
|
+
"@dynamic-labs/rpc-providers": "5.12.1",
|
|
30
|
+
"@dynamic-labs/types": "5.12.1",
|
|
31
|
+
"@dynamic-labs/wallet-book": "5.12.1",
|
|
32
|
+
"@dynamic-labs/wallet-connector-core": "5.12.1"
|
|
32
33
|
},
|
|
33
34
|
"peerDependencies": {}
|
|
34
35
|
}
|
package/src/wallet/SuiWallet.cjs
CHANGED
|
@@ -97,7 +97,11 @@ class SuiWallet extends walletConnectorCore.Wallet {
|
|
|
97
97
|
* @param tx - The [Transaction] to sign.
|
|
98
98
|
* @returns The signature of the signed transaction.
|
|
99
99
|
*/
|
|
100
|
-
signTransaction(transaction
|
|
100
|
+
signTransaction(transaction,
|
|
101
|
+
// Wallet-standard connectors have no approvalQuorum channel; only
|
|
102
|
+
// connectors that override this method (e.g. WaaS) consume it.
|
|
103
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
104
|
+
_options) {
|
|
101
105
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
102
106
|
yield this._connector.connect();
|
|
103
107
|
const signedTransaction = yield this._connector.signTransactionFeature({
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ApprovalQuorumRequestContext } from '@dynamic-labs-wallet/core';
|
|
1
2
|
import { Transaction } from '@mysten/sui/transactions';
|
|
2
3
|
import { SuiClient } from '@mysten/sui/client';
|
|
3
4
|
import { SuiSignAndExecuteTransactionBlockOutput, SuiSignAndExecuteTransactionOutput, WalletAccount } from '@mysten/wallet-standard';
|
|
@@ -36,7 +37,9 @@ export declare class SuiWallet extends Wallet<SuiWalletConnector> {
|
|
|
36
37
|
* @param tx - The [Transaction] to sign.
|
|
37
38
|
* @returns The signature of the signed transaction.
|
|
38
39
|
*/
|
|
39
|
-
signTransaction(transaction: Transaction
|
|
40
|
+
signTransaction(transaction: Transaction, _options?: {
|
|
41
|
+
approvalQuorum?: ApprovalQuorumRequestContext;
|
|
42
|
+
}): Promise<{
|
|
40
43
|
signature: string;
|
|
41
44
|
bytes: string;
|
|
42
45
|
}>;
|
package/src/wallet/SuiWallet.js
CHANGED
|
@@ -93,7 +93,11 @@ class SuiWallet extends Wallet {
|
|
|
93
93
|
* @param tx - The [Transaction] to sign.
|
|
94
94
|
* @returns The signature of the signed transaction.
|
|
95
95
|
*/
|
|
96
|
-
signTransaction(transaction
|
|
96
|
+
signTransaction(transaction,
|
|
97
|
+
// Wallet-standard connectors have no approvalQuorum channel; only
|
|
98
|
+
// connectors that override this method (e.g. WaaS) consume it.
|
|
99
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
100
|
+
_options) {
|
|
97
101
|
return __awaiter(this, void 0, void 0, function* () {
|
|
98
102
|
yield this._connector.connect();
|
|
99
103
|
const signedTransaction = yield this._connector.signTransactionFeature({
|