Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(registry): update registry dep #435

Merged
merged 1 commit into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@
},
"dependencies": {
"@polkadot/api": "^13.1.1",
"@substrate/asset-transfer-api-registry": "^0.2.18"
"@substrate/asset-transfer-api-registry": "^0.2.22"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,11 @@ describe('getPaysWithFeeOriginAssetLocationFromRegistry', () => {
const expected = {
parents: '2',
interior: {
X1: {
GlobalConsensus: 'Rococo',
},
X1: [
{
GlobalConsensus: 'Rococo',
},
],
},
};

Expand Down Expand Up @@ -97,7 +99,7 @@ describe('getPaysWithFeeOriginAssetLocationFromRegistry', () => {
const err = () => getPaysWithFeeOriginAssetLocationFromRegistry(assetHubAPI, paysWithFeeOriginAssetId);

expect(err).toThrow(
`Multiple assets found with symbol USDT:\nassetId: 66 symbol: USDT\nassetId: 67 symbol: USDT\nassetId: 2000 symbol: USDT\nassetId: 8888 symbol: USDT\nPlease provide an integer assetId or valid asset location for paysWithFeeOrigin rather than the token symbol`,
`Multiple assets found with symbol USDT:\nassetId: 66 symbol: USDT\nassetId: 67 symbol: USDT\nassetId: 2000 symbol: USDT\nassetId: 8888 symbol: USDT\nassetId: 4000000012 symbol: USDT\nPlease provide an integer assetId or valid asset location for paysWithFeeOrigin rather than the token symbol`,
);
});
});
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1410,10 +1410,10 @@ __metadata:
languageName: node
linkType: hard

"@substrate/asset-transfer-api-registry@npm:^0.2.18":
version: 0.2.20
resolution: "@substrate/asset-transfer-api-registry@npm:0.2.20"
checksum: 10/77fc71840c9289476f6549662916e7cf2be370a51db2228ff678c31168f3c4d17dccd0c0373d044d2408c035bffa1608ab910b77037640b29ac187514b960929
"@substrate/asset-transfer-api-registry@npm:^0.2.22":
version: 0.2.22
resolution: "@substrate/asset-transfer-api-registry@npm:0.2.22"
checksum: 10/644a6af34190a3555824e6f9af4d191f52ee05db8ce7f03ac78dd7a34a46f764f16b0d26b8d6354e72d6b9b6d681a6af9b5bd2a0551568981f524c0dbe0e1b8c
languageName: node
linkType: hard

Expand All @@ -1422,7 +1422,7 @@ __metadata:
resolution: "@substrate/asset-transfer-api@workspace:."
dependencies:
"@polkadot/api": "npm:^13.1.1"
"@substrate/asset-transfer-api-registry": "npm:^0.2.18"
"@substrate/asset-transfer-api-registry": "npm:^0.2.22"
"@substrate/dev": "npm:^0.7.1"
"@types/cli-progress": "npm:^3"
ansi-colors: "npm:^4.1.3"
Expand Down