@teamkeel/wasm 0.44.0 → 0.44.1

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7821,15 +7821,15 @@ var instantiate = () => __async(void 0, null, function* () {
7821
7821
  });
7822
7822
  var keel = () => __async(void 0, null, function* () {
7823
7823
  const api = yield instantiate();
7824
- const validate = (schemaString, opts) => __async(void 0, null, function* () {
7824
+ const validate = (schemaString, opts) => {
7825
7825
  const result = api.validate(schemaString, opts);
7826
7826
  const { validationErrors: { Errors: errors }, ast } = result;
7827
- const transformedErrors = yield (errors || []).map((err) => transformKeys_default(err));
7827
+ const transformedErrors = (errors || []).map((err) => transformKeys_default(err));
7828
7828
  return {
7829
7829
  errors: transformedErrors,
7830
7830
  ast
7831
7831
  };
7832
- });
7832
+ };
7833
7833
  const format = (schemaString) => {
7834
7834
  return api.format(schemaString);
7835
7835
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamkeel/wasm",
3
- "version": "0.44.0",
3
+ "version": "0.44.1",
4
4
  "description": "Provides wasm binaries for the Keel CLI",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {