@subwallet/extension-base 1.3.25-0 → 1.3.26-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.
- package/cjs/packageInfo.js +1 -1
- package/cjs/services/chain-service/constants.js +1 -1
- package/cjs/services/transaction-service/utils.js +3 -3
- package/package.json +6 -6
- package/packageInfo.js +1 -1
- package/services/chain-service/constants.js +1 -1
- package/services/transaction-service/utils.js +3 -3
package/cjs/packageInfo.js
CHANGED
|
@@ -45,7 +45,7 @@ const _BALANCE_CHAIN_GROUP = {
|
|
|
45
45
|
kusama: ['kusama', 'kintsugi', 'kintsugi_test', 'interlay', 'acala', 'statemint', 'karura', 'bifrost'],
|
|
46
46
|
// perhaps there are some runtime updates
|
|
47
47
|
centrifuge: ['centrifuge'],
|
|
48
|
-
supportBridged: ['rococo_assethub', 'statemint', 'statemine']
|
|
48
|
+
supportBridged: ['rococo_assethub', 'statemint', 'statemine', 'polimec']
|
|
49
49
|
};
|
|
50
50
|
exports._BALANCE_CHAIN_GROUP = _BALANCE_CHAIN_GROUP;
|
|
51
51
|
const _BALANCE_TOKEN_GROUP = {
|
|
@@ -50,6 +50,9 @@ function getBlockExplorerAccountRoute(explorerLink) {
|
|
|
50
50
|
if (explorerLink.includes('astral.autonomys')) {
|
|
51
51
|
return 'accounts';
|
|
52
52
|
}
|
|
53
|
+
if (explorerLink.includes('taostats.io')) {
|
|
54
|
+
return 'account';
|
|
55
|
+
}
|
|
53
56
|
return 'address';
|
|
54
57
|
}
|
|
55
58
|
function getBlockExplorerTxRoute(chainInfo) {
|
|
@@ -74,9 +77,6 @@ function getExplorerLink(chainInfo, value, type) {
|
|
|
74
77
|
return `${explorerLink}${explorerLink.endsWith('/') ? '' : '/'}${route}/${value}`;
|
|
75
78
|
}
|
|
76
79
|
if (explorerLink && (0, _util.isHex)((0, _util.hexAddPrefix)(value))) {
|
|
77
|
-
if (chainInfo.slug === 'bittensor') {
|
|
78
|
-
return undefined;
|
|
79
|
-
}
|
|
80
80
|
const route = getBlockExplorerTxRoute(chainInfo);
|
|
81
81
|
if (chainInfo.slug === 'tangle') {
|
|
82
82
|
return `${explorerLink}${explorerLink.endsWith('/') ? '' : '/'}extrinsic/${value}${route}/${value}`;
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"./cjs/detectPackage.js"
|
|
18
18
|
],
|
|
19
19
|
"type": "module",
|
|
20
|
-
"version": "1.3.
|
|
20
|
+
"version": "1.3.26-0",
|
|
21
21
|
"main": "./cjs/index.js",
|
|
22
22
|
"module": "./index.js",
|
|
23
23
|
"types": "./index.d.ts",
|
|
@@ -2665,12 +2665,12 @@
|
|
|
2665
2665
|
"@sora-substrate/type-definitions": "^1.17.7",
|
|
2666
2666
|
"@substrate/connect": "^0.8.9",
|
|
2667
2667
|
"@subwallet/chain-list": "0.2.101",
|
|
2668
|
-
"@subwallet/extension-base": "^1.3.
|
|
2669
|
-
"@subwallet/extension-chains": "^1.3.
|
|
2670
|
-
"@subwallet/extension-dapp": "^1.3.
|
|
2671
|
-
"@subwallet/extension-inject": "^1.3.
|
|
2668
|
+
"@subwallet/extension-base": "^1.3.26-0",
|
|
2669
|
+
"@subwallet/extension-chains": "^1.3.26-0",
|
|
2670
|
+
"@subwallet/extension-dapp": "^1.3.26-0",
|
|
2671
|
+
"@subwallet/extension-inject": "^1.3.26-0",
|
|
2672
2672
|
"@subwallet/keyring": "^0.1.9",
|
|
2673
|
-
"@subwallet/subwallet-api-sdk": "^1.3.
|
|
2673
|
+
"@subwallet/subwallet-api-sdk": "^1.3.26-0",
|
|
2674
2674
|
"@subwallet/ui-keyring": "^0.1.9",
|
|
2675
2675
|
"@ton/core": "^0.56.3",
|
|
2676
2676
|
"@ton/crypto": "^3.2.0",
|
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.3.
|
|
10
|
+
version: '1.3.26-0'
|
|
11
11
|
};
|
|
@@ -34,7 +34,7 @@ export const _BALANCE_CHAIN_GROUP = {
|
|
|
34
34
|
kusama: ['kusama', 'kintsugi', 'kintsugi_test', 'interlay', 'acala', 'statemint', 'karura', 'bifrost'],
|
|
35
35
|
// perhaps there are some runtime updates
|
|
36
36
|
centrifuge: ['centrifuge'],
|
|
37
|
-
supportBridged: ['rococo_assethub', 'statemint', 'statemine']
|
|
37
|
+
supportBridged: ['rococo_assethub', 'statemint', 'statemine', 'polimec']
|
|
38
38
|
};
|
|
39
39
|
export const _BALANCE_TOKEN_GROUP = {
|
|
40
40
|
crab: ['CKTON', 'PKTON'],
|
|
@@ -42,6 +42,9 @@ function getBlockExplorerAccountRoute(explorerLink) {
|
|
|
42
42
|
if (explorerLink.includes('astral.autonomys')) {
|
|
43
43
|
return 'accounts';
|
|
44
44
|
}
|
|
45
|
+
if (explorerLink.includes('taostats.io')) {
|
|
46
|
+
return 'account';
|
|
47
|
+
}
|
|
45
48
|
return 'address';
|
|
46
49
|
}
|
|
47
50
|
function getBlockExplorerTxRoute(chainInfo) {
|
|
@@ -66,9 +69,6 @@ export function getExplorerLink(chainInfo, value, type) {
|
|
|
66
69
|
return `${explorerLink}${explorerLink.endsWith('/') ? '' : '/'}${route}/${value}`;
|
|
67
70
|
}
|
|
68
71
|
if (explorerLink && isHex(hexAddPrefix(value))) {
|
|
69
|
-
if (chainInfo.slug === 'bittensor') {
|
|
70
|
-
return undefined;
|
|
71
|
-
}
|
|
72
72
|
const route = getBlockExplorerTxRoute(chainInfo);
|
|
73
73
|
if (chainInfo.slug === 'tangle') {
|
|
74
74
|
return `${explorerLink}${explorerLink.endsWith('/') ? '' : '/'}extrinsic/${value}${route}/${value}`;
|