The ignoreCache parameter was added to the /map API endpoint in PR #2686 (v2.8.0), but it was never added to the Node.js SDK's MapOptions type.
Current MapOptions in @mendable/[email protected]:
export interface MapOptions {
search?: string;
sitemap?: "only" | "include" | "skip";
includeSubdomains?: boolean;
ignoreQueryParameters?: boolean;
limit?: number;
timeout?: number;
integration?: string;
origin?: string;
location?: LocationConfig;
threatProtection?: ThreatProtectionOptions;
auditMetadata?: AuditMetadata;
}
ignoreCache is missing. It's documented in the REST API docs and appears to be available in the Python SDK, but the JS SDK type was never updated.
Expected: ignoreCache?: boolean should be added to MapOptions in src/v2/types.ts and passed through in src/v2/methods/map.ts.
The
ignoreCacheparameter was added to the/mapAPI endpoint in PR #2686 (v2.8.0), but it was never added to the Node.js SDK'sMapOptionstype.Current
MapOptionsin@mendable/[email protected]:ignoreCacheis missing. It's documented in the REST API docs and appears to be available in the Python SDK, but the JS SDK type was never updated.Expected:
ignoreCache?: booleanshould be added toMapOptionsinsrc/v2/types.tsand passed through insrc/v2/methods/map.ts.