@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 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";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * A 192-bit signed amount.
2
+ * A 128-bit signed amount.
3
3
  *
4
4
  * This is a general purpose signed integer, but is primarily used to represent the smallest unit of value in
5
5
  * resources/vaults etc.
@@ -80,10 +80,14 @@ export type Instruction = {
80
80
  revealed_input_bucket: WorkspaceOffsetId | null;
81
81
  };
82
82
  } | {
83
- PayFee: {
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;
@@ -13,4 +13,5 @@ export type MinotariBurnClaimProof = {
13
13
  encoded_merkle_proof: EncodedMerkleProof;
14
14
  kernel: AbridgedTransactionKernel;
15
15
  value: bigint;
16
+ sender_offset_public_key: RistrettoPublicKeyBytes;
16
17
  };
@@ -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 PrivateOutput = {
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]?: PrivateOutput;
25
+ [key in PedersenCommitmentBytes]?: OutputBody;
26
26
  };
27
27
  revealed_amount: Amount;
28
28
  locked_commitments: {
29
- [key in PedersenCommitmentBytes]?: PrivateOutput;
29
+ [key in PedersenCommitmentBytes]?: OutputBody;
30
30
  };
31
31
  locked_revealed_amount: Amount;
32
32
  };
@@ -1,6 +1,6 @@
1
1
  import type { FunctionDef } from "./FunctionDef";
2
2
  export type TemplateDefV1 = {
3
3
  template_name: string;
4
- tari_version: string;
4
+ abi_version: number;
5
5
  functions: Array<FunctionDef>;
6
6
  };
@@ -0,0 +1,4 @@
1
+ import type { UnsealedTransactionV1 } from "./UnsealedTransactionV1";
2
+ export type UnsealedTransaction = {
3
+ V1: UnsealedTransactionV1;
4
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,8 +1,8 @@
1
- import type { PrivateOutput } from "./PrivateOutput";
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: PrivateOutput;
5
+ output: OutputBody;
6
6
  spend_condition: SpendCondition;
7
7
  tag: UtxoTag;
8
8
  };
@@ -2,5 +2,5 @@ import type { VNFunctionDef } from "./VNFunctionDef";
2
2
  export type TemplateAbi = {
3
3
  template_name: string;
4
4
  functions: Array<VNFunctionDef>;
5
- version: string;
5
+ version: number;
6
6
  };
@@ -5,6 +5,6 @@ export type AuthoredTemplate = {
5
5
  author_public_key: RistrettoPublicKeyBytes;
6
6
  address: Hash;
7
7
  name: string;
8
- tari_version: string;
8
+ abi_version: number;
9
9
  functions: Array<FunctionDef>;
10
10
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tari-project/ootle-ts-bindings",
3
- "version": "1.23.2",
3
+ "version": "1.23.3",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
File without changes