From fd37ca5f4d888aca4ba06fa40f996373474e38b3 Mon Sep 17 00:00:00 2001 From: vantuz-subhuman Date: Sun, 7 Nov 2021 14:16:23 +0300 Subject: [PATCH] Version bump: 9.1.2 + flowgen --- package-lock.json | 2 +- package.json | 2 +- rust/Cargo.lock | 2 +- rust/Cargo.toml | 2 +- rust/pkg/cardano_serialization_lib.js.flow | 10 ++++++++++ 5 files changed, 14 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index f9e4765f..c130067d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "cardano-serialization-lib", - "version": "9.1.1", + "version": "9.1.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 51daab5f..70171c42 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cardano-serialization-lib", - "version": "9.1.1", + "version": "9.1.2", "description": "(De)serialization functions for the Cardano blockchain along with related utility functions", "scripts": { "rust:build-nodejs": "rimraf ./rust/pkg && cd rust; wasm-pack build --target=nodejs; wasm-pack pack; cd .. && npm run js:flowgen", diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 48cd7475..643607c1 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -50,7 +50,7 @@ checksum = "2e8c087f005730276d1096a652e92a8bacee2e2472bcc9715a74d2bec38b5820" [[package]] name = "cardano-serialization-lib" -version = "9.1.1" +version = "9.1.2" dependencies = [ "bech32", "cbor_event", diff --git a/rust/Cargo.toml b/rust/Cargo.toml index aa093b2b..09bca689 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cardano-serialization-lib" -version = "9.1.1" +version = "9.1.2" edition = "2018" authors = ["EMURGO"] license = "MIT" diff --git a/rust/pkg/cardano_serialization_lib.js.flow b/rust/pkg/cardano_serialization_lib.js.flow index e61ea778..12dc43a2 100644 --- a/rust/pkg/cardano_serialization_lib.js.flow +++ b/rust/pkg/cardano_serialization_lib.js.flow @@ -4636,11 +4636,21 @@ declare export class Transaction { */ witness_set(): TransactionWitnessSet; + /** + * @returns {boolean} + */ + is_valid(): boolean; + /** * @returns {AuxiliaryData | void} */ auxiliary_data(): AuxiliaryData | void; + /** + * @param {boolean} valid + */ + set_is_valid(valid: boolean): void; + /** * @param {TransactionBody} body * @param {TransactionWitnessSet} witness_set