@openfn/ws-worker 1.1.4 → 1.1.6

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 CHANGED
@@ -1,5 +1,22 @@
1
1
  # ws-worker
2
2
 
3
+ ## 1.1.6
4
+
5
+ ### Patch Changes
6
+
7
+ - 2216720: Update lightning plan options to use snake case
8
+ - Updated dependencies [2216720]
9
+ - @openfn/lexicon@1.0.1
10
+ - @openfn/engine-multi@1.1.6
11
+ - @openfn/runtime@1.1.2
12
+
13
+ ## 1.1.5
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+ - @openfn/engine-multi@1.1.5
19
+
3
20
  ## 1.1.4
4
21
 
5
22
  ### Patch Changes
package/dist/index.js CHANGED
@@ -29,7 +29,7 @@ var name, version, description, main, type, scripts, bin, author, license, depen
29
29
  var init_package = __esm({
30
30
  "package.json"() {
31
31
  name = "@openfn/ws-worker";
32
- version = "1.1.4";
32
+ version = "1.1.6";
33
33
  description = "A Websocket Worker to connect Lightning to a Runtime Engine";
34
34
  main = "dist/index.js";
35
35
  type = "module";
@@ -330,8 +330,8 @@ var convert_lightning_plan_default = (run) => {
330
330
  const runtimeOpts = {};
331
331
  const engineOpts = {};
332
332
  if (run.options) {
333
- if (run.options.runTimeoutMs) {
334
- engineOpts.runTimeoutMs = run.options.runTimeoutMs;
333
+ if (run.options.run_timeout_ms) {
334
+ engineOpts.runTimeoutMs = run.options.run_timeout_ms;
335
335
  }
336
336
  if (run.options.sanitize) {
337
337
  engineOpts.sanitize = run.options.sanitize;
package/dist/start.js CHANGED
@@ -37,7 +37,7 @@ var name, version, description, main, type, scripts, bin, author, license, depen
37
37
  var init_package = __esm({
38
38
  "package.json"() {
39
39
  name = "@openfn/ws-worker";
40
- version = "1.1.4";
40
+ version = "1.1.6";
41
41
  description = "A Websocket Worker to connect Lightning to a Runtime Engine";
42
42
  main = "dist/index.js";
43
43
  type = "module";
@@ -5321,8 +5321,8 @@ var convert_lightning_plan_default = (run2) => {
5321
5321
  const runtimeOpts = {};
5322
5322
  const engineOpts = {};
5323
5323
  if (run2.options) {
5324
- if (run2.options.runTimeoutMs) {
5325
- engineOpts.runTimeoutMs = run2.options.runTimeoutMs;
5324
+ if (run2.options.run_timeout_ms) {
5325
+ engineOpts.runTimeoutMs = run2.options.run_timeout_ms;
5326
5326
  }
5327
5327
  if (run2.options.sanitize) {
5328
5328
  engineOpts.sanitize = run2.options.sanitize;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfn/ws-worker",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "description": "A Websocket Worker to connect Lightning to a Runtime Engine",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -22,9 +22,9 @@
22
22
  "koa-logger": "^3.2.1",
23
23
  "phoenix": "1.7.10",
24
24
  "ws": "^8.14.1",
25
- "@openfn/lexicon": "^1.0.0",
25
+ "@openfn/engine-multi": "1.1.6",
26
26
  "@openfn/logger": "1.0.1",
27
- "@openfn/engine-multi": "1.1.4",
27
+ "@openfn/lexicon": "^1.0.1",
28
28
  "@openfn/runtime": "1.1.2"
29
29
  },
30
30
  "devDependencies": {
@@ -42,7 +42,7 @@
42
42
  "tsup": "^6.2.3",
43
43
  "typescript": "^4.6.4",
44
44
  "yargs": "^17.6.2",
45
- "@openfn/lightning-mock": "2.0.4"
45
+ "@openfn/lightning-mock": "2.0.6"
46
46
  },
47
47
  "files": [
48
48
  "dist",