Comparing version 6.13.1 to 6.13.2
@@ -6,2 +6,7 @@ Change Log | ||
ethers/v6.13.2 (2024-07-25 17:54) | ||
--------------------------------- | ||
- Prevent mutating transactions when signing ([#4789](https://github.com/ethers-io/ethers.js/issues/4789); [1a51af8](https://github.com/ethers-io/ethers.js/commit/1a51af85397283601db77ca61d5596b145e7f2cb)). | ||
ethers/v6.13.1 (2024-06-18 02:09) | ||
@@ -8,0 +13,0 @@ --------------------------------- |
@@ -8,3 +8,3 @@ "use strict"; | ||
*/ | ||
exports.version = "6.13.1"; | ||
exports.version = "6.13.2"; | ||
//# sourceMappingURL=_version.js.map |
@@ -55,2 +55,3 @@ "use strict"; | ||
async signTransaction(tx) { | ||
tx = (0, index_js_3.copyRequest)(tx); | ||
// Replace any Addressable or ENS name with an address | ||
@@ -57,0 +58,0 @@ const { to, from } = await (0, index_js_5.resolveProperties)({ |
@@ -5,3 +5,3 @@ /* Do NOT modify this file; see /src.ts/_admin/update-version.ts */ | ||
*/ | ||
export const version = "6.13.1"; | ||
export const version = "6.13.2"; | ||
//# sourceMappingURL=_version.js.map |
import { getAddress, resolveAddress } from "../address/index.js"; | ||
import { hashMessage, TypedDataEncoder } from "../hash/index.js"; | ||
import { AbstractSigner } from "../providers/index.js"; | ||
import { AbstractSigner, copyRequest } from "../providers/index.js"; | ||
import { computeAddress, Transaction } from "../transaction/index.js"; | ||
@@ -52,2 +52,3 @@ import { defineProperties, resolveProperties, assert, assertArgument } from "../utils/index.js"; | ||
async signTransaction(tx) { | ||
tx = copyRequest(tx); | ||
// Replace any Addressable or ENS name with an address | ||
@@ -54,0 +55,0 @@ const { to, from } = await resolveProperties({ |
@@ -96,3 +96,3 @@ { | ||
], | ||
"gitHead": "a4b1d1f43fca14f2e826e3c60e0d45f5b6ef3ec4", | ||
"gitHead": "1a51af85397283601db77ca61d5596b145e7f2cb", | ||
"homepage": "https://ethers.org", | ||
@@ -135,3 +135,3 @@ "keywords": [ | ||
"sideEffects": false, | ||
"version": "6.13.1" | ||
"version": "6.13.2" | ||
} |
@@ -6,2 +6,2 @@ /* Do NOT modify this file; see /src.ts/_admin/update-version.ts */ | ||
*/ | ||
export const version: string = "6.13.1"; | ||
export const version: string = "6.13.2"; |
import { getAddress, resolveAddress } from "../address/index.js"; | ||
import { hashMessage, TypedDataEncoder } from "../hash/index.js"; | ||
import { AbstractSigner } from "../providers/index.js"; | ||
import { AbstractSigner, copyRequest } from "../providers/index.js"; | ||
import { computeAddress, Transaction } from "../transaction/index.js"; | ||
@@ -72,2 +72,3 @@ import { | ||
async signTransaction(tx: TransactionRequest): Promise<string> { | ||
tx = copyRequest(tx); | ||
@@ -74,0 +75,0 @@ // Replace any Addressable or ENS name with an address |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12625859
1275
147619