@ethersproject/transactions
Advanced tools
Comparing version 5.1.0 to 5.1.1
@@ -1,2 +0,2 @@ | ||
export declare const version = "transactions/5.1.0"; | ||
export declare const version = "transactions/5.1.1"; | ||
//# sourceMappingURL=_version.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export const version = "transactions/5.1.0"; | ||
export const version = "transactions/5.1.1"; | ||
//# sourceMappingURL=_version.js.map |
@@ -179,2 +179,5 @@ "use strict"; | ||
if (transaction.type == null) { | ||
if (transaction.accessList != null) { | ||
logger.throwArgumentError("untyped transactions do not support accessList; include type: 1", "transaction", transaction); | ||
} | ||
return _serialize(transaction, signature); | ||
@@ -181,0 +184,0 @@ } |
@@ -1,2 +0,2 @@ | ||
export declare const version = "transactions/5.1.0"; | ||
export declare const version = "transactions/5.1.1"; | ||
//# sourceMappingURL=_version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = void 0; | ||
exports.version = "transactions/5.1.0"; | ||
exports.version = "transactions/5.1.1"; | ||
//# sourceMappingURL=_version.js.map |
@@ -203,2 +203,5 @@ "use strict"; | ||
if (transaction.type == null) { | ||
if (transaction.accessList != null) { | ||
logger.throwArgumentError("untyped transactions do not support accessList; include type: 1", "transaction", transaction); | ||
} | ||
return _serialize(transaction, signature); | ||
@@ -205,0 +208,0 @@ } |
@@ -26,3 +26,3 @@ { | ||
], | ||
"gitHead": "3b1d3fcee6bfb5178861e26ff1a1e9daa0663ec9", | ||
"gitHead": "0cd5fccfadd964807155056467dc1f5431842489", | ||
"keywords": [ | ||
@@ -48,5 +48,5 @@ "Ethereum", | ||
"sideEffects": false, | ||
"tarballHash": "0xfcc7bf02b3381db31f124dd3b0cfcfa12e70b371e86b45238bc125e8d8e41d87", | ||
"tarballHash": "0x534ec8856279734fbd887b095e750e59f71feb9a6d587fc6fd1992b8ee65a4a3", | ||
"types": "./lib/index.d.ts", | ||
"version": "5.1.0" | ||
"version": "5.1.1" | ||
} |
@@ -1,1 +0,1 @@ | ||
export const version = "transactions/5.1.0"; | ||
export const version = "transactions/5.1.1"; |
@@ -255,3 +255,8 @@ "use strict"; | ||
// Legacy and EIP-155 Transactions | ||
if (transaction.type == null) { return _serialize(transaction, signature); } | ||
if (transaction.type == null) { | ||
if (transaction.accessList != null) { | ||
logger.throwArgumentError("untyped transactions do not support accessList; include type: 1", "transaction", transaction); | ||
} | ||
return _serialize(transaction, signature); | ||
} | ||
@@ -258,0 +263,0 @@ // Typed Transactions (EIP-2718) |
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
72782
1068