File tree Expand file tree Collapse file tree 2 files changed +6
-14
lines changed
packages/thirdweb/src/x402 Expand file tree Collapse file tree 2 files changed +6
-14
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " thirdweb " : patch
3+ ---
4+
5+ Loosen network schema
Original file line number Diff line number Diff line change @@ -11,20 +11,7 @@ import {
1111import { z } from "zod" ;
1212import type { Chain } from "../chains/types.js" ;
1313
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- ] ) ;
14+ const FacilitatorNetworkSchema = z . string ( ) ;
2815
2916export type FacilitatorNetwork = z . infer < typeof FacilitatorNetworkSchema > ;
3017
You can’t perform that action at this time.
0 commit comments