@pluv/react 0.12.1 → 0.12.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.12.1 build /home/runner/work/pluv/pluv/packages/react
2
+ > @pluv/react@0.12.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 v7.2.0
7
+ CLI tsup v8.0.1
8
8
  CLI Target: es6
9
9
  ESM Build start
10
10
  CJS Build start
11
11
  CJS dist/index.js 12.46 KB
12
- CJS ⚡️ Build success in 102ms
12
+ CJS ⚡️ Build success in 96ms
13
13
  ESM dist/index.mjs 9.88 KB
14
- ESM ⚡️ Build success in 102ms
14
+ ESM ⚡️ Build success in 108ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 7343ms
17
- DTS dist/index.d.mts 4.71 KB
18
- DTS dist/index.d.ts 4.71 KB
16
+ DTS ⚡️ Build success in 4516ms
17
+ DTS dist/index.d.mts 4.74 KB
18
+ DTS dist/index.d.ts 4.74 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @pluv/react
2
2
 
3
+ ## 0.12.3
4
+
5
+ ### Patch Changes
6
+
7
+ - da9f600: Upgraded dependencies
8
+ - Updated dependencies [da9f600]
9
+ - @pluv/client@0.12.3
10
+ - @pluv/types@0.12.3
11
+
12
+ ## 0.12.2
13
+
14
+ ### Patch Changes
15
+
16
+ - 259a7da: Bumped dependencies
17
+
3
18
  ## 0.12.1
4
19
 
5
20
  ### Patch Changes
@@ -226,12 +241,12 @@
226
241
  const transact = usePluvTransact();
227
242
 
228
243
  transact(() => {
229
- sharedType?.push(["hello world!"]);
244
+ sharedType.push(["hello world!"]);
230
245
  });
231
246
 
232
247
  // This will also be undoable because `"user-123"` is a tracked origin.
233
248
  transact(() => {
234
- sharedType?.push(["hello world!"]);
249
+ sharedType.push(["hello world!"]);
235
250
  }, "user-123");
236
251
 
237
252
  /**
package/dist/index.d.mts CHANGED
@@ -63,4 +63,4 @@ interface CreateBundle<TIO extends IOLike> {
63
63
  }
64
64
  declare const createBundle: <TIO extends IOLike<_pluv_types.IOAuthorize<any, any>, {}, {}, {}, {}>>(client: PluvClient<TIO>) => CreateBundle<TIO>;
65
65
 
66
- export { CreateBundle, CreateRoomBundle, CreateRoomBundleOptions, PluvProviderProps, PluvRoomProviderProps, SubscriptionHookOptions, createBundle };
66
+ export { type CreateBundle, type CreateRoomBundle, type CreateRoomBundleOptions, type PluvProviderProps, type PluvRoomProviderProps, type SubscriptionHookOptions, createBundle };
package/dist/index.d.ts CHANGED
@@ -63,4 +63,4 @@ interface CreateBundle<TIO extends IOLike> {
63
63
  }
64
64
  declare const createBundle: <TIO extends IOLike<_pluv_types.IOAuthorize<any, any>, {}, {}, {}, {}>>(client: PluvClient<TIO>) => CreateBundle<TIO>;
65
65
 
66
- export { CreateBundle, CreateRoomBundle, CreateRoomBundleOptions, PluvProviderProps, PluvRoomProviderProps, SubscriptionHookOptions, createBundle };
66
+ export { type CreateBundle, type CreateRoomBundle, type CreateRoomBundleOptions, 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.12.1",
3
+ "version": "0.12.3",
4
4
  "description": "@pluv/client React.js bindings",
5
5
  "author": "leedavidcs",
6
6
  "license": "MIT",
@@ -17,25 +17,25 @@
17
17
  "access": "public"
18
18
  },
19
19
  "dependencies": {
20
- "@types/react": "18.2.23",
21
- "@types/use-sync-external-store": "^0.0.4",
20
+ "@types/react": "^18.2.41",
21
+ "@types/use-sync-external-store": "^0.0.6",
22
22
  "fast-deep-equal": "^3.1.3",
23
23
  "use-sync-external-store": "^1.2.0",
24
- "@pluv/client": "^0.12.1",
25
- "@pluv/types": "^0.12.1"
24
+ "@pluv/client": "^0.12.3",
25
+ "@pluv/types": "^0.12.3"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": "^17.0.0 || ^18.0.0",
29
29
  "yjs": "^13.0.0"
30
30
  },
31
31
  "devDependencies": {
32
- "eslint": "^8.50.0",
33
- "react": "18.2.0",
34
- "tsup": "^7.2.0",
32
+ "eslint": "^8.55.0",
33
+ "react": "^18.2.0",
34
+ "tsup": "^8.0.1",
35
35
  "typescript": "^5.2.2",
36
- "yjs": "^13.6.8",
37
- "@pluv/tsconfig": "^0.12.1",
38
- "eslint-config-pluv": "^0.12.1"
36
+ "yjs": "^13.6.10",
37
+ "@pluv/tsconfig": "^0.12.3",
38
+ "eslint-config-pluv": "^0.12.3"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "tsup src/index.ts --format esm,cjs --dts --external react",