Skip to content

Commit

Permalink
Updated packages with version lock and moved types.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Sep 1, 2019
1 parent 019c1fc commit 85b4db7
Show file tree
Hide file tree
Showing 57 changed files with 317 additions and 421 deletions.
21 changes: 11 additions & 10 deletions packages/abi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"@ethersproject/address": ">5.0.0-beta.0",
"@ethersproject/bignumber": ">5.0.0-beta.0",
"@ethersproject/bytes": ">5.0.0-beta.0",
"@ethersproject/constants": ">5.0.0-beta.0",
"@ethersproject/hash": ">5.0.0-beta.0",
"@ethersproject/keccak256": ">5.0.0-beta.0",
"@ethersproject/logger": ">5.0.0-beta.0",
"@ethersproject/properties": ">5.0.0-beta.0",
"@ethersproject/strings": ">5.0.0-beta.0"
"@ethersproject/address": ">=5.0.0-beta.128",
"@ethersproject/bignumber": ">=5.0.0-beta.130",
"@ethersproject/bytes": ">=5.0.0-beta.129",
"@ethersproject/constants": ">=5.0.0-beta.128",
"@ethersproject/hash": ">=5.0.0-beta.128",
"@ethersproject/keccak256": ">=5.0.0-beta.127",
"@ethersproject/logger": ">=5.0.0-beta.129",
"@ethersproject/properties": ">=5.0.0-beta.131",
"@ethersproject/strings": ">=5.0.0-beta.130"
},
"keywords": [
"Ethereum",
Expand All @@ -31,5 +31,6 @@
"url": "git://github.com/ethers-io/ethers.js.git"
},
"module": "./lib.esm/index.js",
"tarballHash": "0x48cbad8938a128d8f52b87e30c92a1ad2b28af9aee2d1faf1a4c23d60a14b2d3"
"types": "./lib/index.d.ts",
"tarballHash": "0xe4021eb72e5aed6edb4b6cf5fa70f01afa6f1ae200e40bea8861b60a59759b4a"
}
17 changes: 9 additions & 8 deletions packages/abstract-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"@ethersproject/bignumber": ">5.0.0-beta.0",
"@ethersproject/bytes": ">5.0.0-beta.0",
"@ethersproject/logger": ">5.0.0-beta.0",
"@ethersproject/networks": ">5.0.0-beta.0",
"@ethersproject/properties": ">5.0.0-beta.0",
"@ethersproject/transactions": ">5.0.0-beta.0",
"@ethersproject/web": ">5.0.0-beta.0"
"@ethersproject/bignumber": ">=5.0.0-beta.130",
"@ethersproject/bytes": ">=5.0.0-beta.129",
"@ethersproject/logger": ">=5.0.0-beta.129",
"@ethersproject/networks": ">=5.0.0-beta.129",
"@ethersproject/properties": ">=5.0.0-beta.131",
"@ethersproject/transactions": ">=5.0.0-beta.128",
"@ethersproject/web": ">=5.0.0-beta.129"
},
"keywords": [
"Ethereum",
Expand All @@ -29,5 +29,6 @@
"url": "git://github.com/ethers-io/ethers.js.git"
},
"module": "./lib.esm/index.js",
"tarballHash": "0x478d4364ced856f3b5ee51da258a5ae239b97a5d1a58f25dd25b8e81f692683c"
"types": "./lib/index.d.ts",
"tarballHash": "0x3a2082bb4e5d5f15beb057d863d32cf55a086c6065f05202df62a520f717deea"
}
13 changes: 7 additions & 6 deletions packages/abstract-signer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"@ethersproject/abstract-provider": ">5.0.0-beta.0",
"@ethersproject/bignumber": ">5.0.0-beta.0",
"@ethersproject/bytes": ">5.0.0-beta.0",
"@ethersproject/logger": ">5.0.0-beta.0",
"@ethersproject/properties": ">5.0.0-beta.0"
"@ethersproject/abstract-provider": ">=5.0.0-beta.131",
"@ethersproject/bignumber": ">=5.0.0-beta.130",
"@ethersproject/bytes": ">=5.0.0-beta.129",
"@ethersproject/logger": ">=5.0.0-beta.129",
"@ethersproject/properties": ">=5.0.0-beta.131"
},
"keywords": [
"Ethereum",
Expand All @@ -27,5 +27,6 @@
"url": "git://github.com/ethers-io/ethers.js.git"
},
"module": "./lib.esm/index.js",
"tarballHash": "0xc1853f4ac83975080e51babe4f0613122ce5b1b5d68287c84d44a5663cf5546c"
"types": "./lib/index.d.ts",
"tarballHash": "0xfe7d31b31b069c4f4600f1f7eea2a9f271a6f8f919e0c17fc578acae251237db"
}
13 changes: 7 additions & 6 deletions packages/address/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"@ethersproject/bignumber": ">5.0.0-beta.0",
"@ethersproject/bytes": ">5.0.0-beta.0",
"@ethersproject/keccak256": ">5.0.0-beta.0",
"@ethersproject/logger": ">5.0.0-beta.0",
"@ethersproject/rlp": ">5.0.0-beta.0",
"@ethersproject/bignumber": ">=5.0.0-beta.130",
"@ethersproject/bytes": ">=5.0.0-beta.129",
"@ethersproject/keccak256": ">=5.0.0-beta.127",
"@ethersproject/logger": ">=5.0.0-beta.129",
"@ethersproject/rlp": ">=5.0.0-beta.126",
"bn.js": "^4.4.0"
},
"keywords": [
Expand All @@ -28,5 +28,6 @@
"url": "git://github.com/ethers-io/ethers.js.git"
},
"module": "./lib.esm/index.js",
"tarballHash": "0x3f3fd1c8422ddd05719dfb37df8292d27e93ae1ce0d0d48e5cdc263082e35a78"
"types": "./lib/index.d.ts",
"tarballHash": "0x4cf2a1710526cbee72754e01d0819087d80c4e6f95393dfc9037aeec5ed9cde2"
}
5 changes: 3 additions & 2 deletions packages/base64/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"@ethersproject/bytes": ">5.0.0-beta.0"
"@ethersproject/bytes": ">=5.0.0-beta.129"
},
"keywords": [
"Ethereum",
Expand All @@ -24,5 +24,6 @@
"url": "git://github.com/ethers-io/ethers.js.git"
},
"module": "./lib.esm/index.js",
"tarballHash": "0x390db88947a298518774fc7b8d5f9b36191df44152bca2370a890d44d44e731f"
"types": "./lib/index.d.ts",
"tarballHash": "0xaf339d29758af1140ec01b737ab3241b28f376a6ff66c85e75d6f8a9b29886f2"
}
7 changes: 4 additions & 3 deletions packages/basex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"@ethersproject/bytes": ">5.0.0-beta.0",
"@ethersproject/properties": ">5.0.0-beta.0"
"@ethersproject/bytes": ">=5.0.0-beta.129",
"@ethersproject/properties": ">=5.0.0-beta.131"
},
"keywords": [
"Ethereum",
Expand All @@ -24,5 +24,6 @@
"url": "git://github.com/ethers-io/ethers.js.git"
},
"module": "./lib.esm/index.js",
"tarballHash": "0x6375a21ec47208aa3a867f26061dbd56afcb7eb51f70c6955b99718fe3ebc32a"
"types": "./lib/index.d.ts",
"tarballHash": "0x229d72d84c96d355704e5ee6947554004006ce117a2e18fe46d9fdf3a7697c97"
}
9 changes: 5 additions & 4 deletions packages/bignumber/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"@ethersproject/bytes": ">5.0.0-beta.0",
"@ethersproject/logger": ">5.0.0-beta.0",
"@ethersproject/properties": ">5.0.0-beta.0",
"@ethersproject/bytes": ">=5.0.0-beta.129",
"@ethersproject/logger": ">=5.0.0-beta.129",
"@ethersproject/properties": ">=5.0.0-beta.131",
"bn.js": "^4.4.0"
},
"keywords": [
Expand All @@ -27,5 +27,6 @@
"url": "git://github.com/ethers-io/ethers.js.git"
},
"module": "./lib.esm/index.js",
"tarballHash": "0x3b0c080f96f262333cb2191f8160e1aef0d93f9af107c1aa0876d007817c9e76"
"types": "./lib/index.d.ts",
"tarballHash": "0x9a95bbb76aa2acea22c52711473585eef5196d7400f9144d6d1322e890fb3264"
}
5 changes: 3 additions & 2 deletions packages/bytes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"@ethersproject/logger": ">5.0.0-beta.0"
"@ethersproject/logger": ">=5.0.0-beta.129"
},
"keywords": [
"Ethereum",
Expand All @@ -25,5 +25,6 @@
"url": "git://github.com/ethers-io/ethers.js.git"
},
"module": "./lib.esm/index.js",
"tarballHash": "0x4b7f4f6a34bc4d5c4fe15a01b7c698e8250f828933bb6202248a660d0fb5edfb"
"types": "./lib/index.d.ts",
"tarballHash": "0x11da50922c3e91c2fa195a580699ba92774bc3275a1154309ffcff8dee314c8d"
}
19 changes: 12 additions & 7 deletions packages/cli/lib.esm/bin/ethers-ens.js
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,10 @@ class SetControllerPlugin extends AddressAccountPlugin {
});
return __awaiter(this, void 0, void 0, function* () {
yield _super.run.call(this);
this.dump("Set Subnode: " + this.name, {
"Nodehash": this.nodehash,
"Owner": this.address
});
this.getEns().setOwner(this.nodehash, this.address);
});
}
Expand Down Expand Up @@ -514,8 +518,9 @@ class SetSubnodePlugin extends AddressAccountPlugin {
return __awaiter(this, void 0, void 0, function* () {
yield _super.run.call(this);
this.dump("Set Subnode: " + this.name, {
Label: this.label,
Node: this.node
"Label": this.label,
"Node": this.node,
"Owner": this.address
});
yield this.getEns().setSubnodeOwner(ethers.utils.namehash(this.node), ethers.utils.id(this.label), this.address);
});
Expand All @@ -539,8 +544,8 @@ class SetResolverPlugin extends AddressAccountPlugin {
return __awaiter(this, void 0, void 0, function* () {
yield _super.run.call(this);
this.dump("Set Resolver: " + this.name, {
Nodehash: this.nodehash,
Resolver: this.address
"Nodehash": this.nodehash,
"Resolver": this.address
});
yield this.getEns().setResolver(this.nodehash, this.address);
});
Expand All @@ -561,8 +566,8 @@ class SetAddrPlugin extends AddressAccountPlugin {
return __awaiter(this, void 0, void 0, function* () {
yield _super.run.call(this);
this.dump("Set Addr: " + this.name, {
Nodehash: this.nodehash,
Address: this.address
"Nodehash": this.nodehash,
"Address": this.address
});
let resolver = yield this.getResolver(this.nodehash);
yield resolver.setAddr(this.nodehash, this.address);
Expand Down Expand Up @@ -804,7 +809,7 @@ class ReclaimPlugin extends AddressAccountPlugin {
return __awaiter(this, void 0, void 0, function* () {
yield _super.run.call(this);
this.dump("Reclaim: " + this.name, {
Nodehash: this.nodehash,
"Nodehash": this.nodehash,
"Address": this.address,
});
let registrar = yield this.getEthRegistrar();
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/lib.esm/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ class WrappedSigner extends ethers.Signer {
}
info["Value"] = (ethers.utils.formatEther(tx.value || 0) + " ether");
if (tx.nonce != null) {
info["None"] = tx.nonce;
info["Nonce"] = tx.nonce;
}
info["Data"] = tx.data;
info["Gas Limit"] = ethers.BigNumber.from(tx.gasLimit || 0).toString();
Expand Down Expand Up @@ -224,7 +224,7 @@ class WrappedSigner extends ethers.Signer {
}
info["Value"] = (ethers.utils.formatEther(tx.value || 0) + " ether");
if (tx.nonce != null) {
info["None"] = tx.nonce;
info["Nonce"] = tx.nonce;
}
info["Data"] = tx.data;
info["Gas Limit"] = ethers.BigNumber.from(tx.gasLimit || 0).toString();
Expand Down
19 changes: 12 additions & 7 deletions packages/cli/lib/bin/ethers-ens.js
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,10 @@ var SetControllerPlugin = /** @class */ (function (_super) {
case 0: return [4 /*yield*/, _super.prototype.run.call(this)];
case 1:
_a.sent();
this.dump("Set Subnode: " + this.name, {
"Nodehash": this.nodehash,
"Owner": this.address
});
this.getEns().setOwner(this.nodehash, this.address);
return [2 /*return*/];
}
Expand Down Expand Up @@ -801,8 +805,9 @@ var SetSubnodePlugin = /** @class */ (function (_super) {
case 1:
_a.sent();
this.dump("Set Subnode: " + this.name, {
Label: this.label,
Node: this.node
"Label": this.label,
"Node": this.node,
"Owner": this.address
});
return [4 /*yield*/, this.getEns().setSubnodeOwner(ethers_1.ethers.utils.namehash(this.node), ethers_1.ethers.utils.id(this.label), this.address)];
case 2:
Expand Down Expand Up @@ -837,8 +842,8 @@ var SetResolverPlugin = /** @class */ (function (_super) {
case 1:
_a.sent();
this.dump("Set Resolver: " + this.name, {
Nodehash: this.nodehash,
Resolver: this.address
"Nodehash": this.nodehash,
"Resolver": this.address
});
return [4 /*yield*/, this.getEns().setResolver(this.nodehash, this.address)];
case 2:
Expand Down Expand Up @@ -871,8 +876,8 @@ var SetAddrPlugin = /** @class */ (function (_super) {
case 1:
_a.sent();
this.dump("Set Addr: " + this.name, {
Nodehash: this.nodehash,
Address: this.address
"Nodehash": this.nodehash,
"Address": this.address
});
return [4 /*yield*/, this.getResolver(this.nodehash)];
case 2:
Expand Down Expand Up @@ -1256,7 +1261,7 @@ var ReclaimPlugin = /** @class */ (function (_super) {
case 1:
_a.sent();
this.dump("Reclaim: " + this.name, {
Nodehash: this.nodehash,
"Nodehash": this.nodehash,
"Address": this.address,
});
return [4 /*yield*/, this.getEthRegistrar()];
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ var WrappedSigner = /** @class */ (function (_super) {
}
info["Value"] = (ethers_1.ethers.utils.formatEther(tx.value || 0) + " ether");
if (tx.nonce != null) {
info["None"] = tx.nonce;
info["Nonce"] = tx.nonce;
}
info["Data"] = tx.data;
info["Gas Limit"] = ethers_1.ethers.BigNumber.from(tx.gasLimit || 0).toString();
Expand Down Expand Up @@ -341,7 +341,7 @@ var WrappedSigner = /** @class */ (function (_super) {
}
info["Value"] = (ethers_1.ethers.utils.formatEther(tx.value || 0) + " ether");
if (tx.nonce != null) {
info["None"] = tx.nonce;
info["Nonce"] = tx.nonce;
}
info["Data"] = tx.data;
info["Gas Limit"] = ethers_1.ethers.BigNumber.from(tx.gasLimit || 0).toString();
Expand Down
7 changes: 4 additions & 3 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
},
"dependencies": {
"@types/node": "10.3.2",
"@ethersproject/basex": ">=5.0.0-beta.126",
"ethers": ">5.0.0-beta.0",
"@ethersproject/basex": ">=5.0.0-beta.127",
"ethers": ">=5.0.0-beta.156",
"mime-types": "2.1.11",
"scrypt-js": "2.0.4",
"solc": "0.5.10",
Expand All @@ -35,5 +35,6 @@
"url": "git://github.com/ethers-io/ethers.js.git"
},
"module": "./lib.esm/index.js",
"tarballHash": "0x047aa677370e57a4c356aa7ca5d3e692038f4863413141cd1f325526c59a4096"
"types": "./lib/index.d.ts",
"tarballHash": "0x045c7d61113b060ecb79426c442a9bcc28c3ed5baebd6c324b8c5ccdd83aa39c"
}
Loading

0 comments on commit 85b4db7

Please sign in to comment.