From 2d45f44f4bbad62686d24a9c4f3d76e0bf70e2d7 Mon Sep 17 00:00:00 2001 From: Fuxing Loh <4266087+fuxingloh@users.noreply.github.com> Date: Fri, 22 Oct 2021 22:25:25 +0800 Subject: [PATCH] moved defichain to peerDependencies (#486) --- package-lock.json | 12 +++++++----- packages/whale-api-client/package.json | 4 +++- packages/whale-api-wallet/package.json | 4 +++- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index c37ef6316..d0b727f43 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15885,8 +15885,10 @@ "@defichain/jellyfish-api-core": "^0.48.1", "abort-controller": "^3.0.0", "cross-fetch": "^3.1.2", - "defichain": "^0.48.1", "url-search-params-polyfill": "8.1.1" + }, + "peerDependencies": { + "defichain": "^0.48.1" } }, "packages/whale-api-wallet": { @@ -15896,7 +15898,9 @@ "dependencies": { "@defichain/jellyfish-transaction-builder": "^0.48.1", "@defichain/jellyfish-wallet": "^0.48.1", - "@defichain/whale-api-client": "0.0.0", + "@defichain/whale-api-client": "0.0.0" + }, + "peerDependencies": { "defichain": "^0.48.1" } } @@ -16622,7 +16626,6 @@ "@defichain/jellyfish-api-core": "^0.48.1", "abort-controller": "^3.0.0", "cross-fetch": "^3.1.2", - "defichain": "^0.48.1", "url-search-params-polyfill": "8.1.1" } }, @@ -16631,8 +16634,7 @@ "requires": { "@defichain/jellyfish-transaction-builder": "^0.48.1", "@defichain/jellyfish-wallet": "^0.48.1", - "@defichain/whale-api-client": "0.0.0", - "defichain": "^0.48.1" + "@defichain/whale-api-client": "0.0.0" } }, "@eslint/eslintrc": { diff --git a/packages/whale-api-client/package.json b/packages/whale-api-client/package.json index 0eb641ae7..272033030 100644 --- a/packages/whale-api-client/package.json +++ b/packages/whale-api-client/package.json @@ -28,7 +28,9 @@ "@defichain/jellyfish-api-core": "^0.48.1", "abort-controller": "^3.0.0", "cross-fetch": "^3.1.2", - "defichain": "^0.48.1", "url-search-params-polyfill": "8.1.1" + }, + "peerDependencies": { + "defichain": "^0.48.1" } } diff --git a/packages/whale-api-wallet/package.json b/packages/whale-api-wallet/package.json index a6aa6d72d..c2149e971 100644 --- a/packages/whale-api-wallet/package.json +++ b/packages/whale-api-wallet/package.json @@ -26,7 +26,9 @@ "dependencies": { "@defichain/jellyfish-transaction-builder": "^0.48.1", "@defichain/jellyfish-wallet": "^0.48.1", - "@defichain/whale-api-client": "0.0.0", + "@defichain/whale-api-client": "0.0.0" + }, + "peerDependencies": { "defichain": "^0.48.1" } }