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/{chunk-LBXLKYTZ.js → chunk-CXXISL5X.js} +39 -9
- package/dist/chunk-CXXISL5X.js.map +1 -0
- package/dist/{chunk-H54TYQLD.js → chunk-HHIEEVBV.js} +12 -10
- package/dist/chunk-HHIEEVBV.js.map +1 -0
- package/dist/collab.d.ts +3 -3
- package/dist/collab.js +5 -4
- package/dist/collab.js.map +1 -1
- package/dist/{docx-only-D3pk2pRD.d.ts → docx-only-jIZisiQh.d.ts} +8 -2
- package/dist/docx-only.d.ts +1 -1
- package/dist/docx-only.js +1 -1
- package/dist/{index-CEqxQ0p-.d.ts → index-Dh3XJOZr.d.ts} +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-H54TYQLD.js.map +0 -1
- package/dist/chunk-LBXLKYTZ.js.map +0 -1
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-
|
|
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-
|
|
4
|
-
export { d as bytesToB64, e as deriveEpochKeys, f as docKeyFromFragment, m as mintDocKey, s as sealCheckpoint, g as stretchShareCode } from './index-
|
|
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-
|
|
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
|
-
|
|
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 = (
|
|
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) {
|