Releases: everx-labs/ever-sdk
Releases · everx-labs/ever-sdk
Version: 1.9.0
1.9.0 Feb 19, 2021
New
tuple_list_as_array
parameter intvm.run_get
function which controls lists representation.
Default is stack-like based on nested tuples. If set totrue
then returned lists are encoded as plain arrays. Use this option if you receive this error on Web: "Runtime error. Unreachable code should not be executed..."
This reduces stack size requirements for long lists.function_name
field ofCallSet
structure can be the name or id (as string in hex starting with 0x) of the called function.- Fields
config_servers
,query_url
,account_address
,gas_used
added into specific errors'ClientError.data
object.
Fixed
- Binaries download links are now under https protocol
- If you receive this error on Web: "Runtime error. Unreachable code should not be executed..." in
run_get
, use the new parametertuple_list_as_array = true
. See the documentation. This may happen, for example, when elector contract contains too many participants
Version: 1.8.0
1.8.0 Feb 11, 2021
New
- Debot Module:
- Added new built-in interface
Msg
which allows to send external message to blockchain and sign it with supplied keypair.
- Added new built-in interface
Fixed
crypto.hdkey_public_from_xprv
used compressed 33-byte form instead of normal 32-byte.
Version: 1.7.0
1.7.0 Feb 9, 2021
New
- BOC cache management functions were introduced:
boc.cache_set
,boc.cache_get
boc.cache_unpin
- Now functions that take boc as a parameter can also take a reference to boc cash instead so that it deсreases the number of boc serialization
and deserializations which drastically improves performance ofrun_tvm
andrun_executor
expecially in case of numerous calls on the same data. boc_cache
parameter intvm.run_tvm
andtvm.run_executor
functions to save resulting messages and account BOCs into cache.return_updated_account
flag parameter introduced intvm.run_tvm
andtvm.run_executor
functions to return updated account state. Important: by default this flag isfalse
and account data is not returned.abi.encode_internal_message
function to encode an internal ABI-compatible message.- Debot Module:
- Support for get-methods and external calls in debots.
Debots can send external inbound messages to destination contracts (signed - for external calls and unsigned - for get-methods) using native language syntax without actions. - Built-in debot interfaces (interfaces implemented by DEngine).
Added two built-in interfaces: base64 and Sdk. - Added
DebotInterfaceExecutor
to automatically route messages to destination interfaces. - Debot's
fetch
function is optional now. New debots can implement onlystart
function.
- Support for get-methods and external calls in debots.
Version: 1.6.3
1.6.3 Feb 4, 2021
Fixed
- Expired message wasn't retried if local execution succeeded.
Version: 1.6.2
1.6.2 Feb 3, 2021
Added
ResponseHandler
type description intomodules.md
.
Fixed
net.batch_query
parameters serialization did't match to docs.- Module description in docs generator contains
null
instead of summary. - Function result section header hadn't the line separator before.
Version 1.6.1
Version: 1.6.0
1.6.0 Jan 29, 2021
New
nacl_sign_detached_verify
function to verify detached signature.aggregate_collection
function as a wrapper for GraphQL aggregation queries.batch_query
function performs multiple queries per single fetch.- Active endpoint invalidation in case of network error occuring.
network.network_retries_count
config parameter is deprecated.network.max_reconnect_timeout
is introduced that allows to specify maximum network resolving timeout. Default value is 2 mins.initial_pubkey
field inDeploySet
to specify public key instead of one from TVC file or provided by signer.- Support for debot interfaces:
send
Browser Callback to send messages with interface calls to Browser.- new variant
ParamsOfAppDebotBrowser::Send
. send
API function to send messages from Browser to Debot.run_output.rs
- internal structure RunOutput to filter messages generated by debot to 4 categories: interface calls, external calls, get-method calls and invoke calls.
Fixed
- Device time synchronization is checked only in
send_message
. Data querying does not require proper time now
Version: 1.5.2
1.5.2 Dec 30, 2020
New
- *.d.ts type declarations in
lib-react-native
,lib-node
,lib-web
.
Fixed
net
module functions wait fornet.resume
call instead of returning error if called while the module is suspended
Version: 1.5.1
1.5.1 Dec 28, 2020
Fixed
- updated the dependence on
ton-labs-abi
Version: 1.5.0
1.5.0 Dec 25, 2020
New
reconnect_timeout
parameter inNetworkConfig
.endpoints
parameter inNetworkConfig
. It contains the list of available server addresses to connect.
SDK will use one them with the least connect time.server_address
parameter is still supported but
endpoints
is prevailing.net.fetch_endpoints
function to receieve available endpoints from server.net.set_endpoints
function to set endpoints list for using on next reconnect.ErrorCode
type in each module spec inapi.json
.
Fixed
- send
GQL_TERMINATE_CONNECTION
and close websocket on leaving ws loop.