Skip to content

Releases: everx-labs/ever-sdk-js

Version: 1.38.0

12 Oct 09:47
@d3p d3p
7f7e140
Compare
Choose a tag to compare

[1.38.0] – 2022-10-06

New

  • Debot module:
    • ABI specification v2.3 is supported in DEngine.
    • Supported flags OVERRIDE_TS, OVERRIDE_EXPT, ASYNC_CALL for external messages in DEngine.

Improvement

  • Support cookies in net module for std mode (not wasm)
  • Remove network aliases (main, dev, main.ton.dev, net.ton.dev)
  • No balancing logic in case of 1 endpoint + removed the check of REMP support on backend during client initialization.
    These changes will make client initialization faster -> CLI tools that use SDK will work faster, web pages will load initial data faster.
  • Changed 401 error message to response message from API
  • Tests improvements: cryptobox tests made stable

Version: 1.37.2

17 Sep 07:17
@d3p d3p
7262f88
Compare
Choose a tag to compare

[1.37.2] – 2022-08-10

New

  • crypto.encryption_box_get_info returns nacl box public key in info.public field.
  • Gosh instruction are supported in local VM and executor:
    • execute_diff
    • execute_diff_patch_not_quiet
    • execute_zip
    • execute_unzip
    • execute_diff_zip
    • execute_diff_patch_zip_not_quiet
    • execute_diff_patch_quiet
    • execute_diff_patch_zip_quiet
    • execute_diff_patch_binary_not_quiet
    • execute_diff_patch_binary_zip_not_quiet
    • execute_diff_patch_binary_quiet
    • execute_diff_patch_binary_zip_quiet

Improvement

  • create_crypto_box optimisation.
    When a user creates a crypto box, library encrypts provided secret information using provided
    password and salt.
    When library encrypts the secret, it calculates encryption key from password and salt
    using scrypt function which takes a lot of CPU time (about 1 second).
    So when a user creates many crypto boxes using the same password and salt,
    it takes a lot of time (about 12 seconds for 10 crypto boxes).
    With the optimisations introduced in this version the library stores the
    pair (password+salt => encryption key) in internal cache for approximately 2 seconds.
    So when a user creates many crypto boxes at a time using the same password and salt,
    library uses cached information to skip heavy calculations. As a result now it takes only
    a second to create 10 crypto boxes.

Fixed

  • Some enum types were not properly presented in api.json (some types that use serde(content="value"))

Version: 1.37.1

07 Sep 20:34
@d3p d3p
5927e75
Compare
Choose a tag to compare

[1.37.1] – 2022-08-03

Fixed

  • Pinned BOC cache now has reference counter for each pin in BOC. BOC can be pinned several times
    with the same pin. BOC is removed from cache after all references for all pins are unpinned with
    cache_unpin function calls.
  • Fixed error resolving in case when account state was modified after message expiration time. Now
    appropriate error text is added to error message instead of executor internal error

Version: 1.37.0

03 Aug 08:40
@d3p d3p
af6ddc5
Compare
Choose a tag to compare

[1.37.0] – 2022-07-28

New

  • client sends config.network.access_key as Authorization: Basic ... or Authorization: Bearer ... header.
  • client accepts endpoints with /graphql suffixes specified in config.
  • lib-web option disableSeparateWorker. By default, lib web starts a separate worker that will utilize core (wasm).
    So main thread never freezes – it is fine for UI. But in some cases (e.g. when worker already exists in application or extension)
    separate worker is a bad approach. In this case application can suppress this with libWebSetup({disableSeparateWorker: true}).

Fixed

  • Updated zstd in order to fix building.

Version: 1.36.1

19 Jul 23:31
@d3p d3p
ce69135
Compare
Choose a tag to compare

[1.36.1] – 2022-07-18

Improvement

  • Time synchorization check between device and server improved: calculation of timediff with server is moved from batched query to send_message function and therefore now query execution time does not affect this time diff.

Version: 1.36.0

13 Jul 22:20
@d3p d3p
Compare
Choose a tag to compare

[1.36.0] – 2022-07-01

New

  • ABI specification v2.3 is supported
  • parameter address is added to abi.encode_message_body function

Fixed

  • memory leak in utils.compress_zstd and utils.decompress_zstd functions in WASM

Version: 1.35.1

30 Jun 12:45
@d3p d3p
8752e9c
Compare
Choose a tag to compare

[1.35.1] – 2022-06-28

Improved

  • abi module errors have been improved

Version: 1.35.0

28 Jun 10:13
@d3p d3p
132b56b
Compare
Choose a tag to compare

[1.35.0] – 2022-06-28

New

  • chksig_always_succeed execution option used in params of the tvm.run_get, tvm.run_tvm
    and tvm.run_executor.
  • abi.calc_function_id function
  • tokio library is updated to 1.* version

Version: 1.34.3

19 Jun 20:59
@d3p d3p
aae1aa9
Compare
Choose a tag to compare

[1.34.3] – 2022-06-08

New

  • send accessKey header in api requests (specified in config.network.accessKey)

Fixed

  • send headers in info api requests

Version: 1.34.2

01 Jun 18:59
@d3p d3p
8c62af3
Compare
Choose a tag to compare

[1.34.2] – 2022-05-30

Fixed

  • build process
  • compress/decompress zstd for wasm