@tari-project/ootle-ts-bindings 1.25.0 → 1.26.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.
package/dist/index.d.ts CHANGED
@@ -6,12 +6,14 @@ export * from "./types/AccountWithAddress";
6
6
  export * from "./types/AllocatableAddressType";
7
7
  export * from "./types/Amount";
8
8
  export * from "./types/ArgDef";
9
+ export * from "./types/Assertion";
9
10
  export * from "./types/AuthHook";
10
11
  export * from "./types/BlockHeader";
11
12
  export * from "./types/BlockId";
12
13
  export * from "./types/Block";
13
14
  export * from "./types/BucketId";
14
15
  export * from "./types/Bytes";
16
+ export * from "./types/CheckOrd";
15
17
  export * from "./types/ClaimBurnOutputData";
16
18
  export * from "./types/ClaimedOutputTombstoneAddress";
17
19
  export * from "./types/ClaimedOutputTombstone";
@@ -69,6 +71,7 @@ export * from "./types/Metadata";
69
71
  export * from "./types/MigrateFunction";
70
72
  export * from "./types/MinotariBurnClaimProof";
71
73
  export * from "./types/Network";
74
+ export * from "./types/NftCheck";
72
75
  export * from "./types/NodeHeight";
73
76
  export * from "./types/NonFungibleAddressContents";
74
77
  export * from "./types/NonFungibleAddress";
package/dist/index.js CHANGED
@@ -8,12 +8,14 @@ export * from "./types/AccountWithAddress";
8
8
  export * from "./types/AllocatableAddressType";
9
9
  export * from "./types/Amount";
10
10
  export * from "./types/ArgDef";
11
+ export * from "./types/Assertion";
11
12
  export * from "./types/AuthHook";
12
13
  export * from "./types/BlockHeader";
13
14
  export * from "./types/BlockId";
14
15
  export * from "./types/Block";
15
16
  export * from "./types/BucketId";
16
17
  export * from "./types/Bytes";
18
+ export * from "./types/CheckOrd";
17
19
  export * from "./types/ClaimBurnOutputData";
18
20
  export * from "./types/ClaimedOutputTombstoneAddress";
19
21
  export * from "./types/ClaimedOutputTombstone";
@@ -71,6 +73,7 @@ export * from "./types/Metadata";
71
73
  export * from "./types/MigrateFunction";
72
74
  export * from "./types/MinotariBurnClaimProof";
73
75
  export * from "./types/Network";
76
+ export * from "./types/NftCheck";
74
77
  export * from "./types/NodeHeight";
75
78
  export * from "./types/NonFungibleAddressContents";
76
79
  export * from "./types/NonFungibleAddress";
@@ -0,0 +1,18 @@
1
+ import type { Amount } from "./Amount";
2
+ import type { CheckOrd } from "./CheckOrd";
3
+ import type { NftCheck } from "./NftCheck";
4
+ import type { NonFungibleId } from "./NonFungibleId";
5
+ import type { ResourceAddress } from "./ResourceAddress";
6
+ export type Assertion = {
7
+ BktAmt: {
8
+ resource_address: ResourceAddress;
9
+ is: CheckOrd;
10
+ amount: Amount;
11
+ };
12
+ } | "NtNil" | {
13
+ BktCtnNft: {
14
+ resource_address: ResourceAddress;
15
+ check: NftCheck;
16
+ nfts: Array<NonFungibleId>;
17
+ };
18
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export type CheckOrd = "Gt" | "Gte" | "Lt" | "Lte" | "Eq";
@@ -0,0 +1,2 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ export {};
@@ -1,5 +1,6 @@
1
1
  import type { AllocatableAddressType } from "./AllocatableAddressType";
2
2
  import type { Amount } from "./Amount";
3
+ import type { Assertion } from "./Assertion";
3
4
  import type { ClaimBurnOutputData } from "./ClaimBurnOutputData";
4
5
  import type { ComponentAccessRules } from "./ComponentAccessRules";
5
6
  import type { ComponentReference } from "./ComponentReference";
@@ -9,7 +10,6 @@ import type { LogLevel } from "./LogLevel";
9
10
  import type { MigrateFunction } from "./MigrateFunction";
10
11
  import type { MinotariBurnClaimProof } from "./MinotariBurnClaimProof";
11
12
  import type { OwnerRule } from "./OwnerRule";
12
- import type { ResourceAddress } from "./ResourceAddress";
13
13
  import type { ResourceAddressRef } from "./ResourceAddressRef";
14
14
  import type { RistrettoPublicKeyBytes } from "./RistrettoPublicKeyBytes";
15
15
  import type { StealthTransferStatement } from "./StealthTransferStatement";
@@ -53,10 +53,9 @@ export type Instruction = {
53
53
  address: ValidatorFeePoolAddress;
54
54
  };
55
55
  } | "DropAllProofsInWorkspace" | {
56
- AssertBucketContains: {
56
+ Assert: {
57
57
  key: WorkspaceOffsetId;
58
- resource_address: ResourceAddress;
59
- min_amount: Amount;
58
+ assertion: Assertion;
60
59
  };
61
60
  } | {
62
61
  TakeFromBucket: {
@@ -79,11 +78,6 @@ export type Instruction = {
79
78
  statement: StealthTransferStatement;
80
79
  revealed_input_bucket: WorkspaceOffsetId | null;
81
80
  };
82
- } | {
83
- PayFeeStealth: {
84
- statement: StealthTransferStatement;
85
- revealed_input_bucket: WorkspaceOffsetId | null;
86
- };
87
81
  } | {
88
82
  PayFeeFromBucket: {
89
83
  bucket: WorkspaceOffsetId;
@@ -0,0 +1 @@
1
+ export type NftCheck = "AnyOf" | "AllOf" | "NoneOf" | "NotAllOf";
@@ -0,0 +1,2 @@
1
+ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tari-project/ootle-ts-bindings",
3
- "version": "1.25.0",
3
+ "version": "1.26.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"