File tree Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 29
29
"zod" : " 3.23.8"
30
30
},
31
31
"devDependencies" : {
32
- "@happy-dom/global-registrator" : " ^ 15.7.4 "
32
+ "@happy-dom/global-registrator" : " 15.6.0 "
33
33
},
34
34
"peerDependencies" : {
35
35
"typescript" : " ^5.0.0"
Original file line number Diff line number Diff line change @@ -32,11 +32,7 @@ export const createClient = ({
32
32
. with ( "mainnet" , ( ) => "https://mainnet.klesia.palladians.xyz" )
33
33
. with ( "zeko_devnet" , ( ) => "https://zeko-devnet.klesia.palladians.xyz" )
34
34
. exhaustive ( ) ;
35
- const baseClient = hc < KlesiaRpc > ( baseUrl , {
36
- headers : {
37
- "Access-Control-Allow-Origin" : "*" ,
38
- } ,
39
- } ) ;
35
+ const baseClient = hc < KlesiaRpc > ( baseUrl ) ;
40
36
const rpcHandler = baseClient . api . $post ;
41
37
type RpcRequest = Parameters < typeof rpcHandler > [ 0 ] ;
42
38
const request = async < T extends string > ( req : RpcRequest [ "json" ] ) => {
You can’t perform that action at this time.
0 commit comments