Skip to content

Commit 92192db

Browse files
authored
fix: Allow number inside domain (#1038)
* fix: Allow number inside domain * v0.12.1
1 parent 0f8b61c commit 92192db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@snapshot-labs/snapshot.js",
3-
"version": "0.12.0",
3+
"version": "0.12.1",
44
"repository": "snapshot-labs/snapshot.js",
55
"license": "MIT",
66
"main": "dist/snapshot.cjs.js",

src/verify/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type { TypedDataField } from '@ethersproject/abstract-signer';
66
import type { ProviderOptions } from '../utils/provider';
77

88
export type SignaturePayload = {
9-
domain: Record<string, string>;
9+
domain: Record<string, string | number>;
1010
types: Record<string, StarkNetType[] | TypedDataField[]>;
1111
primaryType?: string;
1212
message: Record<string, any>;

0 commit comments

Comments
 (0)