Updated dist files.

This commit is contained in:
Richard Moore 2018-07-17 16:10:13 -04:00
parent b9aca357a9
commit 8c7c592bd1
No known key found for this signature in database
GPG Key ID: 525F70A6FCABC295
6 changed files with 13 additions and 7 deletions

@ -1,3 +1,3 @@
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "4.0.0"; exports.version = "4.0.0-beta.0";

2
dist/ethers.d.ts vendored

@ -424,7 +424,7 @@ declare module 'ethers/utils/errors' {
} }
declare module 'ethers/_version' { declare module 'ethers/_version' {
export const version = "4.0.0"; export const version = "4.0.0-beta.0";
} }
declare module 'ethers/contracts/contract' { declare module 'ethers/contracts/contract' {

7
dist/ethers.js vendored

@ -9030,7 +9030,7 @@ catch (error) {
},{}],48:[function(require,module,exports){ },{}],48:[function(require,module,exports){
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "4.0.0"; exports.version = "4.0.0-beta.0";
},{}],49:[function(require,module,exports){ },{}],49:[function(require,module,exports){
'use strict'; 'use strict';
@ -11219,10 +11219,11 @@ var Provider = /** @class */ (function (_super) {
var hash_2 = comps[1]; var hash_2 = comps[1];
_this.getTransactionReceipt(hash_2).then(function (receipt) { _this.getTransactionReceipt(hash_2).then(function (receipt) {
if (!receipt || receipt.blockNumber == null) { if (!receipt || receipt.blockNumber == null) {
return; return null;
} }
_this._emitted['t:' + hash_2] = receipt.blockNumber; _this._emitted['t:' + hash_2] = receipt.blockNumber;
_this.emit(hash_2, receipt); _this.emit(hash_2, receipt);
return null;
}).catch(function (error) { _this.emit('error', error); }); }).catch(function (error) { _this.emit('error', error); });
break; break;
} }
@ -11238,6 +11239,7 @@ var Provider = /** @class */ (function (_super) {
} }
this._balances[address_2] = balance; this._balances[address_2] = balance;
this.emit(address_2, balance); this.emit(address_2, balance);
return null;
}).catch(function (error) { _this.emit('error', error); }); }).catch(function (error) { _this.emit('error', error); });
break; break;
} }
@ -11259,6 +11261,7 @@ var Provider = /** @class */ (function (_super) {
_this._emitted['t:' + log.transactionHash] = log.blockNumber; _this._emitted['t:' + log.transactionHash] = log.blockNumber;
_this.emit(filter_1, log); _this.emit(filter_1, log);
}); });
return null;
}).catch(function (error) { _this.emit('error', error); }); }).catch(function (error) { _this.emit('error', error); });
break; break;
} }

2
dist/ethers.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -448,10 +448,11 @@ var Provider = /** @class */ (function (_super) {
var hash_2 = comps[1]; var hash_2 = comps[1];
_this.getTransactionReceipt(hash_2).then(function (receipt) { _this.getTransactionReceipt(hash_2).then(function (receipt) {
if (!receipt || receipt.blockNumber == null) { if (!receipt || receipt.blockNumber == null) {
return; return null;
} }
_this._emitted['t:' + hash_2] = receipt.blockNumber; _this._emitted['t:' + hash_2] = receipt.blockNumber;
_this.emit(hash_2, receipt); _this.emit(hash_2, receipt);
return null;
}).catch(function (error) { _this.emit('error', error); }); }).catch(function (error) { _this.emit('error', error); });
break; break;
} }
@ -467,6 +468,7 @@ var Provider = /** @class */ (function (_super) {
} }
this._balances[address_2] = balance; this._balances[address_2] = balance;
this.emit(address_2, balance); this.emit(address_2, balance);
return null;
}).catch(function (error) { _this.emit('error', error); }); }).catch(function (error) { _this.emit('error', error); });
break; break;
} }
@ -488,6 +490,7 @@ var Provider = /** @class */ (function (_super) {
_this._emitted['t:' + log.transactionHash] = log.blockNumber; _this._emitted['t:' + log.transactionHash] = log.blockNumber;
_this.emit(filter_1, log); _this.emit(filter_1, log);
}); });
return null;
}).catch(function (error) { _this.emit('error', error); }); }).catch(function (error) { _this.emit('error', error); });
break; break;
} }