Skip to content

Commit 66ec978

Browse files
committed
Type nits
1 parent ee4f1f8 commit 66ec978

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/utils/alerts-map.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import type { Spinner } from '@socketsecurity/registry/lib/spinner'
1818
export type GetAlertsMapFromPnpmLockfileOptions = {
1919
apiToken?: string | undefined
2020
consolidate?: boolean | undefined
21-
include?: AlertFilter | undefined
21+
filter?: AlertFilter | undefined
2222
overrides?: { [key: string]: string } | undefined
2323
nothrow?: boolean | undefined
2424
spinner?: Spinner | undefined

src/utils/sdk.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ export function hasDefaultApiToken(): boolean {
8181
}
8282

8383
export type SetupSdkOptions = {
84-
apiToken?: string | undefined
8584
apiBaseUrl?: string | undefined
8685
apiProxy?: string | undefined
86+
apiToken?: string | undefined
8787
}
8888

8989
export async function setupSdk(

0 commit comments

Comments
 (0)