@openfin/node-adapter 38.83.80 → 38.83.84
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/README.md +8 -18
- package/out/node-adapter.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
@@ -16,7 +16,7 @@ A `uuid` value must be provided to identify the connection. Multiple connections
|
|
16
16
|
|
17
17
|
A Runtime version or manifest URL must also be specified.
|
18
18
|
|
19
|
-
> Note:
|
19
|
+
> Note: `connect` instantiates a Runtime instance if one does not exist for the given configuration. If a Runtime is already running, `connect` simply establishes a new connection.
|
20
20
|
|
21
21
|
### Connecting via Runtime Version
|
22
22
|
|
@@ -34,7 +34,7 @@ import { connect } from '@openfin/node-adapter';
|
|
34
34
|
})();
|
35
35
|
```
|
36
36
|
|
37
|
-
### Connecting via Manifest URL
|
37
|
+
### Connecting via Manifest URL
|
38
38
|
|
39
39
|
```javascript
|
40
40
|
import { connect } from '@openfin/node-adapter';
|
@@ -101,7 +101,7 @@ import OpenFin, { connect } from '@openfin/node-adapter';
|
|
101
101
|
|
102
102
|
---
|
103
103
|
|
104
|
-
# Migrating from openfin-adapter
|
104
|
+
# Migrating from openfin-adapter to @openfin/node-adapter
|
105
105
|
|
106
106
|
For users of the `connect` and `launch` functions in `openfin-adapter`, no changes are necessary, other than updating the dependency name.
|
107
107
|
|
@@ -114,8 +114,8 @@ import { launch, connect, Application, Fin } from 'openfin-adapter';
|
|
114
114
|
|
115
115
|
(async () => {
|
116
116
|
const fin: Fin = await connect({
|
117
|
-
uuid: 'external-connection-1',
|
118
|
-
runtime: { version: 'stable' }
|
117
|
+
uuid: 'external-connection-1',
|
118
|
+
runtime: { version: 'stable' }
|
119
119
|
});
|
120
120
|
const app: Application = await fin.Application.start({...});
|
121
121
|
})()
|
@@ -126,9 +126,9 @@ import { launch, connect, Application, Fin } from 'openfin-adapter';
|
|
126
126
|
```typescript
|
127
127
|
import OpenFin, { launch, connect } from '@openfin/node-adapter';
|
128
128
|
(async () => {
|
129
|
-
const fin: OpenFin.Fin<'external connection'> = await connect({
|
130
|
-
uuid: 'external-connection-1',
|
131
|
-
runtime: { version: 'stable' }
|
129
|
+
const fin: OpenFin.Fin<'external connection'> = await connect({
|
130
|
+
uuid: 'external-connection-1',
|
131
|
+
runtime: { version: 'stable' }
|
132
132
|
});
|
133
133
|
const app: OpenFin.Application = await fin.Application.start({...});
|
134
134
|
})()
|
@@ -141,13 +141,3 @@ import OpenFin, { launch, connect } from '@openfin/node-adapter';
|
|
141
141
|
|
142
142
|
- [Developer guide](https://developers.openfin.co/of-docs/docs/container-overview)
|
143
143
|
- [API reference](https://developer.openfin.co/docs/javascript/stable)
|
144
|
-
|
145
|
-
## License
|
146
|
-
|
147
|
-
Copyright 2020-2023 OpenFin
|
148
|
-
|
149
|
-
The code in this package is distributed under the Apache License, Version 2.0.
|
150
|
-
|
151
|
-
However, if you run this code, it may call on the OpenFin RVM or OpenFin Runtime, which are covered by OpenFin's Developer, Community, and Enterprise licenses. You can learn more about OpenFin licensing at the links listed below or email us at support@openfin.co with questions.
|
152
|
-
|
153
|
-
- [Developer agreement](https://openfin.co/developer-agreement/)
|
package/out/node-adapter.js
CHANGED
@@ -17523,7 +17523,7 @@ class NodeEnvironment extends BaseEnvironment_1 {
|
|
17523
17523
|
};
|
17524
17524
|
}
|
17525
17525
|
getAdapterVersionSync() {
|
17526
|
-
return "38.83.
|
17526
|
+
return "38.83.84";
|
17527
17527
|
}
|
17528
17528
|
observeBounds(element, onChange) {
|
17529
17529
|
throw new Error('Method not implemented.');
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@openfin/node-adapter",
|
3
|
-
"version": "38.83.
|
3
|
+
"version": "38.83.84",
|
4
4
|
"description": "See README.md",
|
5
5
|
"main": "out/node-adapter.js",
|
6
6
|
"types": "out/node-adapter.d.ts",
|
@@ -23,7 +23,7 @@
|
|
23
23
|
"author": "OpenFin",
|
24
24
|
"dependencies": {
|
25
25
|
"@types/node": "^20.14.2",
|
26
|
-
"@openfin/core": "38.83.
|
26
|
+
"@openfin/core": "38.83.84",
|
27
27
|
"lodash": "^4.17.21",
|
28
28
|
"ws": "^7.3.0"
|
29
29
|
}
|