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

@ckb-lumos/base

Package Overview
Dependencies
Maintainers
3
Versions
196
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckb-lumos/base - npm Package Compare versions

Comparing version 0.0.0-canary-4110f0d-20240605105355 to 0.0.0-canary-43a7bc7-20240613105534

3

lib/utils.d.ts

@@ -73,3 +73,2 @@ /// <reference types="node" />

declare function assertHexadecimal(debugPath: string, str: string): void;
declare function isDeepEqual(a: any, b: any): boolean;
/**

@@ -83,3 +82,3 @@ * Generate a type script for type id {@link https://xuejie.space/2020_02_03_introduction_to_ckb_script_programming_type_id/}

declare function deepCamelizeTransaction(data: any): any;
export { CKBHasher, ckbHash, ckbHash160, deepCamel, deepCamelizeTransaction, toBigUInt64LE, toBigUInt64LECompatible, readBigUInt64LE, readBigUInt64LECompatible, toBigUInt128LE, toBigUInt128LECompatible, readBigUInt128LE, readBigUInt128LECompatible, computeScriptHash, hashCode, assertHexString, assertHexadecimal, isDeepEqual, generateTypeIdScript, };
export { CKBHasher, ckbHash, ckbHash160, deepCamel, deepCamelizeTransaction, toBigUInt64LE, toBigUInt64LECompatible, readBigUInt64LE, readBigUInt64LECompatible, toBigUInt128LE, toBigUInt128LECompatible, readBigUInt128LE, readBigUInt128LECompatible, computeScriptHash, hashCode, assertHexString, assertHexadecimal, generateTypeIdScript, };
//# sourceMappingURL=utils.d.ts.map

@@ -16,3 +16,2 @@ "use strict";

exports.hashCode = hashCode;
exports.isDeepEqual = isDeepEqual;
exports.readBigUInt128LE = readBigUInt128LE;

@@ -27,3 +26,2 @@ exports.readBigUInt128LECompatible = readBigUInt128LECompatible;

var _blake2b = _interopRequireDefault(require("blake2b"));
var _lodash = _interopRequireDefault(require("lodash.isequal"));
var _jsXxhash = require("js-xxhash");

@@ -165,6 +163,2 @@ var _codec = require("@ckb-lumos/codec");

// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
function isDeepEqual(a, b) {
return (0, _lodash.default)(a, b);
}
// Buffer.from('TYPE_ID')

@@ -171,0 +165,0 @@ const TYPE_ID_CODE_HASH = "0x00000000000000000000000000000000000000000000000000545950455f4944";

{
"name": "@ckb-lumos/base",
"version": "0.0.0-canary-4110f0d-20240605105355",
"version": "0.0.0-canary-43a7bc7-20240613105534",
"description": "Base data structures and utilities used in lumos",

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

"dependencies": {
"@ckb-lumos/bi": "0.0.0-canary-4110f0d-20240605105355",
"@ckb-lumos/codec": "0.0.0-canary-4110f0d-20240605105355",
"@ckb-lumos/toolkit": "0.0.0-canary-4110f0d-20240605105355",
"@ckb-lumos/bi": "0.0.0-canary-43a7bc7-20240613105534",
"@ckb-lumos/codec": "0.0.0-canary-43a7bc7-20240613105534",
"@ckb-lumos/toolkit": "0.0.0-canary-43a7bc7-20240613105534",
"@types/blake2b": "^2.1.0",
"@types/lodash.isequal": "^4.5.5",
"blake2b": "^2.1.3",
"js-xxhash": "^1.0.4",
"lodash.isequal": "^4.5.0"
"js-xxhash": "^1.0.4"
},
"devDependencies": {
"jsbi": "^4.1.0"
"jsbi": "^4.1.0",
"lodash.isequal": "^4.5.0"
},

@@ -51,0 +51,0 @@ "publishConfig": {

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