Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
12f3f8695f | ||
|
|
964d308491 | ||
|
|
a1bf03e40e | ||
|
|
ff940e5d26 |
+2
-1
@@ -7,4 +7,5 @@
|
||||
5.4.2
|
||||
5.4.3
|
||||
5.4.4
|
||||
5.5.2
|
||||
5.5.2
|
||||
5.6.2
|
||||
@@ -1,5 +1,12 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 5.6.2 Feb 8, 2021
|
||||
|
||||
Changes:
|
||||
|
||||
- `@polkadot/networks` now filters the new upstream-introduced `null` networks
|
||||
|
||||
|
||||
## 5.6.1 Feb 7, 2021
|
||||
|
||||
Contributed:
|
||||
|
||||
+1
-1
@@ -25,5 +25,5 @@
|
||||
"@polkadot/ts": "^0.3.59",
|
||||
"@types/jest": "^26.0.20"
|
||||
},
|
||||
"version": "5.6.1"
|
||||
"version": "5.6.2"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/hw-ledger-transports",
|
||||
"version": "5.6.1",
|
||||
"version": "5.6.2",
|
||||
"repository": "github:polkadot-js/common",
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"maintainers": [],
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/hw-ledger",
|
||||
"version": "5.6.1",
|
||||
"version": "5.6.2",
|
||||
"repository": "github:polkadot-js/common",
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"maintainers": [],
|
||||
@@ -10,8 +10,8 @@
|
||||
"sideEffects": false,
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.13",
|
||||
"@polkadot/hw-ledger-transports": "5.6.1",
|
||||
"@polkadot/util": "^5.6.1",
|
||||
"@polkadot/hw-ledger-transports": "5.6.2",
|
||||
"@polkadot/util": "^5.6.2",
|
||||
"@zondax/ledger-polkadot": "^0.13.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/keyring",
|
||||
"version": "5.6.1",
|
||||
"version": "5.6.2",
|
||||
"description": "Keyring management",
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"maintainers": [],
|
||||
@@ -16,11 +16,11 @@
|
||||
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/keyring#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.13",
|
||||
"@polkadot/util": "5.6.1",
|
||||
"@polkadot/util-crypto": "5.6.1"
|
||||
"@polkadot/util": "5.6.2",
|
||||
"@polkadot/util-crypto": "5.6.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@polkadot/util": "5.6.1",
|
||||
"@polkadot/util-crypto": "5.6.1"
|
||||
"@polkadot/util": "5.6.2",
|
||||
"@polkadot/util-crypto": "5.6.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/networks",
|
||||
"version": "5.6.1",
|
||||
"version": "5.6.2",
|
||||
"description": "A list of all available Substrate networks and their applicable prefixes",
|
||||
"main": "index.js",
|
||||
"sideEffects": false,
|
||||
@@ -15,7 +15,7 @@
|
||||
"@babel/runtime": "^7.12.13"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/util": "5.6.1",
|
||||
"@polkadot/x-fetch": "5.6.1"
|
||||
"@polkadot/util": "5.6.2",
|
||||
"@polkadot/x-fetch": "5.6.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
//
|
||||
// Once the above is published as a package, the duplication here can be removed
|
||||
|
||||
import type { Network, NetworkFromSubstrate } from './types';
|
||||
import type { Network, NetworkFromSubstrate, NetworkFromSubstrateNamed } from './types';
|
||||
|
||||
// These are known prefixes that are not sorted
|
||||
const UNSORTED = [0, 2, 42];
|
||||
@@ -446,7 +446,7 @@ const all: NetworkFromSubstrate[] = [
|
||||
// - when no icon has been specified, default to substrate
|
||||
// - sort by name, however we keep 0, 2, 42 first in the list
|
||||
const available: Network[] = all
|
||||
.filter((n) => !n.isIgnored)
|
||||
.filter((n): n is NetworkFromSubstrateNamed => !n.isIgnored && !!n.network)
|
||||
.map((n) => ({ ...n, genesisHash: n.genesisHash || [], icon: n.icon || 'substrate' }))
|
||||
.sort((a, b) =>
|
||||
UNSORTED.includes(a.prefix) && UNSORTED.includes(b.prefix)
|
||||
|
||||
@@ -18,7 +18,11 @@ export interface NetworkFromSubstrate {
|
||||
website: string | null;
|
||||
}
|
||||
|
||||
export interface Network extends NetworkFromSubstrate {
|
||||
export interface NetworkFromSubstrateNamed extends NetworkFromSubstrate {
|
||||
network: string;
|
||||
}
|
||||
|
||||
export interface Network extends NetworkFromSubstrateNamed {
|
||||
genesisHash: string[];
|
||||
icon: Icon;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/util-crypto",
|
||||
"version": "5.6.1",
|
||||
"version": "5.6.2",
|
||||
"description": "A collection of useful crypto utilities for @polkadot",
|
||||
"main": "index.js",
|
||||
"sideEffects": [
|
||||
@@ -16,10 +16,10 @@
|
||||
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/util-crypto#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.13",
|
||||
"@polkadot/networks": "5.6.1",
|
||||
"@polkadot/util": "5.6.1",
|
||||
"@polkadot/networks": "5.6.2",
|
||||
"@polkadot/util": "5.6.2",
|
||||
"@polkadot/wasm-crypto": "^3.2.2",
|
||||
"@polkadot/x-randomvalues": "5.6.1",
|
||||
"@polkadot/x-randomvalues": "5.6.2",
|
||||
"base-x": "^3.0.8",
|
||||
"blakejs": "^1.1.0",
|
||||
"bn.js": "^4.11.9",
|
||||
@@ -39,6 +39,6 @@
|
||||
"@types/xxhashjs": "^0.2.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@polkadot/util": "5.6.1"
|
||||
"@polkadot/util": "5.6.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/util",
|
||||
"version": "5.6.1",
|
||||
"version": "5.6.2",
|
||||
"description": "A collection of useful utilities for @polkadot",
|
||||
"main": "index.js",
|
||||
"sideEffects": false,
|
||||
@@ -13,8 +13,8 @@
|
||||
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/util#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.13",
|
||||
"@polkadot/x-textdecoder": "5.6.1",
|
||||
"@polkadot/x-textencoder": "5.6.1",
|
||||
"@polkadot/x-textdecoder": "5.6.2",
|
||||
"@polkadot/x-textencoder": "5.6.2",
|
||||
"@types/bn.js": "^4.11.6",
|
||||
"bn.js": "^4.11.9",
|
||||
"camelcase": "^5.3.1",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/x-fetch",
|
||||
"version": "5.6.1",
|
||||
"version": "5.6.2",
|
||||
"description": "A cross-environment fetch replacement",
|
||||
"browser": "browser.js",
|
||||
"main": "node.js",
|
||||
@@ -15,7 +15,7 @@
|
||||
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/x-fetch#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.13",
|
||||
"@polkadot/x-global": "5.6.1",
|
||||
"@polkadot/x-global": "5.6.2",
|
||||
"@types/node-fetch": "^2.5.8",
|
||||
"node-fetch": "^2.6.1"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/x-global",
|
||||
"version": "5.6.1",
|
||||
"version": "5.6.2",
|
||||
"description": "A cross-environment global replacement",
|
||||
"main": "index.js",
|
||||
"sideEffects": false,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/x-randomvalues",
|
||||
"version": "5.6.1",
|
||||
"version": "5.6.2",
|
||||
"description": "A cross-environment window.crypto.getRandomValues replacement",
|
||||
"browser": "browser.js",
|
||||
"main": "node.js",
|
||||
@@ -15,7 +15,7 @@
|
||||
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/x-randomvalues#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.13",
|
||||
"@polkadot/x-global": "5.6.1"
|
||||
"@polkadot/x-global": "5.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react-native": "^0.63.48"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/x-rxjs",
|
||||
"version": "5.6.1",
|
||||
"version": "5.6.2",
|
||||
"description": "A pass-through interface for RxJs (allowing node + mjs usage)",
|
||||
"main": "index.js",
|
||||
"sideEffects": false,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/x-textdecoder",
|
||||
"version": "5.6.1",
|
||||
"version": "5.6.2",
|
||||
"description": "A TextDecoder replacement",
|
||||
"browser": "browser.js",
|
||||
"main": "node.js",
|
||||
@@ -15,6 +15,6 @@
|
||||
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/x-textdecoder#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.13",
|
||||
"@polkadot/x-global": "5.6.1"
|
||||
"@polkadot/x-global": "5.6.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/x-textencoder",
|
||||
"version": "5.6.1",
|
||||
"version": "5.6.2",
|
||||
"description": "A TextDecoder replacement",
|
||||
"browser": "browser.js",
|
||||
"main": "node.js",
|
||||
@@ -15,6 +15,6 @@
|
||||
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/x-textencoder#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.13",
|
||||
"@polkadot/x-global": "5.6.1"
|
||||
"@polkadot/x-global": "5.6.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/x-ws",
|
||||
"version": "5.6.1",
|
||||
"version": "5.6.2",
|
||||
"description": "A cross-environment WebSocket replacement",
|
||||
"browser": "browser.js",
|
||||
"main": "node.js",
|
||||
@@ -15,7 +15,7 @@
|
||||
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/x-ws#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.12.13",
|
||||
"@polkadot/x-global": "5.6.1",
|
||||
"@polkadot/x-global": "5.6.2",
|
||||
"@types/websocket": "^1.0.1",
|
||||
"websocket": "^1.0.33"
|
||||
}
|
||||
|
||||
@@ -1907,7 +1907,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/hw-ledger-transports@5.6.1, @polkadot/hw-ledger-transports@workspace:packages/hw-ledger-transports":
|
||||
"@polkadot/hw-ledger-transports@5.6.2, @polkadot/hw-ledger-transports@workspace:packages/hw-ledger-transports":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/hw-ledger-transports@workspace:packages/hw-ledger-transports"
|
||||
dependencies:
|
||||
@@ -1927,8 +1927,8 @@ __metadata:
|
||||
resolution: "@polkadot/hw-ledger@workspace:packages/hw-ledger"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.12.13
|
||||
"@polkadot/hw-ledger-transports": 5.6.1
|
||||
"@polkadot/util": ^5.6.1
|
||||
"@polkadot/hw-ledger-transports": 5.6.2
|
||||
"@polkadot/util": ^5.6.2
|
||||
"@zondax/ledger-polkadot": ^0.13.0
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
@@ -1938,21 +1938,21 @@ __metadata:
|
||||
resolution: "@polkadot/keyring@workspace:packages/keyring"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.12.13
|
||||
"@polkadot/util": 5.6.1
|
||||
"@polkadot/util-crypto": 5.6.1
|
||||
"@polkadot/util": 5.6.2
|
||||
"@polkadot/util-crypto": 5.6.2
|
||||
peerDependencies:
|
||||
"@polkadot/util": 5.6.1
|
||||
"@polkadot/util-crypto": 5.6.1
|
||||
"@polkadot/util": 5.6.2
|
||||
"@polkadot/util-crypto": 5.6.2
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/networks@5.6.1, @polkadot/networks@workspace:packages/networks":
|
||||
"@polkadot/networks@5.6.2, @polkadot/networks@workspace:packages/networks":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/networks@workspace:packages/networks"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.12.13
|
||||
"@polkadot/util": 5.6.1
|
||||
"@polkadot/x-fetch": 5.6.1
|
||||
"@polkadot/util": 5.6.2
|
||||
"@polkadot/x-fetch": 5.6.2
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@@ -1965,15 +1965,15 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/util-crypto@5.6.1, @polkadot/util-crypto@workspace:packages/util-crypto":
|
||||
"@polkadot/util-crypto@5.6.2, @polkadot/util-crypto@workspace:packages/util-crypto":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/util-crypto@workspace:packages/util-crypto"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.12.13
|
||||
"@polkadot/networks": 5.6.1
|
||||
"@polkadot/util": 5.6.1
|
||||
"@polkadot/networks": 5.6.2
|
||||
"@polkadot/util": 5.6.2
|
||||
"@polkadot/wasm-crypto": ^3.2.2
|
||||
"@polkadot/x-randomvalues": 5.6.1
|
||||
"@polkadot/x-randomvalues": 5.6.2
|
||||
"@types/bn.js": ^4.11.6
|
||||
"@types/create-hash": ^1.2.2
|
||||
"@types/elliptic": ^6.4.12
|
||||
@@ -1990,17 +1990,17 @@ __metadata:
|
||||
tweetnacl: ^1.0.3
|
||||
xxhashjs: ^0.2.2
|
||||
peerDependencies:
|
||||
"@polkadot/util": 5.6.1
|
||||
"@polkadot/util": 5.6.2
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/util@5.6.1, @polkadot/util@^5.6.1, @polkadot/util@workspace:packages/util":
|
||||
"@polkadot/util@5.6.2, @polkadot/util@^5.6.2, @polkadot/util@workspace:packages/util":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/util@workspace:packages/util"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.12.13
|
||||
"@polkadot/x-textdecoder": 5.6.1
|
||||
"@polkadot/x-textencoder": 5.6.1
|
||||
"@polkadot/x-textdecoder": 5.6.2
|
||||
"@polkadot/x-textencoder": 5.6.2
|
||||
"@types/bn.js": ^4.11.6
|
||||
bn.js: ^4.11.9
|
||||
camelcase: ^5.3.1
|
||||
@@ -2040,18 +2040,18 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/x-fetch@5.6.1, @polkadot/x-fetch@workspace:packages/x-fetch":
|
||||
"@polkadot/x-fetch@5.6.2, @polkadot/x-fetch@workspace:packages/x-fetch":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/x-fetch@workspace:packages/x-fetch"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.12.13
|
||||
"@polkadot/x-global": 5.6.1
|
||||
"@polkadot/x-global": 5.6.2
|
||||
"@types/node-fetch": ^2.5.8
|
||||
node-fetch: ^2.6.1
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/x-global@5.6.1, @polkadot/x-global@workspace:packages/x-global":
|
||||
"@polkadot/x-global@5.6.2, @polkadot/x-global@workspace:packages/x-global":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/x-global@workspace:packages/x-global"
|
||||
dependencies:
|
||||
@@ -2061,12 +2061,12 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/x-randomvalues@5.6.1, @polkadot/x-randomvalues@workspace:packages/x-randomvalues":
|
||||
"@polkadot/x-randomvalues@5.6.2, @polkadot/x-randomvalues@workspace:packages/x-randomvalues":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/x-randomvalues@workspace:packages/x-randomvalues"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.12.13
|
||||
"@polkadot/x-global": 5.6.1
|
||||
"@polkadot/x-global": 5.6.2
|
||||
"@types/react-native": ^0.63.48
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
@@ -2080,21 +2080,21 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/x-textdecoder@5.6.1, @polkadot/x-textdecoder@workspace:packages/x-textdecoder":
|
||||
"@polkadot/x-textdecoder@5.6.2, @polkadot/x-textdecoder@workspace:packages/x-textdecoder":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/x-textdecoder@workspace:packages/x-textdecoder"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.12.13
|
||||
"@polkadot/x-global": 5.6.1
|
||||
"@polkadot/x-global": 5.6.2
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/x-textencoder@5.6.1, @polkadot/x-textencoder@workspace:packages/x-textencoder":
|
||||
"@polkadot/x-textencoder@5.6.2, @polkadot/x-textencoder@workspace:packages/x-textencoder":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/x-textencoder@workspace:packages/x-textencoder"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.12.13
|
||||
"@polkadot/x-global": 5.6.1
|
||||
"@polkadot/x-global": 5.6.2
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@@ -2103,7 +2103,7 @@ __metadata:
|
||||
resolution: "@polkadot/x-ws@workspace:packages/x-ws"
|
||||
dependencies:
|
||||
"@babel/runtime": ^7.12.13
|
||||
"@polkadot/x-global": 5.6.1
|
||||
"@polkadot/x-global": 5.6.2
|
||||
"@types/websocket": ^1.0.1
|
||||
websocket: ^1.0.33
|
||||
languageName: unknown
|
||||
|
||||
Reference in New Issue
Block a user