@pluv/react 0.32.2 → 0.32.3
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 +10 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -2
- package/dist/index.mjs +3 -2
- package/package.json +8 -8
- package/src/index.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @pluv/react@0.32.
|
|
2
|
+
> @pluv/react@0.32.3 build /home/runner/work/pluv/pluv/packages/react
|
|
3
3
|
> tsup src/index.ts --format esm,cjs --dts --external react
|
|
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
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m11.50 KB[39m
|
|
12
|
+
[32mESM[39m ⚡️ Build success in 86ms
|
|
13
|
+
[32mCJS[39m [1mdist/index.js [22m[32m13.97 KB[39m
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 93ms
|
|
15
15
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
17
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[32m5.
|
|
18
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m5.
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 5851ms
|
|
17
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m5.55 KB[39m
|
|
18
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m5.55 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @pluv/react
|
|
2
2
|
|
|
3
|
+
## 0.32.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 75e992f: Export `register` helper in `@pluv/react`.
|
|
8
|
+
- Updated dependencies [b18230f]
|
|
9
|
+
- @pluv/client@0.32.3
|
|
10
|
+
- @pluv/crdt@0.32.3
|
|
11
|
+
- @pluv/types@0.32.3
|
|
12
|
+
|
|
3
13
|
## 0.32.2
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PluvRoomDebug, PluvRouterEventConfig, MergeEvents, PluvClient, WebSocketConnection, UserInfo, AbstractRoom, MockedRoomEvents, PluvRoomAddon, PluvRouter } from '@pluv/client';
|
|
2
|
-
export { ConnectionState, createClient } from '@pluv/client';
|
|
2
|
+
export { ConnectionState, createClient, register } from '@pluv/client';
|
|
3
3
|
import { CrdtType, AbstractCrdtDoc, InferCrdtJson } from '@pluv/crdt';
|
|
4
4
|
export { CrdtType, InferCrdtJson } from '@pluv/crdt';
|
|
5
5
|
import { IOLike, JsonObject, Id, InferIOOutput, IOEventMessage, InferIOInput } from '@pluv/types';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PluvRoomDebug, PluvRouterEventConfig, MergeEvents, PluvClient, WebSocketConnection, UserInfo, AbstractRoom, MockedRoomEvents, PluvRoomAddon, PluvRouter } from '@pluv/client';
|
|
2
|
-
export { ConnectionState, createClient } from '@pluv/client';
|
|
2
|
+
export { ConnectionState, createClient, register } from '@pluv/client';
|
|
3
3
|
import { CrdtType, AbstractCrdtDoc, InferCrdtJson } from '@pluv/crdt';
|
|
4
4
|
export { CrdtType, InferCrdtJson } from '@pluv/crdt';
|
|
5
5
|
import { IOLike, JsonObject, Id, InferIOOutput, IOEventMessage, InferIOInput } from '@pluv/types';
|
package/dist/index.js
CHANGED
|
@@ -32,7 +32,8 @@ var src_exports = {};
|
|
|
32
32
|
__export(src_exports, {
|
|
33
33
|
ConnectionState: () => import_client2.ConnectionState,
|
|
34
34
|
createBundle: () => createBundle,
|
|
35
|
-
createClient: () => import_client2.createClient
|
|
35
|
+
createClient: () => import_client2.createClient,
|
|
36
|
+
register: () => import_client2.register
|
|
36
37
|
});
|
|
37
38
|
module.exports = __toCommonJS(src_exports);
|
|
38
39
|
var import_client2 = require("@pluv/client");
|
|
@@ -399,5 +400,6 @@ var createBundle = (client, options = {}) => {
|
|
|
399
400
|
0 && (module.exports = {
|
|
400
401
|
ConnectionState,
|
|
401
402
|
createBundle,
|
|
402
|
-
createClient
|
|
403
|
+
createClient,
|
|
404
|
+
register
|
|
403
405
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/index.ts
|
|
2
|
-
import { ConnectionState, createClient } from "@pluv/client";
|
|
2
|
+
import { ConnectionState, createClient, register } from "@pluv/client";
|
|
3
3
|
|
|
4
4
|
// src/createBundle.tsx
|
|
5
5
|
import { MockedRoom } from "@pluv/client";
|
|
@@ -362,5 +362,6 @@ var createBundle = (client, options = {}) => {
|
|
|
362
362
|
export {
|
|
363
363
|
ConnectionState,
|
|
364
364
|
createBundle,
|
|
365
|
-
createClient
|
|
365
|
+
createClient,
|
|
366
|
+
register
|
|
366
367
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pluv/react",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.3",
|
|
4
4
|
"description": "@pluv/client React.js bindings",
|
|
5
5
|
"author": "leedavidcs",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,22 +18,22 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"fast-deep-equal": "^3.1.3",
|
|
21
|
-
"@pluv/client": "^0.32.
|
|
22
|
-
"@pluv/crdt": "^0.32.
|
|
23
|
-
"@pluv/types": "^0.32.
|
|
21
|
+
"@pluv/client": "^0.32.3",
|
|
22
|
+
"@pluv/crdt": "^0.32.3",
|
|
23
|
+
"@pluv/types": "^0.32.3"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"@types/react": "^18.0.0",
|
|
27
27
|
"react": "^18.0.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@types/react": "^18.3.
|
|
30
|
+
"@types/react": "^18.3.11",
|
|
31
31
|
"eslint": "^8.57.0",
|
|
32
32
|
"react": "^18.3.1",
|
|
33
33
|
"tsup": "^8.3.0",
|
|
34
|
-
"typescript": "^5.6.
|
|
35
|
-
"@pluv/tsconfig": "^0.32.
|
|
36
|
-
"eslint-config-pluv": "^0.32.
|
|
34
|
+
"typescript": "^5.6.3",
|
|
35
|
+
"@pluv/tsconfig": "^0.32.3",
|
|
36
|
+
"eslint-config-pluv": "^0.32.3"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "tsup src/index.ts --format esm,cjs --dts --external react",
|
package/src/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ConnectionState, createClient } from "@pluv/client";
|
|
1
|
+
export { ConnectionState, createClient, register } from "@pluv/client";
|
|
2
2
|
export type { CrdtType, InferCrdtJson } from "@pluv/crdt";
|
|
3
3
|
export type { BaseUser, EventMessage, EventRecord, IOEventMessage } from "@pluv/types";
|
|
4
4
|
export { createBundle } from "./createBundle";
|