@subwallet/extension-base 1.3.27-0 → 1.3.27-1
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/utils/patch.js +1 -1
- package/cjs/services/transaction-service/utils.js +4 -1
- package/package.json +6 -6
- package/packageInfo.js +1 -1
- package/services/chain-service/utils/patch.js +1 -1
- package/services/transaction-service/utils.js +4 -1
package/cjs/packageInfo.js
CHANGED
|
@@ -11,7 +11,7 @@ const PRODUCTION_BRANCHES = ['master', 'webapp', 'webapp-dev'];
|
|
|
11
11
|
const branchName = process.env.BRANCH_NAME || 'subwallet-dev';
|
|
12
12
|
const fetchDomain = PRODUCTION_BRANCHES.indexOf(branchName) > -1 ? 'https://chain-list-assets.subwallet.app' : 'https://dev.sw-chain-list-assets.pages.dev';
|
|
13
13
|
const fetchFile = PRODUCTION_BRANCHES.indexOf(branchName) > -1 ? 'list.json' : 'preview.json';
|
|
14
|
-
const ChainListVersion = '0.2.
|
|
14
|
+
const ChainListVersion = '0.2.102'; // update this when build chainlist
|
|
15
15
|
|
|
16
16
|
// todo: move this interface to chainlist
|
|
17
17
|
|
|
@@ -44,6 +44,9 @@ function getBlockExplorerAccountRoute(explorerLink) {
|
|
|
44
44
|
if (explorerLink.includes('laos.statescan.io')) {
|
|
45
45
|
return '#/accounts';
|
|
46
46
|
}
|
|
47
|
+
if (explorerLink.includes('polimec.statescan.io')) {
|
|
48
|
+
return '#/accounts';
|
|
49
|
+
}
|
|
47
50
|
if (explorerLink.includes('explorer.zkverify.io')) {
|
|
48
51
|
return 'account';
|
|
49
52
|
}
|
|
@@ -65,7 +68,7 @@ function getBlockExplorerTxRoute(chainInfo) {
|
|
|
65
68
|
if (['aventus', 'deeper_network'].includes(chainInfo.slug)) {
|
|
66
69
|
return 'transaction';
|
|
67
70
|
}
|
|
68
|
-
if (['invarch', 'tangle'].includes(chainInfo.slug)) {
|
|
71
|
+
if (['invarch', 'tangle', 'polimec'].includes(chainInfo.slug)) {
|
|
69
72
|
return '#/extrinsics';
|
|
70
73
|
}
|
|
71
74
|
return 'extrinsic';
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"./cjs/detectPackage.js"
|
|
18
18
|
],
|
|
19
19
|
"type": "module",
|
|
20
|
-
"version": "1.3.27-
|
|
20
|
+
"version": "1.3.27-1",
|
|
21
21
|
"main": "./cjs/index.js",
|
|
22
22
|
"module": "./index.js",
|
|
23
23
|
"types": "./index.d.ts",
|
|
@@ -2670,12 +2670,12 @@
|
|
|
2670
2670
|
"@sora-substrate/type-definitions": "^1.17.7",
|
|
2671
2671
|
"@substrate/connect": "^0.8.9",
|
|
2672
2672
|
"@subwallet/chain-list": "0.2.102",
|
|
2673
|
-
"@subwallet/extension-base": "^1.3.27-
|
|
2674
|
-
"@subwallet/extension-chains": "^1.3.27-
|
|
2675
|
-
"@subwallet/extension-dapp": "^1.3.27-
|
|
2676
|
-
"@subwallet/extension-inject": "^1.3.27-
|
|
2673
|
+
"@subwallet/extension-base": "^1.3.27-1",
|
|
2674
|
+
"@subwallet/extension-chains": "^1.3.27-1",
|
|
2675
|
+
"@subwallet/extension-dapp": "^1.3.27-1",
|
|
2676
|
+
"@subwallet/extension-inject": "^1.3.27-1",
|
|
2677
2677
|
"@subwallet/keyring": "^0.1.9",
|
|
2678
|
-
"@subwallet/subwallet-api-sdk": "^1.3.27-
|
|
2678
|
+
"@subwallet/subwallet-api-sdk": "^1.3.27-1",
|
|
2679
2679
|
"@subwallet/ui-keyring": "^0.1.9",
|
|
2680
2680
|
"@ton/core": "^0.56.3",
|
|
2681
2681
|
"@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.27-
|
|
10
|
+
version: '1.3.27-1'
|
|
11
11
|
};
|
|
@@ -5,7 +5,7 @@ const PRODUCTION_BRANCHES = ['master', 'webapp', 'webapp-dev'];
|
|
|
5
5
|
const branchName = process.env.BRANCH_NAME || 'subwallet-dev';
|
|
6
6
|
const fetchDomain = PRODUCTION_BRANCHES.indexOf(branchName) > -1 ? 'https://chain-list-assets.subwallet.app' : 'https://dev.sw-chain-list-assets.pages.dev';
|
|
7
7
|
const fetchFile = PRODUCTION_BRANCHES.indexOf(branchName) > -1 ? 'list.json' : 'preview.json';
|
|
8
|
-
const ChainListVersion = '0.2.
|
|
8
|
+
const ChainListVersion = '0.2.102'; // update this when build chainlist
|
|
9
9
|
|
|
10
10
|
// todo: move this interface to chainlist
|
|
11
11
|
|
|
@@ -36,6 +36,9 @@ function getBlockExplorerAccountRoute(explorerLink) {
|
|
|
36
36
|
if (explorerLink.includes('laos.statescan.io')) {
|
|
37
37
|
return '#/accounts';
|
|
38
38
|
}
|
|
39
|
+
if (explorerLink.includes('polimec.statescan.io')) {
|
|
40
|
+
return '#/accounts';
|
|
41
|
+
}
|
|
39
42
|
if (explorerLink.includes('explorer.zkverify.io')) {
|
|
40
43
|
return 'account';
|
|
41
44
|
}
|
|
@@ -57,7 +60,7 @@ function getBlockExplorerTxRoute(chainInfo) {
|
|
|
57
60
|
if (['aventus', 'deeper_network'].includes(chainInfo.slug)) {
|
|
58
61
|
return 'transaction';
|
|
59
62
|
}
|
|
60
|
-
if (['invarch', 'tangle'].includes(chainInfo.slug)) {
|
|
63
|
+
if (['invarch', 'tangle', 'polimec'].includes(chainInfo.slug)) {
|
|
61
64
|
return '#/extrinsics';
|
|
62
65
|
}
|
|
63
66
|
return 'extrinsic';
|