@tldraw/state-react 5.2.0-canary.d8336e1e7944 → 5.2.0-canary.d915b4a12ec4

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
@@ -10,7 +10,7 @@ A `DOCS.md` file is included alongside this README in the published package, wit
10
10
 
11
11
  ## Contribution
12
12
 
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).
13
+ Found a bug? Please [submit an issue](https://github.com/tldraw/tldraw/issues/new).
14
14
 
15
15
  ## License
16
16
 
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.d8336e1e7944",
40
+ "5.2.0-canary.d915b4a12ec4",
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.d8336e1e7944",
11
+ "5.2.0-canary.d915b4a12ec4",
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.d8336e1e7944",
4
+ "version": "5.2.0-canary.d915b4a12ec4",
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.d8336e1e7944",
48
- "@tldraw/utils": "5.2.0-canary.d8336e1e7944"
47
+ "@tldraw/state": "5.2.0-canary.d915b4a12ec4",
48
+ "@tldraw/utils": "5.2.0-canary.d915b4a12ec4"
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(() => {