@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.
@@ -2819,6 +2819,7 @@ var LionRapidCore = class {
2819
2819
  // 🔥 EMBEDDED: Core integration maps
2820
2820
  __publicField(this, "formatters", /* @__PURE__ */ new Map());
2821
2821
  __publicField(this, "processors", /* @__PURE__ */ new Map());
2822
+ __publicField(this, "warnedNoInterpolate", false);
2822
2823
  // 📡 EVENT-DRIVEN: Just track for cleanup
2823
2824
  __publicField(this, "eventPlugins", /* @__PURE__ */ new Set());
2824
2825
  // 📦 CONTENT: Parser and serializer for ContentUnit processing
@@ -3111,6 +3112,11 @@ var LionRapidCore = class {
3111
3112
  resolvedLocale,
3112
3113
  resolvedKey
3113
3114
  );
3115
+ } else if (!this.warnedNoInterpolate && params && Object.keys(params).length > 0 && processedValue.includes("{")) {
3116
+ this.warnedNoInterpolate = true;
3117
+ console.warn(
3118
+ "[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."
3119
+ );
3114
3120
  }
3115
3121
  if (this.processors.size > 0) {
3116
3122
  for (const [name, processor] of this.processors.entries()) {