@dynamic-labs/ton 5.12.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 CHANGED
@@ -1,4 +1,12 @@
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
+
2
10
  ## [5.12.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.11.0...v5.12.0) (2026-10-16)
3
11
 
4
12
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "5.12.0";
6
+ var version = "5.12.1";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "5.12.0";
2
+ var version = "5.12.1";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/ton",
3
- "version": "5.12.0",
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",
@@ -20,14 +20,14 @@
20
20
  "dependencies": {
21
21
  "@dynamic-labs-wallet/core": "1.1.43",
22
22
  "@dynamic-labs-sdk/client": "1.41.0",
23
- "@dynamic-labs/assert-package-version": "5.12.0",
24
- "@dynamic-labs/logger": "5.12.0",
23
+ "@dynamic-labs/assert-package-version": "5.12.1",
24
+ "@dynamic-labs/logger": "5.12.1",
25
25
  "@dynamic-labs/sdk-api-core": "0.104.0",
26
- "@dynamic-labs/types": "5.12.0",
27
- "@dynamic-labs/utils": "5.12.0",
28
- "@dynamic-labs/waas": "5.12.0",
29
- "@dynamic-labs/wallet-book": "5.12.0",
30
- "@dynamic-labs/wallet-connector-core": "5.12.0",
26
+ "@dynamic-labs/types": "5.12.1",
27
+ "@dynamic-labs/utils": "5.12.1",
28
+ "@dynamic-labs/waas": "5.12.1",
29
+ "@dynamic-labs/wallet-book": "5.12.1",
30
+ "@dynamic-labs/wallet-connector-core": "5.12.1",
31
31
  "@ton/core": "0.62.0",
32
32
  "@ton/crypto": "3.3.0",
33
33
  "@ton/ton": "16.0.0",
@@ -107,15 +107,13 @@ class TonUiTransaction {
107
107
  });
108
108
  }
109
109
  /**
110
- * Get the balance for the from address
110
+ * Get the balance for the from address. Always returns the native TON
111
+ * balance — fees are paid in TON even for jetton transfers, and the
112
+ * confirmation screen compares this against the fee estimate.
111
113
  */
112
114
  getBalance() {
113
115
  return _tslib.__awaiter(this, void 0, void 0, function* () {
114
116
  try {
115
- if (this.nonNativeAddress) {
116
- walletConnectorCore.logger.debug('Jetton balance fetching not yet implemented');
117
- return BigInt(0);
118
- }
119
117
  const address = ton.Address.parse(this.from);
120
118
  const balance = yield this.client.getBalance(address);
121
119
  return balance;
@@ -57,7 +57,9 @@ export declare class TonUiTransaction implements IUITransaction {
57
57
  */
58
58
  submit(): Promise<string>;
59
59
  /**
60
- * Get the balance for the from address
60
+ * Get the balance for the from address. Always returns the native TON
61
+ * balance — fees are paid in TON even for jetton transfers, and the
62
+ * confirmation screen compares this against the fee estimate.
61
63
  */
62
64
  getBalance(): Promise<bigint>;
63
65
  /**
@@ -103,15 +103,13 @@ class TonUiTransaction {
103
103
  });
104
104
  }
105
105
  /**
106
- * Get the balance for the from address
106
+ * Get the balance for the from address. Always returns the native TON
107
+ * balance — fees are paid in TON even for jetton transfers, and the
108
+ * confirmation screen compares this against the fee estimate.
107
109
  */
108
110
  getBalance() {
109
111
  return __awaiter(this, void 0, void 0, function* () {
110
112
  try {
111
- if (this.nonNativeAddress) {
112
- logger.debug('Jetton balance fetching not yet implemented');
113
- return BigInt(0);
114
- }
115
113
  const address = Address.parse(this.from);
116
114
  const balance = yield this.client.getBalance(address);
117
115
  return balance;