Skip to content

Commit 4822438

Browse files
committed
Fix proxy? type
1 parent 760aaeb commit 4822438

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/sdk.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export function getPublicToken(): string {
8181
export async function setupSdk(
8282
apiToken: string | undefined = getDefaultToken(),
8383
apiBaseUrl: string | undefined = getDefaultApiBaseUrl(),
84-
proxy: string | undefined,
84+
proxy?: string | undefined,
8585
): Promise<CResult<SocketSdk>> {
8686
if (typeof apiToken !== 'string' && isInteractive()) {
8787
apiToken = await password({

0 commit comments

Comments
 (0)