@forgecharts/sdk 1.3.1 → 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.
@@ -11211,7 +11211,7 @@ var ChartRuntimeResolver = class _ChartRuntimeResolver {
11211
11211
  }
11212
11212
  };
11213
11213
  var resolver = () => ChartRuntimeResolver.getInstance();
11214
- var isUnmanagedMode = () => resolver().isUnmanagedMode();
11214
+ var canUseExternalIngestion = () => resolver().canUseExternalIngestion();
11215
11215
  var getCapabilities = () => resolver().getCapabilities();
11216
11216
 
11217
11217
  // src/trading/UnmanagedIngestion.ts
@@ -11233,9 +11233,9 @@ var UnmanagedIngestion = class {
11233
11233
  }
11234
11234
  // ── Guard ────────────────────────────────────────────────────────────────────
11235
11235
  _assertUnmanaged() {
11236
- if (!isUnmanagedMode()) {
11236
+ if (!canUseExternalIngestion()) {
11237
11237
  throw new Error(
11238
- "[ForgeCharts] External data ingestion is only available in unmanaged mode. The active license is in managed mode."
11238
+ "[ForgeCharts] External data ingestion is not enabled on the active license. It requires the externalIngestion capability (Unmanaged Core or Unmanaged Trading tiers)."
11239
11239
  );
11240
11240
  }
11241
11241
  }
@@ -12420,9 +12420,9 @@ var TChart = class _TChart {
12420
12420
  */
12421
12421
  _getIngestion() {
12422
12422
  if (!this._unmanagedIngestion) {
12423
- if (!isUnmanagedMode()) {
12423
+ if (!canUseExternalIngestion()) {
12424
12424
  throw new Error(
12425
- "[ForgeCharts] External data ingestion is only available in unmanaged mode."
12425
+ "[ForgeCharts] External data ingestion is not enabled on the active license (requires the externalIngestion capability)."
12426
12426
  );
12427
12427
  }
12428
12428
  this._unmanagedIngestion = new UnmanagedIngestion(this._interval, {