@pluv/types 3.1.7 → 3.2.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/.turbo/turbo-build.log +6 -6
- package/CHANGELOG.md +4 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/package.json +9 -5
- package/src/pluv/crdt.ts +1 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @pluv/types@3.1
|
|
2
|
+
> @pluv/types@3.2.1 build /home/runner/work/pluv/pluv/packages/types
|
|
3
3
|
> tsup src/index.ts --format esm,cjs --dts
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
[34mESM[39m Build start
|
|
10
10
|
[34mCJS[39m Build start
|
|
11
11
|
[32mESM[39m [1mdist/index.mjs [22m[32m330.00 B[39m
|
|
12
|
-
[32mESM[39m ⚡️ Build success in
|
|
12
|
+
[32mESM[39m ⚡️ Build success in 40ms
|
|
13
13
|
[32mCJS[39m [1mdist/index.js [22m[32m1.37 KB[39m
|
|
14
|
-
[32mCJS[39m ⚡️ Build success in
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 40ms
|
|
15
15
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
17
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[32m19.
|
|
18
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m19.
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 1364ms
|
|
17
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m19.42 KB[39m
|
|
18
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m19.42 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# @pluv/types
|
|
2
2
|
|
|
3
|
+
## 3.2.1
|
|
4
|
+
|
|
5
|
+
## 3.2.0
|
|
6
|
+
|
|
3
7
|
## 3.1.7
|
|
4
8
|
|
|
5
9
|
## 3.1.6
|
|
@@ -241,7 +245,6 @@
|
|
|
241
245
|
### Minor Changes
|
|
242
246
|
|
|
243
247
|
- 99b5ca9: ## Breaking Changes
|
|
244
|
-
|
|
245
248
|
- `@pluv/io` has been updated to introduce `PluvProcedure`, `PluvRouter` and `PluvServer`. This change is intended to improve the ergonomics of declaring events and simplifying inferences of event types.
|
|
246
249
|
|
|
247
250
|
### Before:
|
package/dist/index.d.mts
CHANGED
|
@@ -50,6 +50,7 @@ interface CrdtDocFactory<TDoc extends any, TStorage extends Record<string, CrdtT
|
|
|
50
50
|
getEmpty(): CrdtDocLike<TDoc, TStorage>;
|
|
51
51
|
getFactory(initialStorage?: (builder: any) => TStorage): CrdtDocFactory<TDoc, TStorage>;
|
|
52
52
|
getInitialized(initialStorage?: (builder: any) => TStorage): CrdtDocLike<TDoc, TStorage>;
|
|
53
|
+
isEmpty(initialStorage: Maybe<string>): boolean;
|
|
53
54
|
}
|
|
54
55
|
interface CrdtLibraryType<TDoc extends CrdtDocFactory<any, any> = CrdtDocFactory<any, any>> {
|
|
55
56
|
doc: (value: any) => TDoc;
|
package/dist/index.d.ts
CHANGED
|
@@ -50,6 +50,7 @@ interface CrdtDocFactory<TDoc extends any, TStorage extends Record<string, CrdtT
|
|
|
50
50
|
getEmpty(): CrdtDocLike<TDoc, TStorage>;
|
|
51
51
|
getFactory(initialStorage?: (builder: any) => TStorage): CrdtDocFactory<TDoc, TStorage>;
|
|
52
52
|
getInitialized(initialStorage?: (builder: any) => TStorage): CrdtDocLike<TDoc, TStorage>;
|
|
53
|
+
isEmpty(initialStorage: Maybe<string>): boolean;
|
|
53
54
|
}
|
|
54
55
|
interface CrdtLibraryType<TDoc extends CrdtDocFactory<any, any> = CrdtDocFactory<any, any>> {
|
|
55
56
|
doc: (value: any) => TDoc;
|
package/package.json
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pluv/types",
|
|
3
|
-
"version": "3.1
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"description": "@pluv/io shared types",
|
|
5
|
-
"author":
|
|
5
|
+
"author": {
|
|
6
|
+
"email": "david@pluv.io",
|
|
7
|
+
"name": "i3dly",
|
|
8
|
+
"url": "https://github.com/i3dly"
|
|
9
|
+
},
|
|
6
10
|
"license": "MIT",
|
|
7
11
|
"homepage": "https://github.com/pluv-io/pluv",
|
|
8
12
|
"repository": {
|
|
@@ -16,11 +20,11 @@
|
|
|
16
20
|
"access": "public"
|
|
17
21
|
},
|
|
18
22
|
"devDependencies": {
|
|
19
|
-
"eslint": "^9.
|
|
23
|
+
"eslint": "^9.31.0",
|
|
20
24
|
"tsup": "^8.5.0",
|
|
21
25
|
"typescript": "^5.8.3",
|
|
22
|
-
"@pluv/tsconfig": "^3.1
|
|
23
|
-
"eslint-config-pluv": "^3.1
|
|
26
|
+
"@pluv/tsconfig": "^3.2.1",
|
|
27
|
+
"eslint-config-pluv": "^3.2.1"
|
|
24
28
|
},
|
|
25
29
|
"dependencies": {
|
|
26
30
|
"wonka": "^6.3.5"
|
package/src/pluv/crdt.ts
CHANGED
|
@@ -8,6 +8,7 @@ export interface CrdtDocFactory<
|
|
|
8
8
|
getEmpty(): CrdtDocLike<TDoc, TStorage>;
|
|
9
9
|
getFactory(initialStorage?: (builder: any) => TStorage): CrdtDocFactory<TDoc, TStorage>;
|
|
10
10
|
getInitialized(initialStorage?: (builder: any) => TStorage): CrdtDocLike<TDoc, TStorage>;
|
|
11
|
+
isEmpty(initialStorage: Maybe<string>): boolean;
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
export interface CrdtLibraryType<TDoc extends CrdtDocFactory<any, any> = CrdtDocFactory<any, any>> {
|