@lana-commerce/core 14.0.0-alpha.6 → 14.0.0-alpha.7

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/CHANGELOG.md CHANGED
@@ -30,6 +30,7 @@ This project adheres to [Semantic Versioning][semantic versioning].
30
30
  - Do not discard unhandled messages in "websocket" lib.
31
31
  - Fix awaiters being dispatched before promise registeration in "websocket" lib.
32
32
  - Use `"verbatimModuleSyntax": true` when compiling ESM version of the package.
33
+ - Increase verbosity on pretty printed error text in "json" client (sendUnwrap() method).
33
34
 
34
35
  ## [Released]
35
36
 
@@ -276,7 +276,7 @@ class RequestBuilder {
276
276
  return resp.data;
277
277
  }
278
278
  else {
279
- throw new Error(prettyPrintResponseError(resp));
279
+ throw new Error(prettyPrintResponseError(resp, true));
280
280
  }
281
281
  });
282
282
  }
@@ -267,7 +267,7 @@ class RequestBuilder {
267
267
  return resp.data;
268
268
  }
269
269
  else {
270
- throw new Error(prettyPrintResponseError(resp));
270
+ throw new Error(prettyPrintResponseError(resp, true));
271
271
  }
272
272
  }
273
273
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lana-commerce/core",
3
- "version": "14.0.0-alpha.6",
3
+ "version": "14.0.0-alpha.7",
4
4
  "description": "Lana JS Core",
5
5
  "scripts": {
6
6
  "test": "jest",