@8ms/helpers 1.3.20 → 1.3.21

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.
@@ -44,8 +44,10 @@ const invoke = async ({ awaitResponse, functionName, isJson, payload }) => {
44
44
  undefined !== response?.error &&
45
45
  // @ts-ignore
46
46
  undefined !== response?.state) {
47
- // @ts-ignore
48
- response = (new ApiResponse_1.default()).fromJson(response);
47
+ response = (new ApiResponse_1.default()).fromJson({
48
+ // @ts-ignore
49
+ input: response
50
+ });
49
51
  }
50
52
  }
51
53
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@8ms/helpers",
3
3
  "license": "UNLICENSED",
4
- "version": "1.3.20",
4
+ "version": "1.3.21",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/8millionstories-organisation/8ms-helpers-ts.git"