@openfn/ws-worker 0.1.0 → 0.1.1
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/CHANGELOG.md +8 -0
- package/README.md +1 -1
- package/dist/index.js +1 -0
- package/dist/start.d.ts +1 -0
- package/dist/start.js +5570 -0
- package/package.json +11 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# ws-worker
|
|
2
2
|
|
|
3
|
+
## 0.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Destroy workers on close
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @openfn/engine-multi@0.1.1
|
|
10
|
+
|
|
3
11
|
## 0.1.0
|
|
4
12
|
|
|
5
13
|
First release of the websocket worker, which handles comm between Lightning and the multi-threaded engine.
|
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ You may want to add `--log debug` or disable the work loop, see below.
|
|
|
36
36
|
|
|
37
37
|
The default settings will try and connect to lightning at `localhost:4000`.
|
|
38
38
|
|
|
39
|
-
Pass a custom lightining url with `-l ws://localhost:1234`.
|
|
39
|
+
Pass a custom lightining url with `-l ws://localhost:1234/worker`. (Note that you need to include the websocket endpoint, which at the time of writing is `/worker`.)
|
|
40
40
|
|
|
41
41
|
Use `-l mock` to connect to a lightning mock server (on the default port).
|
|
42
42
|
|
package/dist/index.js
CHANGED
package/dist/start.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#!/usr/bin/env node
|