From b4aabbae3e9810ccc79c41f38a65693ba4e3df24 Mon Sep 17 00:00:00 2001 From: dfx-json <98767015+dfx-json@users.noreply.github.com> Date: Mon, 30 Sep 2024 00:04:30 +0000 Subject: [PATCH 1/2] chore: release 2.1.2 --- docs/CHANGELOG.md | 2 + e2e/node/package.json | 10 ++-- package-lock.json | 62 ++++++++++++------------ package.json | 2 +- 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, 63 insertions(+), 61 deletions(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index f13f17c9..9d281c4f 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -2,6 +2,8 @@ ## [Unreleased] +## [2.1.2] - 2024-09-30 + ## [2.1.1] - 2024-09-13 ### Added diff --git a/e2e/node/package.json b/e2e/node/package.json index 085c5e98..80dcb46f 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.1", + "version": "2.1.2", "type": "module", "scripts": { "ci": "npm run e2e", @@ -16,10 +16,10 @@ "test": "" }, "dependencies": { - "@dfinity/agent": "^2.1.1", - "@dfinity/assets": "^2.1.1", - "@dfinity/identity": "^2.1.1", - "@dfinity/principal": "^2.1.1", + "@dfinity/agent": "^2.1.2", + "@dfinity/assets": "^2.1.2", + "@dfinity/identity": "^2.1.2", + "@dfinity/principal": "^2.1.2", "whatwg-fetch": "^3.6.2" }, "devDependencies": { diff --git a/package-lock.json b/package-lock.json index bf53d215..3c987086 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dfinity/agent-monorepo", - "version": "2.1.1", + "version": "2.1.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@dfinity/agent-monorepo", - "version": "2.1.1", + "version": "2.1.2", "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.1", + "version": "2.1.2", "dependencies": { - "@dfinity/agent": "^2.1.1", - "@dfinity/assets": "^2.1.1", - "@dfinity/identity": "^2.1.1", - "@dfinity/principal": "^2.1.1", + "@dfinity/agent": "^2.1.2", + "@dfinity/assets": "^2.1.2", + "@dfinity/identity": "^2.1.2", + "@dfinity/principal": "^2.1.2", "whatwg-fetch": "^3.6.2" }, "devDependencies": { @@ -17386,7 +17386,7 @@ }, "packages/agent": { "name": "@dfinity/agent", - "version": "2.1.1", + "version": "2.1.2", "license": "Apache-2.0", "dependencies": { "@noble/curves": "^1.4.0", @@ -17412,8 +17412,8 @@ "whatwg-fetch": "^3.0.0" }, "peerDependencies": { - "@dfinity/candid": "^2.1.1", - "@dfinity/principal": "^2.1.1" + "@dfinity/candid": "^2.1.2", + "@dfinity/principal": "^2.1.2" } }, "packages/agent/node_modules/@typescript-eslint/eslint-plugin": { @@ -17732,7 +17732,7 @@ }, "packages/assets": { "name": "@dfinity/assets", - "version": "2.1.1", + "version": "2.1.2", "license": "Apache-2.0", "dependencies": { "base64-arraybuffer": "^1.0.2", @@ -17752,8 +17752,8 @@ "typedoc": "^0.22.11" }, "peerDependencies": { - "@dfinity/agent": "^2.1.1", - "@dfinity/principal": "^2.1.1", + "@dfinity/agent": "^2.1.2", + "@dfinity/principal": "^2.1.2", "@noble/hashes": "^1.3.1" } }, @@ -18058,7 +18058,7 @@ }, "packages/auth-client": { "name": "@dfinity/auth-client", - "version": "2.1.1", + "version": "2.1.2", "license": "Apache-2.0", "dependencies": { "idb": "^7.0.2" @@ -18081,9 +18081,9 @@ "whatwg-fetch": "^3.0.0" }, "peerDependencies": { - "@dfinity/agent": "^2.1.1", - "@dfinity/identity": "^2.1.1", - "@dfinity/principal": "^2.1.1" + "@dfinity/agent": "^2.1.2", + "@dfinity/identity": "^2.1.2", + "@dfinity/principal": "^2.1.2" } }, "packages/auth-client/node_modules/@typescript-eslint/eslint-plugin": { @@ -18380,7 +18380,7 @@ }, "packages/candid": { "name": "@dfinity/candid", - "version": "2.1.1", + "version": "2.1.2", "license": "Apache-2.0", "devDependencies": { "@types/jest": "^29.5.5", @@ -18398,7 +18398,7 @@ "whatwg-fetch": "^3.0.0" }, "peerDependencies": { - "@dfinity/principal": "^2.1.1" + "@dfinity/principal": "^2.1.2" } }, "packages/candid/node_modules/@typescript-eslint/eslint-plugin": { @@ -18709,7 +18709,7 @@ }, "packages/identity": { "name": "@dfinity/identity", - "version": "2.1.1", + "version": "2.1.2", "license": "Apache-2.0", "dependencies": { "@noble/curves": "^1.2.0", @@ -18730,17 +18730,17 @@ "whatwg-fetch": "^3.0.0" }, "peerDependencies": { - "@dfinity/agent": "^2.1.1", - "@dfinity/principal": "^2.1.1", + "@dfinity/agent": "^2.1.2", + "@dfinity/principal": "^2.1.2", "@peculiar/webcrypto": "^1.4.0" } }, "packages/identity-secp256k1": { "name": "@dfinity/identity-secp256k1", - "version": "2.1.1", + "version": "2.1.2", "license": "Apache-2.0", "dependencies": { - "@dfinity/agent": "^2.1.1", + "@dfinity/agent": "^2.1.2", "@noble/curves": "^1.4.0", "@noble/hashes": "^1.3.1", "@scure/bip32": "^1.4.0", @@ -19043,7 +19043,7 @@ }, "packages/principal": { "name": "@dfinity/principal", - "version": "2.1.1", + "version": "2.1.2", "license": "Apache-2.0", "dependencies": { "@noble/hashes": "^1.3.1" @@ -19403,14 +19403,14 @@ }, "packages/use-auth-client": { "name": "@dfinity/use-auth-client", - "version": "2.1.1", + "version": "2.1.2", "license": "Apache-2.0", "dependencies": { - "@dfinity/agent": "^2.1.1", - "@dfinity/auth-client": "^2.1.1", - "@dfinity/candid": "^2.1.1", - "@dfinity/identity": "^2.1.1", - "@dfinity/principal": "^2.1.1", + "@dfinity/agent": "^2.1.2", + "@dfinity/auth-client": "^2.1.2", + "@dfinity/candid": "^2.1.2", + "@dfinity/identity": "^2.1.2", + "@dfinity/principal": "^2.1.2", "react": ">16.8" }, "devDependencies": { diff --git a/package.json b/package.json index 9f95b013..491f2915 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dfinity/agent-monorepo", - "version": "2.1.1", + "version": "2.1.2", "private": true, "description": "Use an Agent to interact with the Internet Computer from your JavaScript program.", "workspaces": { diff --git a/packages/agent/package.json b/packages/agent/package.json index f4728812..4d1ad392 100644 --- a/packages/agent/package.json +++ b/packages/agent/package.json @@ -1,6 +1,6 @@ { "name": "@dfinity/agent", - "version": "2.1.1", + "version": "2.1.2", "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.1", - "@dfinity/principal": "^2.1.1" + "@dfinity/candid": "^2.1.2", + "@dfinity/principal": "^2.1.2" }, "dependencies": { "@noble/curves": "^1.4.0", diff --git a/packages/assets/package.json b/packages/assets/package.json index 0ae3330f..db4b4fc4 100644 --- a/packages/assets/package.json +++ b/packages/assets/package.json @@ -1,6 +1,6 @@ { "name": "@dfinity/assets", - "version": "2.1.1", + "version": "2.1.2", "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.1", - "@dfinity/principal": "^2.1.1", + "@dfinity/agent": "^2.1.2", + "@dfinity/principal": "^2.1.2", "@noble/hashes": "^1.3.1" }, "dependencies": { diff --git a/packages/auth-client/package.json b/packages/auth-client/package.json index f3ddbde9..53f8a0aa 100755 --- a/packages/auth-client/package.json +++ b/packages/auth-client/package.json @@ -1,6 +1,6 @@ { "name": "@dfinity/auth-client", - "version": "2.1.1", + "version": "2.1.2", "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.1", - "@dfinity/identity": "^2.1.1", - "@dfinity/principal": "^2.1.1" + "@dfinity/agent": "^2.1.2", + "@dfinity/identity": "^2.1.2", + "@dfinity/principal": "^2.1.2" }, "dependencies": { "idb": "^7.0.2" diff --git a/packages/candid/package.json b/packages/candid/package.json index fc37c99b..7aa54110 100644 --- a/packages/candid/package.json +++ b/packages/candid/package.json @@ -1,6 +1,6 @@ { "name": "@dfinity/candid", - "version": "2.1.1", + "version": "2.1.2", "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.1" + "@dfinity/principal": "^2.1.2" }, "devDependencies": { "@types/jest": "^29.5.5", diff --git a/packages/identity-secp256k1/package.json b/packages/identity-secp256k1/package.json index 34a9b8ab..4cd15c6c 100644 --- a/packages/identity-secp256k1/package.json +++ b/packages/identity-secp256k1/package.json @@ -1,6 +1,6 @@ { "name": "@dfinity/identity-secp256k1", - "version": "2.1.1", + "version": "2.1.2", "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.1", + "@dfinity/agent": "^2.1.2", "@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 1649ffc8..b611a687 100644 --- a/packages/identity/package.json +++ b/packages/identity/package.json @@ -1,6 +1,6 @@ { "name": "@dfinity/identity", - "version": "2.1.1", + "version": "2.1.2", "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.1", - "@dfinity/principal": "^2.1.1", + "@dfinity/agent": "^2.1.2", + "@dfinity/principal": "^2.1.2", "@peculiar/webcrypto": "^1.4.0" }, "dependencies": { diff --git a/packages/principal/package.json b/packages/principal/package.json index e01ce1b5..fb9aa52a 100644 --- a/packages/principal/package.json +++ b/packages/principal/package.json @@ -1,6 +1,6 @@ { "name": "@dfinity/principal", - "version": "2.1.1", + "version": "2.1.2", "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 22d1e39f..9c3d4e5f 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.1", + "version": "2.1.2", "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.1", - "@dfinity/auth-client": "^2.1.1", - "@dfinity/candid": "^2.1.1", - "@dfinity/identity": "^2.1.1", - "@dfinity/principal": "^2.1.1", + "@dfinity/agent": "^2.1.2", + "@dfinity/auth-client": "^2.1.2", + "@dfinity/candid": "^2.1.2", + "@dfinity/identity": "^2.1.2", + "@dfinity/principal": "^2.1.2", "react": ">16.8" }, "devDependencies": { From 78f5b941db7a99731209d3708c670482b074d710 Mon Sep 17 00:00:00 2001 From: Jason I Date: Sun, 29 Sep 2024 17:08:40 -0700 Subject: [PATCH 2/2] chore: update CHANGELOG.md --- docs/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 9d281c4f..c63cf0dd 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -3,6 +3,7 @@ ## [Unreleased] ## [2.1.2] - 2024-09-30 +- fix: revert https://github.com/dfinity/agent-js/pull/923 allow option to set agent replica time ## [2.1.1] - 2024-09-13