From 37c1023eb595d3b3969a1b135ebe0e154f072668 Mon Sep 17 00:00:00 2001 From: krpeacock <16298804+krpeacock@users.noreply.github.com> Date: Thu, 12 Dec 2024 20:28:56 +0000 Subject: [PATCH 1/2] chore: release 2.2.0 --- docs/CHANGELOG.md | 2 + e2e/node/package.json | 10 ++-- package-lock.json | 62 ++++++++++++------------ package.json | 4 +- packages/agent/package.json | 6 +-- packages/assets/package.json | 6 +-- packages/auth-client/package.json | 8 +-- packages/candid/package.json | 4 +- packages/identity-secp256k1/package.json | 4 +- packages/identity/package.json | 6 +-- packages/principal/package.json | 2 +- packages/use-auth-client/package.json | 12 ++--- 12 files changed, 64 insertions(+), 62 deletions(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index be0e3764..3965c648 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -2,6 +2,8 @@ ## [Unreleased] +## [2.2.0] - 2024-12-12 + ### Added - fix: `target_canister` is used only for `install_chunked_code` of management canister, complying with internet computer specification diff --git a/e2e/node/package.json b/e2e/node/package.json index 631b45d5..ce674393 100644 --- a/e2e/node/package.json +++ b/e2e/node/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@do-not-publish/ic-node-e2e-tests", - "version": "2.1.3", + "version": "2.2.0", "type": "module", "scripts": { "ci": "npm run e2e", @@ -16,10 +16,10 @@ "test": "" }, "dependencies": { - "@dfinity/agent": "^2.1.3", - "@dfinity/assets": "^2.1.3", - "@dfinity/identity": "^2.1.3", - "@dfinity/principal": "^2.1.3", + "@dfinity/agent": "^2.2.0", + "@dfinity/assets": "^2.2.0", + "@dfinity/identity": "^2.2.0", + "@dfinity/principal": "^2.2.0", "whatwg-fetch": "^3.6.2" }, "devDependencies": { diff --git a/package-lock.json b/package-lock.json index 29f8021d..d1a1ca70 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dfinity/agent-monorepo", - "version": "2.1.3", + "version": "2.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@dfinity/agent-monorepo", - "version": "2.1.3", + "version": "2.2.0", "license": "Apache-2.0", "devDependencies": { "@jest/types": "^29.6.3", @@ -63,12 +63,12 @@ }, "e2e/node": { "name": "@do-not-publish/ic-node-e2e-tests", - "version": "2.1.3", + "version": "2.2.0", "dependencies": { - "@dfinity/agent": "^2.1.3", - "@dfinity/assets": "^2.1.3", - "@dfinity/identity": "^2.1.3", - "@dfinity/principal": "^2.1.3", + "@dfinity/agent": "^2.2.0", + "@dfinity/assets": "^2.2.0", + "@dfinity/identity": "^2.2.0", + "@dfinity/principal": "^2.2.0", "whatwg-fetch": "^3.6.2" }, "devDependencies": { @@ -18426,7 +18426,7 @@ }, "packages/agent": { "name": "@dfinity/agent", - "version": "2.1.3", + "version": "2.2.0", "license": "Apache-2.0", "dependencies": { "@noble/curves": "^1.4.0", @@ -18452,8 +18452,8 @@ "whatwg-fetch": "^3.0.0" }, "peerDependencies": { - "@dfinity/candid": "^2.1.3", - "@dfinity/principal": "^2.1.3" + "@dfinity/candid": "^2.2.0", + "@dfinity/principal": "^2.2.0" } }, "packages/agent/node_modules/@typescript-eslint/eslint-plugin": { @@ -18772,7 +18772,7 @@ }, "packages/assets": { "name": "@dfinity/assets", - "version": "2.1.3", + "version": "2.2.0", "license": "Apache-2.0", "dependencies": { "base64-arraybuffer": "^1.0.2", @@ -18792,8 +18792,8 @@ "typedoc": "^0.22.11" }, "peerDependencies": { - "@dfinity/agent": "^2.1.3", - "@dfinity/principal": "^2.1.3", + "@dfinity/agent": "^2.2.0", + "@dfinity/principal": "^2.2.0", "@noble/hashes": "^1.3.1" } }, @@ -19098,7 +19098,7 @@ }, "packages/auth-client": { "name": "@dfinity/auth-client", - "version": "2.1.3", + "version": "2.2.0", "license": "Apache-2.0", "dependencies": { "idb": "^7.0.2" @@ -19121,9 +19121,9 @@ "whatwg-fetch": "^3.0.0" }, "peerDependencies": { - "@dfinity/agent": "^2.1.3", - "@dfinity/identity": "^2.1.3", - "@dfinity/principal": "^2.1.3" + "@dfinity/agent": "^2.2.0", + "@dfinity/identity": "^2.2.0", + "@dfinity/principal": "^2.2.0" } }, "packages/auth-client/node_modules/@typescript-eslint/eslint-plugin": { @@ -19420,7 +19420,7 @@ }, "packages/candid": { "name": "@dfinity/candid", - "version": "2.1.3", + "version": "2.2.0", "license": "Apache-2.0", "devDependencies": { "@types/jest": "^29.5.5", @@ -19438,7 +19438,7 @@ "whatwg-fetch": "^3.0.0" }, "peerDependencies": { - "@dfinity/principal": "^2.1.3" + "@dfinity/principal": "^2.2.0" } }, "packages/candid/node_modules/@typescript-eslint/eslint-plugin": { @@ -19749,7 +19749,7 @@ }, "packages/identity": { "name": "@dfinity/identity", - "version": "2.1.3", + "version": "2.2.0", "license": "Apache-2.0", "dependencies": { "@noble/curves": "^1.2.0", @@ -19771,16 +19771,16 @@ "whatwg-fetch": "^3.0.0" }, "peerDependencies": { - "@dfinity/agent": "^2.1.3", - "@dfinity/principal": "^2.1.3" + "@dfinity/agent": "^2.2.0", + "@dfinity/principal": "^2.2.0" } }, "packages/identity-secp256k1": { "name": "@dfinity/identity-secp256k1", - "version": "2.1.3", + "version": "2.2.0", "license": "Apache-2.0", "dependencies": { - "@dfinity/agent": "^2.1.3", + "@dfinity/agent": "^2.2.0", "@noble/curves": "^1.4.0", "@noble/hashes": "^1.3.1", "@scure/bip32": "^1.4.0", @@ -20100,7 +20100,7 @@ }, "packages/principal": { "name": "@dfinity/principal", - "version": "2.1.3", + "version": "2.2.0", "license": "Apache-2.0", "dependencies": { "@noble/hashes": "^1.3.1" @@ -20460,14 +20460,14 @@ }, "packages/use-auth-client": { "name": "@dfinity/use-auth-client", - "version": "2.1.3", + "version": "2.2.0", "license": "Apache-2.0", "dependencies": { - "@dfinity/agent": "^2.1.3", - "@dfinity/auth-client": "^2.1.3", - "@dfinity/candid": "^2.1.3", - "@dfinity/identity": "^2.1.3", - "@dfinity/principal": "^2.1.3", + "@dfinity/agent": "^2.2.0", + "@dfinity/auth-client": "^2.2.0", + "@dfinity/candid": "^2.2.0", + "@dfinity/identity": "^2.2.0", + "@dfinity/principal": "^2.2.0", "react": ">16.8" }, "devDependencies": { diff --git a/package.json b/package.json index c69f04e9..f3d9f8f9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dfinity/agent-monorepo", - "version": "2.1.3", + "version": "2.2.0", "private": true, "description": "Use an Agent to interact with the Internet Computer from your JavaScript program.", "workspaces": { @@ -157,6 +157,6 @@ } }, "overrides": { - "nanoid": "^5.0.9" + "nanoid": "^5.0.9" } } diff --git a/packages/agent/package.json b/packages/agent/package.json index 8d3bff39..3530ee06 100644 --- a/packages/agent/package.json +++ b/packages/agent/package.json @@ -1,6 +1,6 @@ { "name": "@dfinity/agent", - "version": "2.1.3", + "version": "2.2.0", "author": "DFINITY Stiftung ", "license": "Apache-2.0", "description": "JavaScript and TypeScript library to interact with the Internet Computer", @@ -47,8 +47,8 @@ "test:coverage": "jest --collectCoverage" }, "peerDependencies": { - "@dfinity/candid": "^2.1.3", - "@dfinity/principal": "^2.1.3" + "@dfinity/candid": "^2.2.0", + "@dfinity/principal": "^2.2.0" }, "dependencies": { "@noble/curves": "^1.4.0", diff --git a/packages/assets/package.json b/packages/assets/package.json index 9a0b2e43..b329434a 100644 --- a/packages/assets/package.json +++ b/packages/assets/package.json @@ -1,6 +1,6 @@ { "name": "@dfinity/assets", - "version": "2.1.3", + "version": "2.2.0", "author": "DFINITY Stiftung ", "license": "Apache-2.0", "description": "JavaScript and TypeScript library to manage assets on the Internet Computer", @@ -49,8 +49,8 @@ "test:coverage": "jest --collectCoverage" }, "peerDependencies": { - "@dfinity/agent": "^2.1.3", - "@dfinity/principal": "^2.1.3", + "@dfinity/agent": "^2.2.0", + "@dfinity/principal": "^2.2.0", "@noble/hashes": "^1.3.1" }, "dependencies": { diff --git a/packages/auth-client/package.json b/packages/auth-client/package.json index 5ae5ec4c..424e674a 100755 --- a/packages/auth-client/package.json +++ b/packages/auth-client/package.json @@ -1,6 +1,6 @@ { "name": "@dfinity/auth-client", - "version": "2.1.3", + "version": "2.2.0", "author": "DFINITY Stiftung ", "license": "Apache-2.0", "description": "JavaScript and TypeScript library to provide a simple integration with an IC Internet Identity", @@ -46,9 +46,9 @@ "test:coverage": "jest --collectCoverage" }, "peerDependencies": { - "@dfinity/agent": "^2.1.3", - "@dfinity/identity": "^2.1.3", - "@dfinity/principal": "^2.1.3" + "@dfinity/agent": "^2.2.0", + "@dfinity/identity": "^2.2.0", + "@dfinity/principal": "^2.2.0" }, "dependencies": { "idb": "^7.0.2" diff --git a/packages/candid/package.json b/packages/candid/package.json index 5f5c6071..940b3e20 100644 --- a/packages/candid/package.json +++ b/packages/candid/package.json @@ -1,6 +1,6 @@ { "name": "@dfinity/candid", - "version": "2.1.3", + "version": "2.2.0", "author": "DFINITY Stiftung ", "license": "Apache-2.0", "description": "JavaScript and TypeScript library to work with candid interfaces", @@ -48,7 +48,7 @@ "test:coverage": "jest --collectCoverage" }, "peerDependencies": { - "@dfinity/principal": "^2.1.3" + "@dfinity/principal": "^2.2.0" }, "devDependencies": { "@types/jest": "^29.5.5", diff --git a/packages/identity-secp256k1/package.json b/packages/identity-secp256k1/package.json index ee2c171e..d2f4488e 100644 --- a/packages/identity-secp256k1/package.json +++ b/packages/identity-secp256k1/package.json @@ -1,6 +1,6 @@ { "name": "@dfinity/identity-secp256k1", - "version": "2.1.3", + "version": "2.2.0", "author": "DFINITY Stiftung ", "license": "Apache-2.0", "description": "JavaScript and TypeScript library to manage Secp256k1KeyIdentities for use with the Internet Computer", @@ -14,7 +14,7 @@ "test:coverage": "jest --collectCoverage" }, "dependencies": { - "@dfinity/agent": "^2.1.3", + "@dfinity/agent": "^2.2.0", "@noble/curves": "^1.4.0", "@noble/hashes": "^1.3.1", "@scure/bip32": "^1.4.0", diff --git a/packages/identity/package.json b/packages/identity/package.json index cf948f5a..e2b24b64 100644 --- a/packages/identity/package.json +++ b/packages/identity/package.json @@ -1,6 +1,6 @@ { "name": "@dfinity/identity", - "version": "2.1.3", + "version": "2.2.0", "author": "DFINITY Stiftung ", "license": "Apache-2.0", "description": "JavaScript and TypeScript library to manage identity with the Internet Computer", @@ -45,8 +45,8 @@ "test:coverage": "jest --collectCoverage" }, "peerDependencies": { - "@dfinity/agent": "^2.1.3", - "@dfinity/principal": "^2.1.3" + "@dfinity/agent": "^2.2.0", + "@dfinity/principal": "^2.2.0" }, "dependencies": { "@noble/curves": "^1.2.0", diff --git a/packages/principal/package.json b/packages/principal/package.json index 2bc26573..a25a1a28 100644 --- a/packages/principal/package.json +++ b/packages/principal/package.json @@ -1,6 +1,6 @@ { "name": "@dfinity/principal", - "version": "2.1.3", + "version": "2.2.0", "author": "DFINITY Stiftung ", "license": "Apache-2.0", "description": "JavaScript and TypeScript library to work with Internet Computer principals", diff --git a/packages/use-auth-client/package.json b/packages/use-auth-client/package.json index 2e2443f4..28741d54 100644 --- a/packages/use-auth-client/package.json +++ b/packages/use-auth-client/package.json @@ -1,6 +1,6 @@ { "name": "@dfinity/use-auth-client", - "version": "2.1.3", + "version": "2.2.0", "description": "React hooks for using the auth client", "main": "./lib/cjs/index.js", "module": "./lib/esm/index.js", @@ -41,11 +41,11 @@ "directory": "packages/use-auth-client" }, "dependencies": { - "@dfinity/agent": "^2.1.3", - "@dfinity/auth-client": "^2.1.3", - "@dfinity/candid": "^2.1.3", - "@dfinity/identity": "^2.1.3", - "@dfinity/principal": "^2.1.3", + "@dfinity/agent": "^2.2.0", + "@dfinity/auth-client": "^2.2.0", + "@dfinity/candid": "^2.2.0", + "@dfinity/identity": "^2.2.0", + "@dfinity/principal": "^2.2.0", "react": ">16.8" }, "devDependencies": { From 915439ced553034700f9bf03dc4ee6f1591c62a8 Mon Sep 17 00:00:00 2001 From: Kaia Peacock Date: Thu, 12 Dec 2024 12:32:19 -0800 Subject: [PATCH 2/2] Update CHANGELOG.md --- docs/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 3965c648..209aa94e 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -7,11 +7,11 @@ ### Added - fix: `target_canister` is used only for `install_chunked_code` of management canister, complying with internet computer specification -- chore: pins nanoid dev dependency version to override warning - feat: Add support for effective target canister ID in management canister calls. ### Changed +- chore: pins nanoid dev dependency version to override warning - chore: Removes warning that users found unhelpful, when a message originates from other sources than the identity provider in `AuthClient` during authentication. - chore: fixes typo in DelegationIdentity jsdoc comment - chore: Removes warning that users found unhelpful, when a message originates from other sources than the identity provider in `AuthClient` during authentication.