@ethersproject/hash
Advanced tools
Comparing version 5.0.8 to 5.0.9
@@ -1,1 +0,1 @@ | ||
export declare const version = "hash/5.0.8"; | ||
export declare const version = "hash/5.0.9"; |
@@ -1,2 +0,2 @@ | ||
export const version = "hash/5.0.8"; | ||
export const version = "hash/5.0.9"; | ||
//# sourceMappingURL=_version.js.map |
@@ -405,2 +405,5 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
if (typesWithDomain.EIP712Domain) { | ||
logger.throwArgumentError("types must not contain EIP712Domain type", "types.EIP712Domain", types); | ||
} | ||
else { | ||
typesWithDomain.EIP712Domain = domainTypes; | ||
@@ -407,0 +410,0 @@ } |
@@ -1,1 +0,1 @@ | ||
export declare const version = "hash/5.0.8"; | ||
export declare const version = "hash/5.0.9"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = "hash/5.0.8"; | ||
exports.version = "hash/5.0.9"; | ||
//# sourceMappingURL=_version.js.map |
@@ -462,2 +462,5 @@ "use strict"; | ||
if (typesWithDomain.EIP712Domain) { | ||
logger.throwArgumentError("types must not contain EIP712Domain type", "types.EIP712Domain", types); | ||
} | ||
else { | ||
typesWithDomain.EIP712Domain = domainTypes; | ||
@@ -464,0 +467,0 @@ } |
@@ -25,3 +25,3 @@ { | ||
], | ||
"gitHead": "211defa27f85af111e81b400a18922f35dff21e1", | ||
"gitHead": "8e3cfd8517d69f9c6517e8141191b697bb4a645b", | ||
"keywords": [ | ||
@@ -47,5 +47,5 @@ "Ethereum", | ||
"sideEffects": false, | ||
"tarballHash": "0x69068823dad28c4c52956a89a1b710dc12f0206b45971bc6a8756d2c133dcef8", | ||
"tarballHash": "0x72b13ce70dea4b43cf8a67527084e8947d2a0d73db1d76178986e4eaa0196774", | ||
"types": "./lib/index.d.ts", | ||
"version": "5.0.8" | ||
"version": "5.0.9" | ||
} |
@@ -1,1 +0,1 @@ | ||
export const version = "hash/5.0.8"; | ||
export const version = "hash/5.0.9"; |
@@ -466,2 +466,4 @@ import { TypedDataDomain, TypedDataField } from "@ethersproject/abstract-signer"; | ||
if (typesWithDomain.EIP712Domain) { | ||
logger.throwArgumentError("types must not contain EIP712Domain type", "types.EIP712Domain", types); | ||
} else { | ||
typesWithDomain.EIP712Domain = domainTypes; | ||
@@ -468,0 +470,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
111913
1658