@tari-project/ootle-ts-bindings 1.25.0 → 1.27.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 +3 -0
- package/dist/index.js +3 -0
- package/dist/types/Assertion.d.ts +18 -0
- package/dist/types/Assertion.js +1 -0
- package/dist/types/CheckOrd.d.ts +1 -0
- package/dist/types/Instruction.d.ts +3 -9
- package/dist/types/NftCheck.d.ts +1 -0
- package/dist/types/wallet-types/AuthCredentials.d.ts +4 -0
- package/dist/types/wallet-types/AuthCredentials.js +1 -0
- package/dist/types/wallet-types/AuthLoginRequest.d.ts +5 -7
- package/dist/types/wallet-types/AuthLoginResponse.d.ts +1 -2
- package/dist/wallet-types.d.ts +1 -4
- package/dist/wallet-types.js +1 -4
- package/package.json +1 -1
- package/dist/types/wallet-types/AuthLoginAcceptRequest.d.ts +0 -4
- package/dist/types/wallet-types/AuthLoginAcceptResponse.d.ts +0 -3
- package/dist/types/wallet-types/AuthLoginDenyRequest.d.ts +0 -3
- package/dist/types/wallet-types/AuthLoginDenyRequest.js +0 -2
- package/dist/types/wallet-types/AuthLoginDenyResponse.d.ts +0 -1
- package/dist/types/wallet-types/AuthLoginDenyResponse.js +0 -2
- /package/dist/types/{wallet-types/AuthLoginAcceptRequest.js → CheckOrd.js} +0 -0
- /package/dist/types/{wallet-types/AuthLoginAcceptResponse.js → NftCheck.js} +0 -0
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";
|
|
@@ -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
|
-
|
|
56
|
+
Assert: {
|
|
57
57
|
key: WorkspaceOffsetId;
|
|
58
|
-
|
|
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 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { JrpcPermission } from "../JrpcPermission";
|
|
2
|
+
import type { AuthCredentials } from "./AuthCredentials";
|
|
2
3
|
export type AuthLoginRequest = {
|
|
3
|
-
permissions: Array<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
nanos: number;
|
|
7
|
-
} | null;
|
|
8
|
-
webauthn_finish_auth_request: WebauthnFinishAuthRequest | null;
|
|
4
|
+
permissions: Array<JrpcPermission>;
|
|
5
|
+
credentials: AuthCredentials;
|
|
6
|
+
name: string;
|
|
9
7
|
};
|
package/dist/wallet-types.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export * from "./types/wallet-types/ProofsFinalizeResponse";
|
|
2
2
|
export * from "./types/wallet-types/WalletGetInfoResponse";
|
|
3
3
|
export * from "./types/wallet-types/CallInstructionRequest";
|
|
4
|
-
export * from "./types/wallet-types/AuthLoginAcceptResponse";
|
|
5
4
|
export * from "./types/wallet-types/AccountsListRequest";
|
|
6
5
|
export * from "./types/wallet-types/AuthGetAllJwtResponse";
|
|
7
6
|
export * from "./types/wallet-types/AuthLoginResponse";
|
|
@@ -25,10 +24,8 @@ export * from "./types/wallet-types/ClaimBurnProof";
|
|
|
25
24
|
export * from "./types/wallet-types/TransactionGetAllRequest";
|
|
26
25
|
export * from "./types/wallet-types/WebauthnAlreadyRegisteredRequest";
|
|
27
26
|
export * from "./types/wallet-types/AuthMethod";
|
|
28
|
-
export * from "./types/wallet-types/AuthLoginDenyResponse";
|
|
29
27
|
export * from "./types/wallet-types/StealthUtxosDecryptValueResponse";
|
|
30
28
|
export * from "./types/wallet-types/MintFaucetNftRequest";
|
|
31
|
-
export * from "./types/wallet-types/AuthLoginDenyRequest";
|
|
32
29
|
export * from "./types/wallet-types/PublishTemplateRequest";
|
|
33
30
|
export * from "./types/wallet-types/TransactionSubmitResponse";
|
|
34
31
|
export * from "./types/wallet-types/StealthTransfer";
|
|
@@ -114,6 +111,7 @@ export * from "./types/wallet-types/TransferNftResponse";
|
|
|
114
111
|
export * from "./types/wallet-types/SubstatesListRequest";
|
|
115
112
|
export * from "./types/wallet-types/BalanceEntry";
|
|
116
113
|
export * from "./types/wallet-types/TemplatesGetRequest";
|
|
114
|
+
export * from "./types/wallet-types/AuthCredentials";
|
|
117
115
|
export * from "./types/wallet-types/ProofsCancelRequest";
|
|
118
116
|
export * from "./types/wallet-types/BadgeUsage";
|
|
119
117
|
export * from "./types/wallet-types/AccountSetDefaultResponse";
|
|
@@ -126,7 +124,6 @@ export * from "./types/wallet-types/KeysSetActiveResponse";
|
|
|
126
124
|
export * from "./types/wallet-types/ComponentAddressOrName";
|
|
127
125
|
export * from "./types/wallet-types/AuthGetMethodRequest";
|
|
128
126
|
export * from "./types/wallet-types/NewAccountData";
|
|
129
|
-
export * from "./types/wallet-types/AuthLoginAcceptRequest";
|
|
130
127
|
export * from "./types/wallet-types/KeysSetActiveRequest";
|
|
131
128
|
export * from "./types/wallet-types/ConfidentialViewVaultBalanceRequest";
|
|
132
129
|
export * from "./types/wallet-types/UtxoInfo";
|
package/dist/wallet-types.js
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
export * from "./types/wallet-types/ProofsFinalizeResponse";
|
|
4
4
|
export * from "./types/wallet-types/WalletGetInfoResponse";
|
|
5
5
|
export * from "./types/wallet-types/CallInstructionRequest";
|
|
6
|
-
export * from "./types/wallet-types/AuthLoginAcceptResponse";
|
|
7
6
|
export * from "./types/wallet-types/AccountsListRequest";
|
|
8
7
|
export * from "./types/wallet-types/AuthGetAllJwtResponse";
|
|
9
8
|
export * from "./types/wallet-types/AuthLoginResponse";
|
|
@@ -27,10 +26,8 @@ export * from "./types/wallet-types/ClaimBurnProof";
|
|
|
27
26
|
export * from "./types/wallet-types/TransactionGetAllRequest";
|
|
28
27
|
export * from "./types/wallet-types/WebauthnAlreadyRegisteredRequest";
|
|
29
28
|
export * from "./types/wallet-types/AuthMethod";
|
|
30
|
-
export * from "./types/wallet-types/AuthLoginDenyResponse";
|
|
31
29
|
export * from "./types/wallet-types/StealthUtxosDecryptValueResponse";
|
|
32
30
|
export * from "./types/wallet-types/MintFaucetNftRequest";
|
|
33
|
-
export * from "./types/wallet-types/AuthLoginDenyRequest";
|
|
34
31
|
export * from "./types/wallet-types/PublishTemplateRequest";
|
|
35
32
|
export * from "./types/wallet-types/TransactionSubmitResponse";
|
|
36
33
|
export * from "./types/wallet-types/StealthTransfer";
|
|
@@ -116,6 +113,7 @@ export * from "./types/wallet-types/TransferNftResponse";
|
|
|
116
113
|
export * from "./types/wallet-types/SubstatesListRequest";
|
|
117
114
|
export * from "./types/wallet-types/BalanceEntry";
|
|
118
115
|
export * from "./types/wallet-types/TemplatesGetRequest";
|
|
116
|
+
export * from "./types/wallet-types/AuthCredentials";
|
|
119
117
|
export * from "./types/wallet-types/ProofsCancelRequest";
|
|
120
118
|
export * from "./types/wallet-types/BadgeUsage";
|
|
121
119
|
export * from "./types/wallet-types/AccountSetDefaultResponse";
|
|
@@ -128,7 +126,6 @@ export * from "./types/wallet-types/KeysSetActiveResponse";
|
|
|
128
126
|
export * from "./types/wallet-types/ComponentAddressOrName";
|
|
129
127
|
export * from "./types/wallet-types/AuthGetMethodRequest";
|
|
130
128
|
export * from "./types/wallet-types/NewAccountData";
|
|
131
|
-
export * from "./types/wallet-types/AuthLoginAcceptRequest";
|
|
132
129
|
export * from "./types/wallet-types/KeysSetActiveRequest";
|
|
133
130
|
export * from "./types/wallet-types/ConfidentialViewVaultBalanceRequest";
|
|
134
131
|
export * from "./types/wallet-types/UtxoInfo";
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type AuthLoginDenyResponse = Record<string, never>;
|
|
File without changes
|
|
File without changes
|