@aneuhold/core-ts-api-lib 1.0.18 → 1.0.19

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.
@@ -34,12 +34,12 @@ class DOFunction {
34
34
  },
35
35
  body: JSON.stringify(rawInput)
36
36
  });
37
+ // This is the reduced form of the DOFunctionRawOutput. Without the body.
37
38
  const json = await result.json();
38
- console.log(json);
39
39
  return {
40
- success: json.body.success,
41
- errors: json.body.errors,
42
- data: bson_1.EJSON.parse(json.body.data)
40
+ success: json.success,
41
+ errors: json.errors,
42
+ data: bson_1.EJSON.parse(json.data)
43
43
  };
44
44
  }
45
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aneuhold/core-ts-api-lib",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "A library for interacting with the backend and defining the backend API for personal projects.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",