@vbyte/btc-dev 1.0.14 → 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/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/package.json +1 -1
- package/src/schema/tx.ts +8 -6
package/dist/main.cjs
CHANGED
|
@@ -13442,7 +13442,7 @@ var taproot = /*#__PURE__*/Object.freeze({
|
|
|
13442
13442
|
taptree: taptree
|
|
13443
13443
|
});
|
|
13444
13444
|
|
|
13445
|
-
const sats = bigIntType().
|
|
13445
|
+
const sats = bigIntType().min(0n).max(2100000000000000n);
|
|
13446
13446
|
const tx_output = objectType({
|
|
13447
13447
|
value: sats,
|
|
13448
13448
|
script_pk: hex$1,
|
|
@@ -13473,9 +13473,9 @@ const vin_template = tx_input.extend({
|
|
|
13473
13473
|
witness: arrayType(hex$1).optional(),
|
|
13474
13474
|
});
|
|
13475
13475
|
const tx_template = objectType({
|
|
13476
|
-
version: uint.
|
|
13477
|
-
vin: arrayType(vin_template)
|
|
13478
|
-
vout: arrayType(vout_template)
|
|
13476
|
+
version: uint.optional(),
|
|
13477
|
+
vin: arrayType(vin_template),
|
|
13478
|
+
vout: arrayType(vout_template),
|
|
13479
13479
|
locktime: uint.optional(),
|
|
13480
13480
|
});
|
|
13481
13481
|
|