Skip to content

Commit

Permalink
feat: add missing nullable fields
Browse files Browse the repository at this point in the history
  • Loading branch information
mortimr committed Apr 10, 2024
1 parent a2d99b9 commit ada3268
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export const TransactionSchema = z.object({
safe: z.string(),
to: z.string(),
value: z.string(),
data: z.string().optional(),
data: z.string().optional().nullable(),
operation: z.number(),
gasToken: z.string(),
safeTxGas: z.number(),
Expand All @@ -119,7 +119,7 @@ export const TransactionSchema = z.object({
transactionHash: z.string().optional(),
safeTxHash: z.string(),
executor: z.string().optional(),
proposer: z.string(),
proposer: z.string().nullable(),
isExecuted: z.boolean(),
isSuccessful: z.boolean().optional(),
ethGasPrice: z.string().optional(),
Expand All @@ -133,7 +133,7 @@ export const TransactionSchema = z.object({
z.object({
owner: z.string(),
submissionDate: z.string(),
transactionHash: z.string().optional(),
transactionHash: z.string().optional().nullable(),
signature: z.string(),
signatureType: z.string().optional()
})
Expand Down

0 comments on commit ada3268

Please sign in to comment.