Skip to content

Commit

Permalink
Merge branch '1.0' into documentation/web3-module-options
Browse files Browse the repository at this point in the history
  • Loading branch information
nivida committed Jan 27, 2019
2 parents 259ae55 + d816865 commit fcba5a9
Show file tree
Hide file tree
Showing 12 changed files with 73 additions and 3 deletions.
13 changes: 13 additions & 0 deletions packages/web3-bzz/package-lock.json

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

1 change: 1 addition & 0 deletions packages/web3-bzz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"dtslint": "dtslint types --onlyTestTsNext"
},
"dependencies": {
"@types/node": "^10.12.18",
"lodash": "^4.17.11",
"swarm-js": "^0.1.39"
},
Expand Down
13 changes: 13 additions & 0 deletions packages/web3-core/package-lock.json

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

1 change: 1 addition & 0 deletions packages/web3-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"dtslint": "dtslint types --onlyTestTsNext"
},
"dependencies": {
"@types/node": "^10.12.18",
"lodash": "^4.17.11",
"web3-utils": "1.0.0-beta.38"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-eth-accounts/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class Accounts extends AbstractWeb3Module {

privateKeyToAccount(privateKey: string): Account;

signTransaction(tx: Transaction, privateKey: string, callback?: () => void): SignedTransaction;
signTransaction(tx: Transaction, privateKey: string, callback?: () => void): Promise<SignedTransaction>;

recoverTransaction(signature: string): string;

Expand Down
4 changes: 2 additions & 2 deletions packages/web3-eth-accounts/types/tests/accounts-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ accounts.create('2435@#@#@±±±±!!!!678543213456764321§3456754321345678543213
// $ExpectType Account
accounts.privateKeyToAccount('0x348ce564d427a3311b6536bbcff9390d69395b06ed6c486954e971d960fe8709');

// $ExpectType SignedTransaction
// $ExpectType Promise<SignedTransaction>
accounts.signTransaction({
to: '0xF0109fC8DF283027b6285cc889F5aA624EaC1F55',
value: '1000000000',
gas: 2000000
}, '0x4c0883a69102937d6231471b5dbb6204fe5129617082792ae468d01a3f362318');

// $ExpectType SignedTransaction
// $ExpectType Promise<SignedTransaction>
accounts.signTransaction({
to: '0xF0109fC8DF283027b6285cc889F5aA624EaC1F55',
value: '1000000000',
Expand Down
13 changes: 13 additions & 0 deletions packages/web3-providers/package-lock.json

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

1 change: 1 addition & 0 deletions packages/web3-providers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
},
"types": "types",
"dependencies": {
"@types/node": "^10.12.18",
"eventemitter3": "3.1.0",
"lodash": "^4.17.11",
"oboe": "2.1.4",
Expand Down
13 changes: 13 additions & 0 deletions packages/web3-utils/package-lock.json

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

1 change: 1 addition & 0 deletions packages/web3-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
},
"types": "types",
"dependencies": {
"@types/node": "^10.12.18",
"bn.js": "4.11.8",
"eth-lib": "0.2.8",
"ethjs-unit": "^0.1.6",
Expand Down
13 changes: 13 additions & 0 deletions packages/web3/package-lock.json

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

1 change: 1 addition & 0 deletions packages/web3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
},
"types": "types",
"dependencies": {
"@types/node": "^10.12.18",
"web3-bzz": "1.0.0-beta.38",
"web3-core": "1.0.0-beta.38",
"web3-core-helpers": "1.0.0-beta.38",
Expand Down

0 comments on commit fcba5a9

Please sign in to comment.