From 3912957f3d5cb8ca62fb73361e73c18b84ac936f Mon Sep 17 00:00:00 2001 From: ilbertt Date: Thu, 31 Oct 2024 15:49:11 +0100 Subject: [PATCH 1/3] chore: update rust and js sdks --- Cargo.lock | 44 +++++---------------------- tests/package-lock.json | 32 +++++++++---------- tests/package.json | 4 +-- tests/src/test_canister_rs/Cargo.toml | 2 +- 4 files changed, 27 insertions(+), 55 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9f74a6a..dbe73ef 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1448,19 +1448,6 @@ dependencies = [ "url 2.5.2", ] -[[package]] -name = "ic-cdk" -version = "0.15.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "038ff230bf0fc8630943e3c52e989d248a7c89834ccb65da408fabc5817a475b" -dependencies = [ - "candid", - "ic-cdk-macros 0.15.0", - "ic0", - "serde", - "serde_bytes", -] - [[package]] name = "ic-cdk" version = "0.16.0" @@ -1468,26 +1455,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dd8ecacd682fa05a985253592963306cb9799622d7b1cce4b1edb89c6ec85be1" dependencies = [ "candid", - "ic-cdk-macros 0.16.0", + "ic-cdk-macros", "ic0", "serde", "serde_bytes", ] -[[package]] -name = "ic-cdk-macros" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3af44fb4ec3a4b18831c9d3303ca8fa2ace846c4022d50cb8df4122635d3782e" -dependencies = [ - "candid", - "proc-macro2", - "quote", - "serde", - "serde_tokenstream", - "syn 2.0.85", -] - [[package]] name = "ic-cdk-macros" version = "0.16.0" @@ -1504,12 +1477,12 @@ dependencies = [ [[package]] name = "ic-cdk-timers" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61fdca8e1d9ffb65ae68019b342c182009de9dc206fd849db0b0e90ee19f6fa4" +checksum = "0c7c528bbb3d4d934b43a364855995d318649217c7510f40f92ad52eba3ff7be" dependencies = [ "futures 0.3.31", - "ic-cdk 0.15.1", + "ic-cdk", "ic0", "serde", "serde_bytes", @@ -1570,14 +1543,13 @@ dependencies = [ [[package]] name = "ic-websocket-cdk" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfba259904c00d8e41b8fdf174823719e15ca09bc1e86eca7534ec9bf59ee384" +checksum = "51382714c27fd20a79336694b34309ba23999c5696696e865a3526cc219d8e95" dependencies = [ "base64 0.22.1", "candid", - "ic-cdk 0.15.1", - "ic-cdk-macros 0.15.0", + "ic-cdk", "ic-cdk-timers", "ic-certification", "serde", @@ -3541,7 +3513,7 @@ name = "test_canister_rs" version = "0.1.0" dependencies = [ "candid", - "ic-cdk 0.16.0", + "ic-cdk", "ic-websocket-cdk", "serde", ] diff --git a/tests/package-lock.json b/tests/package-lock.json index 5c274f4..4ee8df6 100644 --- a/tests/package-lock.json +++ b/tests/package-lock.json @@ -13,7 +13,7 @@ "@dfinity/candid": "^2.1.3", "@dfinity/identity-secp256k1": "^2.1.3", "@dfinity/principal": "^2.1.3", - "ic-websocket-js": "^0.4.0" + "ic-websocket-js": "^0.4.1" }, "devDependencies": { "@babel/core": "^7.26.0", @@ -23,7 +23,7 @@ "artillery": "^2.0.21", "babel-jest": "^29.7.0", "babel-loader": "^9.2.1", - "core-js": "^3.38.1", + "core-js": "^3.39.0", "dotenv": "^16.4.5", "ic-mops": "^1.1.1", "isomorphic-fetch": "^3.0.0", @@ -17580,9 +17580,9 @@ "dev": true }, "node_modules/core-js": { - "version": "3.38.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.38.1.tgz", - "integrity": "sha512-OP35aUorbU3Zvlx7pjsFdu1rGNnD4pgw/CWoYzRY3t2EzoVT7shKHY1dlAy3f41cGIO7ZDPQimhGFTlEYkG/Hw==", + "version": "3.39.0", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.39.0.tgz", + "integrity": "sha512-raM0ew0/jJUqkJ0E6e8UDtl+y/7ktFivgWvqw8dNSQeNWoSDLvQ1H/RN3aPXB9tBd4/FhyR4RDPGhsNIMsAn7g==", "dev": true, "hasInstallScript": true, "funding": { @@ -22198,20 +22198,20 @@ } }, "node_modules/ic-websocket-js": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/ic-websocket-js/-/ic-websocket-js-0.4.0.tgz", - "integrity": "sha512-tJXlFSA0O/s67IT6b4NORJRiTi2mWdsyiFA46psZKvJfsD/4QoUrxpgz9pEasG7clmesCHZF9WmjjIuAUuJiAQ==", + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/ic-websocket-js/-/ic-websocket-js-0.4.1.tgz", + "integrity": "sha512-mGNcbpoYJ60BiqMh6EIVigdHEuliL3Xz/NESvMTzGCSnLvyztddhxbruswVmk/TSblGXw6W+jIEDmsM94/Qlvg==", "dependencies": { - "loglevel": "^1.9.1" + "loglevel": "^1.9.2" }, "engines": { "node": ">=18" }, "peerDependencies": { - "@dfinity/agent": "^2.0.0", - "@dfinity/candid": "^2.0.0", - "@dfinity/identity-secp256k1": "^2.0.0", - "@dfinity/principal": "^2.0.0" + "@dfinity/agent": "^2.1.3", + "@dfinity/candid": "^2.1.3", + "@dfinity/identity-secp256k1": "^2.1.3", + "@dfinity/principal": "^2.1.3" } }, "node_modules/iconv-lite": { @@ -25758,9 +25758,9 @@ } }, "node_modules/loglevel": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.9.1.tgz", - "integrity": "sha512-hP3I3kCrDIMuRwAwHltphhDM1r8i55H33GgqjXbrisuJhF4kRhW1dNuxsRklp4bXl8DSdLaNLuiL4A/LWRfxvg==", + "version": "1.9.2", + "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.9.2.tgz", + "integrity": "sha512-HgMmCqIJSAKqo68l0rS2AanEWfkxaZ5wNiEFb5ggm08lDs9Xl2KxBlX3PTcaD2chBM1gXAYf491/M2Rv8Jwayg==", "engines": { "node": ">= 0.6.0" }, diff --git a/tests/package.json b/tests/package.json index cbe43ca..54b5abb 100644 --- a/tests/package.json +++ b/tests/package.json @@ -23,7 +23,7 @@ "artillery": "^2.0.21", "babel-jest": "^29.7.0", "babel-loader": "^9.2.1", - "core-js": "^3.38.1", + "core-js": "^3.39.0", "dotenv": "^16.4.5", "ic-mops": "^1.1.1", "isomorphic-fetch": "^3.0.0", @@ -51,6 +51,6 @@ "@dfinity/candid": "^2.1.3", "@dfinity/identity-secp256k1": "^2.1.3", "@dfinity/principal": "^2.1.3", - "ic-websocket-js": "^0.4.0" + "ic-websocket-js": "^0.4.1" } } diff --git a/tests/src/test_canister_rs/Cargo.toml b/tests/src/test_canister_rs/Cargo.toml index 31638d4..af1a565 100644 --- a/tests/src/test_canister_rs/Cargo.toml +++ b/tests/src/test_canister_rs/Cargo.toml @@ -9,5 +9,5 @@ crate-type = ["cdylib"] [dependencies] candid = { workspace = true } ic-cdk = { workspace = true } -ic-websocket-cdk = "0.4.0" +ic-websocket-cdk = "0.4.1" serde = { workspace = true } From 788e50a06d93e9747ce85f16eb9d3060cc49e19e Mon Sep 17 00:00:00 2001 From: ilbertt Date: Thu, 31 Oct 2024 15:53:51 +0100 Subject: [PATCH 2/3] chore: update CODEOWNERS --- .github/CODEOWNERS | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index e0b4493..5f1a122 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,2 +1 @@ * @ilbertt -* @massimoalbarello From a647d165299e44770e251d876c190b9012071efe Mon Sep 17 00:00:00 2001 From: ilbertt Date: Thu, 31 Oct 2024 16:49:20 +0100 Subject: [PATCH 3/3] chore: update motoko cdk --- tests/mops.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/mops.toml b/tests/mops.toml index ef772d8..94eb3ec 100644 --- a/tests/mops.toml +++ b/tests/mops.toml @@ -1,3 +1,3 @@ [dependencies] base = "0.13.2" -ic-websocket-cdk = "0.4.0" +ic-websocket-cdk = "0.4.1"