@tari-project/ootle-ts-bindings 1.23.2 → 1.23.3
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.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/types/Amount.d.ts +1 -1
- package/dist/types/Instruction.d.ts +5 -1
- package/dist/types/MinotariBurnClaimProof.d.ts +1 -0
- package/dist/types/{PrivateOutput.d.ts → OutputBody.d.ts} +1 -1
- package/dist/types/ResourceContainer.d.ts +3 -3
- package/dist/types/TemplateDefV1.d.ts +1 -1
- package/dist/types/UnsealedTransaction.d.ts +4 -0
- package/dist/types/UnsealedTransaction.js +1 -0
- package/dist/types/UtxoOutput.d.ts +2 -2
- package/dist/types/validator-node-client/TemplateAbi.d.ts +1 -1
- package/dist/types/wallet-types/AuthoredTemplate.d.ts +1 -1
- package/package.json +1 -1
- /package/dist/types/{PrivateOutput.js → OutputBody.js} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -79,12 +79,12 @@ export * from "./types/NonFungible";
|
|
|
79
79
|
export * from "./types/NumPreshards";
|
|
80
80
|
export * from "./types/OotleAddress";
|
|
81
81
|
export * from "./types/Ordering";
|
|
82
|
+
export * from "./types/OutputBody";
|
|
82
83
|
export * from "./types/OutputStatus";
|
|
83
84
|
export * from "./types/OwnerRule";
|
|
84
85
|
export * from "./types/PayRef";
|
|
85
86
|
export * from "./types/PedersenCommitmentBytes";
|
|
86
87
|
export * from "./types/PeerAddress";
|
|
87
|
-
export * from "./types/PrivateOutput";
|
|
88
88
|
export * from "./types/ProofId";
|
|
89
89
|
export * from "./types/ProposalCertificate";
|
|
90
90
|
export * from "./types/PublishedTemplateAddress";
|
|
@@ -145,6 +145,7 @@ export * from "./types/TransactionStatus";
|
|
|
145
145
|
export * from "./types/Transaction";
|
|
146
146
|
export * from "./types/TransactionV1";
|
|
147
147
|
export * from "./types/Type";
|
|
148
|
+
export * from "./types/UnsealedTransaction";
|
|
148
149
|
export * from "./types/UnsealedTransactionV1";
|
|
149
150
|
export * from "./types/UnsignedTransaction";
|
|
150
151
|
export * from "./types/UnsignedTransactionV1";
|
package/dist/index.js
CHANGED
|
@@ -81,12 +81,12 @@ export * from "./types/NonFungible";
|
|
|
81
81
|
export * from "./types/NumPreshards";
|
|
82
82
|
export * from "./types/OotleAddress";
|
|
83
83
|
export * from "./types/Ordering";
|
|
84
|
+
export * from "./types/OutputBody";
|
|
84
85
|
export * from "./types/OutputStatus";
|
|
85
86
|
export * from "./types/OwnerRule";
|
|
86
87
|
export * from "./types/PayRef";
|
|
87
88
|
export * from "./types/PedersenCommitmentBytes";
|
|
88
89
|
export * from "./types/PeerAddress";
|
|
89
|
-
export * from "./types/PrivateOutput";
|
|
90
90
|
export * from "./types/ProofId";
|
|
91
91
|
export * from "./types/ProposalCertificate";
|
|
92
92
|
export * from "./types/PublishedTemplateAddress";
|
|
@@ -147,6 +147,7 @@ export * from "./types/TransactionStatus";
|
|
|
147
147
|
export * from "./types/Transaction";
|
|
148
148
|
export * from "./types/TransactionV1";
|
|
149
149
|
export * from "./types/Type";
|
|
150
|
+
export * from "./types/UnsealedTransaction";
|
|
150
151
|
export * from "./types/UnsealedTransactionV1";
|
|
151
152
|
export * from "./types/UnsignedTransaction";
|
|
152
153
|
export * from "./types/UnsignedTransactionV1";
|
package/dist/types/Amount.d.ts
CHANGED
|
@@ -80,10 +80,14 @@ export type Instruction = {
|
|
|
80
80
|
revealed_input_bucket: WorkspaceOffsetId | null;
|
|
81
81
|
};
|
|
82
82
|
} | {
|
|
83
|
-
|
|
83
|
+
PayFeeStealth: {
|
|
84
84
|
statement: StealthTransferStatement;
|
|
85
85
|
revealed_input_bucket: WorkspaceOffsetId | null;
|
|
86
86
|
};
|
|
87
|
+
} | {
|
|
88
|
+
PayFeeFromBucket: {
|
|
89
|
+
bucket: WorkspaceOffsetId;
|
|
90
|
+
};
|
|
87
91
|
} | {
|
|
88
92
|
UpdateComponentTemplate: {
|
|
89
93
|
component: ComponentReference;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ElgamalVerifiableBalanceBytes } from "./ElgamalVerifiableBalanceBytes";
|
|
2
2
|
import type { EncryptedData } from "./EncryptedData";
|
|
3
3
|
import type { RistrettoPublicKeyBytes } from "./RistrettoPublicKeyBytes";
|
|
4
|
-
export type
|
|
4
|
+
export type OutputBody = {
|
|
5
5
|
public_nonce: RistrettoPublicKeyBytes;
|
|
6
6
|
encrypted_data: EncryptedData;
|
|
7
7
|
minimum_value_promise: number | bigint;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Amount } from "./Amount";
|
|
2
2
|
import type { NonFungibleId } from "./NonFungibleId";
|
|
3
|
+
import type { OutputBody } from "./OutputBody";
|
|
3
4
|
import type { PedersenCommitmentBytes } from "./PedersenCommitmentBytes";
|
|
4
|
-
import type { PrivateOutput } from "./PrivateOutput";
|
|
5
5
|
import type { ResourceAddress } from "./ResourceAddress";
|
|
6
6
|
/**
|
|
7
7
|
* Instances of a single resource kept in Buckets and Vaults
|
|
@@ -22,11 +22,11 @@ export type ResourceContainer = {
|
|
|
22
22
|
Confidential: {
|
|
23
23
|
address: ResourceAddress;
|
|
24
24
|
commitments: {
|
|
25
|
-
[key in PedersenCommitmentBytes]?:
|
|
25
|
+
[key in PedersenCommitmentBytes]?: OutputBody;
|
|
26
26
|
};
|
|
27
27
|
revealed_amount: Amount;
|
|
28
28
|
locked_commitments: {
|
|
29
|
-
[key in PedersenCommitmentBytes]?:
|
|
29
|
+
[key in PedersenCommitmentBytes]?: OutputBody;
|
|
30
30
|
};
|
|
31
31
|
locked_revealed_amount: Amount;
|
|
32
32
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { OutputBody } from "./OutputBody";
|
|
2
2
|
import type { SpendCondition } from "./SpendCondition";
|
|
3
3
|
import type { UtxoTag } from "./UtxoTag";
|
|
4
4
|
export type UtxoOutput = {
|
|
5
|
-
output:
|
|
5
|
+
output: OutputBody;
|
|
6
6
|
spend_condition: SpendCondition;
|
|
7
7
|
tag: UtxoTag;
|
|
8
8
|
};
|
package/package.json
CHANGED
|
File without changes
|