Releases: everx-labs/ever-sdk-js
Version: 1.34.1
[1.34.1] – 2022-05-26
New
- supported removing Copy interface from UInt256
- supported changed interface of
ton_types::Cell
Version: 1.34.0
[1.34.0] – 2022-05-18
New
-
client.config
function that returns the current client config -
run_executor().fees
is extended with these fields:ext_in_msg_fee
- fee for processing external inbound messagetotal_fwd_fees
- total fees of action phaseaccount_fees
- total fees the account pays for the transaction
-
main
anddev
endpoints aliases for Evernode Cloud Mainnet and Devnet endpoints -
binding-gen: enum of types produces its own type for each enum variant.
-
lib-web: large numbers in transaction fees are rounded now (previously they caused errors).
-
core: if an application calls first client core functions in parallel
then core creates more than one internal context per single TonClient
instance. As a side effect of this is that a Nodejs process didn't
finish even whenclient.close
was called.
Improved
- Added documentation for
TransactionFees
type (run_executor().fees
). - Documentation now includes
enum
types descriptions.
To achieve it we updated binding-gen: enum of types now produces its own type for each enum variant.
Version: 1.33.1
[1.33.1] – 2022-05-10
Fixed
- Websocket errors weren't treated as a network errors.
This is why all the processing functions that worked via wss protocol failed on these errors without retries. Now retries are performed. - SDK tried to rebalance even if only a single endpoint was specified. Now in case of a single endpoint, no rebalancing occurs.
Version: 1.33.0
[1.33.0] – 2022-05-02
New
allow_partial
flag in allabi.decode_*
functions. This flag controls decoder behaviour whether return error or not in case of incomplete BOC decodingREMP
supported.ProcessingEvent
enum is extended withREMP
statuses (enum of events posted intoprocessing.wait_for_transaction
function callback )- UNSTABLE.
first_remp_status_timeout
andnext_remp_status_timeout
parameters in network config
Version: 1.32.0
[1.32.0] – 2022-03-22
New
network.queries_protocol
config parameter allows selecting protocol the SDK uses to communicaite with GraphQL endpoint:HTTP
– SDK performs single HTTP-request for each request.WS
– SDK uses single WebSocket connection to send all requests. This protocol is a preferable
way when the application sends many GraphQL requests in parallel.
Fixed
- Debot module:
- If DEngine received a non-zero exit_code while emulating a transaction while sending a message, DEngine will call onErrorId callback of the message.
Version: 1.31.0
[1.31.0] – 2022-03-09
New
crypto module:
-
Cryptobox
introduced: root crypto object that stores encrypted secret and acts as a factory for all crypto primitives used in SDK.
Crypto box provides signing and encryption boxes.Functions:
create_crypto_box
- initializes cryptobox with secret
remove_crypto_box
- removes cryptobox and overwrites all secrets with zeroes
get_crypto_box_seed_phrase
- returns decrypted seed phrase
get_crypto_box_info
- returns encrypted cryptobox secret for next cryptobox initializations
get_signing_box_from_crypto_box
- derives signing box from secret
get_encryption_box_from_crypto_box
- derives encryption box from secret
clear_crypto_box_secret_cache
- forces secret cache (signing and encryption) clean up (overwrites all secrets with zeroes).
Fixed
- Documentation generator for app object interface fills documentation from
ParamsOfXXXAppObject
enum. - Documentation generator for function with
obj
parameter add this parameter
into parameters section with link to appropriate AppObject interface.
Version: 1.30.2
[1.30.2] – 2022-03-14
Fixed
- Update JSI client podspec for react-native greater than 0.66
Version: 1.30.1
[1.30.1] – 2022-02-16
Changed
- Rebranding:
- rename repository name from 'ton-client-js' to 'ever-sdk-js'
- rename binary binding filenames from 'tonclient_' to 'eversdk_'
- rename npm scope name from '@tonclient' to '@eversdk'
@tonclient/core -> @eversdk/core
@tonclient/lib-node -> @eversdk/lib-node
@tonclient/lib-web -> @eversdk/lib-web
@tonclient/lib-react-native -> @eversdk/lib-react-native
Version: 1.30.0
[1.30.0] – 2022-02-04
New
- Added
boc.encode_external_in_message
function to encode message BOC based on
a low level message parts such as a body, state init etc. - Added
net.subscribe
function to start a low level GraphQL subscription. - Added support for new MYCODE TVM command in
tvm.run_tvm
andtvm.run_get
functions.
Version: 1.29.0
[1.29.0] – 2022-02-03
New
- Added
abi.encode_boc
function to encode parameters with values to BOC, using ABI types. - Added support of
address
type inboc.encode_boc
. - All fetch requests are now called with timeouts to prevent freezing in case of infinite answer.
- Support of
MYCODE
instruction in TVM