@helios-lang/ledger
Advanced tools
Comparing version 0.2.1 to 0.2.2
{ | ||
"name": "@helios-lang/ledger", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Ledger types (eg. for building transactions)", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -204,3 +204,4 @@ import { | ||
metadata: this.metadata ? this.metadata.dump() : null, | ||
id: this.id().toString() | ||
id: this.id().toString(), | ||
size: this.calcSize() | ||
} | ||
@@ -207,0 +208,0 @@ } |
@@ -190,3 +190,3 @@ import { | ||
datums: this.datums.map((datum) => datum.toString()), | ||
redeemers: "TODO", | ||
redeemers: this.redeemers.map((r) => r.dump()), | ||
nativeScripts: this.nativeScripts.map((script) => script.toJson()), | ||
@@ -193,0 +193,0 @@ scripts: this.v2Scripts.map((script) => |
Sorry, the diff of this file is not supported yet
645995
18459