pema 0.8.1 → 0.8.2

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.
@@ -8,7 +8,7 @@ declare function too_large(input: unknown, message: string, path?: JSONPointer):
8
8
  declare function out_of_range(input: unknown, message: string, path?: JSONPointer): ParseError;
9
9
  declare function duplicate(input: unknown, message: string, path?: JSONPointer): ParseError;
10
10
  declare function not_in_set(input: unknown, message: string, path?: JSONPointer): ParseError;
11
- declare function field(path: JSONPointer, message: string): ParseError;
11
+ declare function field(path: string, message: string): ParseError;
12
12
  declare const _default: {
13
13
  invalid_type: typeof invalid_type;
14
14
  invalid_format: typeof invalid_format;
@@ -188,7 +188,7 @@ declare namespace schema {
188
188
  var uuid: import("#UUIDType").default;
189
189
  }
190
190
  declare namespace schema {
191
- var error: (path: import("@rcompat/type").JSONPointer, message: string) => import("./ParseError.js").default;
191
+ var error: (path: string, message: string) => import("./ParseError.js").default;
192
192
  }
193
193
  declare namespace schema {
194
194
  var loose: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pema",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "Primate schema validation",
5
5
  "homepage": "https://primate.run/docs/validation",
6
6
  "bugs": "https://github.com/primate-run/primate/issues",