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

@emurgo/cardano-serialization-lib-nodejs

Package Overview
Dependencies
Maintainers
2
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emurgo/cardano-serialization-lib-nodejs - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

39

cardano_serialization_lib.d.ts
/* tslint:disable */
/* eslint-disable */
/**
* @param {Transaction} tx
* @param {LinearFee} linear_fee
* @returns {BigNum}
*/
export function min_fee(tx: Transaction, linear_fee: LinearFee): BigNum;
/**
* @param {TransactionHash} tx_body_hash

@@ -48,9 +54,3 @@ * @param {ByronAddress} addr

/**
* @param {Transaction} tx
* @param {LinearFee} linear_fee
* @returns {BigNum}
*/
export function min_fee(tx: Transaction, linear_fee: LinearFee): BigNum;
/**
*/
export enum CertificateKind {

@@ -166,11 +166,2 @@ StakeRegistration,

/**
* @param {BigInt} value
* @returns {BigNum}
*/
static new(value: BigInt): BigNum;
/**
* @returns {BigInt}
*/
unwrap(): BigInt;
/**
* @param {string} string

@@ -228,4 +219,22 @@ * @returns {BigNum}

/**
* 128-byte xprv a key format in Cardano that some software still uses or requires
* the traditional 96-byte xprv is simply encoded as
* prv | chaincode
* however, because some software may not know how to compute a public key from a private key,
* the 128-byte inlines the public key in the following format
* prv | pub | chaincode
* so be careful if you see the term "xprv" as it could refer to either one
* our library does not require the pub (instead we compute the pub key when needed)
* @param {Uint8Array} bytes
* @returns {Bip32PrivateKey}
*/
static from_128_xprv(bytes: Uint8Array): Bip32PrivateKey;
/**
* see from_128_xprv
* @returns {Uint8Array}
*/
to_128_xprv(): Uint8Array;
/**
* @returns {Bip32PrivateKey}
*/
static generate_ed25519_bip32(): Bip32PrivateKey;

@@ -232,0 +241,0 @@ /**

{
"name": "@emurgo/cardano-serialization-lib-nodejs",
"version": "2.1.0",
"version": "2.2.0",
"files": [

@@ -5,0 +5,0 @@ "cardano_serialization_lib_bg.wasm",

@@ -9,2 +9,3 @@ # Cardano Serialization Lib

- [Browser (chrome/firefox) WASM package](https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-browser)
- [Browser (pure JS - no WASM) ASM.js package](https://www.npmjs.com/package/@emurgo/cardano-serialization-lib-asmjs)

@@ -17,2 +18,2 @@ ##### Mobile bindings

You can find documentation [here](https://docs.cardano.org/projects/cardano-serialization-lib/en/latest/)
You can find documentation [here](https://docs.cardano.org/projects/cardano-serialization-lib/en/latest/)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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