Releases: everx-labs/ever-sdk-js
Version: 1.17.0
[1.17.0] – 2021-06-21
New
- Added support of external encryption boxes. See the documentation
- Debot module:
- Dengine waits for completion of all transactions in a chain initiated by debot's onchain call.
Version: 1.16.1
[1.16.1] – 2021-06-16
New
timeout
option toquery_transaction_tree
– timeout used to limit waiting time for the next
message and transaction in the transaction tree.
Improved
- Improved error messages regarding ABI and JSON interface. SDK now shows additional tips for the user in cases of
errors.
Fixed
- Warnings in Rust 1.52+. Little fixes in the documentation.
total_output
field in fees was always 0.query_transaction_tree
didn't wait for messages.
Version: 1.16.0
[1.16.0] – 2021-05-25
New
query_transaction_tree
function that returns messages and transactions tree produced
by the specified message was added toquery
module. See the documentationlibOptions.loadModule
– ability to specify alternative WASM module loader.
Fixed
AbiData.key
type changed to u32.- attempt to use
orderBy
instead oforder
inquery_collection
will raise error.
Version: 1.15.0
[1.15.0] – 2021-05-18
New
-
Sync latency detection increases connection reliability. Library will change the current endpoint
when it detects data sync latency on it. -
Configuration parameters:
latency_detection_interval
,
max_latency
. See client documentation for details. -
Debot module:
- signing messages with signing box handles returned from debots.
- return any sdk errors to debot in case of external calls.
- defining signing box handle used to sign message in approve callback.
Version: 1.14.2
[1.14.2] – 2021-04-30
Fixed
- Typo in lib-react-native install script
Version: 1.14.1
[1.14.1] – 2021-04-28
Fixed
- Debot module:
- DebotInfo field
key
renamed tocaption
- DebotInfo field
Version: 1.14.0
[1.14.0] – 2021-04-28
New
- Debot module:
- implementation of Network DeBot interface in DEngine.
- implementation of
signHash
function in Sdk interface.
Fixed
- Debot module:
- fixed bug in Json interface with supporting nested structures and arrays of structures.
- fixed bug in Json interface with keys containing hyphens.
Version: 1.13.0
[1.13.0] – 2021-04-23
New
-
Refined bridging model in
core
package. Library introduces new interface BinaryBridge.
Bridge authors can implement this interface instead of BinaryLibrary to
get more precise control over bridging.
For example it makes possible to use separated response handlers for different
requests. -
net.query_counterparties
- allows to query and paginate through the list of accounts that the specified account
has interacted with, sorted by the time of the last internal message between accounts.
Subscription to counterparties collection is available vianet.subscribe_collection
function. -
Blockchain interaction reliability improvement (broadcast): library sends external inbound messages simultaneously
to the N randomly chosen endpoints. If all N endpoints failed to responce then library repeats
sending to another random N endpoints (except the failed one).
If all the available endpoints fail to respond then library throws error.
The N parameter is taken fromconfig.network.sending_endpoint_count
(default is 2). -
Blockchain interaction reliability improvement (bad delivery list): library tracks endpoints
with bad message delivery (expired messages). These endpoints have lower priority when library chooses endpoints
to send message. -
Debot module:
- Implementation of
Json
DeBot interface in DEngine.
- Implementation of
Version: 1.12.0
[1.12.0] – 2021-04-01
New
utils.compress_zstd
compresses data using Facebook's Zstandard algorithm.utils.decompress_zstd
decompresses data using Facebook's Zstandard algorithm.- Debot module:
init
function that creates an instance of DeBot and returns DeBot metadata.- Dengine fetches metadata form DeBot by calling 2 mandatory functions:
getRequiredInterfaces
andgetDebotInfo
. This data is returned byfetch
andinit
functions. approve
DeBot Browser callback which is called by DEngine to request permission for DeBot activities.
Changed
- Debot Module:
- [breaking]
fetch
function does't create an instance of debot. It returns DeBot metadata (DebotInfo
). - [breaking]
start
function does't create an instance of debot. It accepts DeBot handle created ininit
function.
- [breaking]
Version: 1.11.1
[1.11.1] – 2021-03-15
New
- Giver address in tests is calculated from secret key. Default values are provided for TON OS SE giver