@ethersproject/wallet
Advanced tools
Comparing version 5.0.6 to 5.0.7
@@ -1,1 +0,1 @@ | ||
export declare const version = "wallet/5.0.6"; | ||
export declare const version = "wallet/5.0.7"; |
@@ -1,2 +0,2 @@ | ||
export const version = "wallet/5.0.6"; | ||
export const version = "wallet/5.0.7"; | ||
//# sourceMappingURL=_version.js.map |
@@ -32,1 +32,2 @@ import { Provider, TransactionRequest } from "@ethersproject/abstract-provider"; | ||
export declare function verifyMessage(message: Bytes | string, signature: SignatureLike): string; | ||
export declare function verifyTypedData(domain: TypedDataDomain, types: Record<string, Array<TypedDataField>>, value: Record<string, any>, signature: SignatureLike): string; |
@@ -167,2 +167,5 @@ "use strict"; | ||
} | ||
export function verifyTypedData(domain, types, value, signature) { | ||
return recoverAddress(_TypedDataEncoder.hash(domain, types, value), signature); | ||
} | ||
//# sourceMappingURL=index.js.map |
@@ -1,1 +0,1 @@ | ||
export declare const version = "wallet/5.0.6"; | ||
export declare const version = "wallet/5.0.7"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = "wallet/5.0.6"; | ||
exports.version = "wallet/5.0.7"; | ||
//# sourceMappingURL=_version.js.map |
@@ -32,1 +32,2 @@ import { Provider, TransactionRequest } from "@ethersproject/abstract-provider"; | ||
export declare function verifyMessage(message: Bytes | string, signature: SignatureLike): string; | ||
export declare function verifyTypedData(domain: TypedDataDomain, types: Record<string, Array<TypedDataField>>, value: Record<string, any>, signature: SignatureLike): string; |
@@ -237,2 +237,6 @@ "use strict"; | ||
exports.verifyMessage = verifyMessage; | ||
function verifyTypedData(domain, types, value, signature) { | ||
return transactions_1.recoverAddress(hash_1._TypedDataEncoder.hash(domain, types, value), signature); | ||
} | ||
exports.verifyTypedData = verifyTypedData; | ||
//# sourceMappingURL=index.js.map |
@@ -22,3 +22,3 @@ { | ||
"ethereum": "donations.ethers.eth", | ||
"gitHead": "86146650d83865d83b10867e9592923eada5d7cc", | ||
"gitHead": "5a9bc30336abdd81ddb04e6a1ced3bce43b6dfa1", | ||
"keywords": [ | ||
@@ -42,5 +42,5 @@ "Ethereum", | ||
}, | ||
"tarballHash": "0xef774b0cab37ac7114d7daa7af5b9696d8aaa82bcee5a9e26239c36a66222c11", | ||
"tarballHash": "0xfb6daa970e4ca698f8d4d47c5f5b0ae099c7da00cfe5dd2f06a6636e24a89d0e", | ||
"types": "./lib/index.d.ts", | ||
"version": "5.0.6" | ||
"version": "5.0.7" | ||
} |
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
40353
479