@tari-project/ootle-ts-bindings 1.27.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/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 +0 -1
- package/dist/types/wallet-types/AuthRefreshRequest.d.ts +1 -0
- package/dist/types/wallet-types/AuthRefreshRequest.js +2 -0
- package/dist/types/wallet-types/AuthRefreshResponse.d.ts +3 -0
- package/dist/types/wallet-types/AuthRefreshResponse.js +2 -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/RefreshTokenHash.js +2 -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 +6 -2
- package/dist/wallet-types.js +6 -2
- 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/AuthGetAllJwtResponse.js → SubstateOwnerRule.js} +0 -0
- /package/dist/types/wallet-types/{AuthGetAllJwtRequest.js → AuthListSessionsRequest.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 type AuthListSessionsRequest = Record<string, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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
|
@@ -2,12 +2,10 @@ export * from "./types/wallet-types/ProofsFinalizeResponse";
|
|
|
2
2
|
export * from "./types/wallet-types/WalletGetInfoResponse";
|
|
3
3
|
export * from "./types/wallet-types/CallInstructionRequest";
|
|
4
4
|
export * from "./types/wallet-types/AccountsListRequest";
|
|
5
|
-
export * from "./types/wallet-types/AuthGetAllJwtResponse";
|
|
6
5
|
export * from "./types/wallet-types/AuthLoginResponse";
|
|
7
6
|
export * from "./types/wallet-types/GetValidatorFeesRequest";
|
|
8
7
|
export * from "./types/wallet-types/StealthUtxosListResponse";
|
|
9
8
|
export * from "./types/wallet-types/AccountGetDefaultRequest";
|
|
10
|
-
export * from "./types/wallet-types/AuthGetAllJwtRequest";
|
|
11
9
|
export * from "./types/wallet-types/KeyBranch";
|
|
12
10
|
export * from "./types/wallet-types/PublishTemplateResponse";
|
|
13
11
|
export * from "./types/wallet-types/AccountsAssociateStealthResourceResponse";
|
|
@@ -68,7 +66,9 @@ export * from "./types/wallet-types/AccountsRenameRequest";
|
|
|
68
66
|
export * from "./types/wallet-types/AuthRevokeTokenRequest";
|
|
69
67
|
export * from "./types/wallet-types/ProofsGenerateRequest";
|
|
70
68
|
export * from "./types/wallet-types/MintFaucetNftResponse";
|
|
69
|
+
export * from "./types/wallet-types/AuthListSessionsRequest";
|
|
71
70
|
export * from "./types/wallet-types/TemplatesListAuthoredRequest";
|
|
71
|
+
export * from "./types/wallet-types/AuthRefreshResponse";
|
|
72
72
|
export * from "./types/wallet-types/AccountsListResponse";
|
|
73
73
|
export * from "./types/wallet-types/WebRtcStartResponse";
|
|
74
74
|
export * from "./types/wallet-types/TransactionGetResultRequest";
|
|
@@ -83,6 +83,7 @@ export * from "./types/wallet-types/KeysCreateRequest";
|
|
|
83
83
|
export * from "./types/wallet-types/WebauthnStartAuthRequest";
|
|
84
84
|
export * from "./types/wallet-types/NetworkInfo";
|
|
85
85
|
export * from "./types/wallet-types/TransferStatementRequest";
|
|
86
|
+
export * from "./types/wallet-types/AuthSessionInfo";
|
|
86
87
|
export * from "./types/wallet-types/AccountsCreateOrGetRequest";
|
|
87
88
|
export * from "./types/wallet-types/SettingsGetResponse";
|
|
88
89
|
export * from "./types/wallet-types/WebauthnFinishRegisterResponse";
|
|
@@ -91,6 +92,7 @@ export * from "./types/wallet-types/WalletGetInfoRequest";
|
|
|
91
92
|
export * from "./types/wallet-types/StealthUtxosListRequest";
|
|
92
93
|
export * from "./types/wallet-types/ClaimBurnResponse";
|
|
93
94
|
export * from "./types/wallet-types/WebRtcStartRequest";
|
|
95
|
+
export * from "./types/wallet-types/AuthRefreshRequest";
|
|
94
96
|
export * from "./types/wallet-types/InputSelection";
|
|
95
97
|
export * from "./types/wallet-types/ConfidentialViewVaultBalanceResponse";
|
|
96
98
|
export * from "./types/wallet-types/WebRtcStart";
|
|
@@ -98,6 +100,7 @@ export * from "./types/wallet-types/AccountSetDefaultRequest";
|
|
|
98
100
|
export * from "./types/wallet-types/WebauthnStartRegisterResponse";
|
|
99
101
|
export * from "./types/wallet-types/ConfidentialCreateOutputProofResponse";
|
|
100
102
|
export * from "./types/wallet-types/AccountsCreateStealthTransferStatementRequest";
|
|
103
|
+
export * from "./types/wallet-types/RefreshTokenHash";
|
|
101
104
|
export * from "./types/wallet-types/TemplatesGetResponse";
|
|
102
105
|
export * from "./types/wallet-types/AccountsGetBalancesRequest";
|
|
103
106
|
export * from "./types/wallet-types/AccountsCreateFreeTestCoinsRequest";
|
|
@@ -117,6 +120,7 @@ export * from "./types/wallet-types/BadgeUsage";
|
|
|
117
120
|
export * from "./types/wallet-types/AccountSetDefaultResponse";
|
|
118
121
|
export * from "./types/wallet-types/GetNftRequest";
|
|
119
122
|
export * from "./types/wallet-types/SubstatesListResponse";
|
|
123
|
+
export * from "./types/wallet-types/AuthListSessionsResponse";
|
|
120
124
|
export * from "./types/wallet-types/StealthUtxosDecryptValueRequest";
|
|
121
125
|
export * from "./types/wallet-types/WebauthnStartAuthResponse";
|
|
122
126
|
export * from "./types/wallet-types/TransferNftRequest";
|
package/dist/wallet-types.js
CHANGED
|
@@ -4,12 +4,10 @@ export * from "./types/wallet-types/ProofsFinalizeResponse";
|
|
|
4
4
|
export * from "./types/wallet-types/WalletGetInfoResponse";
|
|
5
5
|
export * from "./types/wallet-types/CallInstructionRequest";
|
|
6
6
|
export * from "./types/wallet-types/AccountsListRequest";
|
|
7
|
-
export * from "./types/wallet-types/AuthGetAllJwtResponse";
|
|
8
7
|
export * from "./types/wallet-types/AuthLoginResponse";
|
|
9
8
|
export * from "./types/wallet-types/GetValidatorFeesRequest";
|
|
10
9
|
export * from "./types/wallet-types/StealthUtxosListResponse";
|
|
11
10
|
export * from "./types/wallet-types/AccountGetDefaultRequest";
|
|
12
|
-
export * from "./types/wallet-types/AuthGetAllJwtRequest";
|
|
13
11
|
export * from "./types/wallet-types/KeyBranch";
|
|
14
12
|
export * from "./types/wallet-types/PublishTemplateResponse";
|
|
15
13
|
export * from "./types/wallet-types/AccountsAssociateStealthResourceResponse";
|
|
@@ -70,7 +68,9 @@ export * from "./types/wallet-types/AccountsRenameRequest";
|
|
|
70
68
|
export * from "./types/wallet-types/AuthRevokeTokenRequest";
|
|
71
69
|
export * from "./types/wallet-types/ProofsGenerateRequest";
|
|
72
70
|
export * from "./types/wallet-types/MintFaucetNftResponse";
|
|
71
|
+
export * from "./types/wallet-types/AuthListSessionsRequest";
|
|
73
72
|
export * from "./types/wallet-types/TemplatesListAuthoredRequest";
|
|
73
|
+
export * from "./types/wallet-types/AuthRefreshResponse";
|
|
74
74
|
export * from "./types/wallet-types/AccountsListResponse";
|
|
75
75
|
export * from "./types/wallet-types/WebRtcStartResponse";
|
|
76
76
|
export * from "./types/wallet-types/TransactionGetResultRequest";
|
|
@@ -85,6 +85,7 @@ export * from "./types/wallet-types/KeysCreateRequest";
|
|
|
85
85
|
export * from "./types/wallet-types/WebauthnStartAuthRequest";
|
|
86
86
|
export * from "./types/wallet-types/NetworkInfo";
|
|
87
87
|
export * from "./types/wallet-types/TransferStatementRequest";
|
|
88
|
+
export * from "./types/wallet-types/AuthSessionInfo";
|
|
88
89
|
export * from "./types/wallet-types/AccountsCreateOrGetRequest";
|
|
89
90
|
export * from "./types/wallet-types/SettingsGetResponse";
|
|
90
91
|
export * from "./types/wallet-types/WebauthnFinishRegisterResponse";
|
|
@@ -93,6 +94,7 @@ export * from "./types/wallet-types/WalletGetInfoRequest";
|
|
|
93
94
|
export * from "./types/wallet-types/StealthUtxosListRequest";
|
|
94
95
|
export * from "./types/wallet-types/ClaimBurnResponse";
|
|
95
96
|
export * from "./types/wallet-types/WebRtcStartRequest";
|
|
97
|
+
export * from "./types/wallet-types/AuthRefreshRequest";
|
|
96
98
|
export * from "./types/wallet-types/InputSelection";
|
|
97
99
|
export * from "./types/wallet-types/ConfidentialViewVaultBalanceResponse";
|
|
98
100
|
export * from "./types/wallet-types/WebRtcStart";
|
|
@@ -100,6 +102,7 @@ export * from "./types/wallet-types/AccountSetDefaultRequest";
|
|
|
100
102
|
export * from "./types/wallet-types/WebauthnStartRegisterResponse";
|
|
101
103
|
export * from "./types/wallet-types/ConfidentialCreateOutputProofResponse";
|
|
102
104
|
export * from "./types/wallet-types/AccountsCreateStealthTransferStatementRequest";
|
|
105
|
+
export * from "./types/wallet-types/RefreshTokenHash";
|
|
103
106
|
export * from "./types/wallet-types/TemplatesGetResponse";
|
|
104
107
|
export * from "./types/wallet-types/AccountsGetBalancesRequest";
|
|
105
108
|
export * from "./types/wallet-types/AccountsCreateFreeTestCoinsRequest";
|
|
@@ -119,6 +122,7 @@ export * from "./types/wallet-types/BadgeUsage";
|
|
|
119
122
|
export * from "./types/wallet-types/AccountSetDefaultResponse";
|
|
120
123
|
export * from "./types/wallet-types/GetNftRequest";
|
|
121
124
|
export * from "./types/wallet-types/SubstatesListResponse";
|
|
125
|
+
export * from "./types/wallet-types/AuthListSessionsResponse";
|
|
122
126
|
export * from "./types/wallet-types/StealthUtxosDecryptValueRequest";
|
|
123
127
|
export * from "./types/wallet-types/WebauthnStartAuthResponse";
|
|
124
128
|
export * from "./types/wallet-types/TransferNftRequest";
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type AuthGetAllJwtRequest = Record<string, never>;
|
|
File without changes
|
|
File without changes
|