From 4c2fb7ceb6c4a6e3fd631b94ac78e0ce024b7949 Mon Sep 17 00:00:00 2001 From: Luca8991 Date: Mon, 26 Feb 2024 16:35:11 +0100 Subject: [PATCH 1/2] chore: bump dfinity deps to v1.0.1 --- package-lock.json | 79 +++++++++++++++++------------------------------ package.json | 8 ++--- 2 files changed, 33 insertions(+), 54 deletions(-) diff --git a/package-lock.json b/package-lock.json index afdfda5..885f492 100644 --- a/package-lock.json +++ b/package-lock.json @@ -39,10 +39,10 @@ "node": "^14 || ^16 || >=17" }, "peerDependencies": { - "@dfinity/agent": "^0.20.1", - "@dfinity/candid": "^0.20.1", - "@dfinity/identity-secp256k1": "^0.20.1", - "@dfinity/principal": "^0.20.1" + "@dfinity/agent": "^1.0.1", + "@dfinity/candid": "^1.0.1", + "@dfinity/identity-secp256k1": "^1.0.1", + "@dfinity/principal": "^1.0.1" } }, "node_modules/@ampproject/remapping": { @@ -2335,9 +2335,9 @@ } }, "node_modules/@dfinity/agent": { - "version": "0.20.1", - "resolved": "https://registry.npmjs.org/@dfinity/agent/-/agent-0.20.1.tgz", - "integrity": "sha512-Ykk0eaFz8b9f94HldOvDCyBErwJTFY3x1S3yEPEtTgeS2UDZolezVzYgOt/vcjtpGcJvM/kQDSGCvOJNlf58NQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@dfinity/agent/-/agent-1.0.1.tgz", + "integrity": "sha512-QoCiKIWEgsXoaiHpb76M2qLXYDS9IdfvC81dLJYvX9KVXRq8Ojo4S82tBqBFGtM0j0EKEC6mIAJV/bqhOJTtjQ==", "peer": true, "dependencies": { "@noble/curves": "^1.2.0", @@ -2348,31 +2348,31 @@ "simple-cbor": "^0.4.1" }, "peerDependencies": { - "@dfinity/candid": "^0.20.1", - "@dfinity/principal": "^0.20.1" + "@dfinity/candid": "^1.0.1", + "@dfinity/principal": "^1.0.1" } }, "node_modules/@dfinity/candid": { - "version": "0.20.1", - "resolved": "https://registry.npmjs.org/@dfinity/candid/-/candid-0.20.1.tgz", - "integrity": "sha512-o8g/GOoAAbWr7uY8111nKd+6ARGTsy9viGjVkgzUg9Tpfx5KY0HSap2c1JJ00YkIxjb3dlihL8Xs8a/N7Jp+/A==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@dfinity/candid/-/candid-1.0.1.tgz", + "integrity": "sha512-PfZNV1fTOWtl+NhLOw71ACLYGugKF9HdEJKtkyBJqbj+6pqshvK6rllCUkGwMsmXfP8YopLzmoNVdy1rp/eOgg==", "peer": true, "peerDependencies": { - "@dfinity/principal": "^0.20.1" + "@dfinity/principal": "^1.0.1" } }, "node_modules/@dfinity/identity-secp256k1": { - "version": "0.20.1", - "resolved": "https://registry.npmjs.org/@dfinity/identity-secp256k1/-/identity-secp256k1-0.20.1.tgz", - "integrity": "sha512-KH4/V9AsTYQK+1tQrpr3LCVkEI/pmuK5vSW1e68K7VHxjSvRUiM7OV4EH6x+B92JC7eIErNILPIyi0PoTL5BvA==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@dfinity/identity-secp256k1/-/identity-secp256k1-1.0.1.tgz", + "integrity": "sha512-NFK0K9UXLBcbkZZeXGZFaUvxdkikL7T7SoieJduV8IuO0ToUSKCp1ZlQkpzjObOCod0PuaU8vPMkS+voMNkbHw==", "peer": true, "dependencies": { - "@dfinity/agent": "^0.20.1", + "@dfinity/agent": "^1.0.1", + "@noble/curves": "^1.3.0", "@noble/hashes": "^1.3.1", "bip39": "^3.1.0", "bs58check": "^3.0.1", - "hdkey": "^2.1.0", - "secp256k1": "^5.0.0" + "hdkey": "^2.1.0" } }, "node_modules/@dfinity/identity-secp256k1/node_modules/base-x": { @@ -2400,31 +2400,10 @@ "bs58": "^5.0.0" } }, - "node_modules/@dfinity/identity-secp256k1/node_modules/node-addon-api": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-5.1.0.tgz", - "integrity": "sha512-eh0GgfEkpnoWDq+VY8OyvYhFEzBk6jIYbRKdIlyTiAXIVJ8PyBaKb0rp7oDtoddbdoHWhq8wwr+XZ81F1rpNdA==", - "peer": true - }, - "node_modules/@dfinity/identity-secp256k1/node_modules/secp256k1": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-5.0.0.tgz", - "integrity": "sha512-TKWX8xvoGHrxVdqbYeZM9w+izTF4b9z3NhSaDkdn81btvuh+ivbIMGT/zQvDtTFWhRlThpoz6LEYTr7n8A5GcA==", - "hasInstallScript": true, - "peer": true, - "dependencies": { - "elliptic": "^6.5.4", - "node-addon-api": "^5.0.0", - "node-gyp-build": "^4.2.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, "node_modules/@dfinity/principal": { - "version": "0.20.1", - "resolved": "https://registry.npmjs.org/@dfinity/principal/-/principal-0.20.1.tgz", - "integrity": "sha512-R+l9QMunqZAo38+khc0kb7l3EUVqIb28lD8pI5tjDc0CFCvqoe3jbog2SH4z1TrLBmXuPeI5hteMT/J+R+K+7Q==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@dfinity/principal/-/principal-1.0.1.tgz", + "integrity": "sha512-pCAuTLcvZEZ8fYgVzTVhfUfFGadxeWN4v2z8Q0rizeiqcHKhbJVfWUiXXjzPGG5lNz2DxKyUHQ/WS4UTbTaxvg==", "peer": true, "dependencies": { "@noble/hashes": "^1.3.1" @@ -4210,21 +4189,21 @@ } }, "node_modules/@noble/curves": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", - "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.3.0.tgz", + "integrity": "sha512-t01iSXPuN+Eqzb4eBX0S5oubSqXbK/xXa1Ne18Hj8f9pStxztHCE2gfboSp/dZRLSqfuLpRK2nDXDK+W9puocA==", "peer": true, "dependencies": { - "@noble/hashes": "1.3.2" + "@noble/hashes": "1.3.3" }, "funding": { "url": "https://paulmillr.com/funding/" } }, "node_modules/@noble/hashes": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", - "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.3.tgz", + "integrity": "sha512-V7/fPHgl+jsVPXqqeOzT8egNj2iBIVt+ECeMMG8TdcnTikP3oaBtUVqpT/gYCR68aEBJSF+XbYUxStjbFMqIIA==", "engines": { "node": ">= 16" }, diff --git a/package.json b/package.json index 92d3c12..c2b31f4 100644 --- a/package.json +++ b/package.json @@ -60,9 +60,9 @@ "loglevel": "^1.8.1" }, "peerDependencies": { - "@dfinity/agent": "^0.20.1", - "@dfinity/candid": "^0.20.1", - "@dfinity/identity-secp256k1": "^0.20.1", - "@dfinity/principal": "^0.20.1" + "@dfinity/agent": "^1.0.1", + "@dfinity/candid": "^1.0.1", + "@dfinity/identity-secp256k1": "^1.0.1", + "@dfinity/principal": "^1.0.1" } } From c74c1a8d9efa9ad85793e6ea99e77d3ff35a6132 Mon Sep 17 00:00:00 2001 From: Luca8991 Date: Mon, 26 Feb 2024 16:36:10 +0100 Subject: [PATCH 2/2] chore: bump to version v0.3.4 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 885f492..7cb9cd2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ic-websocket-js", - "version": "0.3.3", + "version": "0.3.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ic-websocket-js", - "version": "0.3.3", + "version": "0.3.4", "license": "MIT", "dependencies": { "loglevel": "^1.8.1" diff --git a/package.json b/package.json index c2b31f4..04c61e8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ic-websocket-js", - "version": "0.3.3", + "version": "0.3.4", "description": "IC WebSocket on the Internet Computer", "license": "MIT", "repository": {