@tari-project/ootle-ts-bindings 1.26.0 → 1.28.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 +1 -0
- package/dist/index.js +1 -0
- package/dist/types/Claims.d.ts +0 -2
- package/dist/types/ComponentHeader.d.ts +2 -4
- package/dist/types/Resource.d.ts +2 -3
- package/dist/types/SubstateOwnerRule.d.ts +6 -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/AuthListSessionsRequest.d.ts +1 -0
- package/dist/types/wallet-types/AuthListSessionsResponse.d.ts +4 -0
- package/dist/types/wallet-types/AuthListSessionsResponse.js +1 -0
- package/dist/types/wallet-types/AuthLoginRequest.d.ts +4 -7
- package/dist/types/wallet-types/AuthLoginResponse.d.ts +1 -2
- package/dist/types/wallet-types/AuthRefreshRequest.d.ts +1 -0
- package/dist/types/wallet-types/AuthRefreshResponse.d.ts +3 -0
- package/dist/types/wallet-types/AuthRevokeTokenRequest.d.ts +2 -1
- package/dist/types/wallet-types/AuthRevokeTokenRequest.js +0 -1
- package/dist/types/wallet-types/AuthSessionInfo.d.ts +7 -0
- package/dist/types/wallet-types/AuthSessionInfo.js +1 -0
- package/dist/types/wallet-types/RefreshTokenHash.d.ts +1 -0
- package/dist/types/wallet-types/WebRtcStartRequest.d.ts +0 -1
- package/dist/types/wallet-types/WebauthnFinishRegisterRequest.d.ts +6 -1
- package/dist/types/wallet-types/WebauthnFinishRegisterRequest.js +0 -1
- package/dist/types/wallet-types/WebauthnFinishRegisterResponse.d.ts +3 -1
- package/dist/wallet-types.d.ts +7 -6
- package/dist/wallet-types.js +7 -6
- package/package.json +1 -1
- package/dist/types/wallet-types/AuthGetAllJwtRequest.d.ts +0 -1
- package/dist/types/wallet-types/AuthGetAllJwtResponse.d.ts +0 -4
- 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/AuthLoginDenyResponse.d.ts +0 -1
- package/dist/types/wallet-types/AuthLoginDenyResponse.js +0 -2
- /package/dist/types/{wallet-types/AuthGetAllJwtResponse.js → SubstateOwnerRule.js} +0 -0
- /package/dist/types/wallet-types/{AuthGetAllJwtRequest.js → AuthListSessionsRequest.js} +0 -0
- /package/dist/types/wallet-types/{AuthLoginAcceptRequest.js → AuthRefreshRequest.js} +0 -0
- /package/dist/types/wallet-types/{AuthLoginAcceptResponse.js → AuthRefreshResponse.js} +0 -0
- /package/dist/types/wallet-types/{AuthLoginDenyRequest.js → RefreshTokenHash.js} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -126,6 +126,7 @@ export * from "./types/SubstateDestroyed";
|
|
|
126
126
|
export * from "./types/SubstateDiff";
|
|
127
127
|
export * from "./types/SubstateId";
|
|
128
128
|
export * from "./types/SubstateLockType";
|
|
129
|
+
export * from "./types/SubstateOwnerRule";
|
|
129
130
|
export * from "./types/SubstateRecord";
|
|
130
131
|
export * from "./types/SubstateRequirement";
|
|
131
132
|
export * from "./types/Substate";
|
package/dist/index.js
CHANGED
|
@@ -128,6 +128,7 @@ export * from "./types/SubstateDestroyed";
|
|
|
128
128
|
export * from "./types/SubstateDiff";
|
|
129
129
|
export * from "./types/SubstateId";
|
|
130
130
|
export * from "./types/SubstateLockType";
|
|
131
|
+
export * from "./types/SubstateOwnerRule";
|
|
131
132
|
export * from "./types/SubstateRecord";
|
|
132
133
|
export * from "./types/SubstateRequirement";
|
|
133
134
|
export * from "./types/Substate";
|
package/dist/types/Claims.d.ts
CHANGED
|
@@ -2,13 +2,11 @@ import type { ComponentAccessRules } from "./ComponentAccessRules";
|
|
|
2
2
|
import type { ComponentBody } from "./ComponentBody";
|
|
3
3
|
import type { EntityId } from "./EntityId";
|
|
4
4
|
import type { Hash32 } from "./Hash32";
|
|
5
|
-
import type {
|
|
6
|
-
import type { RistrettoPublicKeyBytes } from "./RistrettoPublicKeyBytes";
|
|
5
|
+
import type { SubstateOwnerRule } from "./SubstateOwnerRule";
|
|
7
6
|
export type ComponentHeader = {
|
|
8
7
|
template_address: Hash32;
|
|
9
8
|
module_name: string;
|
|
10
|
-
|
|
11
|
-
owner_rule: OwnerRule;
|
|
9
|
+
owner_rule: SubstateOwnerRule;
|
|
12
10
|
access_rules: ComponentAccessRules;
|
|
13
11
|
entity_id: EntityId;
|
|
14
12
|
body: ComponentBody;
|
package/dist/types/Resource.d.ts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import type { Amount } from "./Amount";
|
|
2
2
|
import type { AuthHook } from "./AuthHook";
|
|
3
3
|
import type { Metadata } from "./Metadata";
|
|
4
|
-
import type { OwnerRule } from "./OwnerRule";
|
|
5
4
|
import type { ResourceAccessRules } from "./ResourceAccessRules";
|
|
6
5
|
import type { ResourceType } from "./ResourceType";
|
|
7
6
|
import type { RistrettoPublicKeyBytes } from "./RistrettoPublicKeyBytes";
|
|
7
|
+
import type { SubstateOwnerRule } from "./SubstateOwnerRule";
|
|
8
8
|
export type Resource = {
|
|
9
9
|
resource_type: ResourceType;
|
|
10
|
-
owner_rule:
|
|
11
|
-
owner_key: RistrettoPublicKeyBytes | null;
|
|
10
|
+
owner_rule: SubstateOwnerRule;
|
|
12
11
|
access_rules: ResourceAccessRules;
|
|
13
12
|
metadata: Metadata;
|
|
14
13
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type AuthListSessionsRequest = Record<string, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,9 +1,6 @@
|
|
|
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
|
-
secs: number;
|
|
6
|
-
nanos: number;
|
|
7
|
-
} | null;
|
|
8
|
-
webauthn_finish_auth_request: WebauthnFinishAuthRequest | null;
|
|
4
|
+
permissions: Array<JrpcPermission>;
|
|
5
|
+
credentials: AuthCredentials;
|
|
9
6
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type AuthRefreshRequest = Record<string, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type RefreshTokenHash = string;
|
|
@@ -1,10 +1,15 @@
|
|
|
1
|
+
import type { JrpcPermission } from "../JrpcPermission";
|
|
1
2
|
export type WebauthnFinishRegisterRequest = {
|
|
2
3
|
/**
|
|
3
4
|
* Session ID received from [`WebauthnStartRegisterResponse`].
|
|
4
5
|
*/
|
|
5
6
|
session_id: string;
|
|
6
7
|
/**
|
|
7
|
-
* [`RegisterPublicKeyCredential`]
|
|
8
|
+
* [`RegisterPublicKeyCredential`]
|
|
8
9
|
*/
|
|
9
10
|
credential: object;
|
|
11
|
+
/**
|
|
12
|
+
* Permissions requested by the client to be associated with the registered credential.
|
|
13
|
+
*/
|
|
14
|
+
requested_permissions: Array<JrpcPermission>;
|
|
10
15
|
};
|
package/dist/wallet-types.d.ts
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
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
|
-
export * from "./types/wallet-types/AuthGetAllJwtResponse";
|
|
7
5
|
export * from "./types/wallet-types/AuthLoginResponse";
|
|
8
6
|
export * from "./types/wallet-types/GetValidatorFeesRequest";
|
|
9
7
|
export * from "./types/wallet-types/StealthUtxosListResponse";
|
|
10
8
|
export * from "./types/wallet-types/AccountGetDefaultRequest";
|
|
11
|
-
export * from "./types/wallet-types/AuthGetAllJwtRequest";
|
|
12
9
|
export * from "./types/wallet-types/KeyBranch";
|
|
13
10
|
export * from "./types/wallet-types/PublishTemplateResponse";
|
|
14
11
|
export * from "./types/wallet-types/AccountsAssociateStealthResourceResponse";
|
|
@@ -25,10 +22,8 @@ export * from "./types/wallet-types/ClaimBurnProof";
|
|
|
25
22
|
export * from "./types/wallet-types/TransactionGetAllRequest";
|
|
26
23
|
export * from "./types/wallet-types/WebauthnAlreadyRegisteredRequest";
|
|
27
24
|
export * from "./types/wallet-types/AuthMethod";
|
|
28
|
-
export * from "./types/wallet-types/AuthLoginDenyResponse";
|
|
29
25
|
export * from "./types/wallet-types/StealthUtxosDecryptValueResponse";
|
|
30
26
|
export * from "./types/wallet-types/MintFaucetNftRequest";
|
|
31
|
-
export * from "./types/wallet-types/AuthLoginDenyRequest";
|
|
32
27
|
export * from "./types/wallet-types/PublishTemplateRequest";
|
|
33
28
|
export * from "./types/wallet-types/TransactionSubmitResponse";
|
|
34
29
|
export * from "./types/wallet-types/StealthTransfer";
|
|
@@ -71,7 +66,9 @@ export * from "./types/wallet-types/AccountsRenameRequest";
|
|
|
71
66
|
export * from "./types/wallet-types/AuthRevokeTokenRequest";
|
|
72
67
|
export * from "./types/wallet-types/ProofsGenerateRequest";
|
|
73
68
|
export * from "./types/wallet-types/MintFaucetNftResponse";
|
|
69
|
+
export * from "./types/wallet-types/AuthListSessionsRequest";
|
|
74
70
|
export * from "./types/wallet-types/TemplatesListAuthoredRequest";
|
|
71
|
+
export * from "./types/wallet-types/AuthRefreshResponse";
|
|
75
72
|
export * from "./types/wallet-types/AccountsListResponse";
|
|
76
73
|
export * from "./types/wallet-types/WebRtcStartResponse";
|
|
77
74
|
export * from "./types/wallet-types/TransactionGetResultRequest";
|
|
@@ -86,6 +83,7 @@ export * from "./types/wallet-types/KeysCreateRequest";
|
|
|
86
83
|
export * from "./types/wallet-types/WebauthnStartAuthRequest";
|
|
87
84
|
export * from "./types/wallet-types/NetworkInfo";
|
|
88
85
|
export * from "./types/wallet-types/TransferStatementRequest";
|
|
86
|
+
export * from "./types/wallet-types/AuthSessionInfo";
|
|
89
87
|
export * from "./types/wallet-types/AccountsCreateOrGetRequest";
|
|
90
88
|
export * from "./types/wallet-types/SettingsGetResponse";
|
|
91
89
|
export * from "./types/wallet-types/WebauthnFinishRegisterResponse";
|
|
@@ -94,6 +92,7 @@ export * from "./types/wallet-types/WalletGetInfoRequest";
|
|
|
94
92
|
export * from "./types/wallet-types/StealthUtxosListRequest";
|
|
95
93
|
export * from "./types/wallet-types/ClaimBurnResponse";
|
|
96
94
|
export * from "./types/wallet-types/WebRtcStartRequest";
|
|
95
|
+
export * from "./types/wallet-types/AuthRefreshRequest";
|
|
97
96
|
export * from "./types/wallet-types/InputSelection";
|
|
98
97
|
export * from "./types/wallet-types/ConfidentialViewVaultBalanceResponse";
|
|
99
98
|
export * from "./types/wallet-types/WebRtcStart";
|
|
@@ -101,6 +100,7 @@ export * from "./types/wallet-types/AccountSetDefaultRequest";
|
|
|
101
100
|
export * from "./types/wallet-types/WebauthnStartRegisterResponse";
|
|
102
101
|
export * from "./types/wallet-types/ConfidentialCreateOutputProofResponse";
|
|
103
102
|
export * from "./types/wallet-types/AccountsCreateStealthTransferStatementRequest";
|
|
103
|
+
export * from "./types/wallet-types/RefreshTokenHash";
|
|
104
104
|
export * from "./types/wallet-types/TemplatesGetResponse";
|
|
105
105
|
export * from "./types/wallet-types/AccountsGetBalancesRequest";
|
|
106
106
|
export * from "./types/wallet-types/AccountsCreateFreeTestCoinsRequest";
|
|
@@ -114,11 +114,13 @@ export * from "./types/wallet-types/TransferNftResponse";
|
|
|
114
114
|
export * from "./types/wallet-types/SubstatesListRequest";
|
|
115
115
|
export * from "./types/wallet-types/BalanceEntry";
|
|
116
116
|
export * from "./types/wallet-types/TemplatesGetRequest";
|
|
117
|
+
export * from "./types/wallet-types/AuthCredentials";
|
|
117
118
|
export * from "./types/wallet-types/ProofsCancelRequest";
|
|
118
119
|
export * from "./types/wallet-types/BadgeUsage";
|
|
119
120
|
export * from "./types/wallet-types/AccountSetDefaultResponse";
|
|
120
121
|
export * from "./types/wallet-types/GetNftRequest";
|
|
121
122
|
export * from "./types/wallet-types/SubstatesListResponse";
|
|
123
|
+
export * from "./types/wallet-types/AuthListSessionsResponse";
|
|
122
124
|
export * from "./types/wallet-types/StealthUtxosDecryptValueRequest";
|
|
123
125
|
export * from "./types/wallet-types/WebauthnStartAuthResponse";
|
|
124
126
|
export * from "./types/wallet-types/TransferNftRequest";
|
|
@@ -126,7 +128,6 @@ export * from "./types/wallet-types/KeysSetActiveResponse";
|
|
|
126
128
|
export * from "./types/wallet-types/ComponentAddressOrName";
|
|
127
129
|
export * from "./types/wallet-types/AuthGetMethodRequest";
|
|
128
130
|
export * from "./types/wallet-types/NewAccountData";
|
|
129
|
-
export * from "./types/wallet-types/AuthLoginAcceptRequest";
|
|
130
131
|
export * from "./types/wallet-types/KeysSetActiveRequest";
|
|
131
132
|
export * from "./types/wallet-types/ConfidentialViewVaultBalanceRequest";
|
|
132
133
|
export * from "./types/wallet-types/UtxoInfo";
|
package/dist/wallet-types.js
CHANGED
|
@@ -3,14 +3,11 @@
|
|
|
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
|
-
export * from "./types/wallet-types/AuthGetAllJwtResponse";
|
|
9
7
|
export * from "./types/wallet-types/AuthLoginResponse";
|
|
10
8
|
export * from "./types/wallet-types/GetValidatorFeesRequest";
|
|
11
9
|
export * from "./types/wallet-types/StealthUtxosListResponse";
|
|
12
10
|
export * from "./types/wallet-types/AccountGetDefaultRequest";
|
|
13
|
-
export * from "./types/wallet-types/AuthGetAllJwtRequest";
|
|
14
11
|
export * from "./types/wallet-types/KeyBranch";
|
|
15
12
|
export * from "./types/wallet-types/PublishTemplateResponse";
|
|
16
13
|
export * from "./types/wallet-types/AccountsAssociateStealthResourceResponse";
|
|
@@ -27,10 +24,8 @@ export * from "./types/wallet-types/ClaimBurnProof";
|
|
|
27
24
|
export * from "./types/wallet-types/TransactionGetAllRequest";
|
|
28
25
|
export * from "./types/wallet-types/WebauthnAlreadyRegisteredRequest";
|
|
29
26
|
export * from "./types/wallet-types/AuthMethod";
|
|
30
|
-
export * from "./types/wallet-types/AuthLoginDenyResponse";
|
|
31
27
|
export * from "./types/wallet-types/StealthUtxosDecryptValueResponse";
|
|
32
28
|
export * from "./types/wallet-types/MintFaucetNftRequest";
|
|
33
|
-
export * from "./types/wallet-types/AuthLoginDenyRequest";
|
|
34
29
|
export * from "./types/wallet-types/PublishTemplateRequest";
|
|
35
30
|
export * from "./types/wallet-types/TransactionSubmitResponse";
|
|
36
31
|
export * from "./types/wallet-types/StealthTransfer";
|
|
@@ -73,7 +68,9 @@ export * from "./types/wallet-types/AccountsRenameRequest";
|
|
|
73
68
|
export * from "./types/wallet-types/AuthRevokeTokenRequest";
|
|
74
69
|
export * from "./types/wallet-types/ProofsGenerateRequest";
|
|
75
70
|
export * from "./types/wallet-types/MintFaucetNftResponse";
|
|
71
|
+
export * from "./types/wallet-types/AuthListSessionsRequest";
|
|
76
72
|
export * from "./types/wallet-types/TemplatesListAuthoredRequest";
|
|
73
|
+
export * from "./types/wallet-types/AuthRefreshResponse";
|
|
77
74
|
export * from "./types/wallet-types/AccountsListResponse";
|
|
78
75
|
export * from "./types/wallet-types/WebRtcStartResponse";
|
|
79
76
|
export * from "./types/wallet-types/TransactionGetResultRequest";
|
|
@@ -88,6 +85,7 @@ export * from "./types/wallet-types/KeysCreateRequest";
|
|
|
88
85
|
export * from "./types/wallet-types/WebauthnStartAuthRequest";
|
|
89
86
|
export * from "./types/wallet-types/NetworkInfo";
|
|
90
87
|
export * from "./types/wallet-types/TransferStatementRequest";
|
|
88
|
+
export * from "./types/wallet-types/AuthSessionInfo";
|
|
91
89
|
export * from "./types/wallet-types/AccountsCreateOrGetRequest";
|
|
92
90
|
export * from "./types/wallet-types/SettingsGetResponse";
|
|
93
91
|
export * from "./types/wallet-types/WebauthnFinishRegisterResponse";
|
|
@@ -96,6 +94,7 @@ export * from "./types/wallet-types/WalletGetInfoRequest";
|
|
|
96
94
|
export * from "./types/wallet-types/StealthUtxosListRequest";
|
|
97
95
|
export * from "./types/wallet-types/ClaimBurnResponse";
|
|
98
96
|
export * from "./types/wallet-types/WebRtcStartRequest";
|
|
97
|
+
export * from "./types/wallet-types/AuthRefreshRequest";
|
|
99
98
|
export * from "./types/wallet-types/InputSelection";
|
|
100
99
|
export * from "./types/wallet-types/ConfidentialViewVaultBalanceResponse";
|
|
101
100
|
export * from "./types/wallet-types/WebRtcStart";
|
|
@@ -103,6 +102,7 @@ export * from "./types/wallet-types/AccountSetDefaultRequest";
|
|
|
103
102
|
export * from "./types/wallet-types/WebauthnStartRegisterResponse";
|
|
104
103
|
export * from "./types/wallet-types/ConfidentialCreateOutputProofResponse";
|
|
105
104
|
export * from "./types/wallet-types/AccountsCreateStealthTransferStatementRequest";
|
|
105
|
+
export * from "./types/wallet-types/RefreshTokenHash";
|
|
106
106
|
export * from "./types/wallet-types/TemplatesGetResponse";
|
|
107
107
|
export * from "./types/wallet-types/AccountsGetBalancesRequest";
|
|
108
108
|
export * from "./types/wallet-types/AccountsCreateFreeTestCoinsRequest";
|
|
@@ -116,11 +116,13 @@ export * from "./types/wallet-types/TransferNftResponse";
|
|
|
116
116
|
export * from "./types/wallet-types/SubstatesListRequest";
|
|
117
117
|
export * from "./types/wallet-types/BalanceEntry";
|
|
118
118
|
export * from "./types/wallet-types/TemplatesGetRequest";
|
|
119
|
+
export * from "./types/wallet-types/AuthCredentials";
|
|
119
120
|
export * from "./types/wallet-types/ProofsCancelRequest";
|
|
120
121
|
export * from "./types/wallet-types/BadgeUsage";
|
|
121
122
|
export * from "./types/wallet-types/AccountSetDefaultResponse";
|
|
122
123
|
export * from "./types/wallet-types/GetNftRequest";
|
|
123
124
|
export * from "./types/wallet-types/SubstatesListResponse";
|
|
125
|
+
export * from "./types/wallet-types/AuthListSessionsResponse";
|
|
124
126
|
export * from "./types/wallet-types/StealthUtxosDecryptValueRequest";
|
|
125
127
|
export * from "./types/wallet-types/WebauthnStartAuthResponse";
|
|
126
128
|
export * from "./types/wallet-types/TransferNftRequest";
|
|
@@ -128,7 +130,6 @@ export * from "./types/wallet-types/KeysSetActiveResponse";
|
|
|
128
130
|
export * from "./types/wallet-types/ComponentAddressOrName";
|
|
129
131
|
export * from "./types/wallet-types/AuthGetMethodRequest";
|
|
130
132
|
export * from "./types/wallet-types/NewAccountData";
|
|
131
|
-
export * from "./types/wallet-types/AuthLoginAcceptRequest";
|
|
132
133
|
export * from "./types/wallet-types/KeysSetActiveRequest";
|
|
133
134
|
export * from "./types/wallet-types/ConfidentialViewVaultBalanceRequest";
|
|
134
135
|
export * from "./types/wallet-types/UtxoInfo";
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type AuthGetAllJwtRequest = Record<string, never>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type AuthLoginDenyResponse = Record<string, never>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|