Skip to content

Commit 023e946

Browse files
committed
Update dist files.
1 parent 004cb82 commit 023e946

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

contract.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ function runMethod(contract, functionName, estimateOnly) {
204204
tx.gasLimit = bignumber_1.bigNumberify(method.gas).add(21000);
205205
}
206206
if (!contract.signer) {
207-
errors.throwError('sending a transaction require a signer', errors.UNSUPPORTED_OPERATION, { operation: 'sendTransaction' });
207+
errors.throwError('sending a transaction requires a signer', errors.UNSUPPORTED_OPERATION, { operation: 'sendTransaction' });
208208
}
209209
// Make sure they aren't overriding something they shouldn't
210210
if (tx.from != null) {
@@ -366,7 +366,7 @@ var Contract = /** @class */ (function () {
366366
Contract.prototype.fallback = function (overrides) {
367367
var _this = this;
368368
if (!this.signer) {
369-
errors.throwError('sending a transaction require a signer', errors.UNSUPPORTED_OPERATION, { operation: 'sendTransaction(fallback)' });
369+
errors.throwError('sending a transaction requires a signer', errors.UNSUPPORTED_OPERATION, { operation: 'sendTransaction(fallback)' });
370370
}
371371
var tx = properties_1.shallowCopy(overrides || {});
372372
['from', 'to'].forEach(function (key) {

dist/ethers.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ function runMethod(contract, functionName, estimateOnly) {
252252
tx.gasLimit = bignumber_1.bigNumberify(method.gas).add(21000);
253253
}
254254
if (!contract.signer) {
255-
errors.throwError('sending a transaction require a signer', errors.UNSUPPORTED_OPERATION, { operation: 'sendTransaction' });
255+
errors.throwError('sending a transaction requires a signer', errors.UNSUPPORTED_OPERATION, { operation: 'sendTransaction' });
256256
}
257257
// Make sure they aren't overriding something they shouldn't
258258
if (tx.from != null) {
@@ -414,7 +414,7 @@ var Contract = /** @class */ (function () {
414414
Contract.prototype.fallback = function (overrides) {
415415
var _this = this;
416416
if (!this.signer) {
417-
errors.throwError('sending a transaction require a signer', errors.UNSUPPORTED_OPERATION, { operation: 'sendTransaction(fallback)' });
417+
errors.throwError('sending a transaction requires a signer', errors.UNSUPPORTED_OPERATION, { operation: 'sendTransaction(fallback)' });
418418
}
419419
var tx = properties_1.shallowCopy(overrides || {});
420420
['from', 'to'].forEach(function (key) {
@@ -11073,7 +11073,7 @@ var BaseProvider = /** @class */ (function (_super) {
1107311073
return this.getNetwork().then(function (network) {
1107411074
// No ENS...
1107511075
if (!network.ensAddress) {
11076-
errors.throwError('network does support ENS', errors.UNSUPPORTED_OPERATION, { operation: 'ENS', network: network.name });
11076+
errors.throwError('network does not support ENS', errors.UNSUPPORTED_OPERATION, { operation: 'ENS', network: network.name });
1107711077
}
1107811078
// keccak256('resolver(bytes32)')
1107911079
var data = '0x0178b8bf' + hash_1.namehash(name).substring(2);
@@ -15510,7 +15510,7 @@ function _decode(data, offset) {
1551015510
else if (data[offset] >= 0x80) {
1551115511
var length = data[offset] - 0x80;
1551215512
if (offset + 1 + length > data.length) {
15513-
throw new Error('invlaid rlp data');
15513+
throw new Error('invalid rlp data');
1551415514
}
1551515515
var result = bytes_1.hexlify(data.slice(offset + 1, offset + 1 + length));
1551615516
return { consumed: (1 + length), result: result };

dist/ethers.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ethers.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ethers",
3-
"version": "4.0.38",
3+
"version": "4.0.37",
44
"description": "Ethereum wallet library.",
55
"main": "./index.js",
66
"types": "./index.d.ts",

providers/base-provider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,7 @@ var BaseProvider = /** @class */ (function (_super) {
10131013
return this.getNetwork().then(function (network) {
10141014
// No ENS...
10151015
if (!network.ensAddress) {
1016-
errors.throwError('network does support ENS', errors.UNSUPPORTED_OPERATION, { operation: 'ENS', network: network.name });
1016+
errors.throwError('network does not support ENS', errors.UNSUPPORTED_OPERATION, { operation: 'ENS', network: network.name });
10171017
}
10181018
// keccak256('resolver(bytes32)')
10191019
var data = '0x0178b8bf' + hash_1.namehash(name).substring(2);

utils/rlp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function _decode(data, offset) {
9898
else if (data[offset] >= 0x80) {
9999
var length = data[offset] - 0x80;
100100
if (offset + 1 + length > data.length) {
101-
throw new Error('invlaid rlp data');
101+
throw new Error('invalid rlp data');
102102
}
103103
var result = bytes_1.hexlify(data.slice(offset + 1, offset + 1 + length));
104104
return { consumed: (1 + length), result: result };

0 commit comments

Comments
 (0)