Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@polkadot/networks

Package Overview
Dependencies
Maintainers
2
Versions
751
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/networks - npm Package Compare versions

Comparing version 5.2.1 to 5.2.2

11

index.js

@@ -31,2 +31,3 @@ "use strict";

displayName,
isIgnored: true,
network: `reserved${prefix}`,

@@ -205,3 +206,4 @@ prefix,

displayName: 'Dock Testnet',
genesisHash: ['0x3f0608444cf5d7eec977430483ffef31ff86dfa6bfc6d7114023ee80cc03ea3f'],
isIgnored: true,
// testnet
network: 'dock-testnet',

@@ -240,2 +242,4 @@ prefix: 21,

displayName: 'ZERO Alphaville',
isIgnored: true,
// testnet
network: 'zero-alphaville',

@@ -322,2 +326,4 @@ prefix: 25,

displayName: 'MathChain testnet',
isIgnored: true,
// testnet
network: 'mathchain-testnet',

@@ -353,2 +359,3 @@ prefix: 40,

}, createReserved(46), createReserved(47), createReserved(48, 'All prefixes 48 and higher are reserved and cannot be allocated.')]; // The list of available/claimed prefixes
// - no testnets
// - we only include those where we have a standardAccount

@@ -359,3 +366,3 @@ // - when no icon has been specified, default to substrate

exports.all = all;
const available = all.filter(n => n.standardAccount === '*25519').map(n => _objectSpread(_objectSpread({}, n), {}, {
const available = all.filter(n => !n.isIgnored).map(n => _objectSpread(_objectSpread({}, n), {}, {
genesisHash: n.genesisHash || [],

@@ -362,0 +369,0 @@ icon: n.icon || 'substrate'

2

package-info.json
{
"name": "@polkadot/networks",
"version": "5.2.1"
"version": "5.2.2"
}
{
"name": "@polkadot/networks",
"version": "5.2.1",
"version": "5.2.2",
"description": "A list of all available Substrate networks and their applicable prefixes",

@@ -19,4 +19,4 @@ "main": "index.js",

"devDependencies": {
"@polkadot/util": "5.2.1",
"@polkadot/x-fetch": "5.2.1"
"@polkadot/util": "5.2.2",
"@polkadot/x-fetch": "5.2.2"
},

@@ -23,0 +23,0 @@ "exports": {

@@ -9,2 +9,3 @@ export declare type Icon = 'beachball' | 'empty' | 'jdenticon' | 'polkadot' | 'substrate';

icon?: Icon | null;
isIgnored?: boolean;
standardAccount: '*25519' | null;

@@ -11,0 +12,0 @@ symbols: string[] | null;

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc