@tonappchain/sdk 0.7.0-rc24-test-12 → 0.7.0-rc24-test-14
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.
|
@@ -56,7 +56,9 @@ class TACTransactionManager {
|
|
|
56
56
|
}
|
|
57
57
|
// Approve all assets
|
|
58
58
|
const crossChainLayerAddress = await this.config.TACParams.crossChainLayer.getAddress();
|
|
59
|
-
|
|
59
|
+
for (const asset of assets) {
|
|
60
|
+
await this.approveAsset(asset, signer, crossChainLayerAddress);
|
|
61
|
+
}
|
|
60
62
|
const protocolFee = await this.config.TACParams.crossChainLayer.getProtocolFee();
|
|
61
63
|
const shardsKey = BigInt(Math.round(Math.random() * 1e18));
|
|
62
64
|
this.logger.debug(`Shards key: ${shardsKey}, Protocol fee: ${protocolFee}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tonappchain/sdk",
|
|
3
|
-
"version": "0.7.0-rc24-test-
|
|
3
|
+
"version": "0.7.0-rc24-test-14",
|
|
4
4
|
"repository": "https://github.com/TacBuild/tac-sdk.git",
|
|
5
5
|
"author": "TAC. <developers@tac>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -77,7 +77,8 @@
|
|
|
77
77
|
"cli-table3": "^0.6.5",
|
|
78
78
|
"dotenv": "^16.4.7",
|
|
79
79
|
"ethers": "^6.13.5",
|
|
80
|
-
"ton-crypto": "^3.2.0"
|
|
80
|
+
"ton-crypto": "^3.2.0",
|
|
81
|
+
"yarn": "^1.22.22"
|
|
81
82
|
},
|
|
82
83
|
"keywords": [],
|
|
83
84
|
"description": "",
|