Skip to content

Commit a980fc3

Browse files
committed
Updated dist files.
1 parent a34ca6b commit a980fc3

File tree

11 files changed

+986
-1030
lines changed

11 files changed

+986
-1030
lines changed

_version.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export declare const version = "4.0.32";
1+
export declare const version = "4.0.33";

_version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"use strict";
22
Object.defineProperty(exports, "__esModule", { value: true });
3-
exports.version = "4.0.32";
3+
exports.version = "4.0.33";

dist/ethers.js

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.ethers = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
22
"use strict";
33
Object.defineProperty(exports, "__esModule", { value: true });
4-
exports.version = "4.0.32";
4+
exports.version = "4.0.33";
55

66
},{}],2:[function(require,module,exports){
77
"use strict";
@@ -8646,24 +8646,28 @@ exports.shr64_lo = shr64_lo;
86468646
if (typeof Object.create === 'function') {
86478647
// implementation from standard node.js 'util' module
86488648
module.exports = function inherits(ctor, superCtor) {
8649-
ctor.super_ = superCtor
8650-
ctor.prototype = Object.create(superCtor.prototype, {
8651-
constructor: {
8652-
value: ctor,
8653-
enumerable: false,
8654-
writable: true,
8655-
configurable: true
8656-
}
8657-
});
8649+
if (superCtor) {
8650+
ctor.super_ = superCtor
8651+
ctor.prototype = Object.create(superCtor.prototype, {
8652+
constructor: {
8653+
value: ctor,
8654+
enumerable: false,
8655+
writable: true,
8656+
configurable: true
8657+
}
8658+
})
8659+
}
86588660
};
86598661
} else {
86608662
// old school shim for old browsers
86618663
module.exports = function inherits(ctor, superCtor) {
8662-
ctor.super_ = superCtor
8663-
var TempCtor = function () {}
8664-
TempCtor.prototype = superCtor.prototype
8665-
ctor.prototype = new TempCtor()
8666-
ctor.prototype.constructor = ctor
8664+
if (superCtor) {
8665+
ctor.super_ = superCtor
8666+
var TempCtor = function () {}
8667+
TempCtor.prototype = superCtor.prototype
8668+
ctor.prototype = new TempCtor()
8669+
ctor.prototype.constructor = ctor
8670+
}
86678671
}
86688672
}
86698673

@@ -9620,7 +9624,7 @@ module.exports = { browser: true };
96209624

96219625
}).call(this,require("timers").setImmediate)
96229626
},{"timers":45}],44:[function(require,module,exports){
9623-
(function (process,global){
9627+
(function (process,global,clearImmediate){
96249628
(function (global, undefined) {
96259629
"use strict";
96269630

@@ -9797,8 +9801,8 @@ module.exports = { browser: true };
97979801
attachTo.clearImmediate = clearImmediate;
97989802
}(typeof self === "undefined" ? typeof global === "undefined" ? this : global : self));
97999803

9800-
}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
9801-
},{"_process":42}],45:[function(require,module,exports){
9804+
}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("timers").clearImmediate)
9805+
},{"_process":42,"timers":45}],45:[function(require,module,exports){
98029806
(function (global){
98039807
module.exports = { setImmediate: global.setImmediate };
98049808
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
@@ -14339,8 +14343,8 @@ function _fromSeed(seed, mnemonic) {
1433914343
return new HDNode(_constructorGuard, bytes32(I.slice(0, 32)), null, "0x00000000", bytes32(I.slice(32)), 0, 0, mnemonic, 'm');
1434014344
}
1434114345
function fromMnemonic(mnemonic, wordlist, password) {
14342-
// Check that the checksum s valid (will throw an error)
14343-
mnemonicToEntropy(mnemonic, wordlist);
14346+
// Normalize the mnemonic (also throws if the checksum is invalid)
14347+
mnemonic = entropyToMnemonic(mnemonicToEntropy(mnemonic, wordlist), wordlist);
1434414348
return _fromSeed(mnemonicToSeed(mnemonic, password), mnemonic);
1434514349
}
1434614350
exports.fromMnemonic = fromMnemonic;

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.

dist/ethers.types.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ declare module 'ethers/utils/shims' {
266266
}
267267

268268
declare module 'ethers/_version' {
269-
export const version = "4.0.32";
269+
export const version = "4.0.33";
270270
}
271271

272272
declare module 'ethers/utils/bignumber' {

dist/shims.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.

0 commit comments

Comments
 (0)