Skip to content

Commit

Permalink
fix(klesia): pin happy-dom ver
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcnk committed Sep 18, 2024
1 parent ebd8427 commit d065125
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/connect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"zod": "3.23.8"
},
"devDependencies": {
"@happy-dom/global-registrator": "^15.7.4"
"@happy-dom/global-registrator": "15.6.0"
},
"peerDependencies": {
"typescript": "^5.0.0"
Expand Down
6 changes: 1 addition & 5 deletions packages/klesia-sdk/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,7 @@ export const createClient = ({
.with("mainnet", () => "https://mainnet.klesia.palladians.xyz")
.with("zeko_devnet", () => "https://zeko-devnet.klesia.palladians.xyz")
.exhaustive();
const baseClient = hc<KlesiaRpc>(baseUrl, {
headers: {
"Access-Control-Allow-Origin": "*",
},
});
const baseClient = hc<KlesiaRpc>(baseUrl);
const rpcHandler = baseClient.api.$post;
type RpcRequest = Parameters<typeof rpcHandler>[0];
const request = async <T extends string>(req: RpcRequest["json"]) => {
Expand Down

0 comments on commit d065125

Please sign in to comment.