diff --git a/js-library/package-lock.json b/js-library/package-lock.json index 9a4efeb..8c28420 100644 --- a/js-library/package-lock.json +++ b/js-library/package-lock.json @@ -29,7 +29,7 @@ "node": ">=v20.11.1" }, "peerDependencies": { - "@dfinity/principal": "^1.3.0" + "@dfinity/principal": "^2.0.0" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -150,9 +150,10 @@ } }, "node_modules/@dfinity/principal": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@dfinity/principal/-/principal-1.3.0.tgz", - "integrity": "sha512-04Ly9/VxztgmSk3LeUv1H+aA/8zCfed5gzgydVKBv9U0pk2lcCjUOMhv3G+1UCUSd8GwzrWaSwIsrzrAcHZm/g==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@dfinity/principal/-/principal-2.0.0.tgz", + "integrity": "sha512-cqJ5kOrPpxco+wvJC4TFBhdr4lkw9mnwKGAYunesyqdzSYi8lnFB4dShNqlHFWdwoxNAw6OZkt/B+0nLa+7Yqw==", + "license": "Apache-2.0", "peer": true, "dependencies": { "@noble/hashes": "^1.3.1" @@ -710,6 +711,7 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.4.0.tgz", "integrity": "sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==", + "license": "MIT", "peer": true, "engines": { "node": ">= 16" diff --git a/js-library/package.json b/js-library/package.json index b3f3c7b..0c7a99a 100644 --- a/js-library/package.json +++ b/js-library/package.json @@ -74,6 +74,6 @@ "nanoid": "^5.0.7" }, "peerDependencies": { - "@dfinity/principal": "^1.3.0" + "@dfinity/principal": "^2.0.0" } }