@dynamic-labs/tron 4.45.3 → 4.46.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,14 @@
1
1
 
2
+ ### [4.46.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.46.0...v4.46.1) (2025-11-20)
3
+
4
+ ## [4.46.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.45.3...v4.46.0) (2025-11-19)
5
+
6
+
7
+ ### Features
8
+
9
+ * **react-native:** add client.solana.simulateTransaction method ([#9910](https://github.com/dynamic-labs/dynamic-auth/issues/9910)) ([61bbe45](https://github.com/dynamic-labs/dynamic-auth/commit/61bbe453eeb2790dffc533aa57f6bc050c3c0461))
10
+ * **react-native:** add simulateEVMTransactionAA and simulateEVMTransaction methods ([#9907](https://github.com/dynamic-labs/dynamic-auth/issues/9907)) ([e54d63e](https://github.com/dynamic-labs/dynamic-auth/commit/e54d63eaa80c2bc865ef6199405b0ed7943d4b83))
11
+
2
12
  ### [4.45.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.45.2...v4.45.3) (2025-11-18)
3
13
 
4
14
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.45.3";
6
+ var version = "4.46.1";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.45.3";
2
+ var version = "4.46.1";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/tron",
3
- "version": "4.45.3",
3
+ "version": "4.46.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,14 +18,14 @@
18
18
  },
19
19
  "homepage": "https://www.dynamic.xyz/",
20
20
  "dependencies": {
21
- "@dynamic-labs/assert-package-version": "4.45.3",
21
+ "@dynamic-labs/assert-package-version": "4.46.1",
22
22
  "@tronweb3/tronwallet-abstract-adapter": "1.1.9",
23
23
  "@tronweb3/tronwallet-adapters": "1.2.14",
24
24
  "tronweb": "6.0.4",
25
- "@dynamic-labs/types": "4.45.3",
26
- "@dynamic-labs/utils": "4.45.3",
27
- "@dynamic-labs/wallet-book": "4.45.3",
28
- "@dynamic-labs/wallet-connector-core": "4.45.3"
25
+ "@dynamic-labs/types": "4.46.1",
26
+ "@dynamic-labs/utils": "4.46.1",
27
+ "@dynamic-labs/wallet-book": "4.46.1",
28
+ "@dynamic-labs/wallet-connector-core": "4.46.1"
29
29
  },
30
30
  "peerDependencies": {}
31
31
  }
@@ -102,16 +102,16 @@ const estimateTRC20Fees = (from, to, nonNativeAddress, nonNativeValue, tronWeb)
102
102
  // Convert TRX to SUN for return value (maintaining API compatibility)
103
103
  return BigInt(Math.ceil(energyEstimate.feeInTrx * TronUiTransaction.SUN_PER_TRX));
104
104
  }
105
- return BigInt(1000000); // ~1 TRX max (in SUN)
105
+ return BigInt(18000000); // ~18 TRX max (in SUN)
106
106
  }
107
107
  catch (contractError) {
108
108
  walletConnectorCore.logger.debug('TRC20 contract estimation failed, using conservative estimate:', contractError);
109
- return BigInt(1000000); // ~1 TRX max
109
+ return BigInt(18000000); // ~18 TRX max
110
110
  }
111
111
  }
112
112
  catch (error) {
113
113
  walletConnectorCore.logger.debug('TRC20 estimation failed, defaulting to conservative estimate:', error);
114
- return BigInt(1000000); // ~1 TRX max
114
+ return BigInt(18000000); // ~18 TRX max
115
115
  }
116
116
  });
117
117
  /**
@@ -138,12 +138,12 @@ const estimateTRXFees = (from, to, value, tronWeb) => _tslib.__awaiter(void 0, v
138
138
  }
139
139
  catch (txError) {
140
140
  walletConnectorCore.logger.debug('TRX transaction estimation failed, using conservative estimate:', txError);
141
- return BigInt(100000); // ~0.1 TRX max
141
+ return BigInt(18000000); // ~18 TRX max
142
142
  }
143
143
  }
144
144
  catch (error) {
145
145
  walletConnectorCore.logger.debug('TRX estimation failed, defaulting to conservative estimate:', error);
146
- return BigInt(100000); // ~0.1 TRX max
146
+ return BigInt(18000000); // ~18 TRX max
147
147
  }
148
148
  });
149
149
  /**
@@ -98,16 +98,16 @@ const estimateTRC20Fees = (from, to, nonNativeAddress, nonNativeValue, tronWeb)
98
98
  // Convert TRX to SUN for return value (maintaining API compatibility)
99
99
  return BigInt(Math.ceil(energyEstimate.feeInTrx * SUN_PER_TRX));
100
100
  }
101
- return BigInt(1000000); // ~1 TRX max (in SUN)
101
+ return BigInt(18000000); // ~18 TRX max (in SUN)
102
102
  }
103
103
  catch (contractError) {
104
104
  logger.debug('TRC20 contract estimation failed, using conservative estimate:', contractError);
105
- return BigInt(1000000); // ~1 TRX max
105
+ return BigInt(18000000); // ~18 TRX max
106
106
  }
107
107
  }
108
108
  catch (error) {
109
109
  logger.debug('TRC20 estimation failed, defaulting to conservative estimate:', error);
110
- return BigInt(1000000); // ~1 TRX max
110
+ return BigInt(18000000); // ~18 TRX max
111
111
  }
112
112
  });
113
113
  /**
@@ -134,12 +134,12 @@ const estimateTRXFees = (from, to, value, tronWeb) => __awaiter(void 0, void 0,
134
134
  }
135
135
  catch (txError) {
136
136
  logger.debug('TRX transaction estimation failed, using conservative estimate:', txError);
137
- return BigInt(100000); // ~0.1 TRX max
137
+ return BigInt(18000000); // ~18 TRX max
138
138
  }
139
139
  }
140
140
  catch (error) {
141
141
  logger.debug('TRX estimation failed, defaulting to conservative estimate:', error);
142
- return BigInt(100000); // ~0.1 TRX max
142
+ return BigInt(18000000); // ~18 TRX max
143
143
  }
144
144
  });
145
145
  /**