From 60cb55665e2a7010cc00696c06cd1c63f4bbfe46 Mon Sep 17 00:00:00 2001 From: Igor Kovalenko Date: Fri, 12 Jul 2024 18:21:01 +0300 Subject: [PATCH] Upd deps (#574) * Upd deps * Deleted tags * Up packages version * Update CHANGELOG.md --------- Co-authored-by: AtomXY --- CHANGELOG.md | 14 ++++++++++++++ build/src/lib.rs | 2 +- lerna.json | 2 +- packages/cli/package-lock.json | 16 ++++++++-------- packages/cli/package.json | 6 +++--- packages/core/package.json | 2 +- packages/core/src/version.ts | 2 +- packages/lib-node/lib/Cargo.toml | 4 ++-- packages/lib-node/lib/src/lib.rs | 4 ++-- packages/lib-node/package.json | 2 +- packages/lib-react-native-jsi/package.json | 2 +- packages/lib-react-native/android/lib/Cargo.toml | 4 ++-- packages/lib-react-native/android/lib/src/lib.rs | 4 ++-- packages/lib-react-native/ios/lib/Cargo.toml | 4 ++-- packages/lib-react-native/ios/lib/src/lib.rs | 4 ++-- packages/lib-react-native/package.json | 2 +- packages/lib-web/lib/Cargo.toml | 4 ++-- packages/lib-web/lib/src/lib.rs | 2 +- packages/lib-web/package.json | 2 +- packages/tests-node/package.json | 2 +- packages/tests-react-native-jsi/package.json | 2 +- packages/tests-react-native/package.json | 2 +- packages/tests-web/package.json | 2 +- packages/tests/package.json | 2 +- 24 files changed, 53 insertions(+), 39 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c937f4f1..d37a905f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ All notable changes to this project will be documented in this file. +## [1.47.0] – 2024-07-12 + +### New + +- Updated project dependencies + +- Some project folders were renamed in accordance with the rebranding: + - ton_client -> ever_client + - ton_client_processing -> ever_client_processing + - ton_sdk -> ever_sdk + - toncli -> evercli + +- Removed create `failure`, now we use `anyhow` and `thiserror` creates + ## [1.46.1] – 2024-05-16 ### New diff --git a/build/src/lib.rs b/build/src/lib.rs index 5869f12c..7b5bd897 100644 --- a/build/src/lib.rs +++ b/build/src/lib.rs @@ -62,7 +62,7 @@ impl Build { .map(|x| PathBuf::from(x)) .unwrap_or(lib_dir.join("target")); for dep in meta["packages"].as_array().unwrap().iter() { - if dep["name"].as_str().unwrap() == "ton_client" { + if dep["name"].as_str().unwrap() == "ever_client" { version = dep["version"] .as_str() .unwrap() diff --git a/lerna.json b/lerna.json index d0535314..cd45b46e 100644 --- a/lerna.json +++ b/lerna.json @@ -3,7 +3,7 @@ "packages": [ "packages/*" ], - "version": "1.46.1", + "version": "1.47.0", "command": { "version": { "message": "Release" diff --git a/packages/cli/package-lock.json b/packages/cli/package-lock.json index 3fe0cf7b..eb2f9004 100644 --- a/packages/cli/package-lock.json +++ b/packages/cli/package-lock.json @@ -1,17 +1,17 @@ { "name": "@eversdk/cli", - "version": "1.46.1", + "version": "1.47.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@eversdk/cli", - "version": "1.46.1", + "version": "1.47.0", "license": "Apache-2.0", "dependencies": { "@eversdk/appkit": "^0.3.8", - "@eversdk/core": "^1.46.1", - "@eversdk/lib-node": "^1.46.1", + "@eversdk/core": "^1.47.0", + "@eversdk/lib-node": "^1.47.0", "commander": "^10.0.0", "dotenv": "^16.0.3", "everdev": "^1.7.0", @@ -224,16 +224,16 @@ } }, "node_modules/@eversdk/core": { - "version": "1.46.1", - "resolved": "https://registry.npmjs.org/@eversdk/core/-/core-1.46.1.tgz", + "version": "1.47.0", + "resolved": "https://registry.npmjs.org/@eversdk/core/-/core-1.47.0.tgz", "integrity": "sha512-Poq1CWw9oqH0hm55eSJLZDXtgIxB6spN4QRtiRWoo44ZlsUNTrRTrnAg+qIHfkmqO/6EDjPnxs15mOg9vDG3pg==", "engines": { "node": ">=6" } }, "node_modules/@eversdk/lib-node": { - "version": "1.46.1", - "resolved": "https://registry.npmjs.org/@eversdk/lib-node/-/lib-node-1.46.1.tgz", + "version": "1.47.0", + "resolved": "https://registry.npmjs.org/@eversdk/lib-node/-/lib-node-1.47.0.tgz", "integrity": "sha512-70Ir1aVj+OQA8l/hbo3ihBiEVgzD1O4k0C4FQCC7Qfv0s3DuKdenrPd+Qqlgm92cWG5g7AV7FNojiIuurwV2Sg==", "hasInstallScript": true, "engines": { diff --git a/packages/cli/package.json b/packages/cli/package.json index 5103ab13..837d4d3e 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@eversdk/cli", - "version": "1.46.1", + "version": "1.47.0", "description": "Evercloud CLI", "homepage": "https://everx.dev/", "repository": { @@ -53,8 +53,8 @@ ], "dependencies": { "@eversdk/appkit": "^0.3.8", - "@eversdk/core": "^1.46.1", - "@eversdk/lib-node": "^1.46.1", + "@eversdk/core": "^1.47.0", + "@eversdk/lib-node": "^1.47.0", "commander": "^10.0.0", "dotenv": "^16.0.3", "everdev": "^1.7.0", diff --git a/packages/core/package.json b/packages/core/package.json index e5357fcb..2159688f 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@eversdk/core", - "version": "1.46.1", + "version": "1.47.0", "description": "TON Client for Java Script", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/core/src/version.ts b/packages/core/src/version.ts index 0cbd1e3d..105b0415 100644 --- a/packages/core/src/version.ts +++ b/packages/core/src/version.ts @@ -1 +1 @@ -export const packageVersion = "1.46.1"; +export const packageVersion = "1.47.0"; diff --git a/packages/lib-node/lib/Cargo.toml b/packages/lib-node/lib/Cargo.toml index d4ddaf13..7cfb607c 100644 --- a/packages/lib-node/lib/Cargo.toml +++ b/packages/lib-node/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'ever_sdk_node_addon' -version = '1.46.1' +version = '1.47.0' authors = [ 'TON Labs' ] license = 'Apache-2.0' @@ -10,7 +10,7 @@ crate-type = [ 'staticlib' ] [dependencies] libc = '0.2' -ton_client = { git = 'https://github.com/everx-labs/ever-sdk.git', tag = '1.46.1', default-features = false, features = [ 'std', 'rustls-tls-webpki-roots' ] } +ever_client = { git = 'https://github.com/everx-labs/ever-sdk.git', default-features = false, features = [ 'std', 'rustls-tls-webpki-roots' ] } [profile.release] lto = true diff --git a/packages/lib-node/lib/src/lib.rs b/packages/lib-node/lib/src/lib.rs index 6d9b8c53..53ad3e66 100644 --- a/packages/lib-node/lib/src/lib.rs +++ b/packages/lib-node/lib/src/lib.rs @@ -12,6 +12,6 @@ */ extern crate libc; -extern crate ton_client; +extern crate ever_client; -pub use ton_client::{tc_create_context, tc_destroy_context, tc_request, tc_request_sync}; +pub use ever_client::{tc_create_context, tc_destroy_context, tc_request, tc_request_sync}; diff --git a/packages/lib-node/package.json b/packages/lib-node/package.json index 8133947a..cfabe1ca 100644 --- a/packages/lib-node/package.json +++ b/packages/lib-node/package.json @@ -1,6 +1,6 @@ { "name": "@eversdk/lib-node", - "version": "1.46.1", + "version": "1.47.0", "description": "TON Client NodeJs AddOn", "repository": { "type": "git", diff --git a/packages/lib-react-native-jsi/package.json b/packages/lib-react-native-jsi/package.json index c792a9c0..18bb89ed 100644 --- a/packages/lib-react-native-jsi/package.json +++ b/packages/lib-react-native-jsi/package.json @@ -1,6 +1,6 @@ { "name": "@eversdk/lib-react-native-jsi", - "version": "1.46.1", + "version": "1.47.0", "description": "TON Client React Native JSI Module", "main": "lib/commonjs/index", "module": "lib/module/index", diff --git a/packages/lib-react-native/android/lib/Cargo.toml b/packages/lib-react-native/android/lib/Cargo.toml index 4454a45b..e0c8ebbd 100644 --- a/packages/lib-react-native/android/lib/Cargo.toml +++ b/packages/lib-react-native/android/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'ever_sdk_react_native_android' -version = '1.46.1' +version = '1.47.0' authors = [ 'TON Labs' ] license = 'Apache-2.0' @@ -12,7 +12,7 @@ crate-type = [ 'cdylib' ] openssl-sys = { version = "0.9.97", features = [ "vendored" ] } lazy_static = '1.4.0' jni = { default-features = false, version = '0.12.0' } -ton_client = { git = 'https://github.com/everx-labs/ever-sdk.git', tag = '1.46.1' } +ever_client = { git = 'https://github.com/everx-labs/ever-sdk.git' } [profile.release] lto = true diff --git a/packages/lib-react-native/android/lib/src/lib.rs b/packages/lib-react-native/android/lib/src/lib.rs index da1ae22f..ae3855e9 100644 --- a/packages/lib-react-native/android/lib/src/lib.rs +++ b/packages/lib-react-native/android/lib/src/lib.rs @@ -12,11 +12,11 @@ */ extern crate jni; -extern crate ton_client; +extern crate ever_client; #[macro_use] extern crate lazy_static; -use self::ton_client::{create_context, destroy_context, request, ContextHandle}; +use self::ever_client::{create_context, destroy_context, request, ContextHandle}; use jni::objects::{GlobalRef, JClass, JObject, JString, JValue}; use jni::sys::{jlong, jstring}; diff --git a/packages/lib-react-native/ios/lib/Cargo.toml b/packages/lib-react-native/ios/lib/Cargo.toml index 39396cb1..62e5f898 100644 --- a/packages/lib-react-native/ios/lib/Cargo.toml +++ b/packages/lib-react-native/ios/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'ever_sdk_react_native_ios' -version = '1.46.1' +version = '1.47.0' authors = [ 'TON Labs' ] license = 'Apache-2.0' @@ -10,7 +10,7 @@ crate-type = [ 'staticlib' ] [dependencies] libc = '0.2' -ton_client = { git = 'https://github.com/everx-labs/ever-sdk.git', tag = '1.46.1', default-features = false, features = [ 'std', 'rustls-tls-webpki-roots' ] } +ever_client = { git = 'https://github.com/everx-labs/ever-sdk.git', default-features = false, features = [ 'std', 'rustls-tls-webpki-roots' ] } [profile.release] lto = true diff --git a/packages/lib-react-native/ios/lib/src/lib.rs b/packages/lib-react-native/ios/lib/src/lib.rs index f1365421..9575369e 100644 --- a/packages/lib-react-native/ios/lib/src/lib.rs +++ b/packages/lib-react-native/ios/lib/src/lib.rs @@ -12,9 +12,9 @@ */ extern crate libc; -extern crate ton_client; +extern crate ever_client; -pub use ton_client::{ +pub use ever_client::{ tc_create_context, tc_destroy_context, tc_destroy_string, tc_read_string, tc_request, tc_request_sync, CResponseHandler, ContextHandle, ResponseType, StringData, }; diff --git a/packages/lib-react-native/package.json b/packages/lib-react-native/package.json index f65943bf..15c8dd6b 100644 --- a/packages/lib-react-native/package.json +++ b/packages/lib-react-native/package.json @@ -1,6 +1,6 @@ { "name": "@eversdk/lib-react-native", - "version": "1.46.1", + "version": "1.47.0", "description": "TON Client React Native Module", "main": "index.js", "repository": { diff --git a/packages/lib-web/lib/Cargo.toml b/packages/lib-web/lib/Cargo.toml index 55f98eea..3a3ee484 100644 --- a/packages/lib-web/lib/Cargo.toml +++ b/packages/lib-web/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'ever_sdk_wasm_module' -version = '1.46.1' +version = '1.47.0' edition = '2018' description = 'TON Client WASM binding' license = 'Apache-2.0' @@ -28,7 +28,7 @@ lazy_static = '1.4.0' # just to fix building of rand for WASM: getrandom = { default-features = false, features = [ 'js' ], version = '0.2.2' } -ton_client = { default-features = false, features = [ 'wasm' ], git = 'https://github.com/everx-labs/ever-sdk.git', tag = '1.46.1' } +ever_client = { default-features = false, features = [ 'wasm' ], git = 'https://github.com/everx-labs/ever-sdk.git' } [dependencies.web-sys] version = '0.3.57' diff --git a/packages/lib-web/lib/src/lib.rs b/packages/lib-web/lib/src/lib.rs index 0da7d92b..1fa199c9 100644 --- a/packages/lib-web/lib/src/lib.rs +++ b/packages/lib-web/lib/src/lib.rs @@ -14,7 +14,7 @@ use js_sys::Error; use std::collections::HashMap; use std::sync::Mutex; -use ton_client::{create_context, destroy_context, request}; +use ever_client::{create_context, destroy_context, request}; use wasm_bindgen::prelude::*; mod conv; diff --git a/packages/lib-web/package.json b/packages/lib-web/package.json index 828781ae..c3936cc8 100644 --- a/packages/lib-web/package.json +++ b/packages/lib-web/package.json @@ -1,6 +1,6 @@ { "name": "@eversdk/lib-web", - "version": "1.46.1", + "version": "1.47.0", "description": "TON Client WASM module for browsers", "main": "index.js", "repository": { diff --git a/packages/tests-node/package.json b/packages/tests-node/package.json index d5df7b49..572cf091 100644 --- a/packages/tests-node/package.json +++ b/packages/tests-node/package.json @@ -1,6 +1,6 @@ { "name": "@eversdk/tests-node", - "version": "1.46.1", + "version": "1.47.0", "private": true, "description": "TON Client Tests runner on NodeJs", "main": "index.js", diff --git a/packages/tests-react-native-jsi/package.json b/packages/tests-react-native-jsi/package.json index ea4e108f..fd4c27fe 100644 --- a/packages/tests-react-native-jsi/package.json +++ b/packages/tests-react-native-jsi/package.json @@ -1,6 +1,6 @@ { "name": "@eversdk/tests-react-native-jsi", - "version": "1.46.1", + "version": "1.47.0", "private": true, "main": "index.js", "browser": true, diff --git a/packages/tests-react-native/package.json b/packages/tests-react-native/package.json index a29b1f9f..0fcf7253 100644 --- a/packages/tests-react-native/package.json +++ b/packages/tests-react-native/package.json @@ -1,6 +1,6 @@ { "name": "@eversdk/tests-react-native", - "version": "1.46.1", + "version": "1.47.0", "private": true, "main": "index.js", "browser": true, diff --git a/packages/tests-web/package.json b/packages/tests-web/package.json index 4be2573c..de024fa8 100644 --- a/packages/tests-web/package.json +++ b/packages/tests-web/package.json @@ -1,6 +1,6 @@ { "name": "@eversdk/tests-web", - "version": "1.46.1", + "version": "1.47.0", "private": true, "description": "TON Client WASM module tests runner", "scripts": { diff --git a/packages/tests/package.json b/packages/tests/package.json index cdaaae51..63874b8c 100644 --- a/packages/tests/package.json +++ b/packages/tests/package.json @@ -1,6 +1,6 @@ { "name": "@eversdk/tests", - "version": "1.46.1", + "version": "1.47.0", "private": true, "description": "TON Client Tests", "main": "dist/index.js",