@learncard/lca-api-plugin 2.0.5 → 2.0.6
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.
- package/dist/lca-api-plugin.cjs.development.cjs +2 -1
- package/dist/lca-api-plugin.cjs.development.cjs.map +2 -2
- package/dist/lca-api-plugin.cjs.production.min.cjs +1 -1
- package/dist/lca-api-plugin.cjs.production.min.cjs.map +3 -3
- package/dist/lca-api-plugin.esm.js +2 -1
- package/dist/lca-api-plugin.esm.js.map +2 -2
- package/dist/plugin.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/plugin.ts +2 -1
- package/src/test/plugin-mode.test.ts +53 -0
|
@@ -15269,7 +15269,8 @@ var getLCAPlugin = /* @__PURE__ */ __name(async (initialLearnCard, url2, useCust
|
|
|
15269
15269
|
learnCard
|
|
15270
15270
|
);
|
|
15271
15271
|
}).catch((error51) => {
|
|
15272
|
-
|
|
15272
|
+
const message = error51 instanceof Error ? error51.message : String(error51);
|
|
15273
|
+
console.warn(`[LCA Plugin] Initialization warning: ${message}`);
|
|
15273
15274
|
});
|
|
15274
15275
|
return {
|
|
15275
15276
|
name: "LearnCard App",
|