From 8df32af61a96b9e9bddd62e19f6a625c6da7da5f Mon Sep 17 00:00:00 2001 From: ieow Date: Fri, 23 Feb 2024 16:26:29 +0800 Subject: [PATCH] fix: remove outdated type --- package-lock.json | 34 ++++++-------------- packages/common-types/package.json | 1 - packages/core/package.json | 1 - packages/private-keys/package.json | 1 - packages/security-questions/package.json | 1 - packages/seed-phrase/package.json | 1 - packages/service-provider-base/package.json | 1 - packages/service-provider-torus/package.json | 1 - packages/share-transfer/package.json | 1 - packages/storage-layer-torus/package.json | 1 - packages/web-storage/package.json | 5 +-- 11 files changed, 10 insertions(+), 38 deletions(-) diff --git a/package-lock.json b/package-lock.json index 391074081..d5f9f5cd0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4827,9 +4827,9 @@ "dev": true }, "node_modules/@types/bn.js": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-5.1.2.tgz", - "integrity": "sha512-dkpZu0szUtn9UXTmw+e0AJFd4D2XAxDnsCLdc05SfqpqzPEBft8eQr8uaFitfo/dUUOZERaLec2hHMG87A4Dxg==", + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-5.1.5.tgz", + "integrity": "sha512-V46N0zwKRF5Q00AZ6hWtN0T8gGmDUaUzLWQvHFo5yThtVwK/VCenFY3wXVbOvNfajEpsTfQM4IN9k/d6gUVX3A==", "dependencies": { "@types/node": "*" } @@ -24264,7 +24264,6 @@ "ts-custom-error": "^3.3.1" }, "devDependencies": { - "@types/bn.js": "^5.1.2", "@types/elliptic": "^6.4.15" }, "engines": { @@ -24277,7 +24276,7 @@ }, "packages/core": { "name": "@tkey-mpc/core", - "version": "9.0.3", + "version": "9.0.2", "license": "MIT", "dependencies": { "@tkey-mpc/common-types": "^9.0.2", @@ -24290,7 +24289,6 @@ "json-stable-stringify": "^1.0.2" }, "devDependencies": { - "@types/bn.js": "^5.1.2", "@types/elliptic": "^6.4.15", "@types/json-stable-stringify": "^1.0.34" }, @@ -24345,9 +24343,7 @@ "bn.js": "^5.2.1", "randombytes": "^2.1.0" }, - "devDependencies": { - "@types/bn.js": "^5.1.2" - }, + "devDependencies": {}, "engines": { "node": ">=18.x", "npm": ">=9.x" @@ -24365,9 +24361,7 @@ "bn.js": "^5.2.1", "ethereum-cryptography": "^2.1.2" }, - "devDependencies": { - "@types/bn.js": "^5.1.2" - }, + "devDependencies": {}, "engines": { "node": ">=18.x", "npm": ">=9.x" @@ -24386,9 +24380,7 @@ "bn.js": "^5.2.1", "ethers": "^6.7.1" }, - "devDependencies": { - "@types/bn.js": "^5.1.2" - }, + "devDependencies": {}, "engines": { "node": ">=18.x", "npm": ">=9.x" @@ -24407,7 +24399,6 @@ "elliptic": "^6.5.4" }, "devDependencies": { - "@types/bn.js": "^5.1.2", "@types/elliptic": "^6.4.15" }, "engines": { @@ -24431,7 +24422,6 @@ "elliptic": "^6.5.4" }, "devDependencies": { - "@types/bn.js": "^5.1.2", "@types/elliptic": "^6.4.15" }, "engines": { @@ -24470,9 +24460,7 @@ "@toruslabs/http-helpers": "^5.0.0", "bn.js": "^5.2.1" }, - "devDependencies": { - "@types/bn.js": "^5.1.2" - }, + "devDependencies": {}, "engines": { "node": ">=18.x", "npm": ">=9.x" @@ -24494,7 +24482,6 @@ "json-stable-stringify": "^1.0.2" }, "devDependencies": { - "@types/bn.js": "^5.1.2", "@types/json-stable-stringify": "^1.0.34" }, "engines": { @@ -24511,16 +24498,13 @@ "license": "MIT", "dependencies": { "@tkey-mpc/common-types": "^9.0.2", - "@types/bn.js": "^5.1.1", "bn.js": "^5.2.1" }, "devDependencies": { "@tkey-mpc/core": "^9.0.2", "@tkey-mpc/service-provider-base": "^9.0.2", "@tkey-mpc/storage-layer-torus": "^9.0.2", - "@types/bn.js": "^5.1.2", - "@types/filesystem": "^0.0.33", - "bn.js": "^5.2.1" + "@types/filesystem": "^0.0.33" }, "engines": { "node": ">=18.x", diff --git a/packages/common-types/package.json b/packages/common-types/package.json index 7337d3bcf..f307b4932 100644 --- a/packages/common-types/package.json +++ b/packages/common-types/package.json @@ -53,7 +53,6 @@ "ts-custom-error": "^3.3.1" }, "devDependencies": { - "@types/bn.js": "^5.1.2", "@types/elliptic": "^6.4.15" }, "bugs": { diff --git a/packages/core/package.json b/packages/core/package.json index 05f692cd4..65aa88aab 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -44,7 +44,6 @@ "json-stable-stringify": "^1.0.2" }, "devDependencies": { - "@types/bn.js": "^5.1.2", "@types/elliptic": "^6.4.15", "@types/json-stable-stringify": "^1.0.34" }, diff --git a/packages/private-keys/package.json b/packages/private-keys/package.json index 4dba72b0b..1064bf03a 100644 --- a/packages/private-keys/package.json +++ b/packages/private-keys/package.json @@ -38,7 +38,6 @@ "@babel/runtime": "7.x" }, "devDependencies": { - "@types/bn.js": "^5.1.2" }, "dependencies": { "@tkey-mpc/common-types": "^9.0.2", diff --git a/packages/security-questions/package.json b/packages/security-questions/package.json index 64aea1bfc..3a0756168 100644 --- a/packages/security-questions/package.json +++ b/packages/security-questions/package.json @@ -46,7 +46,6 @@ "ethereum-cryptography": "^2.1.2" }, "devDependencies": { - "@types/bn.js": "^5.1.2" }, "lint-staged": { "!(*d).ts": [ diff --git a/packages/seed-phrase/package.json b/packages/seed-phrase/package.json index 0a18b34de..ec53b0612 100644 --- a/packages/seed-phrase/package.json +++ b/packages/seed-phrase/package.json @@ -47,7 +47,6 @@ "ethers": "^6.7.1" }, "devDependencies": { - "@types/bn.js": "^5.1.2" }, "lint-staged": { "!(*d).ts": [ diff --git a/packages/service-provider-base/package.json b/packages/service-provider-base/package.json index d91988d40..c4fe38d80 100644 --- a/packages/service-provider-base/package.json +++ b/packages/service-provider-base/package.json @@ -48,7 +48,6 @@ "elliptic": "^6.5.4" }, "devDependencies": { - "@types/bn.js": "^5.1.2", "@types/elliptic": "^6.4.15" }, "bugs": { diff --git a/packages/service-provider-torus/package.json b/packages/service-provider-torus/package.json index 455a99ddc..ceac3b946 100644 --- a/packages/service-provider-torus/package.json +++ b/packages/service-provider-torus/package.json @@ -46,7 +46,6 @@ "elliptic": "^6.5.4" }, "devDependencies": { - "@types/bn.js": "^5.1.2", "@types/elliptic": "^6.4.15" }, "bugs": { diff --git a/packages/share-transfer/package.json b/packages/share-transfer/package.json index 738910e80..bac94b293 100644 --- a/packages/share-transfer/package.json +++ b/packages/share-transfer/package.json @@ -44,7 +44,6 @@ "bn.js": "^5.2.1" }, "devDependencies": { - "@types/bn.js": "^5.1.2" }, "bugs": { "url": "https://github.com/tkey/tkey/issues" diff --git a/packages/storage-layer-torus/package.json b/packages/storage-layer-torus/package.json index df45fc04a..d275c1d3b 100644 --- a/packages/storage-layer-torus/package.json +++ b/packages/storage-layer-torus/package.json @@ -46,7 +46,6 @@ "json-stable-stringify": "^1.0.2" }, "devDependencies": { - "@types/bn.js": "^5.1.2", "@types/json-stable-stringify": "^1.0.34" }, "bugs": { diff --git a/packages/web-storage/package.json b/packages/web-storage/package.json index 147817323..d9229d5d0 100644 --- a/packages/web-storage/package.json +++ b/packages/web-storage/package.json @@ -44,16 +44,13 @@ }, "dependencies": { "@tkey-mpc/common-types": "^9.0.2", - "@types/bn.js": "^5.1.1", "bn.js": "^5.2.1" }, "devDependencies": { "@tkey-mpc/core": "^9.0.2", "@tkey-mpc/service-provider-base": "^9.0.2", "@tkey-mpc/storage-layer-torus": "^9.0.2", - "@types/bn.js": "^5.1.2", - "@types/filesystem": "^0.0.33", - "bn.js": "^5.2.1" + "@types/filesystem": "^0.0.33" }, "bugs": { "url": "https://github.com/tkey/tkey/issues"