@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 +1 -0
- package/dist/index.js +4 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
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
|
});
|