@pluv/react 0.35.1 → 0.35.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @pluv/react@0.35.1 build /home/runner/work/pluv/pluv/packages/react
2
+ > @pluv/react@0.35.2 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
@@ -9,10 +9,10 @@
9
9
  ESM Build start
10
10
  CJS Build start
11
11
  ESM dist/index.mjs 11.50 KB
12
- ESM ⚡️ Build success in 121ms
12
+ ESM ⚡️ Build success in 105ms
13
13
  CJS dist/index.js 13.98 KB
14
- CJS ⚡️ Build success in 124ms
14
+ CJS ⚡️ Build success in 106ms
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 6239ms
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,14 @@
1
1
  # @pluv/react
2
2
 
3
+ ## 0.35.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [81cb692]
8
+ - @pluv/types@0.35.2
9
+ - @pluv/client@0.35.2
10
+ - @pluv/crdt@0.35.2
11
+
3
12
  ## 0.35.1
4
13
 
5
14
  ### 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.2",
4
4
  "description": "@pluv/client React.js bindings",
5
5
  "author": "leedavidcs",
6
6
  "license": "MIT",
@@ -18,9 +18,9 @@
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.2",
22
+ "@pluv/crdt": "^0.35.2",
23
+ "@pluv/types": "^0.35.2"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "@types/react": "^18.0.0 || ^19.0.0",
@@ -32,8 +32,8 @@
32
32
  "react": "^19.0.0",
33
33
  "tsup": "^8.3.5",
34
34
  "typescript": "^5.7.3",
35
- "@pluv/tsconfig": "^0.35.1",
36
- "eslint-config-pluv": "^0.35.1"
35
+ "@pluv/tsconfig": "^0.35.2",
36
+ "eslint-config-pluv": "^0.35.2"
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>> = {},