@flowcore/cli 2.9.0 → 2.9.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 CHANGED
@@ -10,6 +10,13 @@
10
10
 
11
11
  * added description to start that includes week ([58687a7](https://github.com/flowcore-io/flowcore-cli/commit/58687a7bbb66aaa5d6da26af88e555cbb1e72467))
12
12
 
13
+ ## [2.9.1](https://github.com/flowcore-io/flowcore-cli/compare/v2.9.0...v2.9.1) (2024-03-07)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * update log format in processEvents function to correctly output payload and response ([8945ef4](https://github.com/flowcore-io/flowcore-cli/commit/8945ef4e7d7dd05140f4624cba8cf816fdeb9705))
19
+
13
20
  ## [2.9.0](https://github.com/flowcore-io/flowcore-cli/compare/v2.8.2...v2.9.0) (2024-03-07)
14
21
 
15
22
 
package/README.md CHANGED
@@ -18,7 +18,7 @@ $ npm install -g @flowcore/cli
18
18
  $ flowcore COMMAND
19
19
  running command...
20
20
  $ flowcore (--version)
21
- @flowcore/cli/2.9.0 linux-x64 node-v20.11.1
21
+ @flowcore/cli/2.9.1 linux-x64 node-v20.11.1
22
22
  $ flowcore --help [COMMAND]
23
23
  USAGE
24
24
  $ flowcore COMMAND
@@ -75,7 +75,7 @@ EXAMPLES
75
75
  $ flowcore apply -f ./path/to/manifest.yml
76
76
  ```
77
77
 
78
- _See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v2.9.0/src/commands/apply.ts)_
78
+ _See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v2.9.1/src/commands/apply.ts)_
79
79
 
80
80
  ## `flowcore autocomplete [SHELL]`
81
81
 
@@ -755,7 +755,7 @@ EXAMPLES
755
755
  $ flowcore stream https://flowcore.io/<org>/<data core>/<flow type>/[<event type1>,<event type2>,<event type3>].stream -o log -s 3m
756
756
  ```
757
757
 
758
- _See code: [src/commands/stream.ts](https://github.com/flowcore-io/flowcore-cli/blob/v2.9.0/src/commands/stream.ts)_
758
+ _See code: [src/commands/stream.ts](https://github.com/flowcore-io/flowcore-cli/blob/v2.9.1/src/commands/stream.ts)_
759
759
 
760
760
  ## `flowcore version`
761
761
 
@@ -195,7 +195,7 @@ export default class Stream extends BaseCommand {
195
195
  this.flags.json ? this.log(JSON.stringify({
196
196
  event: outputPayload,
197
197
  type: "input",
198
- }, null, 2)) : this.log(JSON.stringify(outputPayload));
198
+ })) : this.log(JSON.stringify(outputPayload));
199
199
  continue;
200
200
  }
201
201
  !this.flags.json && this.log(`Sending event to ${destination}: ${event.eventId}`);
@@ -224,7 +224,7 @@ export default class Stream extends BaseCommand {
224
224
  event: (await result.json()),
225
225
  type: "output",
226
226
  // eslint-disable-next-line no-await-in-loop
227
- }, null, 2)) : this.log(`Response from ${destination}: ${JSON.stringify(await result.json())}`);
227
+ })) : this.log(`Response from ${destination}: ${JSON.stringify(await result.json())}`);
228
228
  }
229
229
  }
230
230
  catch (error) {
@@ -173,5 +173,5 @@
173
173
  ]
174
174
  }
175
175
  },
176
- "version": "2.9.0"
176
+ "version": "2.9.1"
177
177
  }
package/package.json CHANGED
@@ -90,7 +90,7 @@
90
90
  "prestart": "npm run build",
91
91
  "update-schema": "rover graph introspect https://graph.api.staging.flowcore.io/graphql -o schema.gql"
92
92
  },
93
- "version": "2.9.0",
93
+ "version": "2.9.1",
94
94
  "bugs": "https://github.com/flowcore-io/flowcore-cli/issues",
95
95
  "keywords": [
96
96
  "flowcore",