@kapeta/local-cluster-service 0.54.8 → 0.54.9

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,3 +1,10 @@
1
+ ## [0.54.9](https://github.com/kapetacom/local-cluster-service/compare/v0.54.8...v0.54.9) (2024-07-02)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * filter out INVALID_RESPONSE events ([abc1ca3](https://github.com/kapetacom/local-cluster-service/commit/abc1ca371f3f88e339e4ec6e6204efd333c2c771))
7
+
1
8
  ## [0.54.8](https://github.com/kapetacom/local-cluster-service/compare/v0.54.7...v0.54.8) (2024-06-24)
2
9
 
3
10
 
@@ -282,7 +282,9 @@ class StormCodegen {
282
282
  }
283
283
  // TODO: remove this when we have a better way to handle failed events
284
284
  // Skip failed events - they are not relevant to the materializer
285
- filteredEvents = filteredEvents.filter((event) => !event.type.endsWith('_FAILED') && !event.type.endsWith('ERROR_INTERNAL'));
285
+ filteredEvents = filteredEvents.filter((event) => !event.type.endsWith('_FAILED') &&
286
+ !event.type.endsWith('ERROR_INTERNAL') &&
287
+ !event.type.endsWith('INVALID_RESPONSE'));
286
288
  const screenEvents = [];
287
289
  const getScreenEventsFile = () => ({
288
290
  content: JSON.stringify(screenEvents),
@@ -282,7 +282,9 @@ class StormCodegen {
282
282
  }
283
283
  // TODO: remove this when we have a better way to handle failed events
284
284
  // Skip failed events - they are not relevant to the materializer
285
- filteredEvents = filteredEvents.filter((event) => !event.type.endsWith('_FAILED') && !event.type.endsWith('ERROR_INTERNAL'));
285
+ filteredEvents = filteredEvents.filter((event) => !event.type.endsWith('_FAILED') &&
286
+ !event.type.endsWith('ERROR_INTERNAL') &&
287
+ !event.type.endsWith('INVALID_RESPONSE'));
286
288
  const screenEvents = [];
287
289
  const getScreenEventsFile = () => ({
288
290
  content: JSON.stringify(screenEvents),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kapeta/local-cluster-service",
3
- "version": "0.54.8",
3
+ "version": "0.54.9",
4
4
  "description": "Manages configuration, ports and service discovery for locally running Kapeta systems",
5
5
  "type": "commonjs",
6
6
  "exports": {
@@ -330,7 +330,10 @@ export class StormCodegen {
330
330
  // TODO: remove this when we have a better way to handle failed events
331
331
  // Skip failed events - they are not relevant to the materializer
332
332
  filteredEvents = filteredEvents.filter(
333
- (event) => !event.type.endsWith('_FAILED') && !event.type.endsWith('ERROR_INTERNAL')
333
+ (event) =>
334
+ !event.type.endsWith('_FAILED') &&
335
+ !event.type.endsWith('ERROR_INTERNAL') &&
336
+ !event.type.endsWith('INVALID_RESPONSE')
334
337
  );
335
338
 
336
339
  const screenEvents: StormEventScreen[] = [];