@pluv/react 0.20.0 → 0.21.0

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.20.0 build /home/runner/work/pluv/pluv/packages/react
2
+ > @pluv/react@0.21.0 build /home/runner/work/pluv/pluv/packages/react
3
3
  > tsup src/index.ts --format esm,cjs --dts --external react
4
4
 
5
- CLI Building entry: src/index.ts
6
- CLI Using tsconfig: tsconfig.json
7
- CLI tsup v8.1.0
8
- CLI Target: es6
9
- ESM Build start
10
- CJS Build start
11
- CJS dist/index.js 14.27 KB
12
- CJS ⚡️ Build success in 64ms
13
- ESM dist/index.mjs 11.87 KB
14
- ESM ⚡️ Build success in 67ms
15
- DTS Build start
16
- DTS ⚡️ Build success in 4545ms
17
- DTS dist/index.d.mts 5.26 KB
18
- DTS dist/index.d.ts 5.26 KB
5
+ CLI Building entry: src/index.ts
6
+ CLI Using tsconfig: tsconfig.json
7
+ CLI tsup v8.2.4
8
+ CLI Target: es6
9
+ ESM Build start
10
+ CJS Build start
11
+ ESM dist/index.mjs 11.87 KB
12
+ ESM ⚡️ Build success in 103ms
13
+ CJS dist/index.js 14.27 KB
14
+ CJS ⚡️ Build success in 106ms
15
+ DTS Build start
16
+ DTS ⚡️ Build success in 4500ms
17
+ DTS dist/index.d.mts 5.17 KB
18
+ DTS dist/index.d.ts 5.17 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @pluv/react
2
2
 
3
+ ## 0.21.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [b98ab6b]
8
+ - @pluv/client@0.21.0
9
+ - @pluv/crdt@0.21.0
10
+ - @pluv/types@0.21.0
11
+
3
12
  ## 0.20.0
4
13
 
5
14
  ### Minor Changes
package/dist/index.d.mts CHANGED
@@ -2,7 +2,6 @@ import { PluvRoomAddon, PluvRoomDebug, WebSocketConnection, UserInfo, AbstractRo
2
2
  export { ConnectionState, createClient } from '@pluv/client';
3
3
  import { CrdtType, AbstractCrdtDocFactory, AbstractCrdtDoc, InferCrdtJson } from '@pluv/crdt';
4
4
  export { CrdtType, InferCrdtJson } from '@pluv/crdt';
5
- import * as _pluv_types from '@pluv/types';
6
5
  import { IOLike, JsonObject, InputZodLike, Id, InferIOOutput, IOEventMessage, InferIOInput } from '@pluv/types';
7
6
  export { BaseUser, EventMessage, EventRecord, IOEventMessage } from '@pluv/types';
8
7
  import { FC, Dispatch, ReactNode } from 'react';
@@ -70,6 +69,6 @@ interface CreateBundle<TIO extends IOLike> {
70
69
  PluvProvider: FC<PluvProviderProps>;
71
70
  useClient: () => PluvClient<TIO>;
72
71
  }
73
- declare const createBundle: <TIO extends IOLike<_pluv_types.IOAuthorize<any, any, any>, {}>>(client: PluvClient<TIO>) => CreateBundle<TIO>;
72
+ declare const createBundle: <TIO extends IOLike>(client: PluvClient<TIO>) => CreateBundle<TIO>;
74
73
 
75
74
  export { type CreateBundle, type CreateRoomBundle, type CreateRoomBundleOptions, type InferRoomStorage, type PluvProviderProps, type PluvRoomProviderProps, type SubscriptionHookOptions, createBundle };
package/dist/index.d.ts CHANGED
@@ -2,7 +2,6 @@ import { PluvRoomAddon, PluvRoomDebug, WebSocketConnection, UserInfo, AbstractRo
2
2
  export { ConnectionState, createClient } from '@pluv/client';
3
3
  import { CrdtType, AbstractCrdtDocFactory, AbstractCrdtDoc, InferCrdtJson } from '@pluv/crdt';
4
4
  export { CrdtType, InferCrdtJson } from '@pluv/crdt';
5
- import * as _pluv_types from '@pluv/types';
6
5
  import { IOLike, JsonObject, InputZodLike, Id, InferIOOutput, IOEventMessage, InferIOInput } from '@pluv/types';
7
6
  export { BaseUser, EventMessage, EventRecord, IOEventMessage } from '@pluv/types';
8
7
  import { FC, Dispatch, ReactNode } from 'react';
@@ -70,6 +69,6 @@ interface CreateBundle<TIO extends IOLike> {
70
69
  PluvProvider: FC<PluvProviderProps>;
71
70
  useClient: () => PluvClient<TIO>;
72
71
  }
73
- declare const createBundle: <TIO extends IOLike<_pluv_types.IOAuthorize<any, any, any>, {}>>(client: PluvClient<TIO>) => CreateBundle<TIO>;
72
+ declare const createBundle: <TIO extends IOLike>(client: PluvClient<TIO>) => CreateBundle<TIO>;
74
73
 
75
74
  export { type CreateBundle, type CreateRoomBundle, type CreateRoomBundleOptions, type InferRoomStorage, 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.20.0",
3
+ "version": "0.21.0",
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.20.0",
22
- "@pluv/crdt": "^0.20.0",
23
- "@pluv/types": "^0.20.0"
21
+ "@pluv/client": "^0.21.0",
22
+ "@pluv/crdt": "^0.21.0",
23
+ "@pluv/types": "^0.21.0"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "@types/react": "^18.0.0",
@@ -30,10 +30,10 @@
30
30
  "@types/react": "^18.3.3",
31
31
  "eslint": "^8.57.0",
32
32
  "react": "^18.3.1",
33
- "tsup": "^8.1.0",
34
- "typescript": "^5.4.5",
35
- "@pluv/tsconfig": "^0.20.0",
36
- "eslint-config-pluv": "^0.20.0"
33
+ "tsup": "^8.2.4",
34
+ "typescript": "^5.5.4",
35
+ "@pluv/tsconfig": "^0.21.0",
36
+ "eslint-config-pluv": "^0.21.0"
37
37
  },
38
38
  "scripts": {
39
39
  "build": "tsup src/index.ts --format esm,cjs --dts --external react",