tsdf 8.0.0-beta.6 → 8.0.0-beta.8
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/dist/main.cjs +2 -2
- package/dist/main.js +1 -1
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -33,7 +33,7 @@ __export(main_exports, {
|
|
|
33
33
|
module.exports = __toCommonJS(main_exports);
|
|
34
34
|
|
|
35
35
|
// src/documentStore.ts
|
|
36
|
-
var import_immer =
|
|
36
|
+
var import_immer = require("immer");
|
|
37
37
|
var import_mitt2 = __toESM(require("mitt"), 1);
|
|
38
38
|
var import_react3 = require("react");
|
|
39
39
|
var import_t_state2 = require("t-state");
|
|
@@ -524,7 +524,7 @@ function newTSDFDocumentStore({
|
|
|
524
524
|
(current) => {
|
|
525
525
|
if (!current)
|
|
526
526
|
return current;
|
|
527
|
-
return (0, import_immer.
|
|
527
|
+
return (0, import_immer.produce)(current, produceNewData);
|
|
528
528
|
},
|
|
529
529
|
{ action: "update-state" }
|
|
530
530
|
);
|
package/dist/main.js
CHANGED