@instantdb/react 0.22.131 → 0.22.132

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instantdb/react",
3
- "version": "0.22.131",
3
+ "version": "0.22.132",
4
4
  "description": "Instant DB for React",
5
5
  "homepage": "https://github.com/instantdb/instant/tree/main/client/packages/react",
6
6
  "repository": {
@@ -66,9 +66,9 @@
66
66
  },
67
67
  "dependencies": {
68
68
  "eventsource": "^4.0.0",
69
- "@instantdb/core": "0.22.131",
70
- "@instantdb/react-common": "0.22.131",
71
- "@instantdb/version": "0.22.131"
69
+ "@instantdb/core": "0.22.132",
70
+ "@instantdb/react-common": "0.22.132",
71
+ "@instantdb/version": "0.22.132"
72
72
  },
73
73
  "scripts": {
74
74
  "test": "vitest",
package/src/Cursors.tsx CHANGED
@@ -10,7 +10,7 @@ import type { RoomSchemaShape } from '@instantdb/core';
10
10
 
11
11
  export function Cursors<
12
12
  RoomSchema extends RoomSchemaShape,
13
- RoomType extends keyof RoomSchema,
13
+ RoomType extends string & keyof RoomSchema,
14
14
  >({
15
15
  as = 'div',
16
16
  spaceId: _spaceId,