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

@settlemint/btp-sdk-cli

Package Overview
Dependencies
Maintainers
0
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@settlemint/btp-sdk-cli - npm Package Compare versions

Comparing version 0.3.2-pr03cc98e to 0.3.2-pr3754eec

76

dist/index.js
#!/usr/bin/env node
import { program, Command } from '@commander-js/extra-typings';
import 'reflect-metadata';
import { intro, outro } from '@clack/prompts';
import { cancel, intro, outro } from '@clack/prompts';
import { Command } from '@commander-js/extra-typings';
// package.json
var package_default = {
name: "@settlemint/btp-sdk-cli",
version: "0.3.2",
main: "./dist/index.js",
module: "./dist/index.js",
types: "./dist/index.d.ts",
type: "module",
private: false,
license: "MIT",
author: {
name: "SettleMint",
email: "support@settlemint.com",
url: "https://settlemint.com"
},
homepage: "https://github.com/settlemint/btp-sdk/blob/main/packages/cli/README.md",
repository: {
type: "git",
url: "git+https://github.com/settlemint/btp-sdk.git"
},
bugs: {
url: "https://github.com/settlemint/btp-sdk/issues",
email: "support@settlemint.com"
},
files: [
"dist"
],
exports: {
"./package.json": "./package.json",
".": {
types: "./dist/index.d.ts",
import: "./dist/index.js"
}
},
bin: {
"btp-sdk-cli": "dist/index.js"
},
scripts: {
build: "tsup src/index.ts --format esm --dts",
dev: "tsup src/index.ts --format esm --dts --watch"
},
devDependencies: {
"@types/node": "20.14.12",
tsup: "8.2.3",
"type-fest": "4.23.0"
},
dependencies: {
"@clack/prompts": "^0.7.0",
"@commander-js/extra-typings": "12.1.0",
"@inquirer/prompts": "5.3.2",
boxen: "8.0.0",
commander: "^12.1.0",
cosmiconfig: "9.0.0",
"reflect-metadata": "0.2.2",
"ts-deepmerge": "7.0.1",
yoctocolors: "2.1.1",
zod: "3.23.8"
},
peerDependencies: {}
};
function initCommand() {

@@ -17,6 +76,11 @@ return new Command("init").option("-p, --pat <key>", "Personal Access Token for authentication (BTP_PAT_TOKEN environment variable)").option(

// src/index.ts
var cli = program.description("CLI for the SettleMint Blockchain Transformation Platform SDK");
cli.addCommand(initCommand());
cli.parse(process.argv);
var sdkcli = new Command();
sdkcli.name("btp-sdk-cli").usage("[command]").description(`CLI for the SettleMint Blockchain Transformation Platform SDK (v${package_default.version})`).version(package_default.version, "-v, --version", "Output the current version").helpOption("-h, --help", "Display help for command").allowUnknownOption().showSuggestionAfterError(true).showHelpAfterError();
sdkcli.addCommand(initCommand());
sdkcli.parseAsync(process.argv).catch(async (reason) => {
cancel("An unexpected error occurred. Please report it as a bug:");
console.error(reason);
process.exit(1);
});
//# sourceMappingURL=index.js.map
//# sourceMappingURL=index.js.map

3

package.json
{
"name": "@settlemint/btp-sdk-cli",
"version": "0.3.2-pr03cc98e",
"version": "0.3.2-pr3754eec",
"main": "./dist/index.js",

@@ -51,2 +51,3 @@ "module": "./dist/index.js",

"boxen": "8.0.0",
"commander": "^12.1.0",
"cosmiconfig": "9.0.0",

@@ -53,0 +54,0 @@ "reflect-metadata": "0.2.2",

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