@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.
Files changed (34) hide show
  1. package/dist/clis/args/index.d.mts +1 -1
  2. package/dist/clis/args/{service-Cou6l7l8.d.mts → service-DhIkf8-O.d.mts} +2 -2
  3. package/dist/clis/args/{service-Cou6l7l8.d.mts.map → service-DhIkf8-O.d.mts.map} +1 -1
  4. package/dist/clis/args/service.d.mts +1 -1
  5. package/dist/clis/constants.d.mts +4 -0
  6. package/dist/clis/constants.d.mts.map +1 -1
  7. package/dist/clis/index.d.mts +25 -9
  8. package/dist/clis/index.d.mts.map +1 -1
  9. package/dist/clis/index.mjs +10 -0
  10. package/dist/clis/index.mjs.map +1 -1
  11. package/dist/{config-loader-Dw3syw7r.js → config-loader-B845Hidf.js} +2 -1
  12. package/dist/config-loader-B845Hidf.js.map +1 -0
  13. package/dist/connect/config-loader.d.ts +1 -1
  14. package/dist/connect/config-loader.js +1 -1
  15. package/dist/connect/index.d.ts +13 -1
  16. package/dist/connect/index.d.ts.map +1 -1
  17. package/dist/connect/index.js +11 -1
  18. package/dist/connect/index.js.map +1 -1
  19. package/dist/document-drive/index.d.ts +2 -2
  20. package/dist/document-model/index.d.ts +2 -2
  21. package/dist/document-model/index.js +2 -2
  22. package/dist/document-model/index.js.map +1 -1
  23. package/dist/{index-XtLa2ItI.d.ts → index-BVRzUirG.d.ts} +2 -2
  24. package/dist/{index-XtLa2ItI.d.ts.map → index-BVRzUirG.d.ts.map} +1 -1
  25. package/dist/index.d.ts +3 -3
  26. package/dist/processors/index.d.ts +1 -1
  27. package/dist/registry/index.d.ts +2 -2
  28. package/dist/registry/manifest-slim.d.ts +1 -1
  29. package/dist/{types-BWwUHbmn.d.ts → types-CKNKxtzm.d.ts} +6 -2
  30. package/dist/{types-BWwUHbmn.d.ts.map → types-CKNKxtzm.d.ts.map} +1 -1
  31. package/dist/{types-DagTInbG.d.ts → types-CgPw8gOn.d.ts} +2 -2
  32. package/dist/{types-DagTInbG.d.ts.map → types-CgPw8gOn.d.ts.map} +1 -1
  33. package/package.json +1 -1
  34. 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
- let hash = hashDocumentStateForScope(newDocument, scope);
3911
- if (options.replayOptions?.operation.hash && options.replayOptions.operation.hash !== "") hash = options.replayOptions.operation.hash;
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;