@cosmjs/json-rpc
Advanced tools
Comparing version 0.30.1 to 0.31.0-alpha.1
/** | ||
* A single JSON value. This is the missing return type of JSON.parse(). | ||
*/ | ||
export declare type JsonCompatibleValue = JsonCompatibleDictionary | JsonCompatibleArray | string | number | boolean | null; | ||
export type JsonCompatibleValue = JsonCompatibleDictionary | JsonCompatibleArray | string | number | boolean | null; | ||
/** | ||
@@ -6,0 +6,0 @@ * An array of JsonCompatibleValue |
import { JsonCompatibleArray, JsonCompatibleDictionary, JsonCompatibleValue } from "./compatibility"; | ||
export declare type JsonRpcId = number | string; | ||
export type JsonRpcId = number | string; | ||
export interface JsonRpcRequest { | ||
@@ -27,3 +27,3 @@ readonly jsonrpc: "2.0"; | ||
} | ||
export declare type JsonRpcResponse = JsonRpcSuccessResponse | JsonRpcErrorResponse; | ||
export type JsonRpcResponse = JsonRpcSuccessResponse | JsonRpcErrorResponse; | ||
export declare function isJsonRpcErrorResponse(response: JsonRpcResponse): response is JsonRpcErrorResponse; | ||
@@ -30,0 +30,0 @@ export declare function isJsonRpcSuccessResponse(response: JsonRpcResponse): response is JsonRpcSuccessResponse; |
{ | ||
"name": "@cosmjs/json-rpc", | ||
"version": "0.30.1", | ||
"version": "0.31.0-alpha.1", | ||
"description": "Framework for implementing a JSON-RPC 2.0 API", | ||
@@ -45,3 +45,3 @@ "contributors": [ | ||
"dependencies": { | ||
"@cosmjs/stream": "^0.30.1", | ||
"@cosmjs/stream": "^0.31.0-alpha.1", | ||
"xstream": "^11.14.0" | ||
@@ -78,7 +78,8 @@ }, | ||
"ts-node": "^8", | ||
"typedoc": "^0.22", | ||
"typescript": "~4.6", | ||
"typedoc": "^0.23", | ||
"typescript": "~4.9", | ||
"webpack": "^5.76.0", | ||
"webpack-cli": "^4.6.0" | ||
} | ||
}, | ||
"stableVersion": "0.30.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
28595
+ Added@cosmjs/stream@0.31.3(transitive)
- Removed@cosmjs/stream@0.30.1(transitive)