@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
|
@@ -15230,7 +15230,8 @@ var getLCAPlugin = /* @__PURE__ */ __name(async (initialLearnCard, url2, useCust
|
|
|
15230
15230
|
learnCard
|
|
15231
15231
|
);
|
|
15232
15232
|
}).catch((error51) => {
|
|
15233
|
-
|
|
15233
|
+
const message = error51 instanceof Error ? error51.message : String(error51);
|
|
15234
|
+
console.warn(`[LCA Plugin] Initialization warning: ${message}`);
|
|
15234
15235
|
});
|
|
15235
15236
|
return {
|
|
15236
15237
|
name: "LearnCard App",
|