@tldraw/validate 5.2.0-canary.c61eb676972d → 5.2.0-canary.c846d28135d5

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
@@ -32,11 +32,15 @@ queryValidator.validate(request.query)
32
32
 
33
33
  ## Documentation
34
34
 
35
+ 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).
36
+
37
+ For more agent-friendly docs, see our [LLMs.txt](https://tldraw.dev/llms.txt).
38
+
35
39
  A `DOCS.md` file is included alongside this README in the published package, with detailed API documentation and usage examples.
36
40
 
37
41
  ## Contribution
38
42
 
39
- 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).
43
+ Found a bug? Please [submit an issue](https://github.com/tldraw/tldraw/issues/new).
40
44
 
41
45
  ## License
42
46
 
package/dist-cjs/index.js CHANGED
@@ -41,7 +41,7 @@ var T = __toESM(require("./lib/validation"), 1);
41
41
  var import_validation = require("./lib/validation");
42
42
  (0, import_utils.registerTldrawLibraryVersion)(
43
43
  "@tldraw/validate",
44
- "5.2.0-canary.c61eb676972d",
44
+ "5.2.0-canary.c846d28135d5",
45
45
  "cjs"
46
46
  );
47
47
  //# sourceMappingURL=index.js.map
@@ -9,7 +9,7 @@ import {
9
9
  } from "./lib/validation.mjs";
10
10
  registerTldrawLibraryVersion(
11
11
  "@tldraw/validate",
12
- "5.2.0-canary.c61eb676972d",
12
+ "5.2.0-canary.c846d28135d5",
13
13
  "esm"
14
14
  );
15
15
  export {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tldraw/validate",
3
3
  "description": "A runtime validation library by tldraw.",
4
- "version": "5.2.0-canary.c61eb676972d",
4
+ "version": "5.2.0-canary.c846d28135d5",
5
5
  "author": {
6
6
  "name": "tldraw Inc.",
7
7
  "email": "hello@tldraw.com"
@@ -44,7 +44,7 @@
44
44
  "lint": "yarn run -T tsx ../../internal/scripts/lint.ts"
45
45
  },
46
46
  "dependencies": {
47
- "@tldraw/utils": "5.2.0-canary.c61eb676972d"
47
+ "@tldraw/utils": "5.2.0-canary.c846d28135d5"
48
48
  },
49
49
  "devDependencies": {
50
50
  "lazyrepo": "0.0.0-alpha.27"
@@ -149,7 +149,7 @@ describe('validations', () => {
149
149
  )
150
150
 
151
151
  // Should reject NaN
152
- expect(() => numberUnionSchema.validate({ version: NaN, data: 'test' })).toThrowError(
152
+ expect(() => numberUnionSchema.validate({ version: NaN, data: 'test' })).toThrow(
153
153
  /Expected a number for key "version"/
154
154
  )
155
155
  })