All notable changes to this project will be documented in this file.
- testApp: run puppeeter with '--no-sandbox --disable-setuid-sandbox' to meet Docker requirements
testApp
to run main js test suite inside puppeteer- supports for core contexts
- Loading of
tonclient.wasm
is optimized. Nowtonclient.wasm
loaded in binary form usingcompileStreaming
which caches compiled module. - Core request
version
is implemented in JS part so no need to request core. - Setup sequence of
TONClient
is optimized:- JS part performs setup immediately;
- core setup is deferred until core module have been loaded. So if app doesn't use core functions of TONClient it is ready to work immediately after client creation.
- Web applications that used this library must publish
tonclient.wasm
to website. Iftonclient.wasm
doesn't published in root then module path must be specified insetWasmOptions
:import { TONClient, setWasmOptions } from 'ton-client-web-js'; ... setWasmOptions({ binaryURL: '/modules/tonclient.wasm', });