@fileverse-dev/ddoc 2.3.0-patch-13-customisation-4 → 2.3.0-rtc-patch-1

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 (28) hide show
  1. package/README.md +0 -51
  2. package/dist/{ccip-iE3tr7jb.mjs → ccip-C8cPDr9s.mjs} +1 -1
  3. package/dist/{index-DnFRu9cp.mjs → index-BYTPU5Y7.mjs} +45094 -37165
  4. package/dist/index.es.js +1 -1
  5. package/dist/package/components/presentation-mode/presentation-mode.d.ts +2 -3
  6. package/dist/package/components/presentation-mode/preview-panel.d.ts +1 -4
  7. package/dist/package/context/editor-context.d.ts +0 -3
  8. package/dist/package/extensions/sync-cursor.d.ts +28 -0
  9. package/dist/package/sync-local/actions/index.d.ts +127 -0
  10. package/dist/package/sync-local/actions/syncMachineActions.d.ts +1 -0
  11. package/dist/package/sync-local/constants/config.d.ts +7 -0
  12. package/dist/package/sync-local/constants/index.d.ts +5 -0
  13. package/dist/package/sync-local/crypto/index.d.ts +6 -0
  14. package/dist/package/sync-local/guards/syncMachineGuards.d.ts +10 -0
  15. package/dist/package/sync-local/index.d.ts +6 -0
  16. package/dist/package/sync-local/services/syncMachineServices.d.ts +19 -0
  17. package/dist/package/sync-local/socketClient.d.ts +59 -0
  18. package/dist/package/sync-local/syncMachine.d.ts +13 -0
  19. package/dist/package/sync-local/types/index.d.ts +163 -0
  20. package/dist/package/sync-local/useSyncMachine.d.ts +51 -0
  21. package/dist/package/sync-local/utils/createAwarenessUpdateHandler.d.ts +8 -0
  22. package/dist/package/sync-local/utils/fetchIpfsJsonContent.d.ts +1 -0
  23. package/dist/package/sync-local/utils/objectToFile.d.ts +1 -0
  24. package/dist/package/sync-local/utils/uploadFileToIPFS.d.ts +3 -0
  25. package/dist/package/types.d.ts +14 -35
  26. package/dist/package/use-ddoc-editor.d.ts +2 -2
  27. package/dist/style.css +1 -1
  28. package/package.json +14 -1
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/ddoc",
3
3
  "private": false,
4
4
  "description": "DDoc",
5
- "version": "2.3.0-patch-13-customisation-4",
5
+ "version": "2.3.0-rtc-patch-1",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {
@@ -39,9 +39,13 @@
39
39
  "@_ueberdosis/prosemirror-tables": "^1.1.3",
40
40
  "@aarkue/tiptap-math-extension": "^1.3.3",
41
41
  "@fileverse-dev/md2slides": "^0.0.8",
42
+ "@fileverse/crypto": "^0.0.11",
42
43
  "@fileverse/ui": "^4.1.7-patch-21",
44
+ "@noble/ciphers": "^1.3.0",
45
+ "@noble/curves": "^1.9.7",
43
46
  "@radix-ui/react-focus-scope": "^1.1.0",
44
47
  "@radix-ui/react-popover": "^1.0.7",
48
+ "@stablelib/ed25519": "^2.0.2",
45
49
  "@tippyjs/react": "^4.2.6",
46
50
  "@tiptap/core": "2.9",
47
51
  "@tiptap/extension-bullet-list": "2.9",
@@ -70,6 +74,9 @@
70
74
  "@tiptap/react": "2.9",
71
75
  "@tiptap/starter-kit": "2.9",
72
76
  "@tiptap/suggestion": "2.9",
77
+ "@types/uuid": "^10.0.0",
78
+ "@ucans/ucans": "^0.12.0",
79
+ "@xstate/react": "^3.2.2",
73
80
  "base64-js": "^1.5.1",
74
81
  "classnames": "^2.5.1",
75
82
  "copy-to-clipboard": "^3.3.3",
@@ -81,9 +88,11 @@
81
88
  "highlight.js": "^11.11.1",
82
89
  "js-base64": "^3.7.7",
83
90
  "katex": "^0.16.11",
91
+ "lib0": "^0.2.95",
84
92
  "lowlight": "^3.3.0",
85
93
  "markdown-it-footnote": "^4.0.0",
86
94
  "ollama": "^0.5.14",
95
+ "partysocket": "^1.0.2",
87
96
  "platform": "^1.3.6",
88
97
  "prosemirror-model": "^1.21.0",
89
98
  "prosemirror-state": "^1.4.3",
@@ -96,11 +105,15 @@
96
105
  "tiptap-markdown": "^0.8.10",
97
106
  "turndown": "^7.2.0",
98
107
  "usehooks-ts": "^3.1.0",
108
+ "uuid": "^10.0.0",
99
109
  "vaul": "^0.9.1",
100
110
  "viem": "^2.24.1",
101
111
  "vite-plugin-dts": "^3.6.3",
112
+ "ws": "^8.18.0",
113
+ "xstate": "^4.38.2",
102
114
  "y-indexeddb": "^9.0.12",
103
115
  "y-prosemirror": "^1.2.5",
116
+ "y-protocols": "^1.0.6",
104
117
  "y-webrtc": "^10.3.0",
105
118
  "yjs": "^13.6.15"
106
119
  },