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

@ckb-lumos/config-manager

Package Overview
Dependencies
Maintainers
3
Versions
195
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckb-lumos/config-manager - npm Package Compare versions

Comparing version 0.0.0-canary-bb37e4b-20240115044532 to 0.0.0-canary-c37d5b8-20240429081316

14

lib/predefined.d.ts

@@ -60,2 +60,9 @@ import { ScriptConfig } from "./types";

};
XUDT: {
CODE_HASH: string;
HASH_TYPE: "data1";
TX_HASH: string;
INDEX: string;
DEP_TYPE: "code";
};
};

@@ -111,2 +118,9 @@ };

};
XUDT: {
CODE_HASH: string;
HASH_TYPE: "type";
TX_HASH: string;
INDEX: string;
DEP_TYPE: "code";
};
};

@@ -113,0 +127,0 @@ };

18

lib/predefined.js

@@ -61,5 +61,12 @@ "use strict";

HASH_TYPE: "type",
TX_HASH: "0xdfdb40f5d229536915f2d5403c66047e162e25dedd70a79ef5164356e1facdc8",
TX_HASH: "0xc76edf469816aa22f416503c38d0b533d2a018e253e379f134c3985b3472c842",
INDEX: "0x0",
DEP_TYPE: "code"
},
XUDT: {
CODE_HASH: "0x50bd8d6680b8b9cf98b73f3c08faf8b2a21914311954118ad6609be6e78a1b95",
HASH_TYPE: "data1",
TX_HASH: "0xc07844ce21b38e4b071dd0e1ee3b0e27afd8d7532491327f39b786343f558ab7",
INDEX: "0x0",
DEP_TYPE: "code"
}

@@ -112,5 +119,12 @@ }

HASH_TYPE: "type",
TX_HASH: "0xb50ef6f2e9138f4dbca7d5280e10d29c1a65e60e8a574c009a2fa4e4107e0750",
TX_HASH: "0xec18bf0d857c981c3d1f4e17999b9b90c484b303378e94de1a57b0872f5d4602",
INDEX: "0x0",
DEP_TYPE: "code"
},
XUDT: {
CODE_HASH: "0x25c29dc317811a6f6f3985a7a9ebc4838bd388d19d0feeecf0bcd60f6c0975bb",
HASH_TYPE: "type",
TX_HASH: "0xbf6fb538763efec2a70a6a3dcb7242787087e1030c4e7d86585bc63a9d337f5f",
INDEX: "0x0",
DEP_TYPE: "code"
}

@@ -117,0 +131,0 @@ }

10

package.json
{
"name": "@ckb-lumos/config-manager",
"version": "0.0.0-canary-bb37e4b-20240115044532",
"version": "0.0.0-canary-c37d5b8-20240429081316",
"description": "Config manager for lumos",

@@ -28,6 +28,6 @@ "author": "Xuejie Xiao <xxuejie@gmail.com>",

"dependencies": {
"@ckb-lumos/base": "0.0.0-canary-bb37e4b-20240115044532",
"@ckb-lumos/bi": "0.0.0-canary-bb37e4b-20240115044532",
"@ckb-lumos/codec": "0.0.0-canary-bb37e4b-20240115044532",
"@ckb-lumos/rpc": "0.0.0-canary-bb37e4b-20240115044532",
"@ckb-lumos/base": "0.0.0-canary-c37d5b8-20240429081316",
"@ckb-lumos/bi": "0.0.0-canary-c37d5b8-20240429081316",
"@ckb-lumos/codec": "0.0.0-canary-c37d5b8-20240429081316",
"@ckb-lumos/rpc": "0.0.0-canary-c37d5b8-20240429081316",
"@types/deep-freeze-strict": "^1.1.0",

@@ -34,0 +34,0 @@ "deep-freeze-strict": "^1.1.1"

@@ -6,3 +6,5 @@ # @ckb-lumos/config-manager

```ts
import { initializeConfig, predefined } from '@ckb-lumos/config';
import { initializeConfig, predefined } from "@ckb-lumos/config-manager"
// or import from the entry package
import { initializeConfig, predefined } from "@ckb-lumos/lumos/config"
import { encodeToAddress } from '@ckb-lumos/helper'

@@ -21,3 +23,5 @@

```ts
import { refreshScriptConfig } from "@ckb-lumos/config";
import { refreshScriptConfigs } from "@ckb-lumos/config-manager"
// or import from the entry package
import { refreshScriptConfigs } from "@ckb-lumos/lumos/config"
import { RPC } from "@ckb-lumos/rpc";

@@ -24,0 +28,0 @@

@@ -73,6 +73,15 @@ import deepFreeze from "deep-freeze-strict";

TX_HASH:
"0xdfdb40f5d229536915f2d5403c66047e162e25dedd70a79ef5164356e1facdc8",
"0xc76edf469816aa22f416503c38d0b533d2a018e253e379f134c3985b3472c842",
INDEX: "0x0",
DEP_TYPE: "code",
},
XUDT: {
CODE_HASH:
"0x50bd8d6680b8b9cf98b73f3c08faf8b2a21914311954118ad6609be6e78a1b95",
HASH_TYPE: "data1",
TX_HASH:
"0xc07844ce21b38e4b071dd0e1ee3b0e27afd8d7532491327f39b786343f558ab7",
INDEX: "0x0",
DEP_TYPE: "code",
},
},

@@ -137,6 +146,15 @@ });

TX_HASH:
"0xb50ef6f2e9138f4dbca7d5280e10d29c1a65e60e8a574c009a2fa4e4107e0750",
"0xec18bf0d857c981c3d1f4e17999b9b90c484b303378e94de1a57b0872f5d4602",
INDEX: "0x0",
DEP_TYPE: "code",
},
XUDT: {
CODE_HASH:
"0x25c29dc317811a6f6f3985a7a9ebc4838bd388d19d0feeecf0bcd60f6c0975bb",
HASH_TYPE: "type",
TX_HASH:
"0xbf6fb538763efec2a70a6a3dcb7242787087e1030c4e7d86585bc63a9d337f5f",
INDEX: "0x0",
DEP_TYPE: "code",
},
},

@@ -143,0 +161,0 @@ });

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