Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@open-rpc/schema-utils-js

Package Overview
Dependencies
Maintainers
2
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@open-rpc/schema-utils-js - npm Package Compare versions

Comparing version 1.11.5 to 1.11.6

build/lib/json-schema-draft-07.d.ts

8

build/src/method-call-validator/method-call-validator.d.ts

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc