@json-rpc-tools/types
Advanced tools
Comparing version 1.5.0 to 1.5.1
@@ -6,3 +6,3 @@ import { JsonRpcError, JsonRpcSchemaMap, JsonRpcRequest } from "./jsonrpc"; | ||
export interface JsonRpcProvidersMap { | ||
[providerId: string]: IJsonRpcProvider; | ||
[target: string]: IJsonRpcProvider; | ||
} | ||
@@ -9,0 +9,0 @@ export interface BaseMultiServiceProviderConfig { |
export interface JsonRpcRoutesConfig { | ||
[providerId: string]: string[]; | ||
[target: string]: string[]; | ||
} | ||
@@ -12,3 +12,3 @@ export interface JsonRpcRouterMap { | ||
abstract isSupported(method: string): boolean; | ||
abstract getRouteProviderId(method: string): string | undefined; | ||
abstract getRouteTarget(method: string): string | undefined; | ||
abstract getLeadingWildcardRoutes(): string[]; | ||
@@ -15,0 +15,0 @@ abstract getTrailingWildcardRoutes(): string[]; |
{ | ||
"name": "@json-rpc-tools/types", | ||
"description": "Typings for JSON-RPC", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"author": "Pedro Gomes <github.com/pedrouid>", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/pedrouid/json-rpc-tools/", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
128384