@tari-project/ootle-ts-bindings 1.53.0 → 1.55.0

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.
Files changed (119) hide show
  1. package/dist/helpers/helpers.js +4 -5
  2. package/dist/helpers/ootleAddress.d.ts +1 -1
  3. package/dist/index.d.ts +56 -44
  4. package/dist/index.js +56 -44
  5. package/dist/tari-indexer-client.d.ts +55 -54
  6. package/dist/tari-indexer-client.js +55 -54
  7. package/dist/types/BlockHeader.d.ts +6 -3
  8. package/dist/types/BurnOutput.d.ts +24 -0
  9. package/dist/types/BurnOutputFeatures.d.ts +22 -0
  10. package/dist/types/BurnOutputInclusionProof.d.ts +15 -0
  11. package/dist/types/BurnRateChange.d.ts +4 -0
  12. package/dist/types/BurnRateGovernanceState.d.ts +5 -0
  13. package/dist/types/BurnSidechainId.d.ts +6 -0
  14. package/dist/types/BurnSidechainId.js +1 -0
  15. package/dist/types/Command.d.ts +7 -6
  16. package/dist/types/DiffSummary.d.ts +9 -0
  17. package/dist/types/DownSubstate.d.ts +6 -0
  18. package/dist/types/DownSubstate.js +1 -0
  19. package/dist/types/EvidenceInputLockData.d.ts +2 -1
  20. package/dist/types/EvidenceInputLockData.js +0 -1
  21. package/dist/types/ExecutionFailureCode.d.ts +1 -0
  22. package/dist/types/FeeSource.d.ts +1 -1
  23. package/dist/types/IndexedWellKnownTypes.d.ts +0 -2
  24. package/dist/types/InputDeclaration.d.ts +5 -0
  25. package/dist/types/InputDeclaration.js +2 -0
  26. package/dist/types/LocalOnlyAtom.d.ts +8 -0
  27. package/dist/types/LocalOnlyAtom.js +1 -0
  28. package/dist/types/LockedEpoch.d.ts +1 -0
  29. package/dist/types/Metadata.d.ts +6 -4
  30. package/dist/types/MinotariBurnClaimProof.d.ts +11 -8
  31. package/dist/types/MmrInclusionProof.d.ts +19 -0
  32. package/dist/types/MmrInclusionProof.js +1 -0
  33. package/dist/types/{TransactionAtom.d.ts → MultiShardAtom.d.ts} +1 -1
  34. package/dist/types/MultiShardAtom.js +1 -0
  35. package/dist/types/Permission.d.ts +2 -0
  36. package/dist/types/PrunedUnsignedTransactionV1.d.ts +2 -2
  37. package/dist/types/RejectReason.d.ts +5 -1
  38. package/dist/types/RevealedOutput.d.ts +21 -0
  39. package/dist/types/RevealedOutput.js +1 -0
  40. package/dist/types/SignedTimeout.d.ts +6 -0
  41. package/dist/types/SignedTimeout.js +1 -0
  42. package/dist/types/StealthOutputsStatement.d.ts +5 -4
  43. package/dist/types/Substate.d.ts +2 -1
  44. package/dist/types/SubstateDiff.d.ts +2 -1
  45. package/dist/types/SubstateRecord.d.ts +2 -1
  46. package/dist/types/SubstateRequirement.d.ts +2 -1
  47. package/dist/types/SubstateRequirement.js +0 -1
  48. package/dist/types/SubstateVersion.d.ts +7 -0
  49. package/dist/types/SubstateVersion.js +2 -0
  50. package/dist/types/TimeoutCertificate.d.ts +4 -3
  51. package/dist/types/UnsignedTransactionV1.d.ts +2 -2
  52. package/dist/types/UpSubstate.d.ts +2 -1
  53. package/dist/types/UtxoBurnt.d.ts +2 -1
  54. package/dist/types/UtxoSpent.d.ts +2 -1
  55. package/dist/types/VersionedSubstateId.d.ts +2 -1
  56. package/dist/types/tari-indexer-client/GetNetworkEconomicsResponse.d.ts +10 -0
  57. package/dist/types/tari-indexer-client/GetNetworkSyncStateResponse.d.ts +2 -5
  58. package/dist/types/tari-indexer-client/GetResourceResponse.d.ts +2 -1
  59. package/dist/types/tari-indexer-client/IndexerGetSubstateRequest.d.ts +2 -1
  60. package/dist/types/tari-indexer-client/IndexerGetSubstateRequest.js +0 -1
  61. package/dist/types/tari-indexer-client/IndexerGetSubstateResponse.d.ts +2 -1
  62. package/dist/types/tari-indexer-client/InspectSubstateRequest.d.ts +2 -1
  63. package/dist/types/tari-indexer-client/InspectSubstateResponse.d.ts +2 -1
  64. package/dist/types/tari-indexer-client/ListSubstateItem.d.ts +2 -1
  65. package/dist/types/tari-indexer-client/NonFungibleSubstate.d.ts +2 -1
  66. package/dist/types/tari-indexer-client/ScheduledBurnRate.d.ts +7 -0
  67. package/dist/types/tari-indexer-client/ScheduledBurnRate.js +2 -0
  68. package/dist/types/tari-indexer-client/ValidatorProbeError.d.ts +8 -0
  69. package/dist/types/tari-indexer-client/ValidatorProbeError.js +1 -0
  70. package/dist/types/tari-indexer-client/ValidatorProbeErrorKind.d.ts +1 -0
  71. package/dist/types/tari-indexer-client/ValidatorProbeErrorKind.js +2 -0
  72. package/dist/types/tari-indexer-client/ValidatorStatus.d.ts +13 -13
  73. package/dist/types/tari-indexer-client/ValidatorStatusSnapshot.d.ts +18 -0
  74. package/dist/types/tari-indexer-client/ValidatorStatusSnapshot.js +1 -0
  75. package/dist/types/validator-node-client/VNGetSubstateRequest.d.ts +2 -1
  76. package/dist/types/wallet-types/AccountsGetFaucetBalanceRequest.d.ts +1 -0
  77. package/dist/types/wallet-types/AccountsGetFaucetBalanceRequest.js +2 -0
  78. package/dist/types/wallet-types/AccountsGetFaucetBalanceResponse.d.ts +11 -0
  79. package/dist/types/wallet-types/AccountsGetFaucetBalanceResponse.js +1 -0
  80. package/dist/types/wallet-types/CallInstructionRequest.d.ts +2 -2
  81. package/dist/types/wallet-types/ConfidentialViewVaultBalanceResponse.d.ts +2 -0
  82. package/dist/types/wallet-types/ConfidentialViewVaultBalanceResponse.js +0 -1
  83. package/dist/types/wallet-types/KeyType.d.ts +1 -0
  84. package/dist/types/wallet-types/KeyType.js +2 -0
  85. package/dist/types/wallet-types/KeysImportRequest.d.ts +8 -0
  86. package/dist/types/wallet-types/KeysImportRequest.js +1 -0
  87. package/dist/types/wallet-types/KeysImportResponse.d.ts +6 -0
  88. package/dist/types/wallet-types/KeysImportResponse.js +1 -0
  89. package/dist/types/wallet-types/ResourcesGetManyRequest.d.ts +4 -0
  90. package/dist/types/wallet-types/ResourcesGetManyRequest.js +1 -0
  91. package/dist/types/wallet-types/ResourcesGetManyResponse.d.ts +11 -0
  92. package/dist/types/wallet-types/ResourcesGetManyResponse.js +1 -0
  93. package/dist/types/wallet-types/ResourcesGetRequest.d.ts +4 -0
  94. package/dist/types/wallet-types/ResourcesGetRequest.js +1 -0
  95. package/dist/types/wallet-types/ResourcesGetResponse.d.ts +4 -0
  96. package/dist/types/wallet-types/ResourcesGetResponse.js +1 -0
  97. package/dist/types/wallet-types/StealthUtxosDecryptValueResponse.d.ts +2 -0
  98. package/dist/types/wallet-types/ValueScanCoverage.d.ts +25 -0
  99. package/dist/types/wallet-types/ValueScanCoverage.js +2 -0
  100. package/dist/types/wallet-types/WalletSubstateInfo.d.ts +2 -1
  101. package/dist/types/wallet-types/WebauthnAlreadyRegisteredRequest.d.ts +1 -3
  102. package/dist/types/wallet-types/WebauthnFinishRegisterRequest.d.ts +0 -5
  103. package/dist/types/wallet-types/WebauthnFinishRegisterRequest.js +1 -0
  104. package/dist/validator-node-client.d.ts +42 -42
  105. package/dist/validator-node-client.js +42 -42
  106. package/dist/wallet-types.d.ts +186 -176
  107. package/dist/wallet-types.js +186 -176
  108. package/package.json +1 -1
  109. package/dist/types/AbridgedTransactionKernel.d.ts +0 -9
  110. package/dist/types/EncodedMerkleProof.d.ts +0 -5
  111. package/dist/types/tari-indexer-client/ListTemplatesRequest.d.ts +0 -3
  112. package/dist/types/tari-indexer-client/ListTemplatesResponse.d.ts +0 -4
  113. package/dist/types/tari-indexer-client/TemplateMeta.d.ts +0 -15
  114. /package/dist/types/{AbridgedTransactionKernel.js → BurnOutput.js} +0 -0
  115. /package/dist/types/{TransactionAtom.js → BurnOutputFeatures.js} +0 -0
  116. /package/dist/types/{tari-indexer-client/ListTemplatesResponse.js → BurnOutputInclusionProof.js} +0 -0
  117. /package/dist/types/{EncodedMerkleProof.js → BurnRateChange.js} +0 -0
  118. /package/dist/types/{tari-indexer-client/TemplateMeta.js → BurnRateGovernanceState.js} +0 -0
  119. /package/dist/types/{tari-indexer-client/ListTemplatesRequest.js → ExecutionFailureCode.js} +0 -0
@@ -75,7 +75,7 @@ export function rejectReasonToString(reason) {
75
75
  return `ShardsNotPledged: ${reason.ShardsNotPledged}`;
76
76
  }
77
77
  if ("ExecutionFailure" in reason) {
78
- return `ExecutionFailure: ${reason.ExecutionFailure}`;
78
+ return `ExecutionFailure (${reason.ExecutionFailure.code}): ${reason.ExecutionFailure.message}`;
79
79
  }
80
80
  if ("ShardPledgedToAnotherPayload" in reason) {
81
81
  return `ShardPledgedToAnotherPayload: ${reason.ShardPledgedToAnotherPayload}`;
@@ -93,9 +93,6 @@ export function rejectReasonToString(reason) {
93
93
  if ("InvalidTransaction" in reason) {
94
94
  return `InvalidTransaction: ${reason.InvalidTransaction}`;
95
95
  }
96
- if ("ExecutionFailure" in reason) {
97
- return `ExecutionFailure: ${reason.ExecutionFailure}`;
98
- }
99
96
  if ("OneOrMoreInputsNotFound" in reason) {
100
97
  return `OneOrMoreInputsNotFound: ${reason.OneOrMoreInputsNotFound}`;
101
98
  }
@@ -135,7 +132,7 @@ export function permissionToString(permission) {
135
132
  return permission.toLowerCase();
136
133
  }
137
134
  // Read-only resources: { Substates: "Read" } / { BurnProofs: "Read" } /
138
- // { SwapPools: "Read" } — render with the resource name in snake_case
135
+ // { SwapPools: "Read" } / { Resources: "Read" } — render with the resource name in snake_case
139
136
  // plus explicit `:read`.
140
137
  if ("Substates" in permission)
141
138
  return "substates:read";
@@ -143,6 +140,8 @@ export function permissionToString(permission) {
143
140
  return "burn_proofs:read";
144
141
  if ("SwapPools" in permission)
145
142
  return "swap_pools:read";
143
+ if ("Resources" in permission)
144
+ return "resources:read";
146
145
  // Unscoped CRUD resources: { Keys: "Read" } -> "keys:read".
147
146
  if ("Keys" in permission)
148
147
  return `keys:${permission.Keys.toLowerCase()}`;
@@ -1,5 +1,5 @@
1
- import { OotleAddress } from "../types/OotleAddress";
2
1
  import { Network } from "../types/Network";
2
+ import { OotleAddress } from "../types/OotleAddress";
3
3
  export type DecodedOotleAddress = {
4
4
  network: Network;
5
5
  accountPublicKey: string;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,14 @@
1
+ export * from "./base-node-client";
2
+ export * from "./helpers/BigAmount";
3
+ export * from "./helpers/cbor";
4
+ export * from "./helpers/consts";
5
+ export * from "./helpers/enum";
6
+ export * from "./helpers/helpers";
7
+ export * from "./helpers/NetworkByte";
8
+ export * from "./helpers/ootleAddress";
9
+ export * from "./helpers/tariTypeTag";
10
+ export * from "./tari-indexer-client";
1
11
  export * from "./types/AbortReason";
2
- export * from "./types/AbridgedTransactionKernel";
3
12
  export * from "./types/AccessRule";
4
13
  export * from "./types/Account";
5
14
  export * from "./types/AccountWithAddress";
@@ -9,59 +18,66 @@ export * from "./types/ArgDef";
9
18
  export * from "./types/Assertion";
10
19
  export * from "./types/AtomicCondition";
11
20
  export * from "./types/AuthHook";
12
- export * from "./types/DiagnosticEvent";
13
- export * from "./types/DiagnosticEventFilter";
14
- export * from "./types/DiagnosticEventRecord";
15
- export * from "./types/DiagnosticLevel";
21
+ export * from "./types/Blob";
16
22
  export * from "./types/BlobHashes";
17
23
  export * from "./types/Blobs";
18
- export * from "./types/Blob";
24
+ export * from "./types/Block";
19
25
  export * from "./types/BlockHeader";
20
26
  export * from "./types/BlockId";
21
- export * from "./types/Block";
22
27
  export * from "./types/BucketId";
23
28
  export * from "./types/BuiltinPredicate";
29
+ export * from "./types/BurnOutput";
30
+ export * from "./types/BurnOutputFeatures";
31
+ export * from "./types/BurnOutputInclusionProof";
32
+ export * from "./types/BurnRateChange";
33
+ export * from "./types/BurnRateGovernanceState";
34
+ export * from "./types/BurnSidechainId";
24
35
  export * from "./types/Bytes";
25
36
  export * from "./types/CheckOrd";
26
37
  export * from "./types/ClaimBurnOutputData";
27
- export * from "./types/ClaimedOutputTombstoneAddress";
28
38
  export * from "./types/ClaimedOutputTombstone";
39
+ export * from "./types/ClaimedOutputTombstoneAddress";
29
40
  export * from "./types/Claims";
30
41
  export * from "./types/Command";
31
42
  export * from "./types/CommitmentSignatureBytes";
32
43
  export * from "./types/CommitmentValueProof";
44
+ export * from "./types/Committee";
33
45
  export * from "./types/CommitteeInfo";
34
46
  export * from "./types/CommitteeMember";
35
- export * from "./types/Committee";
47
+ export * from "./types/Component";
36
48
  export * from "./types/ComponentAccessRules";
37
49
  export * from "./types/ComponentAddress";
38
50
  export * from "./types/ComponentBody";
39
51
  export * from "./types/ComponentHeader";
40
52
  export * from "./types/ComponentKey";
41
53
  export * from "./types/ComponentReference";
42
- export * from "./types/Component";
43
- export * from "./types/ConfidentialOutputAddressContents";
54
+ export * from "./types/ConfidentialOutput";
44
55
  export * from "./types/ConfidentialOutputAddress";
56
+ export * from "./types/ConfidentialOutputAddressContents";
45
57
  export * from "./types/ConfidentialOutputStatement";
46
- export * from "./types/ConfidentialOutput";
47
58
  export * from "./types/ConfidentialWithdrawProof";
48
- export * from "./types/CovenantBalanceClaim";
49
59
  export * from "./types/Covenant";
60
+ export * from "./types/CovenantBalanceClaim";
50
61
  export * from "./types/Crud";
51
62
  export * from "./types/CurrentInputView";
52
63
  export * from "./types/Decision";
64
+ export * from "./types/DiagnosticEvent";
65
+ export * from "./types/DiagnosticEventFilter";
66
+ export * from "./types/DiagnosticEventRecord";
67
+ export * from "./types/DiagnosticLevel";
53
68
  export * from "./types/DiffSummary";
69
+ export * from "./types/DownSubstate";
54
70
  export * from "./types/ElgamalVerifiableBalanceBytes";
55
- export * from "./types/EncodedMerkleProof";
56
71
  export * from "./types/EncryptedData";
57
72
  export * from "./types/EndEpochAtom";
58
73
  export * from "./types/EntityId";
59
74
  export * from "./types/Epoch";
60
75
  export * from "./types/Era";
61
76
  export * from "./types/Event";
62
- export * from "./types/EvidenceInputLockData";
63
77
  export * from "./types/Evidence";
78
+ export * from "./types/EvidenceInputLockData";
64
79
  export * from "./types/ExecuteResult";
80
+ export * from "./types/ExecutionFailureCode";
65
81
  export * from "./types/ExtraData";
66
82
  export * from "./types/FeeBreakdown";
67
83
  export * from "./types/FeeCostBreakdown";
@@ -77,10 +93,12 @@ export * from "./types/Hash64";
77
93
  export * from "./types/HashAlg";
78
94
  export * from "./types/IndexedValue";
79
95
  export * from "./types/IndexedWellKnownTypes";
96
+ export * from "./types/InputDeclaration";
97
+ export * from "./types/Instruction";
80
98
  export * from "./types/InstructionArg";
81
99
  export * from "./types/InstructionResult";
82
- export * from "./types/Instruction";
83
100
  export * from "./types/LeaderFee";
101
+ export * from "./types/LocalOnlyAtom";
84
102
  export * from "./types/LockedEpoch";
85
103
  export * from "./types/LockFlag";
86
104
  export * from "./types/LogEntry";
@@ -90,15 +108,17 @@ export * from "./types/MerkleProof";
90
108
  export * from "./types/Metadata";
91
109
  export * from "./types/MigrateFunction";
92
110
  export * from "./types/MinotariBurnClaimProof";
111
+ export * from "./types/MmrInclusionProof";
112
+ export * from "./types/MultiShardAtom";
93
113
  export * from "./types/Network";
94
114
  export * from "./types/NftCheck";
95
115
  export * from "./types/NodeHeight";
96
- export * from "./types/NonFungibleAddressContents";
116
+ export * from "./types/NonFungible";
97
117
  export * from "./types/NonFungibleAddress";
118
+ export * from "./types/NonFungibleAddressContents";
98
119
  export * from "./types/NonFungibleContainer";
99
120
  export * from "./types/NonFungibleId";
100
121
  export * from "./types/NonFungibleToken";
101
- export * from "./types/NonFungible";
102
122
  export * from "./types/NumPreshards";
103
123
  export * from "./types/OotleAddress";
104
124
  export * from "./types/Ordering";
@@ -108,8 +128,8 @@ export * from "./types/OwnerRule";
108
128
  export * from "./types/PayRef";
109
129
  export * from "./types/PedersenCommitmentBytes";
110
130
  export * from "./types/PeerAddress";
111
- export * from "./types/Permissions";
112
131
  export * from "./types/Permission";
132
+ export * from "./types/Permissions";
113
133
  export * from "./types/PrecisionAmount";
114
134
  export * from "./types/ProofId";
115
135
  export * from "./types/ProposalCertificate";
@@ -117,40 +137,43 @@ export * from "./types/PrunedTransaction";
117
137
  export * from "./types/PrunedTransactionV1";
118
138
  export * from "./types/PrunedUnsealedTransactionV1";
119
139
  export * from "./types/PrunedUnsignedTransactionV1";
140
+ export * from "./types/PublishedTemplate";
120
141
  export * from "./types/PublishedTemplateAddress";
121
142
  export * from "./types/PublishedTemplateMetadata";
122
- export * from "./types/PublishedTemplate";
123
143
  export * from "./types/RangeProofBytes";
124
144
  export * from "./types/ReadOnly";
125
145
  export * from "./types/RejectReason";
126
146
  export * from "./types/RequireRule";
147
+ export * from "./types/Resource";
127
148
  export * from "./types/ResourceAccessRules";
128
- export * from "./types/ResourceAddressRef";
129
149
  export * from "./types/ResourceAddress";
150
+ export * from "./types/ResourceAddressRef";
130
151
  export * from "./types/ResourceContainer";
131
- export * from "./types/Resource";
132
152
  export * from "./types/ResourceType";
133
153
  export * from "./types/RestrictedAccessRule";
154
+ export * from "./types/RevealedOutput";
134
155
  export * from "./types/RistrettoPublicKeyBytes";
135
156
  export * from "./types/RuleRequirement";
136
157
  export * from "./types/Scalar32Bytes";
137
158
  export * from "./types/SchnorrSignatureBytes";
159
+ export * from "./types/Shard";
160
+ export * from "./types/ShardGroup";
138
161
  export * from "./types/ShardGroupAccumulatedData";
139
162
  export * from "./types/ShardGroupEvidence";
140
- export * from "./types/ShardGroup";
141
163
  export * from "./types/ShardStateVersions";
142
- export * from "./types/Shard";
164
+ export * from "./types/SignedTimeout";
143
165
  export * from "./types/SpendAuthorization";
144
166
  export * from "./types/SpendCondition";
145
167
  export * from "./types/SpendWitness";
146
168
  export * from "./types/StateVersion";
147
- export * from "./types/StealthInputsStatement";
148
169
  export * from "./types/StealthInput";
170
+ export * from "./types/StealthInputsStatement";
149
171
  export * from "./types/StealthInputView";
150
172
  export * from "./types/StealthOutputsStatement";
151
173
  export * from "./types/StealthOutputView";
152
174
  export * from "./types/StealthTransferStatement";
153
175
  export * from "./types/StealthUnspentOutput";
176
+ export * from "./types/Substate";
154
177
  export * from "./types/SubstateAddress";
155
178
  export * from "./types/SubstateCreated";
156
179
  export * from "./types/SubstateDestroyed";
@@ -160,27 +183,26 @@ export * from "./types/SubstateLockType";
160
183
  export * from "./types/SubstateOwnerRule";
161
184
  export * from "./types/SubstateRecord";
162
185
  export * from "./types/SubstateRequirement";
163
- export * from "./types/Substate";
164
186
  export * from "./types/SubstateType";
165
187
  export * from "./types/SubstateValue";
188
+ export * from "./types/SubstateVersion";
166
189
  export * from "./types/TemplateDef";
167
190
  export * from "./types/TemplateDefV1";
168
191
  export * from "./types/TemplateFunction";
169
192
  export * from "./types/TemplateMetadata";
170
193
  export * from "./types/TimeoutCertificate";
171
- export * from "./types/TransactionAtom";
194
+ export * from "./types/Transaction";
172
195
  export * from "./types/TransactionEnvelope";
173
196
  export * from "./types/TransactionExecution";
174
197
  export * from "./types/TransactionId";
175
198
  export * from "./types/TransactionPoolRecord";
176
199
  export * from "./types/TransactionPoolStage";
177
- export * from "./types/TransactionReceiptAddress";
178
200
  export * from "./types/TransactionReceipt";
201
+ export * from "./types/TransactionReceiptAddress";
179
202
  export * from "./types/TransactionResult";
180
203
  export * from "./types/TransactionSealSignature";
181
204
  export * from "./types/TransactionSignature";
182
205
  export * from "./types/TransactionStatus";
183
- export * from "./types/Transaction";
184
206
  export * from "./types/TransactionV1";
185
207
  export * from "./types/TxRequestAction";
186
208
  export * from "./types/Type";
@@ -191,8 +213,9 @@ export * from "./types/UnsignedTransactionV1";
191
213
  export * from "./types/UnspentOutput";
192
214
  export * from "./types/UpdateRule";
193
215
  export * from "./types/UpSubstate";
194
- export * from "./types/UtxoAddressContents";
216
+ export * from "./types/Utxo";
195
217
  export * from "./types/UtxoAddress";
218
+ export * from "./types/UtxoAddressContents";
196
219
  export * from "./types/UtxoBurnt";
197
220
  export * from "./types/UtxoId";
198
221
  export * from "./types/UtxoInputSelection";
@@ -200,33 +223,22 @@ export * from "./types/UtxoOutput";
200
223
  export * from "./types/UtxoSpent";
201
224
  export * from "./types/UtxoStateUpdateSet";
202
225
  export * from "./types/UtxoTag";
203
- export * from "./types/Utxo";
204
226
  export * from "./types/UtxoUnspent";
205
227
  export * from "./types/UtxoUpdateSet";
206
- export * from "./types/ValidatorFeePoolAddress";
207
228
  export * from "./types/ValidatorFeePool";
229
+ export * from "./types/ValidatorFeePoolAddress";
208
230
  export * from "./types/ValidatorFeeWithdrawal";
209
231
  export * from "./types/ValidatorSignatureBytes";
210
232
  export * from "./types/ValueKnowledgeProof";
233
+ export * from "./types/Vault";
211
234
  export * from "./types/VaultFreezeFlags";
212
235
  export * from "./types/VaultId";
213
- export * from "./types/Vault";
214
- export * from "./types/VersionedSubstateIdLockIntent";
215
236
  export * from "./types/VersionedSubstateId";
237
+ export * from "./types/VersionedSubstateIdLockIntent";
216
238
  export * from "./types/ViewableBalanceProof";
217
239
  export * from "./types/VotePower";
218
240
  export * from "./types/WalletTransaction";
219
241
  export * from "./types/WalletUtxoUpdate";
220
242
  export * from "./types/WorkspaceOffsetId";
221
- export * from "./base-node-client";
222
- export * from "./tari-indexer-client";
223
243
  export * from "./validator-node-client";
224
244
  export * from "./wallet-types";
225
- export * from "./helpers/BigAmount";
226
- export * from "./helpers/cbor";
227
- export * from "./helpers/consts";
228
- export * from "./helpers/enum";
229
- export * from "./helpers/helpers";
230
- export * from "./helpers/NetworkByte";
231
- export * from "./helpers/ootleAddress";
232
- export * from "./helpers/tariTypeTag";
package/dist/index.js CHANGED
@@ -1,7 +1,16 @@
1
1
  // Copyright 2026 The Tari Project
2
2
  // SPDX-License-Identifier: BSD-3-Clause
3
+ export * from "./base-node-client";
4
+ export * from "./helpers/BigAmount";
5
+ export * from "./helpers/cbor";
6
+ export * from "./helpers/consts";
7
+ export * from "./helpers/enum";
8
+ export * from "./helpers/helpers";
9
+ export * from "./helpers/NetworkByte";
10
+ export * from "./helpers/ootleAddress";
11
+ export * from "./helpers/tariTypeTag";
12
+ export * from "./tari-indexer-client";
3
13
  export * from "./types/AbortReason";
4
- export * from "./types/AbridgedTransactionKernel";
5
14
  export * from "./types/AccessRule";
6
15
  export * from "./types/Account";
7
16
  export * from "./types/AccountWithAddress";
@@ -11,59 +20,66 @@ export * from "./types/ArgDef";
11
20
  export * from "./types/Assertion";
12
21
  export * from "./types/AtomicCondition";
13
22
  export * from "./types/AuthHook";
14
- export * from "./types/DiagnosticEvent";
15
- export * from "./types/DiagnosticEventFilter";
16
- export * from "./types/DiagnosticEventRecord";
17
- export * from "./types/DiagnosticLevel";
23
+ export * from "./types/Blob";
18
24
  export * from "./types/BlobHashes";
19
25
  export * from "./types/Blobs";
20
- export * from "./types/Blob";
26
+ export * from "./types/Block";
21
27
  export * from "./types/BlockHeader";
22
28
  export * from "./types/BlockId";
23
- export * from "./types/Block";
24
29
  export * from "./types/BucketId";
25
30
  export * from "./types/BuiltinPredicate";
31
+ export * from "./types/BurnOutput";
32
+ export * from "./types/BurnOutputFeatures";
33
+ export * from "./types/BurnOutputInclusionProof";
34
+ export * from "./types/BurnRateChange";
35
+ export * from "./types/BurnRateGovernanceState";
36
+ export * from "./types/BurnSidechainId";
26
37
  export * from "./types/Bytes";
27
38
  export * from "./types/CheckOrd";
28
39
  export * from "./types/ClaimBurnOutputData";
29
- export * from "./types/ClaimedOutputTombstoneAddress";
30
40
  export * from "./types/ClaimedOutputTombstone";
41
+ export * from "./types/ClaimedOutputTombstoneAddress";
31
42
  export * from "./types/Claims";
32
43
  export * from "./types/Command";
33
44
  export * from "./types/CommitmentSignatureBytes";
34
45
  export * from "./types/CommitmentValueProof";
46
+ export * from "./types/Committee";
35
47
  export * from "./types/CommitteeInfo";
36
48
  export * from "./types/CommitteeMember";
37
- export * from "./types/Committee";
49
+ export * from "./types/Component";
38
50
  export * from "./types/ComponentAccessRules";
39
51
  export * from "./types/ComponentAddress";
40
52
  export * from "./types/ComponentBody";
41
53
  export * from "./types/ComponentHeader";
42
54
  export * from "./types/ComponentKey";
43
55
  export * from "./types/ComponentReference";
44
- export * from "./types/Component";
45
- export * from "./types/ConfidentialOutputAddressContents";
56
+ export * from "./types/ConfidentialOutput";
46
57
  export * from "./types/ConfidentialOutputAddress";
58
+ export * from "./types/ConfidentialOutputAddressContents";
47
59
  export * from "./types/ConfidentialOutputStatement";
48
- export * from "./types/ConfidentialOutput";
49
60
  export * from "./types/ConfidentialWithdrawProof";
50
- export * from "./types/CovenantBalanceClaim";
51
61
  export * from "./types/Covenant";
62
+ export * from "./types/CovenantBalanceClaim";
52
63
  export * from "./types/Crud";
53
64
  export * from "./types/CurrentInputView";
54
65
  export * from "./types/Decision";
66
+ export * from "./types/DiagnosticEvent";
67
+ export * from "./types/DiagnosticEventFilter";
68
+ export * from "./types/DiagnosticEventRecord";
69
+ export * from "./types/DiagnosticLevel";
55
70
  export * from "./types/DiffSummary";
71
+ export * from "./types/DownSubstate";
56
72
  export * from "./types/ElgamalVerifiableBalanceBytes";
57
- export * from "./types/EncodedMerkleProof";
58
73
  export * from "./types/EncryptedData";
59
74
  export * from "./types/EndEpochAtom";
60
75
  export * from "./types/EntityId";
61
76
  export * from "./types/Epoch";
62
77
  export * from "./types/Era";
63
78
  export * from "./types/Event";
64
- export * from "./types/EvidenceInputLockData";
65
79
  export * from "./types/Evidence";
80
+ export * from "./types/EvidenceInputLockData";
66
81
  export * from "./types/ExecuteResult";
82
+ export * from "./types/ExecutionFailureCode";
67
83
  export * from "./types/ExtraData";
68
84
  export * from "./types/FeeBreakdown";
69
85
  export * from "./types/FeeCostBreakdown";
@@ -79,10 +95,12 @@ export * from "./types/Hash64";
79
95
  export * from "./types/HashAlg";
80
96
  export * from "./types/IndexedValue";
81
97
  export * from "./types/IndexedWellKnownTypes";
98
+ export * from "./types/InputDeclaration";
99
+ export * from "./types/Instruction";
82
100
  export * from "./types/InstructionArg";
83
101
  export * from "./types/InstructionResult";
84
- export * from "./types/Instruction";
85
102
  export * from "./types/LeaderFee";
103
+ export * from "./types/LocalOnlyAtom";
86
104
  export * from "./types/LockedEpoch";
87
105
  export * from "./types/LockFlag";
88
106
  export * from "./types/LogEntry";
@@ -92,15 +110,17 @@ export * from "./types/MerkleProof";
92
110
  export * from "./types/Metadata";
93
111
  export * from "./types/MigrateFunction";
94
112
  export * from "./types/MinotariBurnClaimProof";
113
+ export * from "./types/MmrInclusionProof";
114
+ export * from "./types/MultiShardAtom";
95
115
  export * from "./types/Network";
96
116
  export * from "./types/NftCheck";
97
117
  export * from "./types/NodeHeight";
98
- export * from "./types/NonFungibleAddressContents";
118
+ export * from "./types/NonFungible";
99
119
  export * from "./types/NonFungibleAddress";
120
+ export * from "./types/NonFungibleAddressContents";
100
121
  export * from "./types/NonFungibleContainer";
101
122
  export * from "./types/NonFungibleId";
102
123
  export * from "./types/NonFungibleToken";
103
- export * from "./types/NonFungible";
104
124
  export * from "./types/NumPreshards";
105
125
  export * from "./types/OotleAddress";
106
126
  export * from "./types/Ordering";
@@ -110,8 +130,8 @@ export * from "./types/OwnerRule";
110
130
  export * from "./types/PayRef";
111
131
  export * from "./types/PedersenCommitmentBytes";
112
132
  export * from "./types/PeerAddress";
113
- export * from "./types/Permissions";
114
133
  export * from "./types/Permission";
134
+ export * from "./types/Permissions";
115
135
  export * from "./types/PrecisionAmount";
116
136
  export * from "./types/ProofId";
117
137
  export * from "./types/ProposalCertificate";
@@ -119,40 +139,43 @@ export * from "./types/PrunedTransaction";
119
139
  export * from "./types/PrunedTransactionV1";
120
140
  export * from "./types/PrunedUnsealedTransactionV1";
121
141
  export * from "./types/PrunedUnsignedTransactionV1";
142
+ export * from "./types/PublishedTemplate";
122
143
  export * from "./types/PublishedTemplateAddress";
123
144
  export * from "./types/PublishedTemplateMetadata";
124
- export * from "./types/PublishedTemplate";
125
145
  export * from "./types/RangeProofBytes";
126
146
  export * from "./types/ReadOnly";
127
147
  export * from "./types/RejectReason";
128
148
  export * from "./types/RequireRule";
149
+ export * from "./types/Resource";
129
150
  export * from "./types/ResourceAccessRules";
130
- export * from "./types/ResourceAddressRef";
131
151
  export * from "./types/ResourceAddress";
152
+ export * from "./types/ResourceAddressRef";
132
153
  export * from "./types/ResourceContainer";
133
- export * from "./types/Resource";
134
154
  export * from "./types/ResourceType";
135
155
  export * from "./types/RestrictedAccessRule";
156
+ export * from "./types/RevealedOutput";
136
157
  export * from "./types/RistrettoPublicKeyBytes";
137
158
  export * from "./types/RuleRequirement";
138
159
  export * from "./types/Scalar32Bytes";
139
160
  export * from "./types/SchnorrSignatureBytes";
161
+ export * from "./types/Shard";
162
+ export * from "./types/ShardGroup";
140
163
  export * from "./types/ShardGroupAccumulatedData";
141
164
  export * from "./types/ShardGroupEvidence";
142
- export * from "./types/ShardGroup";
143
165
  export * from "./types/ShardStateVersions";
144
- export * from "./types/Shard";
166
+ export * from "./types/SignedTimeout";
145
167
  export * from "./types/SpendAuthorization";
146
168
  export * from "./types/SpendCondition";
147
169
  export * from "./types/SpendWitness";
148
170
  export * from "./types/StateVersion";
149
- export * from "./types/StealthInputsStatement";
150
171
  export * from "./types/StealthInput";
172
+ export * from "./types/StealthInputsStatement";
151
173
  export * from "./types/StealthInputView";
152
174
  export * from "./types/StealthOutputsStatement";
153
175
  export * from "./types/StealthOutputView";
154
176
  export * from "./types/StealthTransferStatement";
155
177
  export * from "./types/StealthUnspentOutput";
178
+ export * from "./types/Substate";
156
179
  export * from "./types/SubstateAddress";
157
180
  export * from "./types/SubstateCreated";
158
181
  export * from "./types/SubstateDestroyed";
@@ -162,27 +185,26 @@ export * from "./types/SubstateLockType";
162
185
  export * from "./types/SubstateOwnerRule";
163
186
  export * from "./types/SubstateRecord";
164
187
  export * from "./types/SubstateRequirement";
165
- export * from "./types/Substate";
166
188
  export * from "./types/SubstateType";
167
189
  export * from "./types/SubstateValue";
190
+ export * from "./types/SubstateVersion";
168
191
  export * from "./types/TemplateDef";
169
192
  export * from "./types/TemplateDefV1";
170
193
  export * from "./types/TemplateFunction";
171
194
  export * from "./types/TemplateMetadata";
172
195
  export * from "./types/TimeoutCertificate";
173
- export * from "./types/TransactionAtom";
196
+ export * from "./types/Transaction";
174
197
  export * from "./types/TransactionEnvelope";
175
198
  export * from "./types/TransactionExecution";
176
199
  export * from "./types/TransactionId";
177
200
  export * from "./types/TransactionPoolRecord";
178
201
  export * from "./types/TransactionPoolStage";
179
- export * from "./types/TransactionReceiptAddress";
180
202
  export * from "./types/TransactionReceipt";
203
+ export * from "./types/TransactionReceiptAddress";
181
204
  export * from "./types/TransactionResult";
182
205
  export * from "./types/TransactionSealSignature";
183
206
  export * from "./types/TransactionSignature";
184
207
  export * from "./types/TransactionStatus";
185
- export * from "./types/Transaction";
186
208
  export * from "./types/TransactionV1";
187
209
  export * from "./types/TxRequestAction";
188
210
  export * from "./types/Type";
@@ -193,8 +215,9 @@ export * from "./types/UnsignedTransactionV1";
193
215
  export * from "./types/UnspentOutput";
194
216
  export * from "./types/UpdateRule";
195
217
  export * from "./types/UpSubstate";
196
- export * from "./types/UtxoAddressContents";
218
+ export * from "./types/Utxo";
197
219
  export * from "./types/UtxoAddress";
220
+ export * from "./types/UtxoAddressContents";
198
221
  export * from "./types/UtxoBurnt";
199
222
  export * from "./types/UtxoId";
200
223
  export * from "./types/UtxoInputSelection";
@@ -202,33 +225,22 @@ export * from "./types/UtxoOutput";
202
225
  export * from "./types/UtxoSpent";
203
226
  export * from "./types/UtxoStateUpdateSet";
204
227
  export * from "./types/UtxoTag";
205
- export * from "./types/Utxo";
206
228
  export * from "./types/UtxoUnspent";
207
229
  export * from "./types/UtxoUpdateSet";
208
- export * from "./types/ValidatorFeePoolAddress";
209
230
  export * from "./types/ValidatorFeePool";
231
+ export * from "./types/ValidatorFeePoolAddress";
210
232
  export * from "./types/ValidatorFeeWithdrawal";
211
233
  export * from "./types/ValidatorSignatureBytes";
212
234
  export * from "./types/ValueKnowledgeProof";
235
+ export * from "./types/Vault";
213
236
  export * from "./types/VaultFreezeFlags";
214
237
  export * from "./types/VaultId";
215
- export * from "./types/Vault";
216
- export * from "./types/VersionedSubstateIdLockIntent";
217
238
  export * from "./types/VersionedSubstateId";
239
+ export * from "./types/VersionedSubstateIdLockIntent";
218
240
  export * from "./types/ViewableBalanceProof";
219
241
  export * from "./types/VotePower";
220
242
  export * from "./types/WalletTransaction";
221
243
  export * from "./types/WalletUtxoUpdate";
222
244
  export * from "./types/WorkspaceOffsetId";
223
- export * from "./base-node-client";
224
- export * from "./tari-indexer-client";
225
245
  export * from "./validator-node-client";
226
246
  export * from "./wallet-types";
227
- export * from "./helpers/BigAmount";
228
- export * from "./helpers/cbor";
229
- export * from "./helpers/consts";
230
- export * from "./helpers/enum";
231
- export * from "./helpers/helpers";
232
- export * from "./helpers/NetworkByte";
233
- export * from "./helpers/ootleAddress";
234
- export * from "./helpers/tariTypeTag";