@forgecharts/sdk 1.3.0 → 1.3.2

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/internal.js CHANGED
@@ -11340,9 +11340,9 @@ var UnmanagedIngestion = class {
11340
11340
  }
11341
11341
  // ── Guard ────────────────────────────────────────────────────────────────────
11342
11342
  _assertUnmanaged() {
11343
- if (!isUnmanagedMode()) {
11343
+ if (!canUseExternalIngestion()) {
11344
11344
  throw new Error(
11345
- "[ForgeCharts] External data ingestion is only available in unmanaged mode. The active license is in managed mode."
11345
+ "[ForgeCharts] External data ingestion is not enabled on the active license. It requires the externalIngestion capability (Unmanaged Core or Unmanaged Trading tiers)."
11346
11346
  );
11347
11347
  }
11348
11348
  }
@@ -12555,9 +12555,9 @@ var TChart = class _TChart {
12555
12555
  */
12556
12556
  _getIngestion() {
12557
12557
  if (!this._unmanagedIngestion) {
12558
- if (!isUnmanagedMode()) {
12558
+ if (!canUseExternalIngestion()) {
12559
12559
  throw new Error(
12560
- "[ForgeCharts] External data ingestion is only available in unmanaged mode."
12560
+ "[ForgeCharts] External data ingestion is not enabled on the active license (requires the externalIngestion capability)."
12561
12561
  );
12562
12562
  }
12563
12563
  this._unmanagedIngestion = new UnmanagedIngestion(this._interval, {