Skip to content
This repository has been archived by the owner on Dec 12, 2018. It is now read-only.

Commit

Permalink
> modified: es6/util/messanger.js
Browse files Browse the repository at this point in the history
>	modified:   lib/util/messanger.js
>	modified:   package.json
  • Loading branch information
CapCap_ghostcorn authored and CapCap_ghostcorn committed Aug 28, 2018
1 parent 59c8fd6 commit c101ff1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion es6/util/messanger.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ class Messanger {
console.error(InvalidProvider())
return null
}
console.log(data)
const payload = this.JsonRpc.toPayload(data.method, data.params)
const result = await this.provider.send(payload)
return result
Expand Down
7 changes: 3 additions & 4 deletions lib/util/messanger.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,15 @@ var _initialiseProps = function _initialiseProps() {
return _context.abrupt('return', null);

case 3:
console.log(data);
payload = _this.JsonRpc.toPayload(data.method, data.params);
_context.next = 7;
_context.next = 6;
return _this.provider.send(payload);

case 7:
case 6:
result = _context.sent;
return _context.abrupt('return', result);

case 9:
case 8:
case 'end':
return _context.stop();
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webz.js",
"version": "0.0.25",
"version": "0.0.26",
"description": "Zilliqa Javascript Libraries",
"main": "lib/index.js",
"browser": "dist/Webz.browser.js",
Expand Down

0 comments on commit c101ff1

Please sign in to comment.