Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Release - 1.0.0-beta.55 #2803

Merged
merged 8 commits into from
May 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ node_js:
- "9"
- "10"
- "11"
- "12"
env:
- CXX=g++-4.8
addons:
Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Contents:
web3-eth-net
web3-eth-abi
web3-net
web3-bzz
web3-shh
web3-utils
web3-module
Expand Down
10 changes: 10 additions & 0 deletions docs/web3-bzz.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.. _bzz:

.. include:: include_announcement.rst

========
web3.bzz
========

The ``web3-bzz`` does no longer exists in the web3.js project. Check out the `Swarm Docs <http://swarm-guide.readthedocs.io/en/latest/>`_
for seeing possible alternatives to interact with the Swarm API.
2 changes: 1 addition & 1 deletion docs/web3-eth.rst
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ Returns
- ``size`` - ``Number``: Integer the size of this block in bytes.
- ``gasLimit`` - ``Number``: The maximum gas allowed in this block.
- ``gasUsed`` - ``Number``: The total used gas by all transactions in this block.
- ``timestamp`` - ``Number | String`: The unix timestamp for when the block was collated (returns a string if a overflow got detected).
- ``timestamp`` - ``Number | String``: The unix timestamp for when the block was collated (returns a string if a overflow got detected).
- ``transactions`` - ``Array``: Array of transaction objects, or 32 Bytes transaction hashes depending on the ``returnTransactionObjects`` parameter.
- ``uncles`` - ``Array``: Array of uncle hashes.

Expand Down
18 changes: 16 additions & 2 deletions docs/web3-module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,21 +51,35 @@ Example
/**
* @param {AbstractSocketProvider|HttpProvider|CustomProvider|String} provider
* @param {Web3ModuleOptions} options
* @param {Net.Socket} nodeNet
* @param {Net.Socket} net
*
* @constructor
*/
constructor(provider, net, options) {
super(provider, net, new MethodFactory(Utils, formatters), options;
}

/**
* Executes the eth_sign JSON-RPC method
*
* @method sign
*
* @returns {Promise}
*/
sign() {
const method = new AbstractMethod('eth_sign', 2, utils, formatters, this);
const method = new AbstractMethod('eth_sign', 2, Utils, formatters, this);
method.setArguments(arguments)

return method.execute();
}

/**
* Executes the eth_subscribe JSON-RPC method with the subscription type logs
*
* @method logs
*
* @returns {LogSubscription}
*/
logs(options) {
return new LogSubscription(
options,
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.0-beta.54",
"version": "1.0.0-beta.55",
"lerna": "2.0.0",
"command": {
"init": {
Expand Down
58 changes: 20 additions & 38 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "web3",
"namespace": "ethereum",
"version": "1.0.0-beta.54",
"version": "1.0.0-beta.55",
"description": "Ethereum JavaScript API wrapper repository",
"license": "LGPL-3.0",
"main": "./packages/web3/src/index.js",
Expand All @@ -15,7 +15,7 @@
"install:all": "lerna add",
"remove:all": "lerna exec npm uninstall",
"install:dev:all": "lerna exec npm install --save-dev",
"publish": "npm run clean && npm run bootstrap && npm run travis && lerna publish --skip-git",
"publish": "npm run bootstrap && npm run travis && lerna publish --skip-git",
"build": "lerna run build",
"test": "lerna run test",
"test:coverage": "lerna run test -- --coverage && npm run istanbulCombine",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-core-helpers/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions packages/web3-core-helpers/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "web3-core-helpers",
"namespace": "ethereum",
"version": "1.0.0-beta.54",
"version": "1.0.0-beta.55",
"description": "Web3 core tools helper for sub packages. This is an internal package.",
"repository": "https://github.com/ethereum/web3.js/tree/1.0/packages/web3-core-helpers",
"license": "LGPL-3.0",
Expand All @@ -18,9 +18,9 @@
"dependencies": {
"@babel/runtime": "^7.3.1",
"lodash": "^4.17.11",
"web3-eth-iban": "1.0.0-beta.54",
"web3-utils": "1.0.0-beta.54",
"web3-core": "1.0.0-beta.54"
"web3-core": "1.0.0-beta.55",
"web3-eth-iban": "1.0.0-beta.55",
"web3-utils": "1.0.0-beta.55"
},
"devDependencies": {
"definitelytyped-header-parser": "^1.0.1",
Expand All @@ -30,5 +30,5 @@
"dist",
"types/index.d.ts"
],
"gitHead": "b3f8427438e5bfe1daca7a63f4eb7cd8e9e4d6c0"
"gitHead": "37347fd46344f45d1c57104920bdda0779f0d51c"
}
12 changes: 5 additions & 7 deletions packages/web3-core-method/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions packages/web3-core-method/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "web3-core-method",
"namespace": "ethereum",
"version": "1.0.0-beta.54",
"version": "1.0.0-beta.55",
"description": "Handles the JSON-RPC methods. This package is also internally used by web3.",
"repository": "https://github.com/ethereum/web3.js/tree/1.0/packages/web3-core-method",
"license": "LGPL-3.0",
Expand All @@ -19,21 +19,21 @@
"dependencies": {
"@babel/runtime": "^7.3.1",
"eventemitter3": "3.1.0",
"lodash": "^4.17.11",
"rxjs": "^6.4.0",
"web3-core": "1.0.0-beta.54",
"web3-core-helpers": "1.0.0-beta.54",
"web3-utils": "1.0.0-beta.54",
"web3-core-subscriptions": "1.0.0-beta.54",
"lodash": "^4.17.11"
"web3-core": "1.0.0-beta.55",
"web3-core-helpers": "1.0.0-beta.55",
"web3-core-subscriptions": "1.0.0-beta.55",
"web3-utils": "1.0.0-beta.55"
},
"devDependencies": {
"definitelytyped-header-parser": "^1.0.1",
"dtslint": "0.4.2",
"web3-providers": "1.0.0-beta.54"
"web3-providers": "1.0.0-beta.55"
},
"files": [
"dist",
"types/index.d.ts"
],
"gitHead": "b3f8427438e5bfe1daca7a63f4eb7cd8e9e4d6c0"
"gitHead": "37347fd46344f45d1c57104920bdda0779f0d51c"
}
20 changes: 16 additions & 4 deletions packages/web3-core-subscriptions/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions packages/web3-core-subscriptions/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "web3-core-subscriptions",
"namespace": "ethereum",
"version": "1.0.0-beta.54",
"version": "1.0.0-beta.55",
"description": "Manages web3 subscriptions. This is an internal package.",
"repository": "https://github.com/ethereum/web3.js/tree/1.0/packages/web3-core-subscriptions",
"license": "LGPL-3.0",
Expand All @@ -22,11 +22,11 @@
"devDependencies": {
"definitelytyped-header-parser": "^1.0.1",
"dtslint": "0.4.2",
"web3-core-helpers": "1.0.0-beta.54",
"web3-utils": "1.0.0-beta.54"
"web3-core-helpers": "1.0.0-beta.55",
"web3-utils": "1.0.0-beta.55"
},
"files": [
"dist"
],
"gitHead": "b3f8427438e5bfe1daca7a63f4eb7cd8e9e4d6c0"
"gitHead": "37347fd46344f45d1c57104920bdda0779f0d51c"
}
Loading