@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/index.js CHANGED
@@ -11330,9 +11330,9 @@ var UnmanagedIngestion = class {
11330
11330
  }
11331
11331
  // ── Guard ────────────────────────────────────────────────────────────────────
11332
11332
  _assertUnmanaged() {
11333
- if (!isUnmanagedMode()) {
11333
+ if (!canUseExternalIngestion()) {
11334
11334
  throw new Error(
11335
- "[ForgeCharts] External data ingestion is only available in unmanaged mode. The active license is in managed mode."
11335
+ "[ForgeCharts] External data ingestion is not enabled on the active license. It requires the externalIngestion capability (Unmanaged Core or Unmanaged Trading tiers)."
11336
11336
  );
11337
11337
  }
11338
11338
  }
@@ -12545,9 +12545,9 @@ var TChart = class _TChart {
12545
12545
  */
12546
12546
  _getIngestion() {
12547
12547
  if (!this._unmanagedIngestion) {
12548
- if (!isUnmanagedMode()) {
12548
+ if (!canUseExternalIngestion()) {
12549
12549
  throw new Error(
12550
- "[ForgeCharts] External data ingestion is only available in unmanaged mode."
12550
+ "[ForgeCharts] External data ingestion is not enabled on the active license (requires the externalIngestion capability)."
12551
12551
  );
12552
12552
  }
12553
12553
  this._unmanagedIngestion = new UnmanagedIngestion(this._interval, {