Updated dist files.

This commit is contained in:
Richard Moore 2019-07-20 21:06:45 -03:00
parent efaafb203f
commit a62af37b23
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651
12 changed files with 44 additions and 20 deletions

@ -3,6 +3,12 @@ Changelog
This change log is managed by `scripts/cmds/update-versions` but may be manually updated.
ethers/v5.0.0-beta.146 (2019-07-20 21:06)
-----------------------------------------
- Keep extra filter topics when using Frgment filters in Contracts. ([efaafb2](https://github.com/ethers-io/ethers.js/commit/efaafb203feaf703de803df7e346652372e9fb75))
- Updated package.json description for Contract package. ([#561](https://github.com/ethers-io/ethers.js/issues/561); [d88ee45](https://github.com/ethers-io/ethers.js/commit/d88ee45937b3484b68f72e3f72ad6c29556c984b))
ethers/v5.0.0-beta.145 (2019-07-20 20:12)
-----------------------------------------

@ -1 +1 @@
export declare const version = "5.0.0-beta.133";
export declare const version = "5.0.0-beta.134";

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

@ -250,12 +250,21 @@ var ErrorRunningEvent = /** @class */ (function (_super) {
}(RunningEvent));
var FragmentRunningEvent = /** @class */ (function (_super) {
__extends(FragmentRunningEvent, _super);
function FragmentRunningEvent(address, contractInterface, fragment) {
function FragmentRunningEvent(address, contractInterface, fragment, topics) {
var _this = this;
var filter = {
address: address,
topics: [contractInterface.getEventTopic(fragment)]
address: address
};
var topic = contractInterface.getEventTopic(fragment);
if (topics) {
if (topic !== topics[0]) {
errors.throwArgumentError("topic mismatch", "topics", topics);
}
filter.topics = topics.slice();
}
else {
filter.topics = [topic];
}
_this = _super.call(this, getEventTag(filter), filter) || this;
properties_1.defineReadOnly(_this, "address", address);
properties_1.defineReadOnly(_this, "interface", contractInterface);
@ -487,7 +496,7 @@ var Contract = /** @class */ (function () {
if (eventName.topics[0]) {
var fragment = this.interface.getEvent(eventName.topics[0]);
if (fragment) {
return this._normalizeRunningEvent(new FragmentRunningEvent(this.address, this.interface, fragment));
return this._normalizeRunningEvent(new FragmentRunningEvent(this.address, this.interface, fragment, eventName.topics));
}
}
filter.topics = eventName.topics;

@ -1,6 +1,6 @@
{
"name": "@ethersproject/contracts",
"version": "5.0.0-beta.133",
"version": "5.0.0-beta.134",
"description": "Contract abstraction meta-class for ethers.",
"main": "index.js",
"scripts": {
@ -27,5 +27,5 @@
"publishConfig": {
"access": "public"
},
"tarballHash": "0x36273887374b3b52f35f3d051b3851d6cb121cfb4c3ead3a2b269a115aaee88e"
"tarballHash": "0x6b25925f92f10c31dc8d9a61012e7f70ae09094896da0d252e59f42823981c27"
}

@ -1 +1 @@
export const version = "5.0.0-beta.133";
export const version = "5.0.0-beta.134";

@ -1 +1 @@
export declare const version = "5.0.0-beta.145";
export declare const version = "5.0.0-beta.146";

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

@ -13216,12 +13216,21 @@ var ErrorRunningEvent = /** @class */ (function (_super) {
}(RunningEvent));
var FragmentRunningEvent = /** @class */ (function (_super) {
__extends(FragmentRunningEvent, _super);
function FragmentRunningEvent(address, contractInterface, fragment) {
function FragmentRunningEvent(address, contractInterface, fragment, topics) {
var _this = this;
var filter = {
address: address,
topics: [contractInterface.getEventTopic(fragment)]
address: address
};
var topic = contractInterface.getEventTopic(fragment);
if (topics) {
if (topic !== topics[0]) {
errors.throwArgumentError("topic mismatch", "topics", topics);
}
filter.topics = topics.slice();
}
else {
filter.topics = [topic];
}
_this = _super.call(this, getEventTag(filter), filter) || this;
properties_1.defineReadOnly(_this, "address", address);
properties_1.defineReadOnly(_this, "interface", contractInterface);
@ -13453,7 +13462,7 @@ var Contract = /** @class */ (function () {
if (eventName.topics[0]) {
var fragment = this.interface.getEvent(eventName.topics[0]);
if (fragment) {
return this._normalizeRunningEvent(new FragmentRunningEvent(this.address, this.interface, fragment));
return this._normalizeRunningEvent(new FragmentRunningEvent(this.address, this.interface, fragment, eventName.topics));
}
}
filter.topics = eventName.topics;
@ -14000,7 +14009,7 @@ exports.info = info;
},{}],68:[function(require,module,exports){
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "5.0.0-beta.145";
exports.version = "5.0.0-beta.146";
},{}],69:[function(require,module,exports){
"use strict";

File diff suppressed because one or more lines are too long

@ -1,6 +1,6 @@
{
"name": "ethers",
"version": "5.0.0-beta.145",
"version": "5.0.0-beta.146",
"description": "Error utility functions for ethers.",
"main": "index.js",
"scripts": {
@ -56,5 +56,5 @@
"publishConfig": {
"tag": "next"
},
"tarballHash": "0x57ea79d5daa640261d53c6b8d85374c4f7c7e2bcd772749939666b3e9c0fa31e"
"tarballHash": "0x9360b235b2db232c03a9ffd7a5608a778a815c9c6cb62ec48733a60a6b179e15"
}

@ -1 +1 @@
export const version = "5.0.0-beta.145";
export const version = "5.0.0-beta.146";