docblocks-core 0.1.0 → 0.1.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # docblocks-core
2
2
 
3
+ ## 0.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - The README's `createDoc`'s contract stands the actual initial state (only
8
+ the root block — no auto first paragraph).
9
+
3
10
  ## 0.1.0
4
11
 
5
12
  ### Added
package/README.md CHANGED
@@ -56,8 +56,9 @@ silently.
56
56
 
57
57
  ## The Doc
58
58
 
59
- `createDoc(options?)` builds a document with a root block and an empty,
60
- editable first paragraph. The other entry points:
59
+ `createDoc(options?)` builds a document with only the root block (an empty
60
+ page — no auto first paragraph; the react-ui editor guarantees the trailing
61
+ editable paragraph). The other entry points:
61
62
 
62
63
  - `fromJSON(json)` — build a `Doc` from a JSON snapshot.
63
64
  - `loadDoc(bytes)` — build a `Doc` from an encoded full state (a base
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docblocks-core",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Headless CRDT document engine: schema v1, Doc (commands/transactions/undo), sync providers. Yjs-based, zero UI dependencies.",
5
5
  "type": "module",
6
6
  "license": "MIT",