@tldraw/state-react 5.2.0-canary.e09b35094c3c → 5.2.0-canary.ed81413e0a67

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/README.md CHANGED
@@ -6,11 +6,15 @@ To learn more about this check out the [Signia library's React bindings](https:/
6
6
 
7
7
  ## Documentation
8
8
 
9
+ Documentation for the most recent release can be found on [tldraw.dev/docs](https://tldraw.dev/docs), including [reference docs](https://tldraw.dev/reference/editor/Editor). Our release notes can be found [here](https://tldraw.dev/releases).
10
+
11
+ For more agent-friendly docs, see our [LLMs.txt](https://tldraw.dev/llms.txt).
12
+
9
13
  A `DOCS.md` file is included alongside this README in the published package, with detailed API documentation and usage examples.
10
14
 
11
15
  ## Contribution
12
16
 
13
- Please see our [contributing guide](https://github.com/tldraw/tldraw/blob/main/CONTRIBUTING.md). Found a bug? Please [submit an issue](https://github.com/tldraw/tldraw/issues/new).
17
+ Found a bug? Please [submit an issue](https://github.com/tldraw/tldraw/issues/new).
14
18
 
15
19
  ## License
16
20
 
package/dist-cjs/index.js CHANGED
@@ -37,7 +37,7 @@ var import_useStateTracking = require("./lib/useStateTracking");
37
37
  var import_useValue = require("./lib/useValue");
38
38
  (0, import_utils.registerTldrawLibraryVersion)(
39
39
  "@tldraw/state-react",
40
- "5.2.0-canary.e09b35094c3c",
40
+ "5.2.0-canary.ed81413e0a67",
41
41
  "cjs"
42
42
  );
43
43
  //# sourceMappingURL=index.js.map
@@ -8,7 +8,7 @@ import { useStateTracking } from "./lib/useStateTracking.mjs";
8
8
  import { useValue } from "./lib/useValue.mjs";
9
9
  registerTldrawLibraryVersion(
10
10
  "@tldraw/state-react",
11
- "5.2.0-canary.e09b35094c3c",
11
+ "5.2.0-canary.ed81413e0a67",
12
12
  "esm"
13
13
  );
14
14
  export {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tldraw/state-react",
3
3
  "description": "tldraw infinite canvas SDK (react bindings for state).",
4
- "version": "5.2.0-canary.e09b35094c3c",
4
+ "version": "5.2.0-canary.ed81413e0a67",
5
5
  "author": {
6
6
  "name": "tldraw Inc.",
7
7
  "email": "hello@tldraw.com"
@@ -44,8 +44,8 @@
44
44
  "lint": "yarn run -T tsx ../../internal/scripts/lint.ts"
45
45
  },
46
46
  "dependencies": {
47
- "@tldraw/state": "5.2.0-canary.e09b35094c3c",
48
- "@tldraw/utils": "5.2.0-canary.e09b35094c3c"
47
+ "@tldraw/state": "5.2.0-canary.ed81413e0a67",
48
+ "@tldraw/utils": "5.2.0-canary.ed81413e0a67"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@testing-library/dom": "^10.0.0",
@@ -54,7 +54,7 @@
54
54
  "@types/react-dom": "^19.2.3",
55
55
  "react": "^19.2.1",
56
56
  "react-dom": "^19.2.1",
57
- "vitest": "^3.2.4"
57
+ "vitest": "^4.1.7"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "react": "^18.2.0 || ^19.2.1",
@@ -6,7 +6,7 @@ import { useAtom } from './useAtom'
6
6
  import { useQuickReactor } from './useQuickReactor'
7
7
 
8
8
  describe('useQuickReactor', () => {
9
- let mockEffectFn: ReturnType<typeof vi.fn>
9
+ let mockEffectFn: ReturnType<typeof vi.fn<(...args: any[]) => any>>
10
10
  let _component: () => React.JSX.Element
11
11
  let view: RenderResult
12
12
 
@@ -6,7 +6,7 @@ import { useAtom } from './useAtom'
6
6
  import { useReactor } from './useReactor'
7
7
 
8
8
  describe('useReactor', () => {
9
- let mockEffectFn: ReturnType<typeof vi.fn>
9
+ let mockEffectFn: ReturnType<typeof vi.fn<(...args: any[]) => any>>
10
10
  let view: RenderResult
11
11
 
12
12
  beforeEach(() => {