@vultisig/core-chain 2.3.2 → 2.4.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,5 +1,25 @@
|
|
|
1
1
|
# @vultisig/core-chain
|
|
2
2
|
|
|
3
|
+
## 2.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#582](https://github.com/vultisig/vultisig-sdk/pull/582) [`47860fc`](https://github.com/vultisig/vultisig-sdk/commit/47860fcc6a1fa3600c20b529d29af98d56cbc5b4) Thanks [@gomesalexandre](https://github.com/gomesalexandre)! - ## Changed
|
|
8
|
+
- Lower THORChain streaming-quote trigger threshold from 300 bps (3%) to 100 bps (1%) - more mid-size cross-chain trades now compare a streaming quote against the rapid quote and pick the better expected_amount_out. ([#470](https://github.com/vultisig/vultisig-sdk/issues/470))
|
|
9
|
+
|
|
10
|
+
## 2.4.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- [#583](https://github.com/vultisig/vultisig-sdk/pull/583) [`f2270cd`](https://github.com/vultisig/vultisig-sdk/commit/f2270cd6aaa741d6800bd2d21e9775092be25d31) Thanks [@gomesalexandre](https://github.com/gomesalexandre)! - ## New
|
|
15
|
+
- Polkadot Asset Hub USDT (asset_id 1984) + USDC (asset_id 1337) token registry ([#562](https://github.com/vultisig/vultisig-sdk/issues/562))
|
|
16
|
+
- Polkadot `pallet_assets.Account` balance resolver for Asset Hub tokens - replaces placeholder 0n guard ([#563](https://github.com/vultisig/vultisig-sdk/issues/563))
|
|
17
|
+
- Tron native send `data` field (proto field 12) for THORChain memos + exchange deposit memos; `BuildTronSendOptions` and `BuildTrc20TransferOptions` gain optional `data?: Uint8Array` field ([#559](https://github.com/vultisig/vultisig-sdk/issues/559))
|
|
18
|
+
|
|
19
|
+
## Fixed
|
|
20
|
+
- Tron TRC-20 fee estimate now subtracts sender's available energy before charging TRX ([#556](https://github.com/vultisig/vultisig-sdk/issues/556))
|
|
21
|
+
- Tron native send free bandwidth check prevents spurious fee charge when bandwidth is available ([#555](https://github.com/vultisig/vultisig-sdk/issues/555))
|
|
22
|
+
|
|
3
23
|
## 2.3.2
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -6,7 +6,7 @@ export declare const nativeSwapStreamingInterval: Record<NativeSwapChain, number
|
|
|
6
6
|
* THORChain-only: when a rapid quote's `fees.total_bps` exceeds this, fetch a streaming quote and pick the better outcome.
|
|
7
7
|
* Set to `Number.MAX_SAFE_INTEGER` to disable streaming fallback without removing code.
|
|
8
8
|
*/
|
|
9
|
-
export declare const THORCHAIN_STREAMING_SLIPPAGE_THRESHOLD_BPS =
|
|
9
|
+
export declare const THORCHAIN_STREAMING_SLIPPAGE_THRESHOLD_BPS = 100;
|
|
10
10
|
export declare const nativeSwapApiBaseUrl: Record<NativeSwapChain, string>;
|
|
11
11
|
export declare const nativeSwapEnabledChainsRecord: {
|
|
12
12
|
readonly THORChain: readonly ["Avalanche", import("@vultisig/core-chain/Chain").UtxoChain.BitcoinCash, "BSC", import("@vultisig/core-chain/Chain").UtxoChain.Bitcoin, import("@vultisig/core-chain/Chain").UtxoChain.Dogecoin, "Ethereum", "Cosmos", import("@vultisig/core-chain/Chain").UtxoChain.Litecoin, "THORChain", import("@vultisig/core-chain/Chain").OtherChain.Ripple, "Base", import("@vultisig/core-chain/Chain").OtherChain.Solana, import("@vultisig/core-chain/Chain").OtherChain.Tron, "Noble"];
|
|
@@ -11,7 +11,7 @@ export const nativeSwapStreamingInterval = {
|
|
|
11
11
|
* THORChain-only: when a rapid quote's `fees.total_bps` exceeds this, fetch a streaming quote and pick the better outcome.
|
|
12
12
|
* Set to `Number.MAX_SAFE_INTEGER` to disable streaming fallback without removing code.
|
|
13
13
|
*/
|
|
14
|
-
export const THORCHAIN_STREAMING_SLIPPAGE_THRESHOLD_BPS =
|
|
14
|
+
export const THORCHAIN_STREAMING_SLIPPAGE_THRESHOLD_BPS = 100;
|
|
15
15
|
export const nativeSwapApiBaseUrl = {
|
|
16
16
|
[Chain.THORChain]: `${cosmosRpcUrl[Chain.THORChain]}/thorchain`,
|
|
17
17
|
[Chain.MayaChain]: `${cosmosRpcUrl[Chain.MayaChain]}/mayachain`,
|