@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 +4 -4
- package/dist/index.js.map +1 -1
- package/dist/internal.js +4 -4
- package/dist/internal.js.map +1 -1
- package/dist/react/index.js +5 -5
- package/dist/react/index.js.map +1 -1
- package/dist/react/internal.js +5 -5
- package/dist/react/internal.js.map +1 -1
- package/package.json +1 -1
package/dist/react/internal.js
CHANGED
|
@@ -11211,7 +11211,7 @@ var ChartRuntimeResolver = class _ChartRuntimeResolver {
|
|
|
11211
11211
|
}
|
|
11212
11212
|
};
|
|
11213
11213
|
var resolver = () => ChartRuntimeResolver.getInstance();
|
|
11214
|
-
var
|
|
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 (!
|
|
11236
|
+
if (!canUseExternalIngestion()) {
|
|
11237
11237
|
throw new Error(
|
|
11238
|
-
"[ForgeCharts] External data ingestion is
|
|
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 (!
|
|
12423
|
+
if (!canUseExternalIngestion()) {
|
|
12424
12424
|
throw new Error(
|
|
12425
|
-
"[ForgeCharts] External data ingestion is
|
|
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, {
|