Skip to content

Commit d065125

Browse files
committed
fix(klesia): pin happy-dom ver
1 parent ebd8427 commit d065125

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

bun.lockb

0 Bytes
Binary file not shown.

packages/connect/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"zod": "3.23.8"
3030
},
3131
"devDependencies": {
32-
"@happy-dom/global-registrator": "^15.7.4"
32+
"@happy-dom/global-registrator": "15.6.0"
3333
},
3434
"peerDependencies": {
3535
"typescript": "^5.0.0"

packages/klesia-sdk/src/client.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,7 @@ export const createClient = ({
3232
.with("mainnet", () => "https://mainnet.klesia.palladians.xyz")
3333
.with("zeko_devnet", () => "https://zeko-devnet.klesia.palladians.xyz")
3434
.exhaustive();
35-
const baseClient = hc<KlesiaRpc>(baseUrl, {
36-
headers: {
37-
"Access-Control-Allow-Origin": "*",
38-
},
39-
});
35+
const baseClient = hc<KlesiaRpc>(baseUrl);
4036
const rpcHandler = baseClient.api.$post;
4137
type RpcRequest = Parameters<typeof rpcHandler>[0];
4238
const request = async <T extends string>(req: RpcRequest["json"]) => {

0 commit comments

Comments
 (0)