@openfin/node-adapter 42.100.33 → 42.100.35
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/node-adapter.js +12 -6
- package/package.json +2 -2
package/out/node-adapter.js
CHANGED
@@ -6918,7 +6918,7 @@ class System extends base_1$l.EmitterBase {
|
|
6918
6918
|
* ```
|
6919
6919
|
*/
|
6920
6920
|
async getDomainSettings() {
|
6921
|
-
const { payload: { data } } = await this.wire.sendAction('get-domain-settings'
|
6921
|
+
const { payload: { data } } = await this.wire.sendAction('get-domain-settings');
|
6922
6922
|
return data;
|
6923
6923
|
}
|
6924
6924
|
/**
|
@@ -6979,7 +6979,13 @@ class System extends base_1$l.EmitterBase {
|
|
6979
6979
|
* ```
|
6980
6980
|
*/
|
6981
6981
|
async setDomainSettings(domainSettings) {
|
6982
|
-
await this.wire.sendAction('set-domain-settings', { domainSettings
|
6982
|
+
await this.wire.sendAction('set-domain-settings', { domainSettings });
|
6983
|
+
}
|
6984
|
+
async getCurrentDomainSettings(identity) {
|
6985
|
+
return (await this.wire.sendAction('get-current-domain-settings', { identity })).payload.data;
|
6986
|
+
}
|
6987
|
+
async resolveDomainSettings(url) {
|
6988
|
+
return (await this.wire.sendAction('resolve-domain-settings', { url })).payload.data;
|
6983
6989
|
}
|
6984
6990
|
/**
|
6985
6991
|
* Attempts to install and enable extensions for the security realm. Users may want to call this function in response
|
@@ -17751,7 +17757,7 @@ class NodeEnvironment extends BaseEnvironment_1 {
|
|
17751
17757
|
};
|
17752
17758
|
}
|
17753
17759
|
getAdapterVersionSync() {
|
17754
|
-
return "42.100.
|
17760
|
+
return "42.100.35";
|
17755
17761
|
}
|
17756
17762
|
observeBounds(element, onChange) {
|
17757
17763
|
throw new Error('Method not implemented.');
|
@@ -17895,7 +17901,7 @@ const eventAggregator_1 = __importDefault(eventAggregator);
|
|
17895
17901
|
const me_1 = me;
|
17896
17902
|
const errors_1 = errors;
|
17897
17903
|
class Transport extends events_1$1.EventEmitter {
|
17898
|
-
constructor(
|
17904
|
+
constructor(factory, environment, config) {
|
17899
17905
|
super();
|
17900
17906
|
this.wireListeners = new Map();
|
17901
17907
|
this.topicRefMap = new Map();
|
@@ -17913,7 +17919,7 @@ class Transport extends events_1$1.EventEmitter {
|
|
17913
17919
|
const wire = __classPrivateFieldGet(this, _Transport_wire, "f");
|
17914
17920
|
return wire.getPort();
|
17915
17921
|
};
|
17916
|
-
__classPrivateFieldSet(this, _Transport_wire,
|
17922
|
+
__classPrivateFieldSet(this, _Transport_wire, factory(this.onmessage.bind(this)), "f");
|
17917
17923
|
this.environment = environment;
|
17918
17924
|
this.sendRaw = __classPrivateFieldGet(this, _Transport_wire, "f").send.bind(__classPrivateFieldGet(this, _Transport_wire, "f"));
|
17919
17925
|
this.registerMessageHandler(this.handleMessage.bind(this));
|
@@ -18222,7 +18228,7 @@ const environment = new NodeEnvironment();
|
|
18222
18228
|
// Connect to an OpenFin Runtime
|
18223
18229
|
async function connect(config) {
|
18224
18230
|
const normalized = await validateConfig(config);
|
18225
|
-
const wire = new Transport_1(_default, environment, {
|
18231
|
+
const wire = new Transport_1((onmessage) => new _default(onmessage), environment, {
|
18226
18232
|
...normalized,
|
18227
18233
|
name: normalized.name ?? normalized.uuid
|
18228
18234
|
});
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@openfin/node-adapter",
|
3
|
-
"version": "42.100.
|
3
|
+
"version": "42.100.35",
|
4
4
|
"description": "See README.md",
|
5
5
|
"main": "out/node-adapter.js",
|
6
6
|
"types": "out/node-adapter.d.ts",
|
@@ -24,7 +24,7 @@
|
|
24
24
|
"author": "OpenFin",
|
25
25
|
"dependencies": {
|
26
26
|
"@types/node": "^20.14.2",
|
27
|
-
"@openfin/core": "42.100.
|
27
|
+
"@openfin/core": "42.100.35",
|
28
28
|
"lodash": "^4.17.21",
|
29
29
|
"ws": "^7.3.0"
|
30
30
|
}
|