@pluv/client 0.9.1 → 0.9.2
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 +8 -8
- package/CHANGELOG.md +22 -0
- package/dist/index.d.mts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +4 -1
- package/dist/index.mjs +13 -2
- package/package.json +5 -5
- package/src/y.ts +9 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @pluv/client@0.9.
|
|
2
|
+
> @pluv/client@0.9.2 build /home/runner/work/pluv/pluv/packages/client
|
|
3
3
|
> tsup src/index.ts --format esm,cjs --dts
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
[34mCLI[39m Target: es6
|
|
9
9
|
[34mESM[39m Build start
|
|
10
10
|
[34mCJS[39m Build start
|
|
11
|
-
[
|
|
12
|
-
[
|
|
13
|
-
[
|
|
14
|
-
[
|
|
11
|
+
[32mCJS[39m [1mdist/index.js [22m[32m40.37 KB[39m
|
|
12
|
+
[32mCJS[39m ⚡️ Build success in 91ms
|
|
13
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m39.16 KB[39m
|
|
14
|
+
[32mESM[39m ⚡️ Build success in 92ms
|
|
15
15
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
17
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[
|
|
18
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 4611ms
|
|
17
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m13.18 KB[39m
|
|
18
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m13.18 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @pluv/client
|
|
2
2
|
|
|
3
|
+
## 0.9.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f4317ba: \* Renamed type `unstable_YObjectValue` to `YObjectValue`;
|
|
8
|
+
|
|
9
|
+
- Renamed type `unstable_YObject` to `YObject`.
|
|
10
|
+
- Re-exported `xmlElement`, `xmlFragment` and `xmlText` from `@pluv/client`.
|
|
11
|
+
|
|
12
|
+
```ts
|
|
13
|
+
import { y } from "@pluv/client";
|
|
14
|
+
// or
|
|
15
|
+
import { y } from "@pluv/react";
|
|
16
|
+
|
|
17
|
+
y.xmlElement("MyElement", {});
|
|
18
|
+
y.xmlFragment({});
|
|
19
|
+
y.xmlText("hello world");
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
- Updated dependencies [f4317ba]
|
|
23
|
+
- @pluv/crdt-yjs@0.4.2
|
|
24
|
+
|
|
3
25
|
## 0.9.1
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InferYjsSharedTypeJson, array, map, object, text } from '@pluv/crdt-yjs';
|
|
1
|
+
import { InferYjsSharedTypeJson, array, map, object, text, xmlElement, xmlFragment, xmlText } from '@pluv/crdt-yjs';
|
|
2
2
|
export { InferYjsSharedTypeJson } from '@pluv/crdt-yjs';
|
|
3
3
|
import * as _pluv_types from '@pluv/types';
|
|
4
4
|
import { IOLike, InferIOOutput, Id, IOEventMessage, JsonObject, InferIOAuthorizeUser, InferIOAuthorize, InferIOInput, InputZodLike, InferIOAuthorizeRequired } from '@pluv/types';
|
|
@@ -261,12 +261,18 @@ declare const y_array: typeof array;
|
|
|
261
261
|
declare const y_map: typeof map;
|
|
262
262
|
declare const y_object: typeof object;
|
|
263
263
|
declare const y_text: typeof text;
|
|
264
|
+
declare const y_xmlElement: typeof xmlElement;
|
|
265
|
+
declare const y_xmlFragment: typeof xmlFragment;
|
|
266
|
+
declare const y_xmlText: typeof xmlText;
|
|
264
267
|
declare namespace y {
|
|
265
268
|
export {
|
|
266
269
|
y_array as array,
|
|
267
270
|
y_map as map,
|
|
268
271
|
y_object as object,
|
|
269
272
|
y_text as text,
|
|
273
|
+
y_xmlElement as xmlElement,
|
|
274
|
+
y_xmlFragment as xmlFragment,
|
|
275
|
+
y_xmlText as xmlText,
|
|
270
276
|
};
|
|
271
277
|
}
|
|
272
278
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InferYjsSharedTypeJson, array, map, object, text } from '@pluv/crdt-yjs';
|
|
1
|
+
import { InferYjsSharedTypeJson, array, map, object, text, xmlElement, xmlFragment, xmlText } from '@pluv/crdt-yjs';
|
|
2
2
|
export { InferYjsSharedTypeJson } from '@pluv/crdt-yjs';
|
|
3
3
|
import * as _pluv_types from '@pluv/types';
|
|
4
4
|
import { IOLike, InferIOOutput, Id, IOEventMessage, JsonObject, InferIOAuthorizeUser, InferIOAuthorize, InferIOInput, InputZodLike, InferIOAuthorizeRequired } from '@pluv/types';
|
|
@@ -261,12 +261,18 @@ declare const y_array: typeof array;
|
|
|
261
261
|
declare const y_map: typeof map;
|
|
262
262
|
declare const y_object: typeof object;
|
|
263
263
|
declare const y_text: typeof text;
|
|
264
|
+
declare const y_xmlElement: typeof xmlElement;
|
|
265
|
+
declare const y_xmlFragment: typeof xmlFragment;
|
|
266
|
+
declare const y_xmlText: typeof xmlText;
|
|
264
267
|
declare namespace y {
|
|
265
268
|
export {
|
|
266
269
|
y_array as array,
|
|
267
270
|
y_map as map,
|
|
268
271
|
y_object as object,
|
|
269
272
|
y_text as text,
|
|
273
|
+
y_xmlElement as xmlElement,
|
|
274
|
+
y_xmlFragment as xmlFragment,
|
|
275
|
+
y_xmlText as xmlText,
|
|
270
276
|
};
|
|
271
277
|
}
|
|
272
278
|
|
package/dist/index.js
CHANGED
|
@@ -1332,7 +1332,10 @@ __export(y_exports, {
|
|
|
1332
1332
|
array: () => import_crdt_yjs2.array,
|
|
1333
1333
|
map: () => import_crdt_yjs2.map,
|
|
1334
1334
|
object: () => import_crdt_yjs2.object,
|
|
1335
|
-
text: () => import_crdt_yjs2.text
|
|
1335
|
+
text: () => import_crdt_yjs2.text,
|
|
1336
|
+
xmlElement: () => import_crdt_yjs2.xmlElement,
|
|
1337
|
+
xmlFragment: () => import_crdt_yjs2.xmlFragment,
|
|
1338
|
+
xmlText: () => import_crdt_yjs2.xmlText
|
|
1336
1339
|
});
|
|
1337
1340
|
var import_crdt_yjs2 = require("@pluv/crdt-yjs");
|
|
1338
1341
|
// Annotate the CommonJS export names for ESM import in node:
|
package/dist/index.mjs
CHANGED
|
@@ -1306,9 +1306,20 @@ __export(y_exports, {
|
|
|
1306
1306
|
array: () => array,
|
|
1307
1307
|
map: () => map,
|
|
1308
1308
|
object: () => object,
|
|
1309
|
-
text: () => text
|
|
1309
|
+
text: () => text,
|
|
1310
|
+
xmlElement: () => xmlElement,
|
|
1311
|
+
xmlFragment: () => xmlFragment,
|
|
1312
|
+
xmlText: () => xmlText
|
|
1310
1313
|
});
|
|
1311
|
-
import {
|
|
1314
|
+
import {
|
|
1315
|
+
array,
|
|
1316
|
+
map,
|
|
1317
|
+
object,
|
|
1318
|
+
text,
|
|
1319
|
+
xmlElement,
|
|
1320
|
+
xmlFragment,
|
|
1321
|
+
xmlText
|
|
1322
|
+
} from "@pluv/crdt-yjs";
|
|
1312
1323
|
export {
|
|
1313
1324
|
AbstractRoom,
|
|
1314
1325
|
AbstractStorageStore,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pluv/client",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
4
4
|
"description": "@pluv/io frontend client",
|
|
5
5
|
"author": "leedavidcs",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@types/react": "^18.2.15",
|
|
21
|
-
"wonka": "^6.3.
|
|
22
|
-
"@pluv/crdt-yjs": "^0.4.
|
|
21
|
+
"wonka": "^6.3.3",
|
|
22
|
+
"@pluv/crdt-yjs": "^0.4.2",
|
|
23
23
|
"@pluv/types": "^0.2.2"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"tsup": "^7.1.0",
|
|
30
30
|
"typescript": "^5.1.6",
|
|
31
|
-
"yjs": "^13.6.
|
|
32
|
-
"@pluv/tsconfig": "^0.
|
|
31
|
+
"yjs": "^13.6.7",
|
|
32
|
+
"@pluv/tsconfig": "^0.2.0",
|
|
33
33
|
"eslint-config-pluv": "^0.1.14"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|