@learncard/lca-api-plugin 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15311,10 +15311,13 @@ var getLCAPlugin = /* @__PURE__ */ __name(async (initialLearnCard, url2, useCust
15311
15311
  client = await getNewClient(url2, _learnCard);
15312
15312
  learnCard = _learnCard;
15313
15313
  }, "resetLCAClient"),
15314
- generateBoostInfo: /* @__PURE__ */ __name(async (_learnCard, description) => {
15314
+ generateBoostInfo: /* @__PURE__ */ __name(async (_learnCard, description, locale) => {
15315
15315
  await initialized;
15316
15316
  await updateLearnCard(_learnCard);
15317
- const result = await client.ai.generateBoostInfo.query({ description });
15317
+ const result = await client.ai.generateBoostInfo.query({
15318
+ description,
15319
+ locale
15320
+ });
15318
15321
  return {
15319
15322
  title: result.title,
15320
15323
  description: result.description,