wordinweb 0.3.8 → 0.3.9

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/collab.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { ReactNode } from 'react';
2
- import { X as XmlElement, D as DocxDocument } from './docx-only-D3pk2pRD.js';
3
- import { C as ClientMessage, S as ServerMessage, P as PresencePosition, R as RosterEntry, a as ParticipantProfile, I as Intent, b as IdSidecar, L as LineageHead, T as ToolbarFeature, c as ToolbarMode, D as DocxViewApi, M as MissingFont, W as WriteStatus, U as UndoOutcome } from './index-CEqxQ0p-.js';
4
- export { d as bytesToB64, e as deriveEpochKeys, f as docKeyFromFragment, m as mintDocKey, s as sealCheckpoint, g as stretchShareCode } from './index-CEqxQ0p-.js';
2
+ import { X as XmlElement, D as DocxDocument } from './docx-only-jIZisiQh.js';
3
+ import { C as ClientMessage, S as ServerMessage, P as PresencePosition, R as RosterEntry, a as ParticipantProfile, I as Intent, b as IdSidecar, L as LineageHead, T as ToolbarFeature, c as ToolbarMode, D as DocxViewApi, M as MissingFont, W as WriteStatus, U as UndoOutcome } from './index-Dh3XJOZr.js';
4
+ export { d as bytesToB64, e as deriveEpochKeys, f as docKeyFromFragment, m as mintDocKey, s as sealCheckpoint, g as stretchShareCode } from './index-Dh3XJOZr.js';
5
5
 
6
6
  /**
7
7
  * How much of the document an applied intent disturbed — the input to
package/dist/collab.js CHANGED
@@ -78,7 +78,7 @@ import {
78
78
  suggestMeta,
79
79
  validatePastedOoxml,
80
80
  validateRegisteredOperation
81
- } from "./chunk-H54TYQLD.js";
81
+ } from "./chunk-HHIEEVBV.js";
82
82
  import {
83
83
  insertSmartArtAt,
84
84
  isSafeUrl,
@@ -91,8 +91,9 @@ import {
91
91
  setSmartArtData,
92
92
  setSmartArtFill,
93
93
  setSmartArtNodeText,
94
- setSmartArtTextFormat
95
- } from "./chunk-LBXLKYTZ.js";
94
+ setSmartArtTextFormat,
95
+ wordDate
96
+ } from "./chunk-CXXISL5X.js";
96
97
  import "./chunk-7D4SUZUM.js";
97
98
 
98
99
  // src/collab.tsx
@@ -4820,7 +4821,7 @@ function useCollab(opts) {
4820
4821
  captureOfflineRef.current = captureOffline;
4821
4822
  const runTailReplay = (conn, kind) => {
4822
4823
  const author = profile?.name || clientId;
4823
- const date = (/* @__PURE__ */ new Date()).toISOString();
4824
+ const date = wordDate();
4824
4825
  const step = () => {
4825
4826
  if (connRef.current !== conn || !conn.ready || manuallyOfflineRef.current) return;
4826
4827
  if (conn.pendingCount > 0) {