From b992e83c22657fbaa9d374d5cef1ff0f96d57c7b Mon Sep 17 00:00:00 2001 From: Daniel Savu Date: Mon, 25 Jan 2021 13:33:55 +0000 Subject: [PATCH] Move PolkaBTC currency type definitions to types repo (#4493) --- packages/apps-config/package.json | 2 +- packages/apps-config/src/api/specVersioned/polkabtc.ts | 2 -- yarn.lock | 10 +++++----- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/packages/apps-config/package.json b/packages/apps-config/package.json index 92aa9392b9..a947ee53a2 100644 --- a/packages/apps-config/package.json +++ b/packages/apps-config/package.json @@ -12,7 +12,7 @@ "@acala-network/type-definitions": "^0.6.2-7", "@babel/runtime": "^7.12.5", "@edgeware/node-types": "^3.2.0", - "@interlay/polkabtc-types": "^0.3.1", + "@interlay/polkabtc-types": "^0.3.4", "@laminar/type-definitions": "^0.2.0-beta.143", "@polkadot/networks": "^5.4.4", "@sora-substrate/type-definitions": "^0.3.5", diff --git a/packages/apps-config/src/api/specVersioned/polkabtc.ts b/packages/apps-config/src/api/specVersioned/polkabtc.ts index 869a15eada..81c2c80f53 100644 --- a/packages/apps-config/src/api/specVersioned/polkabtc.ts +++ b/packages/apps-config/src/api/specVersioned/polkabtc.ts @@ -9,6 +9,4 @@ import definitions from '@interlay/polkabtc-types'; // With the next release of the API this should be able tp be added to the base const extended = definitions as OverrideBundleDefinition; -extended.instances = { balances: ['dot', 'polkaBtc'] }; - export default extended; diff --git a/yarn.lock b/yarn.lock index 386d25f6e9..f71d384e75 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1518,10 +1518,10 @@ __metadata: languageName: node linkType: hard -"@interlay/polkabtc-types@npm:^0.3.1": - version: 0.3.1 - resolution: "@interlay/polkabtc-types@npm:0.3.1" - checksum: 29b44e9763cd89b2a7241360666cf175fd3d7597d60ee78813a356e4d3d7346b9e2dc8455885596626712244a00e04ea26d0e486b541565d8696f7cd8138a210 +"@interlay/polkabtc-types@npm:^0.3.4": + version: 0.3.4 + resolution: "@interlay/polkabtc-types@npm:0.3.4" + checksum: 23d68e84fe0cf448c5cd61e9f8713728223971100a2e3825d8f03a1973a7ce9cd17156abaa6eeae73ac0aad720a249d646c5edec486153d802ae2c89e689faf2 languageName: node linkType: hard @@ -2188,7 +2188,7 @@ __metadata: "@acala-network/type-definitions": ^0.6.2-7 "@babel/runtime": ^7.12.5 "@edgeware/node-types": ^3.2.0 - "@interlay/polkabtc-types": ^0.3.1 + "@interlay/polkabtc-types": ^0.3.4 "@laminar/type-definitions": ^0.2.0-beta.143 "@polkadot/networks": ^5.4.4 "@sora-substrate/type-definitions": ^0.3.5