@fileverse-dev/ddoc 2.3.4 → 2.4.0
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/{ccip-Dxo0827_.mjs → ccip-6RfBwSKM.mjs} +1 -1
- package/dist/{index-BDeTWJWD.mjs → index-CT3AMJnE.mjs} +45142 -37037
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +1 -1
- package/dist/package/components/editor-bubble-menu/props.d.ts +2 -0
- package/dist/package/components/editor-bubble-menu/types.d.ts +2 -0
- package/dist/package/extensions/slash-command/slash-comand.d.ts +1 -1
- package/dist/package/extensions/slash-command/slash-command-utils.d.ts +10 -1
- package/dist/package/extensions/sync-cursor.d.ts +28 -0
- package/dist/package/hooks/use-editing-context.d.ts +2 -0
- package/dist/package/sync-local/actions/index.d.ts +144 -0
- package/dist/package/sync-local/actions/syncMachineActions.d.ts +1 -0
- package/dist/package/sync-local/constants/config.d.ts +7 -0
- package/dist/package/sync-local/constants/index.d.ts +5 -0
- package/dist/package/sync-local/crypto/index.d.ts +6 -0
- package/dist/package/sync-local/guards/syncMachineGuards.d.ts +10 -0
- package/dist/package/sync-local/index.d.ts +6 -0
- package/dist/package/sync-local/services/syncMachineServices.d.ts +19 -0
- package/dist/package/sync-local/socketClient.d.ts +72 -0
- package/dist/package/sync-local/syncMachine.d.ts +13 -0
- package/dist/package/sync-local/types/index.d.ts +159 -0
- package/dist/package/sync-local/useSyncMachine.d.ts +31 -0
- package/dist/package/sync-local/utils/createAwarenessUpdateHandler.d.ts +8 -0
- package/dist/package/sync-local/utils/objectToFile.d.ts +1 -0
- package/dist/package/types.d.ts +30 -0
- package/dist/package/use-ddoc-editor.d.ts +2 -2
- package/dist/package/utils/template-utils.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +16 -2
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.
|
5
|
+
"version": "2.4.0",
|
6
6
|
"main": "dist/index.es.js",
|
7
7
|
"module": "dist/index.es.js",
|
8
8
|
"exports": {
|
@@ -24,7 +24,8 @@
|
|
24
24
|
"build": "tsc && vite build",
|
25
25
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",
|
26
26
|
"preview": "vite preview",
|
27
|
-
"prepare": "husky install"
|
27
|
+
"prepare": "husky install",
|
28
|
+
"build:watch": "vite build --watch"
|
28
29
|
},
|
29
30
|
"lint-staged": {
|
30
31
|
"**/*.{js,jsx,ts,tsx}": [
|
@@ -39,9 +40,13 @@
|
|
39
40
|
"@_ueberdosis/prosemirror-tables": "^1.1.3",
|
40
41
|
"@aarkue/tiptap-math-extension": "^1.3.3",
|
41
42
|
"@fileverse-dev/md2slides": "^0.0.8",
|
43
|
+
"@fileverse/crypto": "^0.0.13",
|
42
44
|
"@fileverse/ui": "^4.1.7-patch-21",
|
45
|
+
"@noble/ciphers": "^1.3.0",
|
46
|
+
"@noble/curves": "^1.9.7",
|
43
47
|
"@radix-ui/react-focus-scope": "^1.1.0",
|
44
48
|
"@radix-ui/react-popover": "^1.0.7",
|
49
|
+
"@stablelib/ed25519": "^2.0.2",
|
45
50
|
"@tippyjs/react": "^4.2.6",
|
46
51
|
"@tiptap/core": "2.9",
|
47
52
|
"@tiptap/extension-bullet-list": "2.9",
|
@@ -70,6 +75,9 @@
|
|
70
75
|
"@tiptap/react": "2.9",
|
71
76
|
"@tiptap/starter-kit": "2.9",
|
72
77
|
"@tiptap/suggestion": "2.9",
|
78
|
+
"@types/uuid": "^10.0.0",
|
79
|
+
"@ucans/ucans": "^0.12.0",
|
80
|
+
"@xstate/react": "^3.2.2",
|
73
81
|
"base64-js": "^1.5.1",
|
74
82
|
"classnames": "^2.5.1",
|
75
83
|
"copy-to-clipboard": "^3.3.3",
|
@@ -81,9 +89,11 @@
|
|
81
89
|
"highlight.js": "^11.11.1",
|
82
90
|
"js-base64": "^3.7.7",
|
83
91
|
"katex": "^0.16.11",
|
92
|
+
"lib0": "^0.2.95",
|
84
93
|
"lowlight": "^3.3.0",
|
85
94
|
"markdown-it-footnote": "^4.0.0",
|
86
95
|
"ollama": "^0.5.14",
|
96
|
+
"partysocket": "^1.0.2",
|
87
97
|
"platform": "^1.3.6",
|
88
98
|
"prosemirror-model": "^1.21.0",
|
89
99
|
"prosemirror-state": "^1.4.3",
|
@@ -96,11 +106,15 @@
|
|
96
106
|
"tiptap-markdown": "^0.8.10",
|
97
107
|
"turndown": "^7.2.0",
|
98
108
|
"usehooks-ts": "^3.1.0",
|
109
|
+
"uuid": "^10.0.0",
|
99
110
|
"vaul": "^0.9.1",
|
100
111
|
"viem": "^2.24.1",
|
101
112
|
"vite-plugin-dts": "^3.6.3",
|
113
|
+
"ws": "^8.18.0",
|
114
|
+
"xstate": "^4.38.2",
|
102
115
|
"y-indexeddb": "^9.0.12",
|
103
116
|
"y-prosemirror": "^1.2.5",
|
117
|
+
"y-protocols": "^1.0.6",
|
104
118
|
"y-webrtc": "^10.3.0",
|
105
119
|
"yjs": "^13.6.15"
|
106
120
|
},
|