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 931c730 commit af9a0e7Copy full SHA for af9a0e7
packages/thirdweb/src/x402/schemas.ts
@@ -11,20 +11,7 @@ import {
11
import { z } from "zod";
12
import type { Chain } from "../chains/types.js";
13
14
-const FacilitatorNetworkSchema = z.union([
15
- z.literal("base-sepolia"),
16
- z.literal("base"),
17
- z.literal("avalanche-fuji"),
18
- z.literal("avalanche"),
19
- z.literal("iotex"),
20
- z.literal("solana-devnet"),
21
- z.literal("solana"),
22
- z.literal("sei"),
23
- z.literal("sei-testnet"),
24
- z.string().refine((value) => value.startsWith("eip155:"), {
25
- message: "Invalid network",
26
- }),
27
-]);
+const FacilitatorNetworkSchema = z.string();
28
29
export type FacilitatorNetwork = z.infer<typeof FacilitatorNetworkSchema>;
30
0 commit comments