Skip to content

Commit

Permalink
admin: updated dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Feb 14, 2024
1 parent 556fdd9 commit ad5f1c5
Show file tree
Hide file tree
Showing 44 changed files with 81 additions and 54 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ Change Log

This change log is maintained by `src.ts/_admin/update-changelog.ts` but may also be manually updated.

ethers/v6.11.1 (2024-02-14 13:13)
---------------------------------

- Throw an error when attempting to derive from a master path from a non-master node ([#4551](https://github.com/ethers-io/ethers.js/issues/4551); [556fdd9](https://github.com/ethers-io/ethers.js/commit/556fdd91d9b6bf7db4041bb099e66b2080e1a985)).
- Allow ENS wildcards with labels up to 255 bytes wide; discussed with ENS and deemed safe ([#4543](https://github.com/ethers-io/ethers.js/issues/4543); [7f14bde](https://github.com/ethers-io/ethers.js/commit/7f14bdebf1aef6760462a1c2437c31f002b984fe)).
- Enforce string is passed to toUtf8Bytes ([#4583](https://github.com/ethers-io/ethers.js/issues/4583); [f45bb87](https://github.com/ethers-io/ethers.js/commit/f45bb87aefaf2c6c3a4991f6e30a81c227ae83c0)).
- Fix transaction.index not being populated on some backends ([#4591](https://github.com/ethers-io/ethers.js/issues/4591); [7f0e140](https://github.com/ethers-io/ethers.js/commit/7f0e140d5e3925a42e8bb2ac9eb1ba3fbd939864)).

ethers/v6.11.0 (2024-02-08 20:26)
---------------------------------

Expand Down
14 changes: 9 additions & 5 deletions dist/ethers.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
/**
* The current version of Ethers.
*/
const version = "6.11.0";
const version = "6.11.1";

/**
* Property helper functions.
Expand Down Expand Up @@ -936,6 +936,7 @@ function getUtf8CodePoints(_bytes, onError) {
* If %%form%% is specified, the string is normalized.
*/
function toUtf8Bytes(str, form) {
assertArgument(typeof (str) === "string", "invalid string value", "str", str);
if (form != null) {
assertNormalize(form);
str = str.normalize(form);
Expand Down Expand Up @@ -16391,7 +16392,7 @@ class EnsResolver {
info: { funcName }
});
params = [
dnsEncode(this.name),
dnsEncode(this.name, 255),
iface.encodeFunctionData(fragment, params)
];
funcName = "resolve(bytes,bytes)";
Expand Down Expand Up @@ -16903,6 +16904,8 @@ function formatTransactionResponse(value) {
}
const result = object({
hash: formatHash,
// Some nodes do not return this, usually test nodes (like Ganache)
index: allowNull(getNumber, undefined),
type: (value) => {
if (value === "0x" || value == null) {
return 0;
Expand All @@ -16914,7 +16917,6 @@ function formatTransactionResponse(value) {
blockHash: allowNull(formatHash, null),
blockNumber: allowNull(getNumber, null),
transactionIndex: allowNull(getNumber, null),
//confirmations: allowNull(getNumber, null),
from: getAddress,
// either (gasPrice) or (maxPriorityFeePerGas + maxFeePerGas) must be set
gasPrice: allowNull(getBigInt),
Expand All @@ -16930,7 +16932,8 @@ function formatTransactionResponse(value) {
chainId: allowNull(getBigInt, null)
}, {
data: ["input"],
gasLimit: ["gas"]
gasLimit: ["gas"],
index: ["transactionIndex"]
})(value);
// If to and creates are empty, populate the creates from the value
if (result.to == null && result.creates == null) {
Expand Down Expand Up @@ -24417,8 +24420,9 @@ function ser_I(index, chainCode, publicKey, privateKey) {
}
function derivePath(node, path) {
const components = path.split("/");
assertArgument(components.length > 0 && (components[0] === "m" || node.depth > 0), "invalid path", "path", path);
assertArgument(components.length > 0, "invalid path", "path", path);
if (components[0] === "m") {
assertArgument(node.depth === 0, `cannot derive root path (i.e. path starting with "m/") for a node at non-zero depth ${node.depth}`, "path", path);
components.shift();
}
let result = node;
Expand Down
2 changes: 1 addition & 1 deletion dist/ethers.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ethers.min.js

Large diffs are not rendered by default.

14 changes: 9 additions & 5 deletions dist/ethers.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
/**
* The current version of Ethers.
*/
const version = "6.11.0";
const version = "6.11.1";

/**
* Property helper functions.
Expand Down Expand Up @@ -942,6 +942,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
* If %%form%% is specified, the string is normalized.
*/
function toUtf8Bytes(str, form) {
assertArgument(typeof (str) === "string", "invalid string value", "str", str);
if (form != null) {
assertNormalize(form);
str = str.normalize(form);
Expand Down Expand Up @@ -16397,7 +16398,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
info: { funcName }
});
params = [
dnsEncode(this.name),
dnsEncode(this.name, 255),
iface.encodeFunctionData(fragment, params)
];
funcName = "resolve(bytes,bytes)";
Expand Down Expand Up @@ -16909,6 +16910,8 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
}
const result = object({
hash: formatHash,
// Some nodes do not return this, usually test nodes (like Ganache)
index: allowNull(getNumber, undefined),
type: (value) => {
if (value === "0x" || value == null) {
return 0;
Expand All @@ -16920,7 +16923,6 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
blockHash: allowNull(formatHash, null),
blockNumber: allowNull(getNumber, null),
transactionIndex: allowNull(getNumber, null),
//confirmations: allowNull(getNumber, null),
from: getAddress,
// either (gasPrice) or (maxPriorityFeePerGas + maxFeePerGas) must be set
gasPrice: allowNull(getBigInt),
Expand All @@ -16936,7 +16938,8 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
chainId: allowNull(getBigInt, null)
}, {
data: ["input"],
gasLimit: ["gas"]
gasLimit: ["gas"],
index: ["transactionIndex"]
})(value);
// If to and creates are empty, populate the creates from the value
if (result.to == null && result.creates == null) {
Expand Down Expand Up @@ -24423,8 +24426,9 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
}
function derivePath(node, path) {
const components = path.split("/");
assertArgument(components.length > 0 && (components[0] === "m" || node.depth > 0), "invalid path", "path", path);
assertArgument(components.length > 0, "invalid path", "path", path);
if (components[0] === "m") {
assertArgument(node.depth === 0, `cannot derive root path (i.e. path starting with "m/") for a node at non-zero depth ${node.depth}`, "path", path);
components.shift();
}
let result = node;
Expand Down
2 changes: 1 addition & 1 deletion dist/ethers.umd.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ethers.umd.min.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/wordlists-extra.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/wordlists-extra.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/wordlists-extra.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions lib.commonjs/_tests/blockchain-data.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export interface TestBlockchainTransaction {
hash: string;
blockHash: string;
blockNumber: number;
index: number;
type: number;
from: string;
gasPrice: bigint;
Expand Down
2 changes: 1 addition & 1 deletion lib.commonjs/_tests/blockchain-data.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions lib.commonjs/_tests/blockchain-data.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ad5f1c5

Please sign in to comment.