@openfin/core 31.74.24 → 31.74.27
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/package.json
CHANGED
|
@@ -203,7 +203,6 @@ class ApplicationModule extends base_1.Base {
|
|
|
203
203
|
// we do not want to expose this error, just continue if this analytics-only call fails
|
|
204
204
|
});
|
|
205
205
|
const app = await this._createFromManifest(manifestUrl);
|
|
206
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
207
206
|
// @ts-expect-error using private method without warning.
|
|
208
207
|
await app._run(opts); // eslint-disable-line no-underscore-dangle
|
|
209
208
|
return app;
|
|
@@ -152,8 +152,7 @@ class PlatformModule extends base_1.Base {
|
|
|
152
152
|
// TODO: fix typing (internal)
|
|
153
153
|
// @ts-expect-error
|
|
154
154
|
app.once('platform-api-ready', () => resolve(this.wrapSync({ uuid })));
|
|
155
|
-
//
|
|
156
|
-
// @ts-ignore using private variable.
|
|
155
|
+
// @ts-expect-error using private variable.
|
|
157
156
|
app._run({ uuid });
|
|
158
157
|
}
|
|
159
158
|
catch (e) {
|
|
@@ -177,13 +176,11 @@ class PlatformModule extends base_1.Base {
|
|
|
177
176
|
// eslint-disable-next-line no-async-promise-executor
|
|
178
177
|
return new Promise(async (resolve, reject) => {
|
|
179
178
|
try {
|
|
180
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
181
179
|
// @ts-expect-error using private variable.
|
|
182
180
|
const app = await this.fin.Application._createFromManifest(manifestUrl);
|
|
183
181
|
// TODO: fix typing (internal)
|
|
184
182
|
// @ts-expect-error
|
|
185
183
|
app.once('platform-api-ready', () => resolve(this.wrapSync({ uuid: app.identity.uuid })));
|
|
186
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
187
184
|
// @ts-expect-error using private method without warning.
|
|
188
185
|
app._run(opts);
|
|
189
186
|
}
|