@tonappchain/sdk 0.5.4 → 0.5.6

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # TAC-SDK
1
+ # TAC SDK
2
2
 
3
3
  [![Version npm](https://img.shields.io/npm/v/@tonappchain/sdk.svg?logo=npm)](https://www.npmjs.com/package/@tonappchain/sdk)
4
4
 
@@ -982,12 +982,12 @@ Provides detailed information about any notes or errors encountered during opera
982
982
 
983
983
  ```typescript
984
984
  export enum StageName {
985
- COLLECTED_IN_TAC = 'COLLECTED_IN_TAC',
986
- INCLUDED_IN_TAC_CONSENSUS = 'INCLUDED_IN_TAC_CONSENSUS',
987
- EXECUTED_IN_TAC = 'EXECUTED_IN_TAC',
988
- COLLECTED_IN_TON = 'COLLECTED_IN_TON',
989
- INCLUDED_IN_TON_CONSENSUS = 'INCLUDED_IN_TON_CONSENSUS',
990
- EXECUTED_IN_TON = 'EXECUTED_IN_TON',
985
+ COLLECTED_IN_TAC = 'collectedInTAC',
986
+ INCLUDED_IN_TAC_CONSENSUS = 'includedInTACConsensus',
987
+ EXECUTED_IN_TAC = 'executedInTAC',
988
+ COLLECTED_IN_TON = 'collectedInTON',
989
+ INCLUDED_IN_TON_CONSENSUS = 'includedInTONConsensus',
990
+ EXECUTED_IN_TON = 'executedInTON',
991
991
  }
992
992
  ```
993
993
 
@@ -1082,12 +1082,12 @@ export type ExecutionStages = {
1082
1082
 
1083
1083
  Represents the profiling data for all execution stages within an operation.
1084
1084
  - **`operationType`**.
1085
- - **`COLLECTED_IN_TAC`**.
1086
- - **`INCLUDED_IN_TAC_CONSENSUS`**.
1087
- - **`EXECUTED_IN_TAC`**.
1088
- - **`COLLECTED_IN_TON`**.
1089
- - **`INCLUDED_IN_TON_CONSENSUS`**.
1090
- - **`EXECUTED_IN_TON`**.
1085
+ - **`collectedInTAC`**.
1086
+ - **`includedInTACConsensus`**.
1087
+ - **`executedInTAC`**.
1088
+ - **`collectedInTON`**.
1089
+ - **`includedInTONConsensus`**.
1090
+ - **`executedInTON`**.
1091
1091
 
1092
1092
 
1093
1093
  ### `ExecutionStagesByOperationId`
@@ -11,6 +11,7 @@ class JettonMaster {
11
11
  const data = (0, ton_1.beginCell)()
12
12
  .storeCoins(0)
13
13
  .storeAddress(config.crossChainLayerAddress)
14
+ .storeAddress(null)
14
15
  .storeRef((0, ton_1.beginCell)().endCell())
15
16
  .storeRef(config.walletCode)
16
17
  .storeStringTail(config.evmTokenAddress)
@@ -61,7 +61,7 @@ class JettonWallet {
61
61
  .storeAddress(ton_1.Address.parse(to))
62
62
  .storeAddress(responseAddress ? ton_1.Address.parse(responseAddress) : null)
63
63
  .storeMaybeRef(null)
64
- .storeCoins(forwardTonAmount || 0n)
64
+ .storeCoins((forwardTonAmount || 0n) + (crossChainTonAmount || 0n))
65
65
  .storeCoins(crossChainTonAmount ?? 0n)
66
66
  .storeMaybeRef(crossChainPayload)
67
67
  .endCell();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tonappchain/sdk",
3
- "version": "0.5.4",
3
+ "version": "0.5.6",
4
4
  "repository": "https://github.com/TacBuild/tac-sdk.git",
5
5
  "author": "TAC. <developers@tac>",
6
6
  "license": "MIT",