@pluv/react 0.35.1 → 0.35.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,18 +1,18 @@
1
1
 
2
- > @pluv/react@0.35.1 build /home/runner/work/pluv/pluv/packages/react
2
+ > @pluv/react@0.35.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
6
6
  CLI Using tsconfig: tsconfig.json
7
- CLI tsup v8.3.5
7
+ CLI tsup v8.3.6
8
8
  CLI Target: es6
9
9
  ESM Build start
10
10
  CJS Build start
11
- ESM dist/index.mjs 11.50 KB
12
- ESM ⚡️ Build success in 121ms
13
11
  CJS dist/index.js 13.98 KB
14
- CJS ⚡️ Build success in 124ms
12
+ CJS ⚡️ Build success in 115ms
13
+ ESM dist/index.mjs 11.50 KB
14
+ ESM ⚡️ Build success in 122ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 5848ms
17
- DTS dist/index.d.mts 5.57 KB
18
- DTS dist/index.d.ts 5.57 KB
16
+ DTS ⚡️ Build success in 6695ms
17
+ DTS dist/index.d.mts 5.58 KB
18
+ DTS dist/index.d.ts 5.58 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @pluv/react
2
2
 
3
+ ## 0.35.3
4
+
5
+ ### Patch Changes
6
+
7
+ - @pluv/client@0.35.3
8
+ - @pluv/crdt@0.35.3
9
+ - @pluv/types@0.35.3
10
+
11
+ ## 0.35.2
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [81cb692]
16
+ - @pluv/types@0.35.2
17
+ - @pluv/client@0.35.2
18
+ - @pluv/crdt@0.35.2
19
+
3
20
  ## 0.35.1
4
21
 
5
22
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -67,6 +67,6 @@ type CreateBundleOptions<TIO extends IOLike, TMetadata extends JsonObject = {},
67
67
  addons?: readonly PluvRoomAddon<TIO, TMetadata, TPresence, TStorage>[];
68
68
  router?: PluvRouter<TIO, TPresence, TStorage, TEvents>;
69
69
  };
70
- declare const createBundle: <TIO extends IOLike, TMetadata extends JsonObject = {}, TPresence extends JsonObject = {}, TStorage extends Record<string, CrdtType<any, any>> = {}, TEvents extends PluvRouterEventConfig<TIO, TPresence, TStorage> = {}>(client: PluvClient<TIO, TPresence, TStorage, TMetadata>, options?: CreateBundleOptions<TIO, TMetadata, TPresence, TStorage, TEvents>) => CreateBundle<TIO, TMetadata, TPresence, TStorage, TEvents>;
70
+ declare const createBundle: <TIO extends IOLike<any, any>, TMetadata extends JsonObject = {}, TPresence extends JsonObject = {}, TStorage extends Record<string, CrdtType<any, any>> = {}, TEvents extends PluvRouterEventConfig<TIO, TPresence, TStorage> = {}>(client: PluvClient<TIO, TPresence, TStorage, TMetadata>, options?: CreateBundleOptions<TIO, TMetadata, TPresence, TStorage, TEvents>) => CreateBundle<TIO, TMetadata, TPresence, TStorage, TEvents>;
71
71
 
72
72
  export { type CreateBundle, type EventProxy, type PluvProviderProps, type PluvRoomProviderProps, type SubscriptionHookOptions, createBundle };
package/dist/index.d.ts CHANGED
@@ -67,6 +67,6 @@ type CreateBundleOptions<TIO extends IOLike, TMetadata extends JsonObject = {},
67
67
  addons?: readonly PluvRoomAddon<TIO, TMetadata, TPresence, TStorage>[];
68
68
  router?: PluvRouter<TIO, TPresence, TStorage, TEvents>;
69
69
  };
70
- declare const createBundle: <TIO extends IOLike, TMetadata extends JsonObject = {}, TPresence extends JsonObject = {}, TStorage extends Record<string, CrdtType<any, any>> = {}, TEvents extends PluvRouterEventConfig<TIO, TPresence, TStorage> = {}>(client: PluvClient<TIO, TPresence, TStorage, TMetadata>, options?: CreateBundleOptions<TIO, TMetadata, TPresence, TStorage, TEvents>) => CreateBundle<TIO, TMetadata, TPresence, TStorage, TEvents>;
70
+ declare const createBundle: <TIO extends IOLike<any, any>, TMetadata extends JsonObject = {}, TPresence extends JsonObject = {}, TStorage extends Record<string, CrdtType<any, any>> = {}, TEvents extends PluvRouterEventConfig<TIO, TPresence, TStorage> = {}>(client: PluvClient<TIO, TPresence, TStorage, TMetadata>, options?: CreateBundleOptions<TIO, TMetadata, TPresence, TStorage, TEvents>) => CreateBundle<TIO, TMetadata, TPresence, TStorage, TEvents>;
71
71
 
72
72
  export { type CreateBundle, type EventProxy, type PluvProviderProps, type PluvRoomProviderProps, type SubscriptionHookOptions, createBundle };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pluv/react",
3
- "version": "0.35.1",
3
+ "version": "0.35.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.35.1",
22
- "@pluv/crdt": "^0.35.1",
23
- "@pluv/types": "^0.35.1"
21
+ "@pluv/client": "^0.35.3",
22
+ "@pluv/crdt": "^0.35.3",
23
+ "@pluv/types": "^0.35.3"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "@types/react": "^18.0.0 || ^19.0.0",
27
27
  "react": "^18.0.0 || ^19.0.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@types/react": "^19.0.7",
30
+ "@types/react": "^19.0.8",
31
31
  "eslint": "^8.57.1",
32
32
  "react": "^19.0.0",
33
- "tsup": "^8.3.5",
33
+ "tsup": "^8.3.6",
34
34
  "typescript": "^5.7.3",
35
- "@pluv/tsconfig": "^0.35.1",
36
- "eslint-config-pluv": "^0.35.1"
35
+ "@pluv/tsconfig": "^0.35.3",
36
+ "eslint-config-pluv": "^0.35.3"
37
37
  },
38
38
  "scripts": {
39
39
  "build": "tsup src/index.ts --format esm,cjs --dts --external react",
@@ -138,7 +138,7 @@ export type CreateBundleOptions<
138
138
  };
139
139
 
140
140
  export const createBundle = <
141
- TIO extends IOLike,
141
+ TIO extends IOLike<any, any>,
142
142
  TMetadata extends JsonObject = {},
143
143
  TPresence extends JsonObject = {},
144
144
  TStorage extends Record<string, CrdtType<any, any>> = {},