Skip to content

Commit 72ab8cc

Browse files
committed
fix: make client options optional
1 parent c4682e5 commit 72ab8cc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/types/client.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
export type MyTonSwapClientOptions = {
2-
apiKey: string;
3-
tonCenterApiKey: string;
4-
baseUrl: string;
5-
headers: Record<string, string>;
2+
apiKey?: string;
3+
tonCenterApiKey?: string;
4+
baseUrl?: string;
5+
headers?: Record<string, string>;
66
};
77

88
export type MyTonSwapResponse<Tdata = any, Terror = any> = {

0 commit comments

Comments
 (0)