@colony/colony-js-contract-client
Advanced tools
Comparing version 1.6.3 to 1.6.4
@@ -149,7 +149,3 @@ 'use strict'; | ||
receipt = _context3.sent; | ||
_context3.next = 5; | ||
return this.client.getReceiptEventData(receipt); | ||
case 5: | ||
eventData = _context3.sent; | ||
eventData = this.client.getReceiptEventData(receipt); | ||
return _context3.abrupt('return', { | ||
@@ -164,3 +160,3 @@ successful: receipt && receipt.status === 1, | ||
case 7: | ||
case 5: | ||
case 'end': | ||
@@ -238,30 +234,18 @@ return _context3.stop(); | ||
receipt = _context5.sent; | ||
_context5.prev = 4; | ||
_context5.t0 = resolve; | ||
_context5.next = 8; | ||
return _this2.client.getReceiptEventData(receipt); | ||
case 8: | ||
_context5.t1 = _context5.sent; | ||
(0, _context5.t0)(_context5.t1); | ||
_context5.next = 15; | ||
try { | ||
resolve(_this2.client.getReceiptEventData(receipt)); | ||
} catch (decodeError) { | ||
reject(decodeError.toString()); | ||
} | ||
_context5.next = 10; | ||
break; | ||
case 12: | ||
_context5.prev = 12; | ||
_context5.t2 = _context5['catch'](4); | ||
case 7: | ||
_context5.prev = 7; | ||
_context5.t0 = _context5['catch'](0); | ||
reject(_context5.t2.toString()); | ||
reject(_context5.t0.toString()); | ||
case 15: | ||
_context5.next = 20; | ||
break; | ||
case 17: | ||
_context5.prev = 17; | ||
_context5.t3 = _context5['catch'](0); | ||
reject(_context5.t3.toString()); | ||
case 20: | ||
case 10: | ||
case 'end': | ||
@@ -271,3 +255,3 @@ return _context5.stop(); | ||
} | ||
}, _callee5, _this2, [[0, 17], [4, 12]]); | ||
}, _callee5, _this2, [[0, 7]]); | ||
})); | ||
@@ -274,0 +258,0 @@ |
{ | ||
"name": "@colony/colony-js-contract-client", | ||
"version": "1.6.3", | ||
"version": "1.6.4", | ||
"description": "Method-like interface for Smart Contracts", | ||
@@ -59,3 +59,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "5db2caa3b3129e7dcc12b489493cd692ca7bfc60" | ||
"gitHead": "4cbc00443706426955a5b3c33878e2c84637c37e" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1172264
6172