@interopio/io-assist-ng 1.1.0 → 1.1.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.
|
@@ -2933,8 +2933,10 @@ class IOConnectService {
|
|
|
2933
2933
|
this._isUnsubscribed.set(true);
|
|
2934
2934
|
}
|
|
2935
2935
|
async initializeIOIntelWeb(config) {
|
|
2936
|
-
//
|
|
2937
|
-
window.io
|
|
2936
|
+
// Debug-only global. NOT required by IoAiWebFactory — the factory takes the
|
|
2937
|
+
// io.Connect instance as a direct argument and never reads `window.io`. Host
|
|
2938
|
+
// apps that need a global set their own. Commented out to verify nothing depends on it.
|
|
2939
|
+
// (window as any).io = this._ioConnect;
|
|
2938
2940
|
return IoAiWebFactory(this._ioConnect, config);
|
|
2939
2941
|
}
|
|
2940
2942
|
async isModalsAvailable() {
|
|
@@ -3782,7 +3784,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.22", ngImpo
|
|
|
3782
3784
|
}]
|
|
3783
3785
|
}] });
|
|
3784
3786
|
|
|
3785
|
-
|
|
3787
|
+
// Re-enable the directive below if the `(window as any).intel` debug line is restored.
|
|
3788
|
+
// /* eslint-disable @typescript-eslint/no-explicit-any */
|
|
3786
3789
|
class IOAiWebService {
|
|
3787
3790
|
_ioConnectService = inject(IOConnectService);
|
|
3788
3791
|
_samplingService = inject(SamplingService);
|
|
@@ -3833,7 +3836,9 @@ class IOAiWebService {
|
|
|
3833
3836
|
.get(this.LOGGER_NAME)
|
|
3834
3837
|
.debug(`IO Intel Web API initialized: ${JSON.stringify(ioIntelWebAPI)}`);
|
|
3835
3838
|
if (ioIntelWebAPI) {
|
|
3836
|
-
|
|
3839
|
+
// Debug-only global, never read by app/lib code. Commented out to verify
|
|
3840
|
+
// nothing depends on it.
|
|
3841
|
+
// (window as any).intel = ioIntelWebAPI; // For debugging purposes
|
|
3837
3842
|
this._ioIntelWeb.set(ioIntelWebAPI);
|
|
3838
3843
|
this._loadingState.set({ type: LOADING_STATE.SUCCESS });
|
|
3839
3844
|
this._mcpAppsService.attach(ioIntelWebAPI);
|