@dnax/core 0.62.0 → 0.62.2

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.
@@ -1446,7 +1446,7 @@ class useRest {
1446
1446
  state: sessionStorage()?.get()?.state,
1447
1447
  uuid: sessionStorage()?.get()?.uuid,
1448
1448
  });
1449
- return resolve(result.doc);
1449
+ return resolve(toJson(result?.doc || {}));
1450
1450
  } catch (err) {
1451
1451
  return reject(err);
1452
1452
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnax/core",
3
- "version": "0.62.0",
3
+ "version": "0.62.2",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {
package/types/index.ts CHANGED
@@ -704,7 +704,7 @@ export type Service = {
704
704
  /**
705
705
  * Incomming data [payload]
706
706
  */
707
- data: object;
707
+ data: any;
708
708
  /**
709
709
  * Local rest linked to current tenant
710
710
  */