@openfin/node-adapter 41.100.28 → 41.100.30
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +8 -18
- package/out/node-adapter.js +3886 -3927
- 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/)
|