@vbyte/btc-dev 1.0.13 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/tx/create.d.ts +1 -1
- package/dist/main.cjs +4 -4
- package/dist/main.cjs.map +1 -1
- package/dist/module.mjs +4 -4
- package/dist/module.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/schema/tx.d.ts +11 -11
- package/dist/schema/tx.js +4 -4
- package/dist/script.js +1 -1
- package/dist/script.js.map +1 -1
- package/dist/types/txdata.d.ts +2 -2
- package/package.json +1 -1
- package/src/lib/tx/create.ts +1 -1
- package/src/schema/tx.ts +8 -6
- package/src/types/txdata.ts +2 -2
package/dist/module.mjs
CHANGED
|
@@ -13440,7 +13440,7 @@ var taproot = /*#__PURE__*/Object.freeze({
|
|
|
13440
13440
|
taptree: taptree
|
|
13441
13441
|
});
|
|
13442
13442
|
|
|
13443
|
-
const sats = bigIntType().
|
|
13443
|
+
const sats = bigIntType().min(0n).max(2100000000000000n);
|
|
13444
13444
|
const tx_output = objectType({
|
|
13445
13445
|
value: sats,
|
|
13446
13446
|
script_pk: hex$1,
|
|
@@ -13471,9 +13471,9 @@ const vin_template = tx_input.extend({
|
|
|
13471
13471
|
witness: arrayType(hex$1).optional(),
|
|
13472
13472
|
});
|
|
13473
13473
|
const tx_template = objectType({
|
|
13474
|
-
version: uint.
|
|
13475
|
-
vin: arrayType(vin_template)
|
|
13476
|
-
vout: arrayType(vout_template)
|
|
13474
|
+
version: uint.optional(),
|
|
13475
|
+
vin: arrayType(vin_template),
|
|
13476
|
+
vout: arrayType(vout_template),
|
|
13477
13477
|
locktime: uint.optional(),
|
|
13478
13478
|
});
|
|
13479
13479
|
|