@json-rpc-tools/types
Advanced tools
Comparing version 1.7.3 to 1.7.4
@@ -9,3 +9,3 @@ import { JsonRpcPayload, JsonRpcRequest, RequestArguments } from "./jsonrpc"; | ||
abstract close(): Promise<void>; | ||
abstract send(payload: JsonRpcPayload): Promise<void>; | ||
abstract send(payload: JsonRpcPayload, context?: any): Promise<void>; | ||
} | ||
@@ -16,4 +16,4 @@ export declare abstract class IBaseJsonRpcProvider extends IEvents { | ||
abstract disconnect(): Promise<void>; | ||
abstract request<Result = any, Params = any>(request: RequestArguments<Params>): Promise<Result>; | ||
protected abstract requestStrict<Result = any, Params = any>(request: JsonRpcRequest<Params>): Promise<Result>; | ||
abstract request<Result = any, Params = any>(request: RequestArguments<Params>, context?: any): Promise<Result>; | ||
protected abstract requestStrict<Result = any, Params = any>(request: JsonRpcRequest<Params>, context?: any): Promise<Result>; | ||
} | ||
@@ -20,0 +20,0 @@ export declare abstract class IJsonRpcProvider extends IBaseJsonRpcProvider { |
{ | ||
"name": "@json-rpc-tools/types", | ||
"description": "Typings for JSON-RPC", | ||
"version": "1.7.3", | ||
"version": "1.7.4", | ||
"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
120563