@tldraw/validate 3.14.0 → 3.14.1

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.
@@ -356,8 +356,8 @@ declare class ValidationError extends Error {
356
356
  /** @public */
357
357
  export declare class Validator<T> implements Validatable<T> {
358
358
  readonly validationFn: ValidatorFn<T>;
359
- readonly validateUsingKnownGoodVersionFn?: undefined | ValidatorUsingKnownGoodVersionFn<T, T>;
360
- constructor(validationFn: ValidatorFn<T>, validateUsingKnownGoodVersionFn?: undefined | ValidatorUsingKnownGoodVersionFn<T, T>);
359
+ readonly validateUsingKnownGoodVersionFn?: undefined | ValidatorUsingKnownGoodVersionFn<T>;
360
+ constructor(validationFn: ValidatorFn<T>, validateUsingKnownGoodVersionFn?: undefined | ValidatorUsingKnownGoodVersionFn<T>);
361
361
  /**
362
362
  * Asserts that the passed value is of the correct type and returns it. The returned value is
363
363
  * guaranteed to be referentially equal to the passed value.
package/dist-cjs/index.js CHANGED
@@ -41,7 +41,7 @@ var T = __toESM(require("./lib/validation"));
41
41
  var import_validation = require("./lib/validation");
42
42
  (0, import_utils.registerTldrawLibraryVersion)(
43
43
  "@tldraw/validate",
44
- "3.14.0",
44
+ "3.14.1",
45
45
  "cjs"
46
46
  );
47
47
  //# sourceMappingURL=index.js.map
@@ -356,8 +356,8 @@ declare class ValidationError extends Error {
356
356
  /** @public */
357
357
  export declare class Validator<T> implements Validatable<T> {
358
358
  readonly validationFn: ValidatorFn<T>;
359
- readonly validateUsingKnownGoodVersionFn?: undefined | ValidatorUsingKnownGoodVersionFn<T, T>;
360
- constructor(validationFn: ValidatorFn<T>, validateUsingKnownGoodVersionFn?: undefined | ValidatorUsingKnownGoodVersionFn<T, T>);
359
+ readonly validateUsingKnownGoodVersionFn?: undefined | ValidatorUsingKnownGoodVersionFn<T>;
360
+ constructor(validationFn: ValidatorFn<T>, validateUsingKnownGoodVersionFn?: undefined | ValidatorUsingKnownGoodVersionFn<T>);
361
361
  /**
362
362
  * Asserts that the passed value is of the correct type and returns it. The returned value is
363
363
  * guaranteed to be referentially equal to the passed value.
@@ -9,7 +9,7 @@ import {
9
9
  } from "./lib/validation.mjs";
10
10
  registerTldrawLibraryVersion(
11
11
  "@tldraw/validate",
12
- "3.14.0",
12
+ "3.14.1",
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": "3.14.0",
4
+ "version": "3.14.1",
5
5
  "author": {
6
6
  "name": "tldraw Inc.",
7
7
  "email": "hello@tldraw.com"
@@ -42,7 +42,7 @@
42
42
  "lint": "yarn run -T tsx ../../internal/scripts/lint.ts"
43
43
  },
44
44
  "dependencies": {
45
- "@tldraw/utils": "3.14.0"
45
+ "@tldraw/utils": "3.14.1"
46
46
  },
47
47
  "jest": {
48
48
  "preset": "../../internal/config/jest/node/jest-preset.js",