diff --git a/lib/websafe/fetch-easyeda-json.ts b/lib/websafe/fetch-easyeda-json.ts index 2dd21e45..ac0db33d 100644 --- a/lib/websafe/fetch-easyeda-json.ts +++ b/lib/websafe/fetch-easyeda-json.ts @@ -2,7 +2,7 @@ import type { RawEasyEdaJson } from "../schemas/easy-eda-json-schema" export async function fetchEasyEDAComponent( jlcpcbPartNumber: string, - { fetch = globalThis.fetch }: { fetch?: typeof globalThis.fetch } = {}, + { fetch = globalThis.fetch, includeModelMetadata?: boolean }: { fetch?: typeof globalThis.fetch, includeModelMetadata = true } = {}, ): Promise { const searchUrl = "https://easyeda.com/api/components/search" const componentUrl = (uuid: string) =>