Skip to content

Commit

Permalink
Merge pull request #183 from tonlabs/1.5.3-rc
Browse files Browse the repository at this point in the history
Version 1.5.3
  • Loading branch information
d3p authored Jan 22, 2021
2 parents 9d2f83c + 55d0d84 commit 93b63be
Show file tree
Hide file tree
Showing 14 changed files with 33 additions and 27 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Release Notes
All notable changes to this project will be documented in this file.

## 1.5.3 Jan 14, 2021

### Fixed
- node binary filename for windows

## 1.5.2 Dec 30, 2020

### New
Expand Down
2 changes: 1 addition & 1 deletion build/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ impl Build {
#[cfg(target_os = "macos")]
platform: "darwin".into(),
#[cfg(target_os = "windows")]
platform: "win".into(),
platform: "win32".into(),
package_dir,
lib_dir,
target_dir,
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"packages": [
"packages/*"
],
"version": "1.5.2",
"version": "1.5.3",
"command": {
"version": {
"message": "Release",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tonclient/core",
"version": "1.5.2",
"version": "1.5.3",
"description": "TON Client for Java Script",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
26 changes: 13 additions & 13 deletions packages/core/src/modules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export type NetworkConfig = {
* List of DApp Server addresses.
*
* @remarks
* Any correct URL format can be specified, including IP addresses
* Any correct URL format can be specified, including IP addresses This parameter is prevailing over `server_address`.
*/
endpoints?: string[],

Expand Down Expand Up @@ -120,7 +120,7 @@ export type NetworkConfig = {
* Maximum time difference between server and client.
*
* @remarks
* If client's device time is out of sink and difference is more thanthe threshhold then error will occur. Also the error will occur if the specified threshhold is more than
* If client's device time is out of sync and difference is more than the threshold then error will occur. Also an error will occur if the specified threshold is more than
* `message_processing_timeout/2`.
* The default value is 15 sec.
*/
Expand All @@ -143,7 +143,7 @@ export type NetworkConfig = {
export type CryptoConfig = {

/**
* Mnemonic dictionary that will be used by default in crypto funcions. If not specified, 1 dictionary will be used.
* Mnemonic dictionary that will be used by default in crypto functions. If not specified, 1 dictionary will be used.
*/
mnemonic_dictionary?: number,

Expand Down Expand Up @@ -1098,7 +1098,7 @@ export type ResultOfSigningBoxSign = {
* Data signature.
*
* @remarks
* Encoded with `base64`.
* Encoded with `hex`.
*/
signature: string
}
Expand Down Expand Up @@ -1630,15 +1630,15 @@ export type FunctionHeader = {
* Message creation time in milliseconds.
*
* @remarks
* If not specified, `now` is used(if ABI includes `time` header).
* If not specified, `now` is used (if ABI includes `time` header).
*/
time?: bigint,

/**
* Public key is used by the contract to check the signature.
*
* @remarks
* Encoded in `hex`.If not specified, method fails with exception (if ABI includes `pubkey` header)..
* Encoded in `hex`. If not specified, method fails with exception (if ABI includes `pubkey` header)..
*/
pubkey?: string
}
Expand Down Expand Up @@ -2005,7 +2005,7 @@ export type ResultOfEncodeMessageBody = {
* Optional data to sign.
*
* @remarks
* Encoded with `base64`.
* Encoded with `base64`.
* Presents when `message` is unsigned. Can be used for external
* message signing. Is this case you need to sing this data and
* produce signed message using `abi.attach_signature`.
Expand Down Expand Up @@ -3139,7 +3139,7 @@ export type AccountForExecutor = {
* Flag for running account with the unlimited balance.
*
* @remarks
* Can be used to calculatetransaction fees without balance check
* Can be used to calculate transaction fees without balance check
*/
unlimited_balance?: boolean
}
Expand Down Expand Up @@ -3309,7 +3309,7 @@ export type ResultOfRunTvm = {
* Updated account state BOC.
*
* @remarks
* Encoded as `base64`.Attention! Only `account_state.storage.state.data` part of the boc is updated.
* Encoded as `base64`. Attention! Only `account_state.storage.state.data` part of the boc is updated.
*/
account: string
}
Expand Down Expand Up @@ -3468,7 +3468,7 @@ export type ParamsOfQuery = {
* Variables used in query.
*
* @remarks
* Must be a map with named values thatcan be used in query.
* Must be a map with named values that can be used in query.
*/
variables?: any
}
Expand Down Expand Up @@ -3745,15 +3745,15 @@ export type DebotAction = {
* A short action description.
*
* @remarks
* Should be used by Debot Browser as name ofmenu item.
* Should be used by Debot Browser as name of menu item.
*/
description: string,

/**
* Depends on action type.
*
* @remarks
* Can be a debot function name or a print string(for Print Action).
* Can be a debot function name or a print string (for Print Action).
*/
name: string,

Expand All @@ -3771,7 +3771,7 @@ export type DebotAction = {
* Action attributes.
*
* @remarks
* In the form of "param=value,flag".attribute example: instant, args, fargs, sign.
* In the form of "param=value,flag". attribute example: instant, args, fargs, sign.
*/
attributes: string,

Expand Down
2 changes: 1 addition & 1 deletion packages/lib-node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tonclient/lib-node",
"version": "1.5.2",
"version": "1.5.3",
"description": "TON Client NodeJs AddOn",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/lib-react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tonclient/lib-react-native",
"version": "1.5.2",
"version": "1.5.3",
"description": "TON Client React Native Module",
"main": "index.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/lib-web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tonclient/lib-web",
"version": "1.5.2",
"version": "1.5.3",
"description": "TON Client WASM module for browsers",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/tests-node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tonclient/tests-node",
"version": "1.5.2",
"version": "1.5.3",
"private": true,
"description": "TON Client Tests runner on NodeJs",
"main": "index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/tests-react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tonclient/tests-react-native",
"version": "1.5.2",
"version": "1.5.3",
"private": true,
"main": "index.js",
"browser": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/tests-web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tonclient/tests-web",
"version": "1.5.2",
"version": "1.5.3",
"private": true,
"description": "TON Client WASM module tests runner",
"scripts": {
Expand Down
7 changes: 4 additions & 3 deletions packages/tests-web/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ async function killListenerProcess(port) {
}

async function main() {
await killListenerProcess(4000);
const WEBPACK_DEV_SERVER_PORT = process.env.WEBPACK_DEV_SERVER_PORT || 4000;
await killListenerProcess(WEBPACK_DEV_SERVER_PORT);
await startWebPackDevServer();
const browser = await puppeteer.launch({
args: [
Expand All @@ -91,7 +92,7 @@ async function main() {
(async () => {
await page.close();
await browser.close();
await killListenerProcess(4000);
await killListenerProcess(WEBPACK_DEV_SERVER_PORT);
process.exit(code);
})();
}
Expand All @@ -100,7 +101,7 @@ async function main() {
const text = `${msg.text()}\n`;
logger.logOutput(text);
});
await page.goto('http://localhost:4000', {});
await page.goto('http://localhost:' + WEBPACK_DEV_SERVER_PORT, {});
}


Expand Down
2 changes: 1 addition & 1 deletion packages/tests-web/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
devServer: {
contentBase: path.join(__dirname, './web'),
compress: true,
port: 4000,
port: process.env.WEBPACK_DEV_SERVER_PORT || 4000,
disableHostCheck: true,
historyApiFallback: true,
},
Expand Down
2 changes: 1 addition & 1 deletion packages/tests/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tonclient/tests",
"version": "1.5.2",
"version": "1.5.3",
"private": true,
"description": "TON Client Tests",
"main": "dist/index.js",
Expand Down

0 comments on commit 93b63be

Please sign in to comment.