@openfin/node-adapter 34.78.10 → 34.78.11

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.
@@ -3547,9 +3547,9 @@ function requireView () {
3547
3547
  };
3548
3548
  Object.defineProperty(exports, "__esModule", { value: true });
3549
3549
  /**
3550
- * Entry points for the OpenFin `View` API.
3550
+ * Entry points for the OpenFin `View` API (`fin.View`).
3551
3551
  *
3552
- * * {@link ViewModule} contains static methods relating to the `View` type, accessible through `fin.View`.
3552
+ * * {@link ViewModule} contains static members of the `View` API, accessible through `fin.View`.
3553
3553
  * * {@link View} describes an instance of an OpenFin View, e.g. as returned by `fin.View.getCurrent`.
3554
3554
  *
3555
3555
  * These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/canary/index.html),
@@ -4685,9 +4685,9 @@ function requireApplication () {
4685
4685
  };
4686
4686
  Object.defineProperty(exports, "__esModule", { value: true });
4687
4687
  /**
4688
- * Entry points for the OpenFin `Application` API.
4688
+ * Entry points for the OpenFin `Application` API (`fin.Application`).
4689
4689
  *
4690
- * * {@link ApplicationModule} contains static methods relating to the `Application` type, accessible through `fin.Application`.
4690
+ * * {@link ApplicationModule} contains static members of the `Application` API, accessible through `fin.Application`.
4691
4691
  * * {@link Application} describes an instance of an OpenFin Application, e.g. as returned by `fin.Application.getCurrent`.
4692
4692
  *
4693
4693
  * These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/canary/index.html),
@@ -6738,9 +6738,9 @@ function requireWindow () {
6738
6738
  };
6739
6739
  Object.defineProperty(exports, "__esModule", { value: true });
6740
6740
  /**
6741
- * Entry points for the OpenFin `Window` API.
6741
+ * Entry points for the OpenFin `Window` API (`fin.Window`).
6742
6742
  *
6743
- * * {@link _WindowModule} contains static methods relating to the `Window` type, accessible through `fin.Window`.
6743
+ * * {@link _WindowModule} contains static members of the `Window` API, accessible through `fin.Window`.
6744
6744
  * * {@link _Window} describes an instance of an OpenFin Window, e.g. as returned by `fin.Window.getCurrent`.
6745
6745
  *
6746
6746
  * These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/canary/index.html),
@@ -6756,6 +6756,11 @@ function requireWindow () {
6756
6756
  return window$1;
6757
6757
  }
6758
6758
 
6759
+ /**
6760
+ * Entry point for the OpenFin `System` API (`fin.System`).
6761
+ *
6762
+ * * {@link System} contains static members of the `System` API (available under `fin.System`)
6763
+ */
6759
6764
  Object.defineProperty(system, "__esModule", { value: true });
6760
6765
  system.System = void 0;
6761
6766
  const base_1$j = base;
@@ -10465,6 +10470,15 @@ class ConnectionManager extends base_1$g.Base {
10465
10470
  connectionManager.ConnectionManager = ConnectionManager;
10466
10471
  _ConnectionManager_messageReceiver = new WeakMap(), _ConnectionManager_rtcConnectionManager = new WeakMap();
10467
10472
 
10473
+ /**
10474
+ * Entry points for the `Channel` subset of the `InterApplicationBus` API (`fin.InterApplicationBus.Channel`).
10475
+ *
10476
+ * * {@link Channel} contains static members of the `Channel` API, accessible through `fin.InterApplicationBus.Channel`.
10477
+ * * {@link OpenFin.ChannelClient} describes a client of a channel, e.g. as returned by `fin.InterApplicationBus.Channel.connect`.
10478
+ * * {@link OpenFin.ChannelProvider} describes a provider of a channel, e.g. as returned by `fin.InterApplicationBus.Channel.create`.
10479
+ *
10480
+ * @packageDocumentation
10481
+ */
10468
10482
  var __classPrivateFieldSet$5 = (commonjsGlobal && commonjsGlobal.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
10469
10483
  if (kind === "m") throw new TypeError("Private method is not writable");
10470
10484
  if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
@@ -10800,6 +10814,13 @@ _Channel_connectionManager = new WeakMap(), _Channel_internalEmitter = new WeakM
10800
10814
 
10801
10815
  Object.defineProperty(interappbus, "__esModule", { value: true });
10802
10816
  interappbus.InterAppPayload = interappbus.InterApplicationBus = void 0;
10817
+ /**
10818
+ * Entry point for the OpenFin `InterApplicationBus` API (`fin.InterApplicationBus`).
10819
+ *
10820
+ * * {@link InterApplicationBus} contains static members of the `InterApplicationBus` API, accessible through `fin.InterApplicationBus`.
10821
+ *
10822
+ * @packageDocumentation
10823
+ */
10803
10824
  const events_1$4 = eventsExports;
10804
10825
  const base_1$e = base;
10805
10826
  const ref_counter_1 = refCounter;
@@ -11008,6 +11029,13 @@ function createKey(...toHash) {
11008
11029
 
11009
11030
  var clipboard = {};
11010
11031
 
11032
+ /**
11033
+ * Entry point for the OpenFin `Clipboard` API (`fin.Clipboard`).
11034
+ *
11035
+ * * {@link Clipboard} contains static members of the `Clipboard` API, accessible through `fin.Clipboard`.
11036
+ *
11037
+ * @packageDocumentation
11038
+ */
11011
11039
  Object.defineProperty(clipboard, "__esModule", { value: true });
11012
11040
  clipboard.Clipboard = void 0;
11013
11041
  const base_1$d = base;
@@ -11398,9 +11426,9 @@ Factory$5.ExternalApplicationModule = ExternalApplicationModule;
11398
11426
  };
11399
11427
  Object.defineProperty(exports, "__esModule", { value: true });
11400
11428
  /**
11401
- * Entry points for the OpenFin `ExternalApplication` API.
11429
+ * Entry points for the OpenFin `ExternalApplication` API (`fin.ExternalApplication`).
11402
11430
  *
11403
- * * {@link ExternalApplicationModule} contains static methods relating to the `ExternalApplication` type, accessible through `fin.ExternalApplication`.
11431
+ * * {@link ExternalApplicationModule} contains static members of the `ExternalApplication` type, accessible through `fin.ExternalApplication`.
11404
11432
  * * {@link ExternalApplication} describes an instance of an OpenFin ExternalApplication, e.g. as returned by `fin.ExternalApplication.getCurrent`.
11405
11433
  *
11406
11434
  * These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/canary/index.html),
@@ -11649,9 +11677,9 @@ Factory$4._FrameModule = _FrameModule;
11649
11677
 
11650
11678
  (function (exports) {
11651
11679
  /**
11652
- * Entry points for the OpenFin `Frame` API.
11680
+ * Entry points for the OpenFin `Frame` API (`fin.Frame`).
11653
11681
  *
11654
- * * {@link _FrameModule} contains static methods relating to the `Frame` type, accessible through `fin.Frame`.
11682
+ * * {@link _FrameModule} contains static members of the `Frame` API, accessible through `fin.Frame`.
11655
11683
  * * {@link _Frame} describes an instance of an OpenFin Frame, e.g. as returned by `fin.Frame.getCurrent`.
11656
11684
  *
11657
11685
  * These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/canary/index.html),
@@ -13213,9 +13241,9 @@ _LayoutModule_layoutInitializationAttempted = new WeakMap();
13213
13241
 
13214
13242
  (function (exports) {
13215
13243
  /**
13216
- * Entry point for the OpenFin `Layout` namespace.
13244
+ * Entry point for the OpenFin `Layout` subset of the `Platform` API (`fin.Platform.Layout`).
13217
13245
  *
13218
- * * {@link LayoutModule} contains static methods relating to the `Layout` type, accessible through `fin.Platform.Layout`.
13246
+ * * {@link LayoutModule} contains static members of the `Layout` API, accessible through `fin.Platform.Layout`.
13219
13247
  * * {@link Layout} describes an instance of an OpenFin Layout, e.g. as returned by `fin.Platform.Layout.getCurrent`.
13220
13248
  *
13221
13249
  * These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/canary/index.html),
@@ -13494,9 +13522,9 @@ Factory$3.PlatformModule = PlatformModule;
13494
13522
  };
13495
13523
  Object.defineProperty(exports, "__esModule", { value: true });
13496
13524
  /**
13497
- * Entry points for the OpenFin `Platform` API.
13525
+ * Entry points for the OpenFin `Platform` API (`fin.Platform`)
13498
13526
  *
13499
- * * {@link PlatformModule} contains static methods relating to the `Platform` type, accessible through `fin.Platform`.
13527
+ * * {@link PlatformModule} contains static members of the `Platform` API, accessible through `fin.Platform`.
13500
13528
  * * {@link Platform} describes an instance of an OpenFin Platform, e.g. as returned by `fin.Platform.getCurrent`.
13501
13529
  *
13502
13530
  * These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/canary/index.html),
@@ -16267,39 +16295,46 @@ class InteropClient extends base_1$2.Base {
16267
16295
  InteropClient$1.InteropClient = InteropClient;
16268
16296
  _InteropClient_clientPromise = new WeakMap(), _InteropClient_sessionContextGroups = new WeakMap();
16269
16297
 
16270
- var overrideCheck$1 = {};
16298
+ var overrideCheck = {};
16271
16299
 
16272
- Object.defineProperty(overrideCheck$1, "__esModule", { value: true });
16273
- overrideCheck$1.overrideCheck = overrideCheck$1.getDefaultViewFdc3VersionFromAppInfo = void 0;
16274
- const InteropBroker_1 = requireInteropBroker();
16275
- function getDefaultViewFdc3VersionFromAppInfo({ manifest, initialOptions }) {
16276
- var _a, _b, _c, _d;
16277
- const setVersion = (_c = (_b = (_a = manifest.platform) === null || _a === void 0 ? void 0 : _a.defaultViewOptions) === null || _b === void 0 ? void 0 : _b.fdc3InteropApi) !== null && _c !== void 0 ? _c : (_d = initialOptions.defaultViewOptions) === null || _d === void 0 ? void 0 : _d.fdc3InteropApi;
16278
- return ['1.2', '2.0'].includes(setVersion !== null && setVersion !== void 0 ? setVersion : '') ? setVersion : undefined;
16279
- }
16280
- overrideCheck$1.getDefaultViewFdc3VersionFromAppInfo = getDefaultViewFdc3VersionFromAppInfo;
16281
- // TODO: Unit test this
16282
- function overrideCheck(overriddenBroker, fdc3InteropApi) {
16283
- if (fdc3InteropApi && fdc3InteropApi === '2.0') {
16284
- const mustOverrideAPIs = [
16285
- 'fdc3HandleFindInstances',
16286
- 'handleInfoForIntent',
16287
- 'handleInfoForIntentsByContext',
16288
- 'fdc3HandleGetAppMetadata',
16289
- 'fdc3HandleGetInfo',
16290
- 'fdc3HandleOpen',
16291
- 'handleFiredIntent',
16292
- 'handleFiredIntentForContext'
16293
- ];
16294
- const notOverridden = mustOverrideAPIs.filter((api) => {
16295
- return overriddenBroker[api] === InteropBroker_1.InteropBroker.prototype[api];
16296
- });
16297
- if (notOverridden.length > 0) {
16298
- console.warn(`WARNING: FDC3 2.0 has been set as a default option for Views in this Platform, but the required InteropBroker APIs for FDC3 2.0 compliance have not all been overridden.\nThe following APIs need to be overridden:\n${notOverridden.join('\n')}`);
16299
- }
16300
- }
16300
+ var hasRequiredOverrideCheck;
16301
+
16302
+ function requireOverrideCheck () {
16303
+ if (hasRequiredOverrideCheck) return overrideCheck;
16304
+ hasRequiredOverrideCheck = 1;
16305
+ Object.defineProperty(overrideCheck, "__esModule", { value: true });
16306
+ overrideCheck.overrideCheck = overrideCheck.getDefaultViewFdc3VersionFromAppInfo = void 0;
16307
+ const InteropBroker_1 = requireInteropBroker();
16308
+ function getDefaultViewFdc3VersionFromAppInfo({ manifest, initialOptions }) {
16309
+ var _a, _b, _c, _d;
16310
+ const setVersion = (_c = (_b = (_a = manifest.platform) === null || _a === void 0 ? void 0 : _a.defaultViewOptions) === null || _b === void 0 ? void 0 : _b.fdc3InteropApi) !== null && _c !== void 0 ? _c : (_d = initialOptions.defaultViewOptions) === null || _d === void 0 ? void 0 : _d.fdc3InteropApi;
16311
+ return ['1.2', '2.0'].includes(setVersion !== null && setVersion !== void 0 ? setVersion : '') ? setVersion : undefined;
16312
+ }
16313
+ overrideCheck.getDefaultViewFdc3VersionFromAppInfo = getDefaultViewFdc3VersionFromAppInfo;
16314
+ // TODO: Unit test this
16315
+ function overrideCheck$1(overriddenBroker, fdc3InteropApi) {
16316
+ if (fdc3InteropApi && fdc3InteropApi === '2.0') {
16317
+ const mustOverrideAPIs = [
16318
+ 'fdc3HandleFindInstances',
16319
+ 'handleInfoForIntent',
16320
+ 'handleInfoForIntentsByContext',
16321
+ 'fdc3HandleGetAppMetadata',
16322
+ 'fdc3HandleGetInfo',
16323
+ 'fdc3HandleOpen',
16324
+ 'handleFiredIntent',
16325
+ 'handleFiredIntentForContext'
16326
+ ];
16327
+ const notOverridden = mustOverrideAPIs.filter((api) => {
16328
+ return overriddenBroker[api] === InteropBroker_1.InteropBroker.prototype[api];
16329
+ });
16330
+ if (notOverridden.length > 0) {
16331
+ console.warn(`WARNING: FDC3 2.0 has been set as a default option for Views in this Platform, but the required InteropBroker APIs for FDC3 2.0 compliance have not all been overridden.\nThe following APIs need to be overridden:\n${notOverridden.join('\n')}`);
16332
+ }
16333
+ }
16334
+ }
16335
+ overrideCheck.overrideCheck = overrideCheck$1;
16336
+ return overrideCheck;
16301
16337
  }
16302
- overrideCheck$1.overrideCheck = overrideCheck;
16303
16338
 
16304
16339
  var hasRequiredFactory;
16305
16340
 
@@ -16313,7 +16348,7 @@ function requireFactory () {
16313
16348
  const base_1 = base;
16314
16349
  const InteropBroker_1 = requireInteropBroker();
16315
16350
  const InteropClient_1 = InteropClient$1;
16316
- const overrideCheck_1 = overrideCheck$1;
16351
+ const overrideCheck_1 = requireOverrideCheck();
16317
16352
  const common_utils_1 = commonUtils;
16318
16353
  const defaultOverride = (Class) => new Class();
16319
16354
  const BrokerParamAccessError = 'You have attempted to use or modify InteropBroker parameters, which is not allowed. You are likely using an older InteropBroker override scheme. Please consult our Interop docs for guidance on migrating to the new override scheme.';
@@ -16420,9 +16455,9 @@ function requireInterop () {
16420
16455
  hasRequiredInterop = 1;
16421
16456
  (function (exports) {
16422
16457
  /**
16423
- * Entry point for the OpenFin Interop namespace.
16458
+ * Entry point for the OpenFin `Interop` API (`fin.Interop`).
16424
16459
  *
16425
- * * {@link InteropModule} contains static members of the `Interop` namespace (available under `fin.Interop`)
16460
+ * * {@link InteropModule} contains static members of the `Interop` API (available under `fin.Interop`)
16426
16461
  * * {@link InteropClient} and {@link InteropBroker} document instances of their respective classes.
16427
16462
  *
16428
16463
  * @packageDocumentation
@@ -16484,6 +16519,8 @@ const connectionMap = new Map();
16484
16519
  /**
16485
16520
  * Enables configuring a SnapshotSource with custom getSnapshot and applySnapshot methods.
16486
16521
  *
16522
+ * @typeParam Snapshot Implementation-defined shape of an application snapshot. Allows
16523
+ * custom snapshot implementations for legacy applications to define their own snapshot format.
16487
16524
  */
16488
16525
  class SnapshotSource extends base_1$1.Base {
16489
16526
  /**
@@ -16629,6 +16666,9 @@ class SnapshotSourceModule extends base_1.Base {
16629
16666
  /**
16630
16667
  * Initializes a SnapshotSource with the getSnapshot and applySnapshot methods defined.
16631
16668
  *
16669
+ * @typeParam Snapshot Implementation-defined shape of an application snapshot. Allows
16670
+ * custom snapshot implementations for legacy applications to define their own snapshot format.
16671
+ *
16632
16672
  * @example
16633
16673
  * ```js
16634
16674
  * const snapshotProvider = {
@@ -16644,6 +16684,7 @@ class SnapshotSourceModule extends base_1.Base {
16644
16684
  *
16645
16685
  * await fin.SnapshotSource.init(snapshotProvider);
16646
16686
  * ```
16687
+ *
16647
16688
  */
16648
16689
  async init(provider) {
16649
16690
  this.wire.sendAction('snapshot-source-init').catch((e) => {
@@ -16698,9 +16739,9 @@ Factory.SnapshotSourceModule = SnapshotSourceModule;
16698
16739
 
16699
16740
  (function (exports) {
16700
16741
  /**
16701
- * Entry points for the OpenFin `SnapshotSource` API.
16742
+ * Entry points for the OpenFin `SnapshotSource` API (`fin.SnapshotSource`).
16702
16743
  *
16703
- * * {@link SnapshotSourceModule} contains static methods relating to the `SnapshotSource` type, accessible through `fin.SnapshotSource`.
16744
+ * * {@link SnapshotSourceModule} contains static members of the `SnapshotSource` API, accessible through `fin.SnapshotSource`.
16704
16745
  * * {@link SnapshotSource} describes an instance of an OpenFin SnapshotSource, e.g. as returned by `fin.SnapshotSource.wrap`.
16705
16746
  *
16706
16747
  * These are separate code entities, and are documented separately. In the [previous version of the API documentation](https://cdn.openfin.co/docs/javascript/canary/index.html),
@@ -16744,6 +16785,9 @@ const index_10 = platform;
16744
16785
  const me_1$1 = me;
16745
16786
  const interop_1 = requireInterop();
16746
16787
  const snapshot_source_1 = snapshotSource;
16788
+ /**
16789
+ * @internal
16790
+ */
16747
16791
  class Fin extends events_1$3.EventEmitter {
16748
16792
  /**
16749
16793
  * @internal
@@ -18124,6 +18168,17 @@ var mainExports = requireMain();
18124
18168
 
18125
18169
  var OpenFin$1 = {};
18126
18170
 
18171
+ /**
18172
+ * Top-level namespace for types referenced by the OpenFin API. Contains:
18173
+ *
18174
+ * * The type of the global `fin` entry point ({@link FinApi})
18175
+ * * Classes that act as static namespaces returned from the `fin` global (e.g. {@link ApplicationModule}, accessible via `fin.Application`)
18176
+ * * Instance classes that are returned from API calls (e.g. {@link Application}, accessible via `fin.Application.getCurrentSync()`)
18177
+ * * Parameter shapes for API methods (e.g. {@link ApplicationOptions}, used in `fin.Application.start()`)
18178
+ * * Event namespaces and payload union types (e.g. {@link ApplicationEvents} and {@link ApplicationEvent})
18179
+ *
18180
+ * @packageDocumentation
18181
+ */
18127
18182
  Object.defineProperty(OpenFin$1, "__esModule", { value: true });
18128
18183
 
18129
18184
  var OpenFin = /*#__PURE__*/_mergeNamespaces({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/node-adapter",
3
- "version": "34.78.10",
3
+ "version": "34.78.11",
4
4
  "description": "See README.md",
5
5
  "main": "out/node-adapter.js",
6
6
  "types": "out/node-adapter.d.ts",