Skip to content

Commit

Permalink
fix: ci error resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
AMIRKHANEF committed Dec 2, 2024
1 parent b0e3121 commit 8cca7ea
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export async function getAssetOnMultiAssetChain (assetsToBeFetched, addresses, c

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

return currencyId && storageKey.endsWith(currencyId);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import { NATIVE_TOKEN_ASSET_ID, TEST_NETS } from '../../constants';
import { getPriceIdByChainName } from '../../utils';
import { balancify, closeWebsockets, newRefNotif } from '../utils';
import { balancify, closeWebsockets } from '../utils';
import { getBalances } from './getBalances.js';

/**
Expand Down Expand Up @@ -43,8 +43,6 @@ export async function getAssetOnRelayChain (addresses, chainName, userAddedEndpo
}];
});

await newRefNotif(api, chainName, port);

closeWebsockets(connectionsToBeClosed);
} catch (error) {
console.error(`getAssetOnRelayChain: Error fetching balances for ${chainName}:`, error);
Expand Down
2 changes: 2 additions & 0 deletions packages/extension-polkagate/src/util/workers/sharedWorker.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright 2019-2024 @polkadot/extension-polkagate authors & contributors
// SPDX-License-Identifier: Apache-2.0

// @ts-nocheck

import { createAssets } from '@polkagate/apps-config/assets';

import { getAssetOnAssetHub } from './shared-helpers/getAssetOnAssetHub.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"sideEffects": false,
"type": "module",
"version": "0.33.0",
"version": "0.33.1",
"dependencies": {
"@polkadot/api": "^11.2.1",
"@polkadot/extension-base": "^0.47.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/extension/src/packageInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

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

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

0 comments on commit 8cca7ea

Please sign in to comment.