@dnax/core 0.18.6 → 0.18.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.
@@ -311,7 +311,7 @@ class useRest {
311
311
  let result = await col?.customApi?.insertOne({
312
312
  io: Cfg.io,
313
313
  session: sessionStorage(),
314
- data: data,
314
+ data: toJson(data),
315
315
  rest: new useRest({
316
316
  useHook: false,
317
317
  tenant_id: this.#tenant_id,
@@ -433,7 +433,7 @@ class useRest {
433
433
  let result = await col?.customApi?.insertMany({
434
434
  io: Cfg.io,
435
435
  session: sessionStorage(),
436
- data: data,
436
+ data: toJson(data),
437
437
  rest: new useRest({
438
438
  useHook: false,
439
439
  tenant_id: this.#tenant_id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnax/core",
3
- "version": "0.18.6",
3
+ "version": "0.18.7",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {