Releases: everx-labs/ever-sdk-js
Releases · everx-labs/ever-sdk-js
Version 0.25.4
0.25.4 - August 3, 2020
Fixed
Ability to use crypto module before setup
.
Version 0.25.3
0.25.3 - July 29, 2020
Fixed
- Fix test.
Version 0.25.2
0.25.2 - July 26, 2020
Fixed
- Error reporting in test suite on react-native testApp.
Version 0.25.1
0.25.1 - July 26, 2020
Bug fix
- TimeoutOverflowWarning: 2147488647 does not fit into a 32-bit signed integer was fixed
Version 0.25.0
New
- [improved]
sendMessage
now returns themessageProcessingState
- structure that includes the last shard block that was created before the message was sent. Specify this block in the newwaitForDeployTransaction
/waitForTransaction
method and wait for the transaction starting from it. - [new]
waitForDeployTransaction
/waitForRunTransaction
methods. Wait for the transaction of a previously sent message using new mechanism of sequential shard block reading. In case of network problems (e.g. if some shard start lagging) returns the updated message processing state with the last checked block. Use it to resume waiting later. - [improved]
processMessage
now takes newinfiniteWait
parameter - it allows to infinitely wait for the transaction even if there are some network problems (like shard lags). If set to false - also returns updatedmessageProcessingState
in case of network problems TONContractMessage
includes theaddress
field (equals to thedst
)- Support for core contexts.
- Test suite have been refactored and can be easily adopted to run on several JS targets.
networkTimeout
configuration parameter added for retrying GraphQL requests in case of network errors. Default value is0
which means infinite retries until the network connection will be succeeded.- New message processing tracing. Client starts root processing span with
traceId
andspanId
calculated from messageId. Other components can report child span without passing parent context through pipeline. messageProcessingTimeoutGrowFactor
field removed from config since it's not used- graphql queries can be forcible aborted on a timeout in case of a half-open TCP connection,
Version 0.24.0
0.24.0 - Jun 3, 2020
New
- Detailed errors produced by core library.
- Optional parameter
fullRun
forrunLocal
method allows to emulate an execution on a real node with all required checks and fees calculations. - Optional parameter
account
forrunLocal
method allows to provide the specified account data instead of loading them from a blockchain. - Optional result field
account
forrunLocal
andrunMessageLocal
methods returns state of an account after contract execution has finished. Presented only when thefullRun
parameter has specified. - Method
runMessageLocal
as a replacement for theprocessRunMessageLocal
withfullRun
andaccount
parameters. 1003
error on contract run is replaced with more specific1010
-1012
errors
Version 0.23.2
0.23.2 - May 25, 2020
New
- Detailed errors instead of 1006.
- Babel runtime dependency has returned.
Version 0.23.1
0.23.1 - May 21, 2020
New
- Methods
serverNow()
andserverTimeDelta()
ofTONClient
returns current server time. - Check for a clock is out of sync before sending a message (fail if out of sync).
- Method
waitForRunTransaction
ofcontracts
module. - Method
waitForDeployTransaction
ofcontracts
module. - Method
isDeployed
ofcontracts
module.
Version 0.23.0
0.23.0 - May 7, 2020
New
- Method
runGet
ofcontracts
module executes get method on a local tvm. - Method
arrayFromCONS
ofcontracts
module converts CONS-list to JS arrays.
Version 0.22.2
0.22.2 - May 3, 2020
New
- keep-alive checking support for graphql subscriptions