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.0.0-canary-ddb4d5e-20231128095921 to 0.0.0-canary-e34daa1-20240229110147

3

lib/Base/index.d.ts

@@ -100,3 +100,3 @@ import { CKBComponents } from "../types/api";

getLiveCell: (outPoint: CKBComponents.OutPoint, withData: boolean) => Promise<{
cell: CKBComponents.LiveCell;
cell: Option<CKBComponents.LiveCell>;
status: CKBComponents.CellStatus;

@@ -404,3 +404,4 @@ }>;

}
export type Option<T> = T | null;
export {};
//# sourceMappingURL=index.d.ts.map

@@ -13,3 +13,3 @@ "use strict";

var _crossFetch = _interopRequireDefault(require("cross-fetch"));
var _abortController = require("abort-controller");
var _abortController = _interopRequireDefault(require("abort-controller"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -121,3 +121,3 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }

});
const controller = new _abortController.AbortController();
const controller = new _abortController.default();
const signal = controller.signal;

@@ -131,3 +131,3 @@ const timeout = setTimeout(() => controller.abort(), _classPrivateFieldGet(ctx, _config).timeout);

body: JSON.stringify(payload),
signal: signal
signal
}).then(res => res.json());

@@ -134,0 +134,0 @@ clearTimeout(timeout);

@@ -8,3 +8,3 @@ "use strict";

var _exceptions = require("./exceptions");
var _abortController = require("abort-controller");
var _abortController = _interopRequireDefault(require("abort-controller"));
var _crossFetch = _interopRequireDefault(require("cross-fetch"));

@@ -55,3 +55,3 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

const payload = this.getPayload(...params);
const controller = new _abortController.AbortController();
const controller = new _abortController.default();
const signal = controller.signal;

@@ -58,0 +58,0 @@ const timeout = setTimeout(() => controller.abort(), _classPrivateFieldGet(this, _config).timeout);

{
"name": "@ckb-lumos/rpc",
"version": "0.0.0-canary-ddb4d5e-20231128095921",
"version": "0.0.0-canary-e34daa1-20240229110147",
"description": "RPC module for CKB",

@@ -29,4 +29,4 @@ "homepage": "https://github.com/ckb-js/lumos#readme",

"dependencies": {
"@ckb-lumos/base": "0.0.0-canary-ddb4d5e-20231128095921",
"@ckb-lumos/bi": "0.0.0-canary-ddb4d5e-20231128095921",
"@ckb-lumos/base": "0.0.0-canary-e34daa1-20240229110147",
"@ckb-lumos/bi": "0.0.0-canary-e34daa1-20240229110147",
"abort-controller": "^3.0.0",

@@ -33,0 +33,0 @@ "cross-fetch": "^3.1.5"

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

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