@lionrapid/core 0.6.0 → 0.6.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.
@@ -2899,6 +2899,7 @@ var LionRapid = (() => {
2899
2899
  // 🔥 EMBEDDED: Core integration maps
2900
2900
  __publicField(this, "formatters", /* @__PURE__ */ new Map());
2901
2901
  __publicField(this, "processors", /* @__PURE__ */ new Map());
2902
+ __publicField(this, "warnedNoInterpolate", false);
2902
2903
  // 📡 EVENT-DRIVEN: Just track for cleanup
2903
2904
  __publicField(this, "eventPlugins", /* @__PURE__ */ new Set());
2904
2905
  // 📦 CONTENT: Parser and serializer for ContentUnit processing
@@ -3191,6 +3192,11 @@ var LionRapid = (() => {
3191
3192
  resolvedLocale,
3192
3193
  resolvedKey
3193
3194
  );
3195
+ } else if (!this.warnedNoInterpolate && params && Object.keys(params).length > 0 && processedValue.includes("{")) {
3196
+ this.warnedNoInterpolate = true;
3197
+ console.warn(
3198
+ "[LionRapid] Translation params were passed but no interpolate formatter is registered \u2014 {placeholders} render literally. Install @lionrapid/formatters and add .use(coreFormattersPlugin) to the builder."
3199
+ );
3194
3200
  }
3195
3201
  if (this.processors.size > 0) {
3196
3202
  for (const [name, processor] of this.processors.entries()) {