@flowcore/cli 1.1.1 → 1.1.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
@@ -7,6 +7,13 @@
7
7
 
8
8
 
9
9
 
10
+ ## [1.1.2](https://github.com/flowcore-io/flowcore-cli/compare/v1.1.1...v1.1.2) (2024-01-09)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * removed extra log ([8c877c5](https://github.com/flowcore-io/flowcore-cli/commit/8c877c5dbbf1e4938dca7702f5652b634b08f3ef))
16
+
10
17
  ## [1.1.1](https://github.com/flowcore-io/flowcore-cli/compare/v1.1.0...v1.1.1) (2024-01-09)
11
18
 
12
19
 
package/README.md CHANGED
@@ -17,7 +17,7 @@ $ npm install -g @flowcore/cli
17
17
  $ flowcore COMMAND
18
18
  running command...
19
19
  $ flowcore (--version)
20
- @flowcore/cli/1.1.1 linux-x64 node-v20.10.0
20
+ @flowcore/cli/1.1.2 linux-x64 node-v20.10.0
21
21
  $ flowcore --help [COMMAND]
22
22
  USAGE
23
23
  $ flowcore COMMAND
@@ -103,7 +103,7 @@ EXAMPLES
103
103
  $ flowcore config set -l https://auth.flowcore.io/realms/flowcore/.well-known/openid-configuration -c my-client-id -p
104
104
  ```
105
105
 
106
- _See code: [src/commands/config/set.ts](https://github.com/flowcore-io/flowcore-cli/blob/v1.1.1/src/commands/config/set.ts)_
106
+ _See code: [src/commands/config/set.ts](https://github.com/flowcore-io/flowcore-cli/blob/v1.1.2/src/commands/config/set.ts)_
107
107
 
108
108
  ## `flowcore config show`
109
109
 
@@ -123,7 +123,7 @@ EXAMPLES
123
123
  $ flowcore config show
124
124
  ```
125
125
 
126
- _See code: [src/commands/config/show.ts](https://github.com/flowcore-io/flowcore-cli/blob/v1.1.1/src/commands/config/show.ts)_
126
+ _See code: [src/commands/config/show.ts](https://github.com/flowcore-io/flowcore-cli/blob/v1.1.2/src/commands/config/show.ts)_
127
127
 
128
128
  ## `flowcore help [COMMANDS]`
129
129
 
@@ -166,7 +166,7 @@ EXAMPLES
166
166
  $ flowcore login --port 8080
167
167
  ```
168
168
 
169
- _See code: [src/commands/login.ts](https://github.com/flowcore-io/flowcore-cli/blob/v1.1.1/src/commands/login.ts)_
169
+ _See code: [src/commands/login.ts](https://github.com/flowcore-io/flowcore-cli/blob/v1.1.2/src/commands/login.ts)_
170
170
 
171
171
  ## `flowcore plugins`
172
172
 
@@ -470,7 +470,7 @@ EXAMPLES
470
470
  $ flowcore stream https://staging.flowcore.io/flowcore/flowcore-platform/organization.0/event.organization.subscription.updated-requested.0.stream
471
471
  ```
472
472
 
473
- _See code: [src/commands/stream.ts](https://github.com/flowcore-io/flowcore-cli/blob/v1.1.1/src/commands/stream.ts)_
473
+ _See code: [src/commands/stream.ts](https://github.com/flowcore-io/flowcore-cli/blob/v1.1.2/src/commands/stream.ts)_
474
474
 
475
475
  ## `flowcore version`
476
476
 
@@ -507,5 +507,5 @@ DESCRIPTION
507
507
  Check what user you are logged in as
508
508
  ```
509
509
 
510
- _See code: [src/commands/whoami.ts](https://github.com/flowcore-io/flowcore-cli/blob/v1.1.1/src/commands/whoami.ts)_
510
+ _See code: [src/commands/whoami.ts](https://github.com/flowcore-io/flowcore-cli/blob/v1.1.2/src/commands/whoami.ts)_
511
511
  <!-- commandsstop -->
@@ -111,14 +111,13 @@ export default class Stream extends BaseCommand {
111
111
  while (!processingQueue.isEmpty()) {
112
112
  const event = processingQueue.dequeue();
113
113
  if (output === "log") {
114
- ux.info(JSON.stringify(event));
115
114
  this.flags.json ? this.log(JSON.stringify({
116
115
  event,
117
116
  type: "input",
118
117
  }, null, 2)) : this.log(JSON.stringify(event));
119
118
  continue;
120
119
  }
121
- this.log(`Sending event to ${destination}: ${event.eventId}`);
120
+ !this.flags.json && this.log(`Sending event to ${destination}: ${event.eventId}`);
122
121
  try {
123
122
  // eslint-disable-next-line no-await-in-loop
124
123
  const result = await fetch(destination, {
@@ -256,5 +256,5 @@
256
256
  ]
257
257
  }
258
258
  },
259
- "version": "1.1.1"
259
+ "version": "1.1.2"
260
260
  }
package/package.json CHANGED
@@ -86,7 +86,7 @@
86
86
  "prestart": "npm run build",
87
87
  "update-schema": "rover graph introspect https://graph.api.staging.flowcore.io/graphql -o schema.gql"
88
88
  },
89
- "version": "1.1.1",
89
+ "version": "1.1.2",
90
90
  "bugs": "https://github.com/flowcore-io/flowcore-cli/issues",
91
91
  "keywords": [
92
92
  "flowcore",