@pluv/crdt-loro 3.0.0 → 3.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @pluv/crdt-loro@3.0.0 build /home/runner/work/pluv/pluv/packages/crdt-loro
2
+ > @pluv/crdt-loro@3.1.1 build /home/runner/work/pluv/pluv/packages/crdt-loro
3
3
  > tsup src/index.ts --format esm,cjs --dts
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -9,10 +9,10 @@
9
9
  ESM Build start
10
10
  CJS Build start
11
11
  CJS dist/index.js 11.17 KB
12
- CJS ⚡️ Build success in 97ms
12
+ CJS ⚡️ Build success in 94ms
13
13
  ESM dist/index.mjs 10.11 KB
14
- ESM ⚡️ Build success in 106ms
14
+ ESM ⚡️ Build success in 101ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 4117ms
17
- DTS dist/index.d.mts 4.60 KB
18
- DTS dist/index.d.ts 4.60 KB
16
+ DTS ⚡️ Build success in 4284ms
17
+ DTS dist/index.d.mts 4.65 KB
18
+ DTS dist/index.d.ts 4.65 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @pluv/crdt-loro
2
2
 
3
+ ## 3.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - @pluv/crdt@3.1.1
8
+ - @pluv/types@3.1.1
9
+
10
+ ## 3.1.0
11
+
12
+ ### Patch Changes
13
+
14
+ - @pluv/crdt@3.1.0
15
+ - @pluv/types@3.1.0
16
+
3
17
  ## 3.0.0
4
18
 
5
19
  ### Major Changes
package/dist/index.d.mts CHANGED
@@ -91,4 +91,6 @@ declare namespace loro {
91
91
  export { loro_CrdtLoroDoc as CrdtLoroDoc, type loro_LoroBuilder as LoroBuilder, type loro_LoroType as LoroType, loro_counter as counter, loro_doc as doc, loro_kind as kind, loro_list as list, loro_map as map, loro_movableList as movableList, loro_object as object, loro_text as text, loro_tree as tree };
92
92
  }
93
93
 
94
- export { loro };
94
+ type LoroLibraryType = typeof loro;
95
+
96
+ export { type LoroLibraryType, loro };
package/dist/index.d.ts CHANGED
@@ -91,4 +91,6 @@ declare namespace loro {
91
91
  export { loro_CrdtLoroDoc as CrdtLoroDoc, type loro_LoroBuilder as LoroBuilder, type loro_LoroType as LoroType, loro_counter as counter, loro_doc as doc, loro_kind as kind, loro_list as list, loro_map as map, loro_movableList as movableList, loro_object as object, loro_text as text, loro_tree as tree };
92
92
  }
93
93
 
94
- export { loro };
94
+ type LoroLibraryType = typeof loro;
95
+
96
+ export { type LoroLibraryType, loro };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pluv/crdt-loro",
3
- "version": "3.0.0",
3
+ "version": "3.1.1",
4
4
  "description": "loro for @pluv/io",
5
5
  "author": "leedavidcs",
6
6
  "license": "MIT",
@@ -19,8 +19,8 @@
19
19
  "dependencies": {
20
20
  "@types/node": "^22.15.21",
21
21
  "js-base64": "^3.7.7",
22
- "@pluv/crdt": "^3.0.0",
23
- "@pluv/types": "^3.0.0"
22
+ "@pluv/crdt": "^3.1.1",
23
+ "@pluv/types": "^3.1.1"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "loro-crdt": "^1.0.0"
@@ -30,8 +30,8 @@
30
30
  "loro-crdt": "^1.5.6",
31
31
  "tsup": "^8.5.0",
32
32
  "typescript": "^5.8.3",
33
- "@pluv/tsconfig": "^3.0.0",
34
- "eslint-config-pluv": "^3.0.0"
33
+ "@pluv/tsconfig": "^3.1.1",
34
+ "eslint-config-pluv": "^3.1.1"
35
35
  },
36
36
  "scripts": {
37
37
  "build": "tsup src/index.ts --format esm,cjs --dts",
package/src/index.ts CHANGED
@@ -1 +1,5 @@
1
+ import * as loro from "./loro";
2
+
1
3
  export * as loro from "./loro";
4
+
5
+ export type LoroLibraryType = typeof loro;