@flowcore/cli 2.9.1 → 2.9.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
@@ -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.2](https://github.com/flowcore-io/flowcore-cli/compare/v2.9.1...v2.9.2) (2024-03-07)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * update log format in processEvents function to correctly output payload and response ([caeb368](https://github.com/flowcore-io/flowcore-cli/commit/caeb3689d0e72b931a45b8916f511e56c76b4aa2))
19
+
13
20
  ## [2.9.1](https://github.com/flowcore-io/flowcore-cli/compare/v2.9.0...v2.9.1) (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.1 linux-x64 node-v20.11.1
21
+ @flowcore/cli/2.9.2 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.1/src/commands/apply.ts)_
78
+ _See code: [src/commands/apply.ts](https://github.com/flowcore-io/flowcore-cli/blob/v2.9.2/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.1/src/commands/stream.ts)_
758
+ _See code: [src/commands/stream.ts](https://github.com/flowcore-io/flowcore-cli/blob/v2.9.2/src/commands/stream.ts)_
759
759
 
760
760
  ## `flowcore version`
761
761
 
@@ -192,7 +192,7 @@ export default class Stream extends BaseCommand {
192
192
  const event = processingQueue.dequeue();
193
193
  const outputPayload = payload ? event.payload : event;
194
194
  if (output === "log") {
195
- this.flags.json ? this.log(JSON.stringify({
195
+ this.flags.json && this.flags.output !== "log" ? this.log(JSON.stringify({
196
196
  event: outputPayload,
197
197
  type: "input",
198
198
  })) : this.log(JSON.stringify(outputPayload));
@@ -173,5 +173,5 @@
173
173
  ]
174
174
  }
175
175
  },
176
- "version": "2.9.1"
176
+ "version": "2.9.2"
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.1",
93
+ "version": "2.9.2",
94
94
  "bugs": "https://github.com/flowcore-io/flowcore-cli/issues",
95
95
  "keywords": [
96
96
  "flowcore",