New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.22.0-next.0 to 0.22.0-next.1

1

lib/blockchain.d.ts

@@ -23,2 +23,3 @@ import { AnyCodec, BytesLike, PackParam, UnpackResult } from "@ckb-lumos/codec";

export declare const BytesVec: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<BytesCodec<string, BytesLike>>;
export declare const BytesOptVec: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<import("@ckb-lumos/codec/lib/molecule/layout").OptionCodec<BytesCodec<string, BytesLike>>>;
export declare const Byte32: FixedBytesCodec<string, BytesLike>;

@@ -25,0 +26,0 @@ export declare const Byte32Vec: import("@ckb-lumos/codec/lib/molecule/layout").ArrayCodec<FixedBytesCodec<string, BytesLike>>;

4

lib/blockchain.js

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

});
exports.WitnessArgs = exports.UncleBlockVec = exports.UncleBlock = exports.TransactionVec = exports.Transaction = exports.ScriptOpt = exports.Script = exports.RawTransaction = exports.RawHeader = exports.ProposalShortIdVec = exports.ProposalShortId = exports.OutPoint = exports.Header = exports.HashType = exports.DepType = exports.CellbaseWitness = exports.CellOutputVec = exports.CellOutput = exports.CellInputVec = exports.CellInput = exports.CellDepVec = exports.CellDep = exports.BytesVec = exports.BytesOpt = exports.Bytes = exports.Byte32Vec = exports.Byte32 = exports.BlockV1 = exports.Block = exports.BaseHeader = void 0;
exports.WitnessArgs = exports.UncleBlockVec = exports.UncleBlock = exports.TransactionVec = exports.Transaction = exports.ScriptOpt = exports.Script = exports.RawTransaction = exports.RawHeader = exports.ProposalShortIdVec = exports.ProposalShortId = exports.OutPoint = exports.Header = exports.HashType = exports.DepType = exports.CellbaseWitness = exports.CellOutputVec = exports.CellOutput = exports.CellInputVec = exports.CellInput = exports.CellDepVec = exports.CellDep = exports.BytesVec = exports.BytesOptVec = exports.BytesOpt = exports.Bytes = exports.Byte32Vec = exports.Byte32 = exports.BlockV1 = exports.Block = exports.BaseHeader = void 0;
exports.WitnessArgsOf = WitnessArgsOf;

@@ -60,2 +60,4 @@ exports.createFixedHexBytesCodec = createFixedHexBytesCodec;

exports.BytesVec = BytesVec;
const BytesOptVec = vector(BytesOpt);
exports.BytesOptVec = BytesOptVec;
const Byte32 = createFixedHexBytesCodec(32);

@@ -62,0 +64,0 @@ exports.Byte32 = Byte32;

@@ -65,2 +65,7 @@ /// <reference types="node" />

declare function isDeepEqual(a: any, b: any): boolean;
/**
* Generate a type script for type id {@link https://xuejie.space/2020_02_03_introduction_to_ckb_script_programming_type_id/}
* @param input
* @param outputIndex
*/
declare function generateTypeIdScript(input: Input, outputIndex?: string): Script;

@@ -67,0 +72,0 @@ declare function deepCamel(data: any): any;

@@ -187,2 +187,8 @@ "use strict";

}
/**
* Generate a type script for type id {@link https://xuejie.space/2020_02_03_introduction_to_ckb_script_programming_type_id/}
* @param input
* @param outputIndex
*/
function generateTypeIdScript(input, outputIndex = "0x0") {

@@ -189,0 +195,0 @@ blockchain.CellInput.pack(input);

{
"name": "@ckb-lumos/base",
"version": "0.22.0-next.0",
"version": "0.22.0-next.1",
"description": "Base data structures and utilities used in lumos",

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

"dependencies": {
"@ckb-lumos/bi": "0.22.0-next.0",
"@ckb-lumos/codec": "0.22.0-next.0",
"@ckb-lumos/toolkit": "0.22.0-next.0",
"@ckb-lumos/bi": "0.22.0-next.1",
"@ckb-lumos/codec": "0.22.0-next.1",
"@ckb-lumos/toolkit": "0.22.0-next.1",
"@types/blake2b": "^2.1.0",

@@ -43,0 +43,0 @@ "@types/lodash.isequal": "^4.5.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