@pluv/react 0.12.1 → 0.12.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,18 +1,18 @@
1
1
 
2
- > @pluv/react@0.12.1 build /home/runner/work/pluv/pluv/packages/react
2
+ > @pluv/react@0.12.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
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 90ms
13
13
  ESM dist/index.mjs 9.88 KB
14
- ESM ⚡️ Build success in 102ms
14
+ ESM ⚡️ Build success in 112ms
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 4361ms
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,11 @@
1
1
  # @pluv/react
2
2
 
3
+ ## 0.12.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 259a7da: Bumped dependencies
8
+
3
9
  ## 0.12.1
4
10
 
5
11
  ### Patch Changes
@@ -226,12 +232,12 @@
226
232
  const transact = usePluvTransact();
227
233
 
228
234
  transact(() => {
229
- sharedType?.push(["hello world!"]);
235
+ sharedType.push(["hello world!"]);
230
236
  });
231
237
 
232
238
  // This will also be undoable because `"user-123"` is a tracked origin.
233
239
  transact(() => {
234
- sharedType?.push(["hello world!"]);
240
+ sharedType.push(["hello world!"]);
235
241
  }, "user-123");
236
242
 
237
243
  /**
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.2",
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.38",
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.2",
25
+ "@pluv/types": "^0.12.2"
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.54.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.2",
38
+ "eslint-config-pluv": "^0.12.2"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "tsup src/index.ts --format esm,cjs --dts --external react",