@subwallet/extension-base 1.2.12-0 → 1.2.13-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,6 +13,6 @@ const packageInfo = {
13
13
  name: '@subwallet/extension-base',
14
14
  path: typeof __dirname === 'string' ? __dirname : 'auto',
15
15
  type: 'cjs',
16
- version: '1.2.12-0'
16
+ version: '1.2.13-0'
17
17
  };
18
18
  exports.packageInfo = packageInfo;
@@ -447,7 +447,7 @@ const subscribeGRC20Balance = _ref9 => {
447
447
  substrateApi
448
448
  } = _ref9;
449
449
  if (!(substrateApi instanceof _api.GearApi)) {
450
- console.warn('Cannot subscribe GRC20 balance without GearApi instance');
450
+ console.warn('Cannot subscribe VFT balance without GearApi instance');
451
451
  return _util.noop;
452
452
  }
453
453
  const chain = chainInfo.slug;
@@ -144,7 +144,7 @@ class SubstrateChainHandler extends _AbstractChainHandler.AbstractChainHandler {
144
144
  }
145
145
  async getGrc20TokenInfo(apiPromise, contractAddress) {
146
146
  if (!(apiPromise instanceof _api.GearApi)) {
147
- console.warn('Cannot subscribe GRC20 balance without GearApi instance');
147
+ console.warn('Cannot subscribe VFT balance without GearApi instance');
148
148
  return ['', -1, '', true];
149
149
  }
150
150
  let contractError = false;
@@ -28,7 +28,7 @@ const filterChainInfoMap = (data, ignoredChains) => {
28
28
  return !info.bitcoinInfo && !ignoredChains.includes(slug);
29
29
  }));
30
30
  };
31
- const ignoredList = ['bevm', 'bevmTest', 'bevm_testnet', 'layerEdge_testnet', 'merlinEvm', 'botanixEvmTest'];
31
+ const ignoredList = ['bevm', 'bevmTest', 'bevm_testnet', 'layerEdge_testnet', 'merlinEvm', 'botanixEvmTest', 'syscoin_evm', 'rollux_evm'];
32
32
  const filterAssetInfoMap = (chainInfo, assets) => {
33
33
  return Object.fromEntries(Object.entries(assets).filter(_ref2 => {
34
34
  let [, info] = _ref2;
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "./cjs/detectPackage.js"
18
18
  ],
19
19
  "type": "module",
20
- "version": "1.2.12-0",
20
+ "version": "1.2.13-0",
21
21
  "main": "./cjs/index.js",
22
22
  "module": "./index.js",
23
23
  "types": "./index.d.ts",
@@ -1948,11 +1948,11 @@
1948
1948
  "@reduxjs/toolkit": "^1.9.1",
1949
1949
  "@sora-substrate/type-definitions": "^1.17.7",
1950
1950
  "@substrate/connect": "^0.8.9",
1951
- "@subwallet/chain-list": "0.2.71",
1952
- "@subwallet/extension-base": "^1.2.12-0",
1953
- "@subwallet/extension-chains": "^1.2.12-0",
1954
- "@subwallet/extension-dapp": "^1.2.12-0",
1955
- "@subwallet/extension-inject": "^1.2.12-0",
1951
+ "@subwallet/chain-list": "0.2.72",
1952
+ "@subwallet/extension-base": "^1.2.13-0",
1953
+ "@subwallet/extension-chains": "^1.2.13-0",
1954
+ "@subwallet/extension-dapp": "^1.2.13-0",
1955
+ "@subwallet/extension-inject": "^1.2.13-0",
1956
1956
  "@subwallet/keyring": "^0.1.5",
1957
1957
  "@subwallet/ui-keyring": "^0.1.5",
1958
1958
  "@walletconnect/keyvaluestorage": "^1.1.1",
package/packageInfo.js CHANGED
@@ -7,5 +7,5 @@ export const packageInfo = {
7
7
  name: '@subwallet/extension-base',
8
8
  path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
9
9
  type: 'esm',
10
- version: '1.2.12-0'
10
+ version: '1.2.13-0'
11
11
  };
@@ -430,7 +430,7 @@ const subscribeGRC20Balance = ({
430
430
  substrateApi
431
431
  }) => {
432
432
  if (!(substrateApi instanceof GearApi)) {
433
- console.warn('Cannot subscribe GRC20 balance without GearApi instance');
433
+ console.warn('Cannot subscribe VFT balance without GearApi instance');
434
434
  return noop;
435
435
  }
436
436
  const chain = chainInfo.slug;
@@ -137,7 +137,7 @@ export class SubstrateChainHandler extends AbstractChainHandler {
137
137
  }
138
138
  async getGrc20TokenInfo(apiPromise, contractAddress) {
139
139
  if (!(apiPromise instanceof GearApi)) {
140
- console.warn('Cannot subscribe GRC20 balance without GearApi instance');
140
+ console.warn('Cannot subscribe VFT balance without GearApi instance');
141
141
  return ['', -1, '', true];
142
142
  }
143
143
  let contractError = false;
@@ -18,7 +18,7 @@ import { logger as createLogger } from '@polkadot/util/logger';
18
18
  const filterChainInfoMap = (data, ignoredChains) => {
19
19
  return Object.fromEntries(Object.entries(data).filter(([slug, info]) => !info.bitcoinInfo && !ignoredChains.includes(slug)));
20
20
  };
21
- const ignoredList = ['bevm', 'bevmTest', 'bevm_testnet', 'layerEdge_testnet', 'merlinEvm', 'botanixEvmTest'];
21
+ const ignoredList = ['bevm', 'bevmTest', 'bevm_testnet', 'layerEdge_testnet', 'merlinEvm', 'botanixEvmTest', 'syscoin_evm', 'rollux_evm'];
22
22
  const filterAssetInfoMap = (chainInfo, assets) => {
23
23
  return Object.fromEntries(Object.entries(assets).filter(([, info]) => chainInfo[info.originChain]));
24
24
  };