@powerhousedao/shared 6.2.2-dev.76 → 6.2.2-dev.78
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/clis/args/index.d.mts +1 -1
- package/dist/clis/args/{service-Cou6l7l8.d.mts → service-DhIkf8-O.d.mts} +2 -2
- package/dist/clis/args/{service-Cou6l7l8.d.mts.map → service-DhIkf8-O.d.mts.map} +1 -1
- package/dist/clis/args/service.d.mts +1 -1
- package/dist/clis/constants.d.mts +4 -0
- package/dist/clis/constants.d.mts.map +1 -1
- package/dist/clis/index.d.mts +25 -9
- package/dist/clis/index.d.mts.map +1 -1
- package/dist/clis/index.mjs +10 -0
- package/dist/clis/index.mjs.map +1 -1
- package/dist/{config-loader-Dw3syw7r.js → config-loader-B845Hidf.js} +2 -1
- package/dist/config-loader-B845Hidf.js.map +1 -0
- package/dist/connect/config-loader.d.ts +1 -1
- package/dist/connect/config-loader.js +1 -1
- package/dist/connect/index.d.ts +13 -1
- package/dist/connect/index.d.ts.map +1 -1
- package/dist/connect/index.js +11 -1
- package/dist/connect/index.js.map +1 -1
- package/dist/document-drive/index.d.ts +2 -2
- package/dist/document-model/index.d.ts +2 -2
- package/dist/document-model/index.js +2 -2
- package/dist/document-model/index.js.map +1 -1
- package/dist/{index-XtLa2ItI.d.ts → index-BVRzUirG.d.ts} +2 -2
- package/dist/{index-XtLa2ItI.d.ts.map → index-BVRzUirG.d.ts.map} +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/processors/index.d.ts +1 -1
- package/dist/registry/index.d.ts +2 -2
- package/dist/registry/manifest-slim.d.ts +1 -1
- package/dist/{types-BWwUHbmn.d.ts → types-CKNKxtzm.d.ts} +6 -2
- package/dist/{types-BWwUHbmn.d.ts.map → types-CKNKxtzm.d.ts.map} +1 -1
- package/dist/{types-DagTInbG.d.ts → types-CgPw8gOn.d.ts} +2 -2
- package/dist/{types-DagTInbG.d.ts.map → types-CgPw8gOn.d.ts.map} +1 -1
- package/package.json +1 -1
- package/dist/config-loader-Dw3syw7r.js.map +0 -1
|
@@ -3907,8 +3907,8 @@ function baseReducer(document, action, customReducer, dispatch, options = {}) {
|
|
|
3907
3907
|
"PRUNE"
|
|
3908
3908
|
].includes(_action.type)) return newDocument;
|
|
3909
3909
|
const scope = _action.scope || "global";
|
|
3910
|
-
|
|
3911
|
-
|
|
3910
|
+
const replayHash = options.replayOptions?.operation.hash;
|
|
3911
|
+
const hash = replayHash ? replayHash : hashDocumentStateForScope(newDocument, scope);
|
|
3912
3912
|
const lastOperation = newDocument.operations[scope]?.at(-1);
|
|
3913
3913
|
if (lastOperation) {
|
|
3914
3914
|
lastOperation.hash = hash;
|