@kapeta/local-cluster-service 0.51.2 → 0.51.3

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.51.3](https://github.com/kapetacom/local-cluster-service/compare/v0.51.2...v0.51.3) (2024-06-07)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * ignore semantics ([06a4e60](https://github.com/kapetacom/local-cluster-service/commit/06a4e608ecacc7b7d47145c55617a62f75012dd7))
7
+
1
8
  ## [0.51.2](https://github.com/kapetacom/local-cluster-service/compare/v0.51.1...v0.51.2) (2024-06-06)
2
9
 
3
10
 
@@ -291,8 +291,8 @@ class StormEventParser {
291
291
  },
292
292
  };
293
293
  }
294
- const clientTypes = kaplang_core_1.DSLDataTypeParser.parse(clientConsumerBlock.content.spec.entities.source.value);
295
- const apiTypes = kaplang_core_1.DSLDataTypeParser.parse(apiProviderBlock.content.spec.entities?.source?.value);
294
+ const clientTypes = kaplang_core_1.DSLDataTypeParser.parse(clientConsumerBlock.content.spec.entities.source.value, { ignoreSemantics: true });
295
+ const apiTypes = kaplang_core_1.DSLDataTypeParser.parse(apiProviderBlock.content.spec.entities?.source?.value, { ignoreSemantics: true });
296
296
  apiTypes.forEach((apiType) => {
297
297
  if (clientTypes.some((clientType) => clientType.name === apiType.name)) {
298
298
  // Already exists
@@ -291,8 +291,8 @@ class StormEventParser {
291
291
  },
292
292
  };
293
293
  }
294
- const clientTypes = kaplang_core_1.DSLDataTypeParser.parse(clientConsumerBlock.content.spec.entities.source.value);
295
- const apiTypes = kaplang_core_1.DSLDataTypeParser.parse(apiProviderBlock.content.spec.entities?.source?.value);
294
+ const clientTypes = kaplang_core_1.DSLDataTypeParser.parse(clientConsumerBlock.content.spec.entities.source.value, { ignoreSemantics: true });
295
+ const apiTypes = kaplang_core_1.DSLDataTypeParser.parse(apiProviderBlock.content.spec.entities?.source?.value, { ignoreSemantics: true });
296
296
  apiTypes.forEach((apiType) => {
297
297
  if (clientTypes.some((clientType) => clientType.name === apiType.name)) {
298
298
  // Already exists
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kapeta/local-cluster-service",
3
- "version": "0.51.2",
3
+ "version": "0.51.3",
4
4
  "description": "Manages configuration, ports and service discovery for locally running Kapeta systems",
5
5
  "type": "commonjs",
6
6
  "exports": {
@@ -23,7 +23,7 @@ import { KapetaURI, parseKapetaUri } from '@kapeta/nodejs-utils';
23
23
  import { writeFile } from 'fs/promises';
24
24
  import path, { join } from 'path';
25
25
  import os from 'node:os';
26
- import { readFile, readFileSync, writeFileSync } from 'fs';
26
+ import { readFileSync, writeFileSync } from 'fs';
27
27
  import Path from 'path';
28
28
  import YAML from "yaml";
29
29
 
@@ -431,9 +431,9 @@ export class StormEventParser {
431
431
  }
432
432
 
433
433
  const clientTypes = DSLDataTypeParser.parse(
434
- clientConsumerBlock.content.spec.entities.source!.value
434
+ clientConsumerBlock.content.spec.entities.source!.value, {ignoreSemantics: true}
435
435
  );
436
- const apiTypes = DSLDataTypeParser.parse(apiProviderBlock.content.spec.entities?.source?.value);
436
+ const apiTypes = DSLDataTypeParser.parse(apiProviderBlock.content.spec.entities?.source?.value, {ignoreSemantics: true});
437
437
 
438
438
  apiTypes.forEach((apiType) => {
439
439
  if (clientTypes.some((clientType) => clientType.name === apiType.name)) {