@secretkeylabs/stacks-tools 0.4.0-80a0ce6 → 0.4.0-f239728

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/index.cjs CHANGED
@@ -794,7 +794,11 @@ var baseTransactionSchema = v13.object({
794
794
  parent_burn_block_time_iso: v13.string(),
795
795
  canonical: v13.boolean(),
796
796
  tx_index: v13.number(),
797
- tx_status: v13.string(),
797
+ tx_status: v13.union([
798
+ v13.literal("success"),
799
+ v13.literal("abort_by_response"),
800
+ v13.literal("abort_by_post_condition")
801
+ ]),
798
802
  tx_result: v13.object({
799
803
  hex: v13.string(),
800
804
  repr: v13.string()
package/dist/index.d.cts CHANGED
@@ -52,7 +52,7 @@ declare const baseTransactionSchema: v.ObjectSchema<{
52
52
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
53
53
  readonly canonical: v.BooleanSchema<undefined>;
54
54
  readonly tx_index: v.NumberSchema<undefined>;
55
- readonly tx_status: v.StringSchema<undefined>;
55
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
56
56
  readonly tx_result: v.ObjectSchema<{
57
57
  readonly hex: v.StringSchema<undefined>;
58
58
  readonly repr: v.StringSchema<undefined>;
@@ -90,7 +90,7 @@ declare const contractCallTransactionSchema: v.ObjectSchema<{
90
90
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
91
91
  readonly canonical: v.BooleanSchema<undefined>;
92
92
  readonly tx_index: v.NumberSchema<undefined>;
93
- readonly tx_status: v.StringSchema<undefined>;
93
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
94
94
  readonly tx_result: v.ObjectSchema<{
95
95
  readonly hex: v.StringSchema<undefined>;
96
96
  readonly repr: v.StringSchema<undefined>;
@@ -141,7 +141,7 @@ declare const smartContractTransactionSchema: v.ObjectSchema<{
141
141
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
142
142
  readonly canonical: v.BooleanSchema<undefined>;
143
143
  readonly tx_index: v.NumberSchema<undefined>;
144
- readonly tx_status: v.StringSchema<undefined>;
144
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
145
145
  readonly tx_result: v.ObjectSchema<{
146
146
  readonly hex: v.StringSchema<undefined>;
147
147
  readonly repr: v.StringSchema<undefined>;
@@ -190,7 +190,7 @@ declare const tokenTransferSchema: v.ObjectSchema<{
190
190
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
191
191
  readonly canonical: v.BooleanSchema<undefined>;
192
192
  readonly tx_index: v.NumberSchema<undefined>;
193
- readonly tx_status: v.StringSchema<undefined>;
193
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
194
194
  readonly tx_result: v.ObjectSchema<{
195
195
  readonly hex: v.StringSchema<undefined>;
196
196
  readonly repr: v.StringSchema<undefined>;
@@ -237,7 +237,7 @@ declare const transactionSchema: v.VariantSchema<"tx_type", [v.ObjectSchema<{
237
237
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
238
238
  readonly canonical: v.BooleanSchema<undefined>;
239
239
  readonly tx_index: v.NumberSchema<undefined>;
240
- readonly tx_status: v.StringSchema<undefined>;
240
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
241
241
  readonly tx_result: v.ObjectSchema<{
242
242
  readonly hex: v.StringSchema<undefined>;
243
243
  readonly repr: v.StringSchema<undefined>;
@@ -286,7 +286,7 @@ declare const transactionSchema: v.VariantSchema<"tx_type", [v.ObjectSchema<{
286
286
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
287
287
  readonly canonical: v.BooleanSchema<undefined>;
288
288
  readonly tx_index: v.NumberSchema<undefined>;
289
- readonly tx_status: v.StringSchema<undefined>;
289
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
290
290
  readonly tx_result: v.ObjectSchema<{
291
291
  readonly hex: v.StringSchema<undefined>;
292
292
  readonly repr: v.StringSchema<undefined>;
@@ -333,7 +333,7 @@ declare const transactionSchema: v.VariantSchema<"tx_type", [v.ObjectSchema<{
333
333
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
334
334
  readonly canonical: v.BooleanSchema<undefined>;
335
335
  readonly tx_index: v.NumberSchema<undefined>;
336
- readonly tx_status: v.StringSchema<undefined>;
336
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
337
337
  readonly tx_result: v.ObjectSchema<{
338
338
  readonly hex: v.StringSchema<undefined>;
339
339
  readonly repr: v.StringSchema<undefined>;
@@ -405,7 +405,7 @@ declare const resultSchema: v.ObjectSchema<{
405
405
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
406
406
  readonly canonical: v.BooleanSchema<undefined>;
407
407
  readonly tx_index: v.NumberSchema<undefined>;
408
- readonly tx_status: v.StringSchema<undefined>;
408
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
409
409
  readonly tx_result: v.ObjectSchema<{
410
410
  readonly hex: v.StringSchema<undefined>;
411
411
  readonly repr: v.StringSchema<undefined>;
@@ -454,7 +454,7 @@ declare const resultSchema: v.ObjectSchema<{
454
454
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
455
455
  readonly canonical: v.BooleanSchema<undefined>;
456
456
  readonly tx_index: v.NumberSchema<undefined>;
457
- readonly tx_status: v.StringSchema<undefined>;
457
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
458
458
  readonly tx_result: v.ObjectSchema<{
459
459
  readonly hex: v.StringSchema<undefined>;
460
460
  readonly repr: v.StringSchema<undefined>;
@@ -497,7 +497,7 @@ declare const resultSchema: v.ObjectSchema<{
497
497
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
498
498
  readonly canonical: v.BooleanSchema<undefined>;
499
499
  readonly tx_index: v.NumberSchema<undefined>;
500
- readonly tx_status: v.StringSchema<undefined>;
500
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
501
501
  readonly tx_result: v.ObjectSchema<{
502
502
  readonly hex: v.StringSchema<undefined>;
503
503
  readonly repr: v.StringSchema<undefined>;
@@ -563,7 +563,7 @@ declare const resultsSchema$3: v.ArraySchema<v.ObjectSchema<{
563
563
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
564
564
  readonly canonical: v.BooleanSchema<undefined>;
565
565
  readonly tx_index: v.NumberSchema<undefined>;
566
- readonly tx_status: v.StringSchema<undefined>;
566
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
567
567
  readonly tx_result: v.ObjectSchema<{
568
568
  readonly hex: v.StringSchema<undefined>;
569
569
  readonly repr: v.StringSchema<undefined>;
@@ -612,7 +612,7 @@ declare const resultsSchema$3: v.ArraySchema<v.ObjectSchema<{
612
612
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
613
613
  readonly canonical: v.BooleanSchema<undefined>;
614
614
  readonly tx_index: v.NumberSchema<undefined>;
615
- readonly tx_status: v.StringSchema<undefined>;
615
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
616
616
  readonly tx_result: v.ObjectSchema<{
617
617
  readonly hex: v.StringSchema<undefined>;
618
618
  readonly repr: v.StringSchema<undefined>;
@@ -655,7 +655,7 @@ declare const resultsSchema$3: v.ArraySchema<v.ObjectSchema<{
655
655
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
656
656
  readonly canonical: v.BooleanSchema<undefined>;
657
657
  readonly tx_index: v.NumberSchema<undefined>;
658
- readonly tx_status: v.StringSchema<undefined>;
658
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
659
659
  readonly tx_result: v.ObjectSchema<{
660
660
  readonly hex: v.StringSchema<undefined>;
661
661
  readonly repr: v.StringSchema<undefined>;
@@ -722,7 +722,7 @@ declare const addressTransactionsResponseSchema: v.ObjectSchema<{
722
722
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
723
723
  readonly canonical: v.BooleanSchema<undefined>;
724
724
  readonly tx_index: v.NumberSchema<undefined>;
725
- readonly tx_status: v.StringSchema<undefined>;
725
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
726
726
  readonly tx_result: v.ObjectSchema<{
727
727
  readonly hex: v.StringSchema<undefined>;
728
728
  readonly repr: v.StringSchema<undefined>;
@@ -771,7 +771,7 @@ declare const addressTransactionsResponseSchema: v.ObjectSchema<{
771
771
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
772
772
  readonly canonical: v.BooleanSchema<undefined>;
773
773
  readonly tx_index: v.NumberSchema<undefined>;
774
- readonly tx_status: v.StringSchema<undefined>;
774
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
775
775
  readonly tx_result: v.ObjectSchema<{
776
776
  readonly hex: v.StringSchema<undefined>;
777
777
  readonly repr: v.StringSchema<undefined>;
@@ -814,7 +814,7 @@ declare const addressTransactionsResponseSchema: v.ObjectSchema<{
814
814
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
815
815
  readonly canonical: v.BooleanSchema<undefined>;
816
816
  readonly tx_index: v.NumberSchema<undefined>;
817
- readonly tx_status: v.StringSchema<undefined>;
817
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
818
818
  readonly tx_result: v.ObjectSchema<{
819
819
  readonly hex: v.StringSchema<undefined>;
820
820
  readonly repr: v.StringSchema<undefined>;
package/dist/index.d.ts CHANGED
@@ -52,7 +52,7 @@ declare const baseTransactionSchema: v.ObjectSchema<{
52
52
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
53
53
  readonly canonical: v.BooleanSchema<undefined>;
54
54
  readonly tx_index: v.NumberSchema<undefined>;
55
- readonly tx_status: v.StringSchema<undefined>;
55
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
56
56
  readonly tx_result: v.ObjectSchema<{
57
57
  readonly hex: v.StringSchema<undefined>;
58
58
  readonly repr: v.StringSchema<undefined>;
@@ -90,7 +90,7 @@ declare const contractCallTransactionSchema: v.ObjectSchema<{
90
90
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
91
91
  readonly canonical: v.BooleanSchema<undefined>;
92
92
  readonly tx_index: v.NumberSchema<undefined>;
93
- readonly tx_status: v.StringSchema<undefined>;
93
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
94
94
  readonly tx_result: v.ObjectSchema<{
95
95
  readonly hex: v.StringSchema<undefined>;
96
96
  readonly repr: v.StringSchema<undefined>;
@@ -141,7 +141,7 @@ declare const smartContractTransactionSchema: v.ObjectSchema<{
141
141
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
142
142
  readonly canonical: v.BooleanSchema<undefined>;
143
143
  readonly tx_index: v.NumberSchema<undefined>;
144
- readonly tx_status: v.StringSchema<undefined>;
144
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
145
145
  readonly tx_result: v.ObjectSchema<{
146
146
  readonly hex: v.StringSchema<undefined>;
147
147
  readonly repr: v.StringSchema<undefined>;
@@ -190,7 +190,7 @@ declare const tokenTransferSchema: v.ObjectSchema<{
190
190
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
191
191
  readonly canonical: v.BooleanSchema<undefined>;
192
192
  readonly tx_index: v.NumberSchema<undefined>;
193
- readonly tx_status: v.StringSchema<undefined>;
193
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
194
194
  readonly tx_result: v.ObjectSchema<{
195
195
  readonly hex: v.StringSchema<undefined>;
196
196
  readonly repr: v.StringSchema<undefined>;
@@ -237,7 +237,7 @@ declare const transactionSchema: v.VariantSchema<"tx_type", [v.ObjectSchema<{
237
237
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
238
238
  readonly canonical: v.BooleanSchema<undefined>;
239
239
  readonly tx_index: v.NumberSchema<undefined>;
240
- readonly tx_status: v.StringSchema<undefined>;
240
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
241
241
  readonly tx_result: v.ObjectSchema<{
242
242
  readonly hex: v.StringSchema<undefined>;
243
243
  readonly repr: v.StringSchema<undefined>;
@@ -286,7 +286,7 @@ declare const transactionSchema: v.VariantSchema<"tx_type", [v.ObjectSchema<{
286
286
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
287
287
  readonly canonical: v.BooleanSchema<undefined>;
288
288
  readonly tx_index: v.NumberSchema<undefined>;
289
- readonly tx_status: v.StringSchema<undefined>;
289
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
290
290
  readonly tx_result: v.ObjectSchema<{
291
291
  readonly hex: v.StringSchema<undefined>;
292
292
  readonly repr: v.StringSchema<undefined>;
@@ -333,7 +333,7 @@ declare const transactionSchema: v.VariantSchema<"tx_type", [v.ObjectSchema<{
333
333
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
334
334
  readonly canonical: v.BooleanSchema<undefined>;
335
335
  readonly tx_index: v.NumberSchema<undefined>;
336
- readonly tx_status: v.StringSchema<undefined>;
336
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
337
337
  readonly tx_result: v.ObjectSchema<{
338
338
  readonly hex: v.StringSchema<undefined>;
339
339
  readonly repr: v.StringSchema<undefined>;
@@ -405,7 +405,7 @@ declare const resultSchema: v.ObjectSchema<{
405
405
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
406
406
  readonly canonical: v.BooleanSchema<undefined>;
407
407
  readonly tx_index: v.NumberSchema<undefined>;
408
- readonly tx_status: v.StringSchema<undefined>;
408
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
409
409
  readonly tx_result: v.ObjectSchema<{
410
410
  readonly hex: v.StringSchema<undefined>;
411
411
  readonly repr: v.StringSchema<undefined>;
@@ -454,7 +454,7 @@ declare const resultSchema: v.ObjectSchema<{
454
454
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
455
455
  readonly canonical: v.BooleanSchema<undefined>;
456
456
  readonly tx_index: v.NumberSchema<undefined>;
457
- readonly tx_status: v.StringSchema<undefined>;
457
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
458
458
  readonly tx_result: v.ObjectSchema<{
459
459
  readonly hex: v.StringSchema<undefined>;
460
460
  readonly repr: v.StringSchema<undefined>;
@@ -497,7 +497,7 @@ declare const resultSchema: v.ObjectSchema<{
497
497
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
498
498
  readonly canonical: v.BooleanSchema<undefined>;
499
499
  readonly tx_index: v.NumberSchema<undefined>;
500
- readonly tx_status: v.StringSchema<undefined>;
500
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
501
501
  readonly tx_result: v.ObjectSchema<{
502
502
  readonly hex: v.StringSchema<undefined>;
503
503
  readonly repr: v.StringSchema<undefined>;
@@ -563,7 +563,7 @@ declare const resultsSchema$3: v.ArraySchema<v.ObjectSchema<{
563
563
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
564
564
  readonly canonical: v.BooleanSchema<undefined>;
565
565
  readonly tx_index: v.NumberSchema<undefined>;
566
- readonly tx_status: v.StringSchema<undefined>;
566
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
567
567
  readonly tx_result: v.ObjectSchema<{
568
568
  readonly hex: v.StringSchema<undefined>;
569
569
  readonly repr: v.StringSchema<undefined>;
@@ -612,7 +612,7 @@ declare const resultsSchema$3: v.ArraySchema<v.ObjectSchema<{
612
612
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
613
613
  readonly canonical: v.BooleanSchema<undefined>;
614
614
  readonly tx_index: v.NumberSchema<undefined>;
615
- readonly tx_status: v.StringSchema<undefined>;
615
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
616
616
  readonly tx_result: v.ObjectSchema<{
617
617
  readonly hex: v.StringSchema<undefined>;
618
618
  readonly repr: v.StringSchema<undefined>;
@@ -655,7 +655,7 @@ declare const resultsSchema$3: v.ArraySchema<v.ObjectSchema<{
655
655
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
656
656
  readonly canonical: v.BooleanSchema<undefined>;
657
657
  readonly tx_index: v.NumberSchema<undefined>;
658
- readonly tx_status: v.StringSchema<undefined>;
658
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
659
659
  readonly tx_result: v.ObjectSchema<{
660
660
  readonly hex: v.StringSchema<undefined>;
661
661
  readonly repr: v.StringSchema<undefined>;
@@ -722,7 +722,7 @@ declare const addressTransactionsResponseSchema: v.ObjectSchema<{
722
722
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
723
723
  readonly canonical: v.BooleanSchema<undefined>;
724
724
  readonly tx_index: v.NumberSchema<undefined>;
725
- readonly tx_status: v.StringSchema<undefined>;
725
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
726
726
  readonly tx_result: v.ObjectSchema<{
727
727
  readonly hex: v.StringSchema<undefined>;
728
728
  readonly repr: v.StringSchema<undefined>;
@@ -771,7 +771,7 @@ declare const addressTransactionsResponseSchema: v.ObjectSchema<{
771
771
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
772
772
  readonly canonical: v.BooleanSchema<undefined>;
773
773
  readonly tx_index: v.NumberSchema<undefined>;
774
- readonly tx_status: v.StringSchema<undefined>;
774
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
775
775
  readonly tx_result: v.ObjectSchema<{
776
776
  readonly hex: v.StringSchema<undefined>;
777
777
  readonly repr: v.StringSchema<undefined>;
@@ -814,7 +814,7 @@ declare const addressTransactionsResponseSchema: v.ObjectSchema<{
814
814
  readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
815
815
  readonly canonical: v.BooleanSchema<undefined>;
816
816
  readonly tx_index: v.NumberSchema<undefined>;
817
- readonly tx_status: v.StringSchema<undefined>;
817
+ readonly tx_status: v.UnionSchema<[v.LiteralSchema<"success", undefined>, v.LiteralSchema<"abort_by_response", undefined>, v.LiteralSchema<"abort_by_post_condition", undefined>], undefined>;
818
818
  readonly tx_result: v.ObjectSchema<{
819
819
  readonly hex: v.StringSchema<undefined>;
820
820
  readonly repr: v.StringSchema<undefined>;
package/dist/index.js CHANGED
@@ -752,7 +752,11 @@ var baseTransactionSchema = v13.object({
752
752
  parent_burn_block_time_iso: v13.string(),
753
753
  canonical: v13.boolean(),
754
754
  tx_index: v13.number(),
755
- tx_status: v13.string(),
755
+ tx_status: v13.union([
756
+ v13.literal("success"),
757
+ v13.literal("abort_by_response"),
758
+ v13.literal("abort_by_post_condition")
759
+ ]),
756
760
  tx_result: v13.object({
757
761
  hex: v13.string(),
758
762
  repr: v13.string()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secretkeylabs/stacks-tools",
3
- "version": "0.4.0-80a0ce6",
3
+ "version": "0.4.0-f239728",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"