We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee4f1f8 commit 66ec978Copy full SHA for 66ec978
2 files changed
src/utils/alerts-map.mts
@@ -18,7 +18,7 @@ import type { Spinner } from '@socketsecurity/registry/lib/spinner'
18
export type GetAlertsMapFromPnpmLockfileOptions = {
19
apiToken?: string | undefined
20
consolidate?: boolean | undefined
21
- include?: AlertFilter | undefined
+ filter?: AlertFilter | undefined
22
overrides?: { [key: string]: string } | undefined
23
nothrow?: boolean | undefined
24
spinner?: Spinner | undefined
src/utils/sdk.mts
@@ -81,9 +81,9 @@ export function hasDefaultApiToken(): boolean {
81
}
82
83
export type SetupSdkOptions = {
84
- apiToken?: string | undefined
85
apiBaseUrl?: string | undefined
86
apiProxy?: string | undefined
+ apiToken?: string | undefined
87
88
89
export async function setupSdk(
0 commit comments