ever-sdk-js

Javascript SDK for TVM blockchains (Everscale, TON, Venom, etc)

APACHE-2.0 License

Downloads
45.3K
Stars
95
Committers
27
ever-sdk-js - Version: 1.28.0

Published by d3p almost 3 years ago

[1.28.0] – 2021-12-24

New

  • DevNet endpoints now changed to Ever OS domain: eri01.net.everos.dev, rbx01.net.everos.dev, gra01.net.everos.dev
  • Debot module:
    • Аdded float numbers support for Json interface
  • Added guide for custom giver usage.

Fixed

  • Debot module: fixed a bug in Query.query function called with an empty variables field.
ever-sdk-js - Version: 1.27.1

Published by d3p almost 3 years ago

[1.27.1] – 2021-12-09

Fixed

  • Empty function_name field in the "create run message failed" error.
ever-sdk-js - Version: 1.27.0

Published by d3p almost 3 years ago

[1.27.0] – 2021-12-03

New

  • Function abi.encode_initial_data which
    encodes initial account data with initial values for the contract's static variables and owner's public key.
    This function is analogue of tvm.buildDataInit function in Solidity.

Fixed

  • Subscription for Counterparties failed with 'Unknown type "CounterpartieFilter"' error.
ever-sdk-js - Version: 1.26.1

Published by d3p almost 3 years ago

[1.26.1] – 2021-12-01

Fixed

  • Fixed building and warning.
ever-sdk-js - Version: 1.26.0

Published by d3p almost 3 years ago

[1.26.0] – 2021-11-25

New

  • Debot module:
    • Аdded allow_no_signature parameter to decode_and_fix_ext_msg() and
      onerror_id return value to prepare_ext_in_message() inner functions used in TS4.
    • Added support for async external calls.
    • Query interface extended with waitForCollection and query methods. waitForCollection allows to wait
      for completion of async external calls.
    • Added support for DeBots with ABI 2.2.
  • Function proofs.proof_message_data which proves message data, retrieved
    from Graphql API.
ever-sdk-js - Version: 1.25.0

Published by d3p almost 3 years ago

[1.25.0] – 2021-11-08

New

  • Added JS Blob support in lib-web

  • New module proofs is introduced!

  • Functions proofs.proof_block_data and proofs.proof_transaction_data
    which prove block data, retrieved from Graphql API.

    These are the first functions from proofs series :) Wait for others(proof_account_data, proof_message_data) in the next releases.

    Read about them more in the documentation.

  • abi.decode_boc function to decode custom BOC data into JSON parameters.

  • Ref(<ParamType>) type was added to ABI.
    Solidity functions use ABI types for builder encoding. The simplest way to decode such a BOC is to use ABI decoding. ABI has it own rules for fields layout in cells so manually encoded BOC can not be described in terms of ABI rules. To solve this problem we introduce a new ABI type Ref(<ParamType>) which allows to store ParamType ABI parameter in cell reference and, thus, decode manually encoded BOCs. This type is available only in decode_boc function and will not be available in ABI messages encoding until it is included into some ABI revision.

ever-sdk-js - Version: 1.24.0

Published by d3p almost 3 years ago

[1.24.0] – 2021-10-18

New

  • boc.get_boc_depth function to get depth of the provided boc.

  • boc.decode_tvc function returns additional fields code_hash, code_depth, data_hash, data_depth and compiler_version

  • Debot module:

    • added parse function to Json interface.
ever-sdk-js - Version: 1.23.0

Published by d3p about 3 years ago

[1.23.0] – 2021-10-05

New

  • boc.get_code_salt and boc.set_code_salt functions for contract code salt management.
  • boc.encode_tvc and boc.decode_tvc functions for TVC image encoding and decoding
  • boc.get_compiler_version function extracting compiler version from contract code
  • abi.update_initial_data and abi.decode_initial_data function for pre-deployment contract data management
ever-sdk-js - Version: 1.22.0

Published by d3p about 3 years ago

[1.22.0] – 2021-09-20

New

  • ABI v2.2 with fixed message body layout supported. See the specification.

    Now, for contracts with ABI version < 2.2 compact layout will still be used for compatibility, for contracts with ABI version 2.2 and more - fixed layout will be used.
    Please, make sure that you updated the ABI if you recompiled your contract with 2.2 ABI, or you may get an inconsistent contract behaviour.

  • Debot module:

    • added getEncryptionBoxInfo, getSigningBoxInfo functions to Sdk interface.
    • implemented Query DeBot interface in DEngine.
ever-sdk-js - Version: 1.21.5

Published by d3p about 3 years ago

[1.21.5] – 2021-09-13

Fixed

  • abi.encode_message and processing.process_message created invalid deploy message in case of
    Signer::None was used, and contract could not be deployed.
  • lib-node's bridge crashed on client.close.
ever-sdk-js - Version: 1.21.4

Published by d3p about 3 years ago

[1.21.4] – 2021-09-08

New

  • Support MacOS aarch64 target
ever-sdk-js - Version: 1.21.3

Published by d3p about 3 years ago

[1.21.3] – 2021-09-02

New

  • Information about used endpoint is added to subscription errors.
  • Graphql response error codes 500-599 are treated as retriable network errors
ever-sdk-js - Version: 1.21.2

Published by d3p about 3 years ago

[1.21.2] – 2021-08-25

Fixed

  • Updated crypto libraries in order to fix building.
ever-sdk-js - Version: 1.21.1

Published by d3p about 3 years ago

[1.21.1] – 2021-08-24

Fixed

  • http errors were not processed as network errors and didn't lead to endpoint reconnect and request retry
ever-sdk-js - Version: 1.21.0

Published by d3p about 3 years ago

[1.21.0] – 2021-08-18

New

  • crypto.create_encryption_box function for creating SDK-defined encryption boxes. First supported
    algorithm - AES with CBC mode.
  • Debot module:
    • Аdded public prepare_ext_in_message function.

Fixed

  • tvm.run_executor did not work when SDK is configured to use TONOS SE, because of incomplete default
    blockchain configuration. Now mainnet config from key block 10660619 (last key block at the moment of fix)
    is used as default.
ever-sdk-js - Version: 1.20.1

Published by d3p about 3 years ago

[1.20.1] – 2021-07-30

Fixed

  • RuntimeError: unreachable in wasm
ever-sdk-js - Version: 1.20.0

Published by d3p over 3 years ago

[1.20.0] – 2021-07-16

New

  • ABI version 2.1 supported.
  • Now all requests to GraphQL are limited with timeout to react on unexpected server unavailability.
    Existing timeouts in waiting functions keep the same behaviour. All other requests timeout now can
    be set with net.query_timeout config parameter. Its default value is 60000 ms
  • Debot module:
    • added encrypt, decrypt functions to Sdk interface which accept encryption box handles.

Fixed

  • Deployment with empty signer in cases of public key set in TVC or deploy set.
ever-sdk-js - Version: 1.19.0

Published by d3p over 3 years ago

[1.19.0] – 2021-07-07

New

  • get_address_type function in utils module, which validates address and returns its type. See the documentation.
  • decode_account_data function in abi module that converts account data BOC into JSON representation according to ABI 2.1. See the documentation.
  • Diagnostic fields filter and timestamp added to wait_for_collection error
  • main.ton.dev and net.ton.dev endpoints that will be deprecated on 12.07.21 are now replaced with proper endpoints list, if they were specified in network endpoints config

Fixed

  • Search of the first master blocks during the network start period was fixed in blocks and transactions iterators
ever-sdk-js - Version: 1.18.1

Published by d3p over 3 years ago

[1.18.1] – 2021-07-01

Improved

  • Improved error messages regarding Union-typed parameters (e.g. abi and signer in encode_message): helper functions (e.g. signerNone, signerKeys, etc.) are suggested if applicable.
ever-sdk-js - Version: 1.18.0

Published by d3p over 3 years ago

[1.18.0] – 2021-06-26

New

  • Iterators in net module: robust way to iterate blockchain items (blocks, transactions)
    in specified range. See documentation for create_block_iterator , create_transaction_iterator,
    resume_block_iterator, resume_transaction_iterator, iterator_next, iterator_remove
    functions.
  • Library adds http:// protocol to endpoints localhost, 127.0.0.1, 0.0.0.0 if protocol
    isn't specified in config.
  • Debot module:
    • added tests for Json interface.