@openfin/remote-adapter 36.79.4 → 36.79.5
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/out/remote-adapter.js +8 -5
- package/package.json +1 -1
package/out/remote-adapter.js
CHANGED
|
@@ -6493,7 +6493,7 @@ class WebSocketTransport extends events_1$4.EventEmitter {
|
|
|
6493
6493
|
}
|
|
6494
6494
|
var _default = websocket.default = WebSocketTransport;
|
|
6495
6495
|
|
|
6496
|
-
var fin = {};
|
|
6496
|
+
var fin$1 = {};
|
|
6497
6497
|
|
|
6498
6498
|
var system = {};
|
|
6499
6499
|
|
|
@@ -12633,6 +12633,9 @@ class PlatformModule extends base_1$4.Base {
|
|
|
12633
12633
|
* @experimental
|
|
12634
12634
|
*/
|
|
12635
12635
|
async init(options) {
|
|
12636
|
+
if (!fin.__internal_.isPlatform || fin.me.name !== fin.me.uuid) {
|
|
12637
|
+
throw new Error('fin.Platform.init should only be called from a custom platform provider running in the main window of the application.');
|
|
12638
|
+
}
|
|
12636
12639
|
return this.wire.environment.initPlatform(this.fin, options);
|
|
12637
12640
|
}
|
|
12638
12641
|
/**
|
|
@@ -15769,8 +15772,8 @@ Factory.SnapshotSourceModule = SnapshotSourceModule;
|
|
|
15769
15772
|
__exportStar(Instance, exports);
|
|
15770
15773
|
} (snapshotSource));
|
|
15771
15774
|
|
|
15772
|
-
Object.defineProperty(fin, "__esModule", { value: true });
|
|
15773
|
-
var Fin_1 = fin.Fin = void 0;
|
|
15775
|
+
Object.defineProperty(fin$1, "__esModule", { value: true });
|
|
15776
|
+
var Fin_1 = fin$1.Fin = void 0;
|
|
15774
15777
|
const events_1 = require$$0;
|
|
15775
15778
|
// Import from the file rather than the directory in case someone consuming types is using module resolution other than "node"
|
|
15776
15779
|
const index_1 = system;
|
|
@@ -15816,13 +15819,13 @@ class Fin extends events_1.EventEmitter {
|
|
|
15816
15819
|
});
|
|
15817
15820
|
}
|
|
15818
15821
|
}
|
|
15819
|
-
Fin_1 = fin.Fin = Fin;
|
|
15822
|
+
Fin_1 = fin$1.Fin = Fin;
|
|
15820
15823
|
|
|
15821
15824
|
var browser = {};
|
|
15822
15825
|
|
|
15823
15826
|
Object.defineProperty(browser, "__esModule", { value: true });
|
|
15824
15827
|
browser.remoteConnectInterop = browser.remoteConnect = getRemoteConnectionPayload_1 = browser.getRemoteConnectionPayload = void 0;
|
|
15825
|
-
const fin_1 = fin;
|
|
15828
|
+
const fin_1 = fin$1;
|
|
15826
15829
|
const browser_1 = browser$1;
|
|
15827
15830
|
const transport_1 = transport;
|
|
15828
15831
|
const websocket_1 = websocket;
|