Skip to content

Commit 8cca7ea

Browse files
committed
fix: ci error resolved
1 parent b0e3121 commit 8cca7ea

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

packages/extension-polkagate/src/util/workers/shared-helpers/getAssetOnMultiAssetChain.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export async function getAssetOnMultiAssetChain (assetsToBeFetched, addresses, c
3737

3838
// @ts-ignore
3939
const foundAsset = assetsToBeFetched.find((_asset) => {
40-
const currencyId = _asset?.extras?.currencyIdScale.replace('0x', '');
40+
const currencyId = _asset?.extras?.['currencyIdScale'].replace('0x', '');
4141

4242
return currencyId && storageKey.endsWith(currencyId);
4343
});

packages/extension-polkagate/src/util/workers/shared-helpers/getAssetOnRelayChain.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import { NATIVE_TOKEN_ASSET_ID, TEST_NETS } from '../../constants';
55
import { getPriceIdByChainName } from '../../utils';
6-
import { balancify, closeWebsockets, newRefNotif } from '../utils';
6+
import { balancify, closeWebsockets } from '../utils';
77
import { getBalances } from './getBalances.js';
88

99
/**
@@ -43,8 +43,6 @@ export async function getAssetOnRelayChain (addresses, chainName, userAddedEndpo
4343
}];
4444
});
4545

46-
await newRefNotif(api, chainName, port);
47-
4846
closeWebsockets(connectionsToBeClosed);
4947
} catch (error) {
5048
console.error(`getAssetOnRelayChain: Error fetching balances for ${chainName}:`, error);

packages/extension-polkagate/src/util/workers/sharedWorker.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// Copyright 2019-2024 @polkadot/extension-polkagate authors & contributors
22
// SPDX-License-Identifier: Apache-2.0
33

4+
// @ts-nocheck
5+
46
import { createAssets } from '@polkagate/apps-config/assets';
57

68
import { getAssetOnAssetHub } from './shared-helpers/getAssetOnAssetHub.js';

packages/extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"sideEffects": false,
1717
"type": "module",
18-
"version": "0.33.0",
18+
"version": "0.33.1",
1919
"dependencies": {
2020
"@polkadot/api": "^11.2.1",
2121
"@polkadot/extension-base": "^0.47.5",

packages/extension/src/packageInfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
// Do not edit, auto-generated by @polkadot/dev
55

6-
export const packageInfo = { name: '@polkadot/extension', path: 'auto', type: 'auto', version: '0.33.0' };
6+
export const packageInfo = { name: '@polkadot/extension', path: 'auto', type: 'auto', version: '0.33.1' };

0 commit comments

Comments
 (0)