Releases: everx-labs/ever-sdk-js
Version: 1.43.2
Fixed
- Non existing accounts are treated as missing since q-server return
non existed
if account is missing
Version: 1.43.1
Fixed
MonitoredMessage
API representation simplified.
Version: 1.43.0
New
network.network_retries_count
config parameter is finally deprecated and not used in SDK.
max_reconnect_timeout
is used instead- Message monitoring errors received by subscription are returned from
processing.fetch_next_monitor_results
function - Message monitor buffers new messages for delayed start of the subscription. New subscription
starts when 1 second has passed since the last addition or when 5 seconds has passed since last sending - Message monitor uses more than one subscription.
- Version of
ton_types
upped to 2.0.0 - Fixed code for changed dependencies api
- Removed logic related to client-server clock sync
boc.encode_tvc
andboc.decode_tvc
are renamed toboc.encode_state_init
andboc.decode_state_init
.boc.decode_tvc
decodes TVC BOC according to the TVC spec.DeploySet.tvc
supports new TVC file format (according to new TVC spec).
Old tvc files (with serialized state init) are also supported.DeploySet.state_init
allows to specify serialized state init.DeploySet.code
allows to construct state init from provided serialized code.DeploySet
's fieldstvc
,state_init
andcode
are mutually exclusive (so you should
provide value for one of these fields).ProcessingEvent::MessageExpired
is sent to callback in case of retry inprocessing.process_message
Version: 1.42.1
[1.42.1] – 2023-03-23
Fixed
- Client was notified about every REMP status timeout. Now it is notified only once when fallback
scenario is started
Version: 1.42.0
[1.42.0] – 2023-03-22
New
- Added message monitoring functions to the
processing
module:monitor_messages
,
fetch_next_monitor_results
,get_monitor_info
,cancel_monitor****
. - Added
processing.send_messages
function. - Improved error resolving for deleted accounts
net.first_remp_status_timeout
config parameter default value set to 1 ms in order to start
fallback scenario together with REMP statuses processing while REMP is not properly tuned yet.- Network errors are returned on subscription creation if occured
Fixed
ParamsOfSubscribe
was not public.subscribe
did not trim subscription query text. It is required for some graphql servers
expecting that query text starts from operation text.
Version: 1.41.1
[1.41.1] – 2023-02-14
Fixed
- update
getLibName
type declaration
Version: 1.41.0
[1.41.0] – 2023-02-13
New
-
CapSignatureWithId
capability is supported.Network signature ID is used by VM in signature verifying instructions if capability
CapSignatureWithId
is enabled in blockchain configuration parameters.This parameter should be set to
global_id
field from any blockchain block if network can
not be reached at the moment of message encoding and the message is aimed to be sent into
network withCapSignatureWithId
enabled. Otherwise signature ID is detected automatically
inside message encoding functions.
Overwrite priority: ExecutionOptions.signature_id -> ClientConfig.network.signature_id -> last network blockClientConfig.network.signature_id
optional parameter is added. Specify it in case of offline work for all message signing operations to use.ExecutionOptions
is extended withsignature_id
optional parameter. Specify locally for a particularrun_tvm
orrun_executor
call.net.get_signature_id
function returnsglobal_id
ifCapSignatureWithId
capability is enabled,
-
message_id
andmessage_dst
fields are added to allProcessingEvent
variants -
Config parameter
binding: { library: string, version: string }
. Binding authors should define
this parameter at context initialization. -
tonclient-binding-library
andtonclient-binding-version
GraphQL request headers. -
Error.data.binding_library
andError.data.binding_version
error data fields. -
specifying binding info in core initialization.
Client breaking changes
abi.get_signature_data
function ouput parameterhash
is renamed tounsigned
for consistency with other crypto functions parameters
Possible breaking change on binding side
- Changed type of the
dictionary
parameter or mnemonic crypto functions and crypto config.
Now it usesMnemonicDictionary
enum type instead ofnumber
.MnemonicDictionary
numeric
constants are compatible with previous values.
Deprecated
debot
engine module is deprecated. Debot engine development has migrated to a separate repository (soon will be published). So, in order to reduce sdk binary size, we will removedebot
engine module from sdk in the next releases.
Version: 1.40.0
[1.40.0] – 2023-01-11
New
abi.get_signature_data
function that returns signature from message and hash to verify the signature
Improvement
- local endpoints with port specified are expanded with
http
protocol instead ofhttps
(e.g.
localhost:8033
in expanded tohttp://localhost:8033/graphql
)
Version: 1.39.0
[1.39.0] – 2022-12-07
Improvement
-
Resolved endpoints are cached for 10 minutes so subsequent messages sent will not require
additional server request -
Queries are retried in case of network errors when websocket connection is used
-
WaitForTimeout
error code (607) is returned in case ofwait_for_transaction
function was
successfully executed but expected data did not appeared during the specified timeout -
timeout
parameter innet.query_transaction_tree
behaviour changed. Now value 0 indicates that
no time limit should be used and function will wait for all transactions execution
New
-
transaction_max_count
parameter innet.query_transaction_tree
which controls the count of
transaction to be awaited and returned -
data_layout
andfunction_name
parameters inabi.decode_message
andabi.decode_message_body
that can be used to decode responsible function output and optimize message decoding by strict layout check
Fixed
-
abi.encode_initial_data
function properly creates data in case of public key omitted.
Nowabi.encode_initial_data
call without initial data values and public key creates
the same data as compiled tvc -
Graphql error messages with HTTP response 400 was skipped (was not propagated to
the SDK client application). -
Several misspelling.
-
Message processing freeze in case of large amount of messages parallel processing using Websocket
connection -
Websocket interaction thread panic
-
Debot module:
- fill hash argument in
SDK.signHash
method with leading zeroes up to 32 bytes.
- fill hash argument in
Version: 1.38.1
[1.38.1] – 2022-11-10
Improvement
- Aditional info query is removed from
send_message
to minimize API usage
Fixed
- Error code
Unauthorized
is returned from all network functions in case of authentication failure - Server connection attempt is not retried in case of authentication failure