@ckb-lumos/base
Advanced tools
Comparing version 0.0.0-canary-4110f0d-20240605105355 to 0.0.0-canary-43a7bc7-20240613105534
@@ -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
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
7
222895
2
3052
+ Added@ckb-lumos/bi@0.0.0-canary-43a7bc7-20240613105534(transitive)
+ Added@ckb-lumos/codec@0.0.0-canary-43a7bc7-20240613105534(transitive)
+ Added@ckb-lumos/toolkit@0.0.0-canary-43a7bc7-20240613105534(transitive)
- Removedlodash.isequal@^4.5.0
- Removed@ckb-lumos/bi@0.0.0-canary-4110f0d-20240605105355(transitive)
- Removed@ckb-lumos/codec@0.0.0-canary-4110f0d-20240605105355(transitive)
- Removed@ckb-lumos/toolkit@0.0.0-canary-4110f0d-20240605105355(transitive)
- Removedlodash.isequal@4.5.0(transitive)
Updated@ckb-lumos/toolkit@0.0.0-canary-43a7bc7-20240613105534