New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ckb-lumos/rpc

Package Overview
Dependencies
Maintainers
3
Versions
160
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckb-lumos/rpc - npm Package Compare versions

Comparing version 0.18.0-rc6 to 0.18.0-rc7

2

lib/index.d.ts

@@ -16,3 +16,3 @@ import { Alert, BannedAddr, Block, BlockEconomicState, CellWithStatus, ChainInfo, Consensus, DryRunResult, Epoch, Hash, Header, HexNumber, HexString, Indexer, LocalNode, OutPoint, RemoteNode, SyncState, Transaction, TransactionProof, TransactionWithStatus, TxPoolIds, TxPoolInfo, TxPoolVerbosity } from "@ckb-lumos/base";

blockDifference?: number;
rpcOptions?: object;
rpcOptions?: Record<string, unknown>;
});

@@ -19,0 +19,0 @@ /**

@@ -17,3 +17,5 @@ "use strict";

const handler = {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
get: (target, method) => {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
return async (...params) => {

@@ -77,2 +79,4 @@ const result = await target.rpc[method](...params);

class RPC {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
/**

@@ -79,0 +83,0 @@ *

{
"name": "@ckb-lumos/rpc",
"version": "0.18.0-rc6",
"version": "0.18.0-rc7",
"description": "RPC module for CKB",

@@ -13,7 +13,2 @@ "author": "Xuejie Xiao <xxuejie@gmail.com>",

},
"os": [
"win32",
"darwin",
"linux"
],
"directories": {

@@ -46,5 +41,5 @@ "lib": "lib",

"dependencies": {
"@ckb-lumos/base": "0.18.0-rc6",
"@ckb-lumos/bi": "0.18.0-rc6",
"@ckb-lumos/toolkit": "0.18.0-rc6"
"@ckb-lumos/base": "0.18.0-rc7",
"@ckb-lumos/bi": "0.18.0-rc7",
"@ckb-lumos/toolkit": "0.18.0-rc7"
},

@@ -59,3 +54,6 @@ "ava": {

},
"gitHead": "fd33f15dcd7e5d5d69d9ebd49290e9f90ab688fb"
"publishConfig": {
"access": "public"
},
"gitHead": "438e4bfce8f6ccd0866eb36a6aa679b0c3e1332a"
}

@@ -40,3 +40,5 @@ import { RPC as ToolkitRPC } from "@ckb-lumos/toolkit";

const handler = {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
get: (target: any, method: string) => {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
return async (...params: any) => {

@@ -68,3 +70,3 @@ const result = await target.rpc[method](...params);

blockDifference?: number;
rpcOptions?: object;
rpcOptions?: Record<string, unknown>;
} = {}

@@ -106,2 +108,3 @@ ) {

export class RPC {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
private rpcProxy: any;

@@ -125,3 +128,3 @@

blockDifference?: number;
rpcOptions?: object;
rpcOptions?: Record<string, unknown>;
} = {}

@@ -128,0 +131,0 @@ ) {

Sorry, the diff of this file is not supported yet

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