We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent defc808 commit f0b2288Copy full SHA for f0b2288
packages/thirdweb/src/bridge/Webhook.ts
@@ -28,8 +28,8 @@ const webhookSchema = z.union([
28
address: addressSchema,
29
name: z.string(),
30
symbol: z.string(),
31
- decimals: z.number(),
32
- priceUsd: z.number(),
+ decimals: z.coerce.number(),
+ priceUsd: z.coerce.number(),
33
iconUri: z.optional(z.string()),
34
}),
35
originAmount: z.string(),
@@ -38,8 +38,8 @@ const webhookSchema = z.union([
38
39
40
41
42
43
44
45
destinationAmount: z.string(),
0 commit comments