@open-rpc/schema-utils-js
Advanced tools
Comparing version 1.11.5 to 1.11.6
@@ -1,4 +0,4 @@ | ||
import MethodCallParameterValidationError from "./parameter-validation-error"; | ||
import ParameterValidationError from "./parameter-validation-error"; | ||
import { OpenRPC } from "@open-rpc/meta-schema"; | ||
import MethodCallMethodNotFoundError from "./method-not-found-error"; | ||
import MethodNotFoundError from "./method-not-found-error"; | ||
/** | ||
@@ -32,3 +32,3 @@ * A class to assist in validating method calls to an OpenRPC-based service. Generated Clients, | ||
* @returns an array of parameter validation errors, or if there are none, an empty array. | ||
* if the method name is invalid, a [[MethodCallMethodNotFoundError]] is returned. | ||
* if the method name is invalid, a [[MethodNotFoundError]] is returned. | ||
* | ||
@@ -45,3 +45,3 @@ * @example | ||
*/ | ||
validate(methodName: string, params: any[]): MethodCallParameterValidationError[] | MethodCallMethodNotFoundError; | ||
validate(methodName: string, params: any[]): ParameterValidationError[] | MethodNotFoundError; | ||
} |
@@ -60,3 +60,3 @@ "use strict"; | ||
* @returns an array of parameter validation errors, or if there are none, an empty array. | ||
* if the method name is invalid, a [[MethodCallMethodNotFoundError]] is returned. | ||
* if the method name is invalid, a [[MethodNotFoundError]] is returned. | ||
* | ||
@@ -63,0 +63,0 @@ * @example |
@@ -0,1 +1,8 @@ | ||
## [1.11.6](https://github.com/open-rpc/schema-utils-js/compare/1.11.5...1.11.6) (2019-11-19) | ||
### Bug Fixes | ||
* rename MethodCallValidator error classes ([95a037d](https://github.com/open-rpc/schema-utils-js/commit/95a037d05ef97b43d30924e7372fe0ef4bb1ff8d)) | ||
## [1.11.5](https://github.com/open-rpc/schema-utils-js/compare/1.11.4...1.11.5) (2019-09-28) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@open-rpc/schema-utils-js", | ||
"private": false, | ||
"version": "1.11.5", | ||
"version": "1.11.6", | ||
"description": "", | ||
@@ -36,3 +36,3 @@ "main": "build/src/index.js", | ||
"detect-node": "^2.0.4", | ||
"fs-extra": "^7.0.1", | ||
"fs-extra": "^8.1.0", | ||
"is-url": "^1.2.4", | ||
@@ -39,0 +39,0 @@ "isomorphic-fetch": "^2.2.1", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
79593
30
1238
+ Addedfs-extra@8.1.0(transitive)
- Removedfs-extra@7.0.1(transitive)
Updatedfs-extra@^8.1.0