Skip to content

Commit 3f64542

Browse files
authored
fix: Make from and timestamp params optional for UpdateProposal (#908)
* fix: Make it Optional from and timestamp * Update package.json
1 parent 81f4ae8 commit 3f64542

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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.6.3",
3+
"version": "0.6.4",
44
"repository": "snapshot-labs/snapshot.js",
55
"license": "MIT",
66
"main": "dist/snapshot.cjs.js",

src/sign/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ export interface Proposal {
3131

3232
export interface UpdateProposal {
3333
proposal: string;
34-
from: string;
34+
from?: string;
3535
space: string;
36-
timestamp: number;
36+
timestamp?: number;
3737
type: ProposalType;
3838
title: string;
3939
body: string;

0 commit comments

Comments
 (0)