@fileverse-dev/ddoc 4.2.4 → 4.3.1-mv-yjs-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 (32) hide show
  1. package/dist/{index-DPuANynY.mjs → index-Bghx3ull.mjs} +28368 -33551
  2. package/dist/{index-BHEcRC2F.mjs → index-BwmvbHh1.mjs} +1 -1
  3. package/dist/index.d.ts +2 -0
  4. package/dist/index.es.js +13 -9
  5. package/dist/{markdown-source-pane-BDPSou1J.mjs → markdown-source-pane-CUGwYz0i.mjs} +2 -2
  6. package/dist/package/components/editor-bubble-menu/types.d.ts +1 -1
  7. package/dist/package/components/inline-comment/comment-drawer-desktop.d.ts +1 -2
  8. package/dist/package/components/inline-comment/comment-drawer-mobile.d.ts +1 -2
  9. package/dist/package/components/inline-comment/comment-drawer.d.ts +1 -1
  10. package/dist/package/components/inline-comment/comment-input-field.d.ts +1 -2
  11. package/dist/package/components/inline-comment/comment-reply-input.d.ts +1 -2
  12. package/dist/package/components/inline-comment/comment-section.d.ts +1 -1
  13. package/dist/package/components/inline-comment/floating-comment/comment-floating-container.d.ts +1 -1
  14. package/dist/package/components/inline-comment/floating-comment/suggestion-thread-floating-card.d.ts +1 -1
  15. package/dist/package/components/inline-comment/floating-comment/thread-floating-card.d.ts +1 -1
  16. package/dist/package/components/inline-comment/floating-comment/types.d.ts +0 -2
  17. package/dist/package/components/inline-comment/types.d.ts +0 -2
  18. package/dist/package/hooks/use-tab-editor.d.ts +3 -3
  19. package/dist/package/hooks/use-yjs-setup.d.ts +7 -1
  20. package/dist/package/sync-local/SyncManager.d.ts +44 -7
  21. package/dist/package/sync-local/crypto/room-key.d.ts +2 -0
  22. package/dist/package/sync-local/floor.d.ts +8 -0
  23. package/dist/package/sync-local/presence.d.ts +11 -0
  24. package/dist/package/sync-local/session-tools.d.ts +31 -0
  25. package/dist/package/sync-local/socketClient.d.ts +74 -8
  26. package/dist/package/sync-local/types/index.d.ts +105 -12
  27. package/dist/package/sync-local/useSyncManager.d.ts +4 -0
  28. package/dist/package/types.d.ts +2 -1
  29. package/dist/package/use-ddoc-editor.d.ts +5 -0
  30. package/dist/{split-view-toolbar-BXnE-1Ad.mjs → split-view-toolbar-DCkttBMO.mjs} +2 -2
  31. package/dist/style.css +1 -1
  32. package/package.json +6 -6
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/ddoc",
3
3
  "private": false,
4
4
  "description": "DDoc",
5
- "version": "4.2.4",
5
+ "version": "4.3.1-mv-yjs-1",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {
@@ -121,8 +121,6 @@
121
121
  "y-indexeddb": "^9.0.12",
122
122
  "y-prosemirror": "^1.2.5",
123
123
  "y-protocols": "^1.0.6",
124
- "y-webrtc": "^10.3.0",
125
- "yjs": "^13.6.15",
126
124
  "zustand": "^5.0.12"
127
125
  },
128
126
  "peerDependencies": {
@@ -131,10 +129,11 @@
131
129
  "@dnd-kit/utilities": ">=3.2.2",
132
130
  "@fileverse/crypto": ">=0.0.21",
133
131
  "@fileverse/ens": "0.0.4",
134
- "@fileverse/ui": "5.2.0",
132
+ "@fileverse/ui": "5.2.1",
135
133
  "framer-motion": ">=11.2.10",
136
134
  "frimousse": ">=0.3.0",
137
135
  "mermaid": "11.14.0",
136
+ "yjs": ">=13.6.30 <14",
138
137
  "viem": ">=2.35.0"
139
138
  },
140
139
  "devDependencies": {
@@ -165,6 +164,7 @@
165
164
  "tailwindcss": "^3.4.3",
166
165
  "typescript": "^5.2.2",
167
166
  "vite": "^5.0.0",
168
- "vitest": "^2.1.0"
167
+ "vitest": "^2.1.0",
168
+ "yjs": "13.6.30"
169
169
  }
170
- }
170
+ }