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

web3-core

Package Overview
Dependencies
Maintainers
2
Versions
496
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web3-core - npm Package Compare versions

Comparing version 1.2.6 to 1.2.7-rc.0

19

package.json
{
"name": "web3-core",
"version": "1.2.6",
"version": "1.2.7-rc.0",
"description": "Web3 core tools for sub packages. This is an internal package.",

@@ -12,3 +12,3 @@ "repository": "https://github.com/ethereum/web3.js/tree/1.x/packages/web3-core",

"scripts": {
"dtslint": "dtslint types --onlyTestTsNext"
"dtslint": "dtslint types"
},

@@ -19,12 +19,13 @@ "main": "src/index.js",

"@types/node": "^12.6.1",
"web3-core-helpers": "1.2.6",
"web3-core-method": "1.2.6",
"web3-core-requestmanager": "1.2.6",
"web3-utils": "1.2.6"
"bignumber.js": "^9.0.0",
"web3-core-helpers": "1.2.7-rc.0",
"web3-core-method": "1.2.7-rc.0",
"web3-core-requestmanager": "1.2.7-rc.0",
"web3-utils": "1.2.7-rc.0"
},
"devDependencies": {
"definitelytyped-header-parser": "^1.0.1",
"dtslint": "0.4.2"
"definitelytyped-header-parser": "^3.9.0",
"dtslint": "^3.4.1"
},
"gitHead": "c20bcf09b04f773406ce3532e88fd105bb04e244"
"gitHead": "598e53163890660670c46d84bb6a6cbee4693e41"
}
# web3-core
This is a sub package of [web3.js][repo]
[![NPM Package][npm-image]][npm-url] [![Dependency Status][deps-image]][deps-url] [![Dev Dependency Status][deps-dev-image]][deps-dev-url]
This is a sub-package of [web3.js][repo].
The core package contains core functions for [web3.js][repo] packages.
Please read the [documentation][docs] for more.

@@ -38,10 +41,13 @@

[docs]: http://web3js.readthedocs.io/en/1.0/
[repo]: https://github.com/ethereum/web3.js
## Types
All the typescript typings are placed in the types folder.
All the TypeScript typings are placed in the `types` folder.
[docs]: http://web3js.readthedocs.io/en/1.0/
[repo]: https://github.com/ethereum/web3.js
[npm-image]: https://img.shields.io/npm/v/web3-core.svg
[npm-url]: https://npmjs.org/package/web3-core
[deps-image]: https://david-dm.org/ethereum/web3.js/1.x/status.svg?path=packages/web3-core
[deps-url]: https://david-dm.org/ethereum/web3.js/1.x?path=packages/web3-core
[deps-dev-image]: https://david-dm.org/ethereum/web3.js/1.x/dev-status.svg?path=packages/web3-core
[deps-dev-url]: https://david-dm.org/ethereum/web3.js/1.x?type=dev&path=packages/web3-core

@@ -37,3 +37,2 @@ /*

// make property of pkg._provider, which can properly set providers

@@ -51,10 +50,7 @@ Object.defineProperty(pkg, 'currentProvider', {

// inherit from web3 umbrella package
// inherit from parent package or create a new RequestManager
if (args[0] && args[0]._requestManager) {
pkg._requestManager = new requestManager.Manager(args[0].currentProvider);
// set requestmanager on package
pkg._requestManager = args[0]._requestManager;
} else {
pkg._requestManager = new requestManager.Manager();
pkg._requestManager.setProvider(args[0], args[1]);
pkg._requestManager = new requestManager.Manager(args[0], args[1]);
}

@@ -66,3 +62,3 @@

pkg._provider = pkg._requestManager.provider;
pkg._provider = pkg._requestManager.provider;

@@ -78,2 +74,7 @@ // add SETPROVIDER function (don't overwrite if already existing)

pkg.setRequestManager = function(manager) {
pkg._requestManager = manager;
pkg._provider = manager.provider;
};
// attach batch request creation

@@ -90,2 +91,1 @@ pkg.BatchRequest = requestManager.BatchManager.bind(null, pkg._requestManager);

};

@@ -21,2 +21,4 @@ /*

// Minimum TypeScript Version: 3.0
import * as net from 'net';

@@ -267,3 +269,3 @@ import {

privateKeyToAccount(privateKey: string): Account;
privateKeyToAccount(privateKey: string, ignoreLength?: boolean): Account;

@@ -399,4 +401,2 @@ signTransaction(

constructor(host: string, options?: WebsocketProviderOptions);
isConnecting(): boolean;
}

@@ -403,0 +403,0 @@

@@ -9,4 +9,5 @@ {

"no-unnecessary-class": false,
"unified-signatures": false
"unified-signatures": false,
"no-redundant-jsdoc": false
}
}
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