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

@chainsafe/lodestar-config

Package Overview
Dependencies
Maintainers
3
Versions
840
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chainsafe/lodestar-config - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

LICENSE

8

lib/presets/mainnet.js

@@ -8,12 +8,8 @@ "use strict";

var params = _interopRequireWildcard(require("@chainsafe/lodestar-params/lib/presets/mainnet"));
var _mainnet = require("@chainsafe/lodestar-params/lib/presets/mainnet");
var _mainnet2 = require("@chainsafe/lodestar-types/lib/ssz/presets/mainnet");
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
const config = {
params,
params: _mainnet.params,
types: _mainnet2.types

@@ -20,0 +16,0 @@ };

@@ -8,12 +8,8 @@ "use strict";

var params = _interopRequireWildcard(require("@chainsafe/lodestar-params/lib/presets/minimal"));
var _minimal = require("@chainsafe/lodestar-params/lib/presets/minimal");
var _minimal2 = require("@chainsafe/lodestar-types/lib/ssz/presets/minimal");
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
const config = {
params,
params: _minimal.params,
types: _minimal2.types

@@ -20,0 +16,0 @@ };

{
"name": "@chainsafe/lodestar-config",
"version": "0.5.0",
"version": "0.6.0",
"description": "Chain configuration required for lodestar",

@@ -25,3 +25,3 @@ "author": "ChainSafe Systems",

"build:docs": "typedoc --exclude src/index.ts --out docs src",
"check-types": "tsc --noEmit --incremental",
"check-types": "tsc --noEmit",
"lint": "eslint --color --ext .ts src/",

@@ -43,4 +43,4 @@ "lint:fix": "eslint --color --ext .ts src/ --fix",

"dependencies": {
"@chainsafe/lodestar-params": "^0.5.0",
"@chainsafe/lodestar-types": "^0.5.0"
"@chainsafe/lodestar-params": "^0.6.0",
"@chainsafe/lodestar-types": "^0.6.0"
},

@@ -51,4 +51,5 @@ "devDependencies": {

"chai": "^4.2.0",
"mocha": "^6.2.0"
}
"mocha": "^6.2.2"
},
"gitHead": "0e426d2e5816b88d2d1508f42a127a4f89082781"
}
# lodestar-config
[![npm](https://img.shields.io/npm/v/@chainsafe/lodestar-config)](https://www.npmjs.com/package/@chainsafe/lodestar-config) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![npm](https://img.shields.io/npm/v/@chainsafe/lodestar-config)](https://www.npmjs.com/package/@chainsafe/lodestar-config)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
![ETH2.0_Spec_Version 0.11.1](https://img.shields.io/badge/ETH2.0_Spec_Version-0.11.1-2e86c1.svg)

@@ -5,0 +7,0 @@ Configuration variables for an Eth2 network -- consists of params and ssz types (from [lodestar-params](https://github.com/ChainSafe/lodestar/tree/master/packages/lodestar-params) and [lodestar-types](https://github.com/ChainSafe/lodestar/tree/master/packages/lodestar-types) respectively).

Sorry, the diff of this file is not supported yet

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