@openfn/ws-worker 0.2.1 → 0.2.2

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,14 @@
1
1
  # ws-worker
2
2
 
3
+ ## 0.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - ead672a: Fix credential mapping from Lightning
8
+ - Updated dependencies [c448a23]
9
+ - @openfn/runtime@0.1.1
10
+ - @openfn/engine-multi@0.1.8
11
+
3
12
  ## 0.2.1
4
13
 
5
14
  ### Patch Changes
package/dist/index.js CHANGED
@@ -168,7 +168,7 @@ var convert_attempt_default = (attempt) => {
168
168
  const id = job.id || crypto.randomUUID();
169
169
  nodes[id] = {
170
170
  id,
171
- configuration: job.credential,
171
+ configuration: job.credential_id,
172
172
  expression: job.body,
173
173
  adaptor: job.adaptor
174
174
  };
package/dist/start.js CHANGED
@@ -5150,7 +5150,7 @@ var convert_attempt_default = (attempt) => {
5150
5150
  const id = job.id || crypto2.randomUUID();
5151
5151
  nodes[id] = {
5152
5152
  id,
5153
- configuration: job.credential,
5153
+ configuration: job.credential_id,
5154
5154
  expression: job.body,
5155
5155
  adaptor: job.adaptor
5156
5156
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfn/ws-worker",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "A Websocket Worker to connect Lightning to a Runtime Engine",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -21,9 +21,9 @@
21
21
  "koa-logger": "^3.2.1",
22
22
  "phoenix": "^1.7.7",
23
23
  "ws": "^8.14.1",
24
- "@openfn/engine-multi": "0.1.7",
24
+ "@openfn/engine-multi": "0.1.8",
25
25
  "@openfn/logger": "0.0.19",
26
- "@openfn/runtime": "0.1.0"
26
+ "@openfn/runtime": "0.1.1"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/koa": "^2.13.5",
@@ -40,7 +40,7 @@
40
40
  "tsup": "^6.2.3",
41
41
  "typescript": "^4.6.4",
42
42
  "yargs": "^17.6.2",
43
- "@openfn/lightning-mock": "1.0.8"
43
+ "@openfn/lightning-mock": "1.0.9"
44
44
  },
45
45
  "files": [
46
46
  "dist",