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

cardano-pab-client

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cardano-pab-client - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

8

dist/src/Balancer/TxInputsInfo.js

@@ -74,5 +74,5 @@ "use strict";

const output = this.S.TransactionOutput.new(address, value);
console.log("About to set data hash", scriptInput.datum, "in script output");
output.set_data_hash(this.S.DataHash.from_hex(scriptInput.datum));
console.log("DONE!");
if (scriptInput === null || scriptInput === void 0 ? void 0 : scriptInput.datum) {
output.set_data_hash(this.S.DataHash.from_hex(scriptInput.datum));
}
const scriptUTxO = this.S.TransactionUnspentOutput.new(txInput, this.S.TransactionOutput.new(address, value));

@@ -169,3 +169,3 @@ this.inputsUtxos.push(scriptUTxO);

address: utxo.output().address().to_bech32(),
datum: datumHash ? datumHash.to_hex() : "",
datum: datumHash ? datumHash.to_hex() : null,
index,

@@ -172,0 +172,0 @@ id,

@@ -70,3 +70,3 @@ /**

assets: Assets;
datum: string;
datum: string | null;
};

@@ -73,0 +73,0 @@ export declare type ExportTx = {

@@ -55,9 +55,9 @@ "use strict";

try {
estimation = yield axios_1.default.post(`${this.config.baseUrl}/estimate`, JSON.stringify(estimParam), {
estimation = (yield axios_1.default.post(`${this.config.baseUrl}/estimate`, JSON.stringify(estimParam), {
headers: { "Content-Type": "application/json" },
timeout: this.config.timeout,
});
})).data;
}
catch (e) {
return (0, common_1.fail)(e.toString());
return (0, common_1.fail)(String(e));
}

@@ -64,0 +64,0 @@ if (estimation.Left) {

{
"name": "cardano-pab-client",
"version": "0.0.3",
"version": "0.0.4",
"description": "A set of tools to develop frontends that interact with the Plutus Application Backend.",

@@ -5,0 +5,0 @@ "author": "Plank",

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