From 7eb45ce70bc880aca3626217ba3a1aba40f93bd3 Mon Sep 17 00:00:00 2001 From: tarikgul Date: Fri, 27 Oct 2023 12:24:37 -0400 Subject: [PATCH] fix(registry): update asset-regsitry to inlcude extra foreign assets --- package.json | 2 +- src/registry/Registry.spec.ts | 14 ++++++++++++++ yarn.lock | 10 +++++----- 3 files changed, 20 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 5d9ba141..cd4b2de0 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,6 @@ }, "dependencies": { "@polkadot/api": "^10.9.1", - "@substrate/asset-transfer-api-registry": "^0.2.9" + "@substrate/asset-transfer-api-registry": "^0.2.11" } } diff --git a/src/registry/Registry.spec.ts b/src/registry/Registry.spec.ts index a47bd002..238667d6 100644 --- a/src/registry/Registry.spec.ts +++ b/src/registry/Registry.spec.ts @@ -204,6 +204,7 @@ describe('Registry', () => { '11': 'web3', '12': 'USDcp', '15': 'Meme', + '20': 'StabCP', '21': 'WBTC', '77': 'TRQ', '99': 'Cypress', @@ -219,6 +220,8 @@ describe('Registry', () => { '1984': 'USDt', '862812': 'CUBO', '868367': 'VSC', + '19120101': 'NTDC', + '19760401': 'APPL', '20090103': 'BTC', }, specName: 'statemint', @@ -230,6 +233,17 @@ describe('Registry', () => { name: '', symbol: '', }, + EQ: { + symbol: 'EQ', + name: 'Equilibrium', + multiLocation: '{"parents":1,"interior":{"x1":{"parachain":2011}}}', + }, + EQD: { + symbol: 'EQD', + name: 'Equilibrium Dollar', + multiLocation: + '{"parents":1,"interior":{"x2":[{"parachain":2011},{"generalKey":{"length":3,"data":"0x6571640000000000000000000000000000000000000000000000000000000000"}}]}}', + }, }, }, ]; diff --git a/yarn.lock b/yarn.lock index 9822986d..e6b8f91a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1294,10 +1294,10 @@ __metadata: languageName: node linkType: hard -"@substrate/asset-transfer-api-registry@npm:^0.2.9": - version: 0.2.9 - resolution: "@substrate/asset-transfer-api-registry@npm:0.2.9" - checksum: 703736b799001405b2358410349f88c820f8faec72d865dfddf89374ffefee596e17041f4083b4da9ae9d5ed3a5b65f66a2419681597ad8b953fe0cc7e9bf985 +"@substrate/asset-transfer-api-registry@npm:^0.2.11": + version: 0.2.11 + resolution: "@substrate/asset-transfer-api-registry@npm:0.2.11" + checksum: 9fb315e9a4511146d8ea3b10982ff149c2f3f76c2063e3d48c7ab07d2453320684625f70935ef453f18b1b993765b397747a813b9e86eb916bb88873f4866a3d languageName: node linkType: hard @@ -1306,7 +1306,7 @@ __metadata: resolution: "@substrate/asset-transfer-api@workspace:." dependencies: "@polkadot/api": ^10.9.1 - "@substrate/asset-transfer-api-registry": ^0.2.9 + "@substrate/asset-transfer-api-registry": ^0.2.11 "@substrate/dev": ^0.6.7 chalk: 4.1.2 typedoc: ^0.24.8