@motiadev/core 0.5.4-beta.112 → 0.5.5-beta.113

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.
@@ -5,7 +5,6 @@ const guards_1 = require("../guards");
5
5
  const generate_type_from_schema_1 = require("./generate-type-from-schema");
6
6
  const generate_types_from_response_1 = require("./generate-types-from-response");
7
7
  const merge_schemas_1 = require("./merge-schemas");
8
- const schema_types_1 = require("./schema.types");
9
8
  const generateTypesString = (handlers, streams) => {
10
9
  return `/**
11
10
  * Automatically generated types for motia
@@ -50,14 +49,9 @@ const generateTypesFromSteps = (steps, printer) => {
50
49
  topicsSchemas[topic] = schema;
51
50
  }
52
51
  catch (error) {
53
- if (error instanceof schema_types_1.JsonSchemaError) {
54
- printer.printInvalidSchema(topic, topicsSteps[topic]);
55
- // invalid schema, the topic should be ignored
56
- topics[topic] = 'never';
57
- }
58
- else {
59
- throw error;
60
- }
52
+ printer.printInvalidSchema(topic, topicsSteps[topic]);
53
+ // invalid schema, the topic should be ignored
54
+ topics[topic] = 'never';
61
55
  }
62
56
  }
63
57
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@motiadev/core",
3
3
  "description": "Core functionality for the Motia framework, providing the foundation for building event-driven workflows.",
4
4
  "main": "dist/index.js",
5
- "version": "0.5.4-beta.112",
5
+ "version": "0.5.5-beta.113",
6
6
  "dependencies": {
7
7
  "@amplitude/analytics-node": "^1.3.8",
8
8
  "body-parser": "^1.20.3",