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

@cosmjs/json-rpc

Package Overview
Dependencies
Maintainers
2
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cosmjs/json-rpc - npm Package Compare versions

Comparing version 0.30.1 to 0.31.0-alpha.1

2

build/compatibility.d.ts
/**
* 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"
}
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