@teamkeel/wasm 0.102.11 → 0.102.12

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/dist/index.d.ts CHANGED
@@ -61,6 +61,7 @@ declare module '@teamkeel/wasm/typings' {
61
61
  }
62
62
  export interface ValidationResult {
63
63
  errors: ValidationError[];
64
+ type: any;
64
65
  ast: any;
65
66
  }
66
67
 
package/dist/index.js CHANGED
@@ -7832,12 +7832,14 @@ var keel = () => {
7832
7832
  if (result.error) {
7833
7833
  return {
7834
7834
  errors: [result.error],
7835
+ type: result.type,
7835
7836
  ast: null
7836
7837
  };
7837
7838
  }
7838
7839
  if (!result || !result.validationErrors) {
7839
7840
  return {
7840
- errors: [],
7841
+ errors: [result.error],
7842
+ type: result.type,
7841
7843
  ast: null
7842
7844
  };
7843
7845
  }
@@ -7845,6 +7847,7 @@ var keel = () => {
7845
7847
  const transformedErrors = (errors || []).map((err) => transformKeys_default(err));
7846
7848
  return {
7847
7849
  errors: transformedErrors,
7850
+ type: result.type,
7848
7851
  ast
7849
7852
  };
7850
7853
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamkeel/wasm",
3
- "version": "0.102.11",
3
+ "version": "0.102.12",
4
4
  "description": "Provides wasm binaries for the Keel CLI",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {