@polkadot/networks 8.3.2-7 → 8.3.2-8

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/interfaces.cjs CHANGED
@@ -46,7 +46,7 @@ function filterAvailable(n) {
46
46
  function sortNetworks(a, b) {
47
47
  const isUnSortedA = UNSORTED.includes(a.prefix);
48
48
  const isUnSortedB = UNSORTED.includes(b.prefix);
49
- return isUnSortedA === isUnSortedB ? 0 : isUnSortedA ? -1 : isUnSortedB ? 1 : a.displayName.localeCompare(b.displayName);
49
+ return isUnSortedA === isUnSortedB ? isUnSortedA ? 0 : a.displayName.localeCompare(b.displayName) : isUnSortedA ? -1 : 1;
50
50
  } // This is all the Substrate networks with our additional information
51
51
 
52
52
 
package/interfaces.js CHANGED
@@ -36,7 +36,7 @@ function filterAvailable(n) {
36
36
  function sortNetworks(a, b) {
37
37
  const isUnSortedA = UNSORTED.includes(a.prefix);
38
38
  const isUnSortedB = UNSORTED.includes(b.prefix);
39
- return isUnSortedA === isUnSortedB ? 0 : isUnSortedA ? -1 : isUnSortedB ? 1 : a.displayName.localeCompare(b.displayName);
39
+ return isUnSortedA === isUnSortedB ? isUnSortedA ? 0 : a.displayName.localeCompare(b.displayName) : isUnSortedA ? -1 : 1;
40
40
  } // This is all the Substrate networks with our additional information
41
41
 
42
42
 
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "sideEffects": false,
19
19
  "type": "module",
20
- "version": "8.3.2-7",
20
+ "version": "8.3.2-8",
21
21
  "main": "index.cjs",
22
22
  "module": "index.js",
23
23
  "types": "index.d.ts",
@@ -73,6 +73,6 @@
73
73
  },
74
74
  "dependencies": {
75
75
  "@babel/runtime": "^7.16.7",
76
- "@polkadot/util": "8.3.2-7"
76
+ "@polkadot/util": "8.3.2-8"
77
77
  }
78
78
  }
package/packageInfo.cjs CHANGED
@@ -11,6 +11,6 @@ const packageInfo = {
11
11
  name: '@polkadot/networks',
12
12
  path: typeof __dirname === 'string' ? __dirname : 'auto',
13
13
  type: 'cjs',
14
- version: '8.3.2-7'
14
+ version: '8.3.2-8'
15
15
  };
16
16
  exports.packageInfo = packageInfo;
package/packageInfo.js CHANGED
@@ -5,5 +5,5 @@ export const packageInfo = {
5
5
  name: '@polkadot/networks',
6
6
  path: new URL('.', import.meta.url).pathname,
7
7
  type: 'esm',
8
- version: '8.3.2-7'
8
+ version: '8.3.2-8'
9
9
  };