@swaggerexpert/jsonpath 4.0.0 → 4.0.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +5 -0
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "registry": "https://registry.npmjs.org",
6
6
  "provenance": true
7
7
  },
8
- "version": "4.0.0",
8
+ "version": "4.0.1",
9
9
  "description": "RFC 9535 implementation of JSONPath",
10
10
  "main": "./cjs/index.cjs",
11
11
  "types": "./types/index.d.ts",
package/types/index.d.ts CHANGED
@@ -216,6 +216,11 @@ export interface Stats {
216
216
 
217
217
  export interface Trace {
218
218
  displayTrace(): string;
219
+ inferExpectations(): Expectations;
220
+ }
221
+
222
+ export interface Expectations extends Array<string> {
223
+ toString(): string;
219
224
  }
220
225
 
221
226
  /**