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

@harmoniclabs/cardanocli-pluts

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@harmoniclabs/cardanocli-pluts - npm Package Compare versions

Comparing version 0.1.3-dev2 to 0.1.3-dev3

2

dist/CardanoCliPluts/cliCmds/CliUtils.d.ts

@@ -12,3 +12,3 @@ import { Address, AddressStr, Hash28, PrivateKey, PublicKey, Script, Tx } from "@harmoniclabs/plu-ts";

readPrivateKey(path: string): WithPath<PrivateKey>;
writePrivateKey(pk: PublicKey, path: string): Promise<void>;
writePrivateKey(pk: PrivateKey, path: string): Promise<void>;
readScript(path: string): WithPath<Script>;

@@ -15,0 +15,0 @@ writeScript(script: Script, path: string): Promise<void>;

@@ -93,3 +93,7 @@ "use strict";

switch (_a.label) {
case 0: return [4 /*yield*/, (0, promises_1.writeFile)(path, pk.toString())];
case 0: return [4 /*yield*/, (0, promises_1.writeFile)(path, JSON.stringify({
type: "PaymentVerificationKeyShelley_ed25519",
description: "Payment Verification Key",
cborHex: pk.toString()
}, undefined, 4))];
case 1:

@@ -128,5 +132,12 @@ _a.sent();

switch (_a.label) {
case 0: return [4 /*yield*/, this.writePublicKey(pk, path)];
case 0: return [4 /*yield*/, (0, promises_1.writeFile)(path, JSON.stringify({
type: "PaymentSigningKeyShelley_ed25519",
description: "Payment Signing Key",
cborHex: pk.toString()
}, undefined, 4))];
case 1:
_a.sent();
return [4 /*yield*/, (0, waitForFileExists_1.waitForFileExists)(path)];
case 2:
_a.sent();
return [2 /*return*/];

@@ -133,0 +144,0 @@ }

{
"name": "@harmoniclabs/cardanocli-pluts",
"version": "0.1.3-dev2",
"version": "0.1.3-dev3",
"description": "typescript wrapper on top of the cardano-cli tool",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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