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-dev3 to 0.1.3-dev4

3

dist/CardanoCliPluts/cliCmds/CliUtils.d.ts

@@ -1,2 +0,2 @@

import { Address, AddressStr, Hash28, PrivateKey, PublicKey, Script, Tx } from "@harmoniclabs/plu-ts";
import { Address, AddressStr, PrivateKey, PublicKey, Script, Tx } from "@harmoniclabs/plu-ts";
import { WithPath } from "../../utils/path/withPath.js";

@@ -10,3 +10,2 @@ import { CliCmd, ICliCmdConfig } from "./CliCmd.js";

writePublicKey(pk: PublicKey, path: string): Promise<void>;
writePublicKeyHash(pk: Hash28, path: string): Promise<void>;
readPrivateKey(path: string): WithPath<PrivateKey>;

@@ -13,0 +12,0 @@ writePrivateKey(pk: PrivateKey, path: string): Promise<void>;

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

description: "Payment Verification Key",
cborHex: pk.toString()
cborHex: pk.toCbor().toString()
}, undefined, 4))];

@@ -109,17 +109,2 @@ case 1:

};
CliUtils.prototype.writePublicKeyHash = function (pk, path) {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, (0, promises_1.writeFile)(path, pk.toString())];
case 1:
_a.sent();
return [4 /*yield*/, (0, waitForFileExists_1.waitForFileExists)(path)];
case 2:
_a.sent();
return [2 /*return*/];
}
});
});
};
CliUtils.prototype.readPrivateKey = function (path) {

@@ -136,3 +121,3 @@ return (0, withPath_1.withPath)(path, plu_ts_1.PrivateKey.fromCbor(JSON.parse((0, fs_1.readFileSync)(path)

description: "Payment Signing Key",
cborHex: pk.toString()
cborHex: pk.toCbor().toString()
}, undefined, 4))];

@@ -139,0 +124,0 @@ case 1:

{
"name": "@harmoniclabs/cardanocli-pluts",
"version": "0.1.3-dev3",
"version": "0.1.3-dev4",
"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