@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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @pluv/react@0.32.2 build /home/runner/work/pluv/pluv/packages/react
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
  CLI Building entry: src/index.ts
@@ -8,11 +8,11 @@
8
8
  CLI Target: es6
9
9
  ESM Build start
10
10
  CJS Build start
11
- CJS dist/index.js 13.92 KB
12
- CJS ⚡️ Build success in 108ms
13
- ESM dist/index.mjs 11.47 KB
14
- ESM ⚡️ Build success in 122ms
11
+ ESM dist/index.mjs 11.50 KB
12
+ ESM ⚡️ Build success in 86ms
13
+ CJS dist/index.js 13.97 KB
14
+ CJS ⚡️ Build success in 93ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 6024ms
17
- DTS dist/index.d.mts 5.54 KB
18
- DTS dist/index.d.ts 5.54 KB
16
+ DTS ⚡️ Build success in 5851ms
17
+ DTS dist/index.d.mts 5.55 KB
18
+ DTS dist/index.d.ts 5.55 KB
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.2",
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.2",
22
- "@pluv/crdt": "^0.32.2",
23
- "@pluv/types": "^0.32.2"
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.10",
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.2",
35
- "@pluv/tsconfig": "^0.32.2",
36
- "eslint-config-pluv": "^0.32.2"
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";