From 394a8fe70ecb9a5e84f6f5b64a9b9de6a5dd2ce0 Mon Sep 17 00:00:00 2001 From: Timo Glastra Date: Fri, 17 May 2024 14:48:14 +0800 Subject: [PATCH] chore: make credo peer dep Signed-off-by: Timo Glastra --- package.json | 11 +++++++---- yarn.lock | 19 +------------------ 2 files changed, 8 insertions(+), 22 deletions(-) diff --git a/package.json b/package.json index 001020a..46f91ce 100644 --- a/package.json +++ b/package.json @@ -33,17 +33,18 @@ "registry": "https://registry.npmjs.org/" }, "devDependencies": { + "@credo-ts/anoncreds": "^0.5.2", "@credo-ts/askar": "^0.5.2", + "@credo-ts/core": "^0.5.2", "@credo-ts/node": "^0.5.2", + "@hyperledger/anoncreds-shared": "^0.2.1", "@hyperledger/aries-askar-nodejs": "^0.2.1", "@types/jest": "^26.0.23", - "@types/node-fetch": "^2.6.10", "@types/uuid": "^9.0.0", "@typescript-eslint/eslint-plugin": "^4.28.2", "@typescript-eslint/parser": "^4.17.0", "jest": "^27.0.4", "nock": "^13.5.4", - "node-fetch": "^2.6.4", "prettier": "^2.2.1", "release-it": "^17.0.1", "ts-jest": "^27.0.3", @@ -51,10 +52,12 @@ "tsconfig-paths": "^3.10.1", "typescript": "~4.9.5" }, - "dependencies": { + "peerDependencies": { "@credo-ts/anoncreds": "^0.5.2", "@credo-ts/core": "^0.5.2", - "@hyperledger/anoncreds-shared": "^0.2.1", + "@hyperledger/anoncreds-shared": "^0.2.1" + }, + "dependencies": { "canonicalize": "^1.0.8", "query-string": "7.1.3" }, diff --git a/yarn.lock b/yarn.lock index 777cddb..b7c3d92 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1588,14 +1588,6 @@ resolved "https://registry.yarnpkg.com/@types/mime/-/mime-3.0.1.tgz#5f8f2bca0a5863cb69bc0b0acd88c96cb1d4ae10" integrity sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA== -"@types/node-fetch@^2.6.10": - version "2.6.10" - resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.6.10.tgz#ff5c1ceacab782f2b7ce69957d38c1c27b0dc469" - integrity sha512-PPpPK6F9ALFTn59Ka3BaL+qGuipRfxNE8qVgkp0bVixeiR2c2/L+IVOiBdu9JhhT22sWnQEp6YyHGI2b2+CMcA== - dependencies: - "@types/node" "*" - form-data "^4.0.0" - "@types/node@*": version "18.15.5" resolved "https://registry.yarnpkg.com/@types/node/-/node-18.15.5.tgz#3af577099a99c61479149b716183e70b5239324a" @@ -3507,15 +3499,6 @@ form-data@^3.0.0: combined-stream "^1.0.8" mime-types "^2.1.12" -form-data@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" - integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== - dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.8" - mime-types "^2.1.12" - formdata-polyfill@^4.0.10: version "4.0.10" resolved "https://registry.yarnpkg.com/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz#24807c31c9d402e002ab3d8c720144ceb8848423" @@ -5438,7 +5421,7 @@ node-fetch@3.3.2, node-fetch@^3.2.10: fetch-blob "^3.1.4" formdata-polyfill "^4.0.10" -node-fetch@^2.6.4, node-fetch@^2.6.7: +node-fetch@^2.6.7: version "2.7.0" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==