keymaster-api-protocol 0.1.3 → 0.1.5
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/methods.gen.d.ts +1 -0
- package/dist/methods.gen.js +4 -0
- package/dist/types.gen.d.ts +23 -28
- package/package.json +1 -1
package/dist/methods.gen.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ export declare const MethodEventsSubscribe = "events.subscribe";
|
|
|
33
33
|
export declare const MethodFilesBrowse = "files.browse";
|
|
34
34
|
export declare const MethodFilesList = "files.list";
|
|
35
35
|
export declare const MethodInfoGet = "info.get";
|
|
36
|
+
export declare const MethodPluginsInspect = "plugins.inspect";
|
|
36
37
|
export declare const MethodPricingBatch = "pricing.batch";
|
|
37
38
|
export declare const MethodPricingClearFile = "pricing.clearFile";
|
|
38
39
|
export declare const MethodPricingSetDefaults = "pricing.setDefaults";
|
package/dist/methods.gen.js
CHANGED
|
@@ -35,6 +35,7 @@ export const MethodEventsSubscribe = "events.subscribe"; // params=EventsSubscri
|
|
|
35
35
|
export const MethodFilesBrowse = "files.browse"; // params=BrowseRequest result=BrowseView timeout=short
|
|
36
36
|
export const MethodFilesList = "files.list"; // params=null result=FilesView timeout=short
|
|
37
37
|
export const MethodInfoGet = "info.get"; // params=null result=Info timeout=short
|
|
38
|
+
export const MethodPluginsInspect = "plugins.inspect"; // params=null result=PluginsInspectView timeout=short
|
|
38
39
|
export const MethodPricingBatch = "pricing.batch"; // params=PricingBatchRequest result=PricingBatchResponse timeout=short
|
|
39
40
|
export const MethodPricingClearFile = "pricing.clearFile"; // params=PricingClearRequest result=PricingClearResponse timeout=short
|
|
40
41
|
export const MethodPricingSetDefaults = "pricing.setDefaults"; // params=PricingDefaultsRequest result=PricingDefaultsResponse timeout=short
|
|
@@ -92,6 +93,7 @@ export const MethodTimeout = {
|
|
|
92
93
|
"files.browse": "short",
|
|
93
94
|
"files.list": "short",
|
|
94
95
|
"info.get": "short",
|
|
96
|
+
"plugins.inspect": "short",
|
|
95
97
|
"pricing.batch": "short",
|
|
96
98
|
"pricing.clearFile": "short",
|
|
97
99
|
"pricing.setDefaults": "short",
|
|
@@ -150,6 +152,7 @@ export const MethodParams = {
|
|
|
150
152
|
"files.browse": "BrowseRequest",
|
|
151
153
|
"files.list": "null",
|
|
152
154
|
"info.get": "null",
|
|
155
|
+
"plugins.inspect": "null",
|
|
153
156
|
"pricing.batch": "PricingBatchRequest",
|
|
154
157
|
"pricing.clearFile": "PricingClearRequest",
|
|
155
158
|
"pricing.setDefaults": "PricingDefaultsRequest",
|
|
@@ -208,6 +211,7 @@ export const MethodResult = {
|
|
|
208
211
|
"files.browse": "BrowseView",
|
|
209
212
|
"files.list": "FilesView",
|
|
210
213
|
"info.get": "Info",
|
|
214
|
+
"plugins.inspect": "PluginsInspectView",
|
|
211
215
|
"pricing.batch": "PricingBatchResponse",
|
|
212
216
|
"pricing.clearFile": "PricingClearResponse",
|
|
213
217
|
"pricing.setDefaults": "PricingDefaultsResponse",
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -137,6 +137,7 @@ export interface ConnectConnectionPauseRequest {
|
|
|
137
137
|
}
|
|
138
138
|
export interface ConnectDeployment {
|
|
139
139
|
appPublicKeyHex: string;
|
|
140
|
+
appVersion: string;
|
|
140
141
|
deploymentId: string;
|
|
141
142
|
iconUrl?: string;
|
|
142
143
|
indexseedhashhex: string;
|
|
@@ -148,6 +149,7 @@ export interface ConnectDeploymentInstallRequest {
|
|
|
148
149
|
}
|
|
149
150
|
export interface ConnectDeploymentInstallResponse {
|
|
150
151
|
appPublicKeyHex: string;
|
|
152
|
+
appVersion: string;
|
|
151
153
|
deploymentId: string;
|
|
152
154
|
indexseedhashhex: string;
|
|
153
155
|
}
|
|
@@ -156,6 +158,7 @@ export interface ConnectDeploymentStartRequest {
|
|
|
156
158
|
}
|
|
157
159
|
export interface ConnectDeploymentStartResponse {
|
|
158
160
|
appPublicKeyHex: string;
|
|
161
|
+
appVersion: string;
|
|
159
162
|
deploymentId: string;
|
|
160
163
|
iconUrl?: string;
|
|
161
164
|
indexseedhashhex: string;
|
|
@@ -177,6 +180,7 @@ export interface ConnectDirectoryAddRequest {
|
|
|
177
180
|
}
|
|
178
181
|
export interface ConnectDirectoryEntry {
|
|
179
182
|
appPublicKeyHex: string;
|
|
183
|
+
appVersion: string;
|
|
180
184
|
description?: string;
|
|
181
185
|
favorite: boolean;
|
|
182
186
|
files: ConnectDirectoryFilesEntry[];
|
|
@@ -226,6 +230,8 @@ export interface ConnectDirectoryURLEntry {
|
|
|
226
230
|
}
|
|
227
231
|
export interface ConnectDirectoryView {
|
|
228
232
|
entries: ConnectDirectoryEntry[];
|
|
233
|
+
favorites?: Record<string, unknown>;
|
|
234
|
+
knownApplications?: Record<string, unknown>;
|
|
229
235
|
marketError?: string;
|
|
230
236
|
pending: ConnectDirectoryPendingEntry[];
|
|
231
237
|
}
|
|
@@ -312,6 +318,23 @@ export interface JsonValue {
|
|
|
312
318
|
export interface Ok {
|
|
313
319
|
ok: boolean;
|
|
314
320
|
}
|
|
321
|
+
export interface PluginCatalogEntry {
|
|
322
|
+
methods: string[];
|
|
323
|
+
pluginId: string;
|
|
324
|
+
unitId: string;
|
|
325
|
+
}
|
|
326
|
+
export interface PluginUnitView {
|
|
327
|
+
instanceId: string;
|
|
328
|
+
pluginId: string;
|
|
329
|
+
unitId: string;
|
|
330
|
+
}
|
|
331
|
+
export interface PluginsInspectView {
|
|
332
|
+
active: boolean;
|
|
333
|
+
catalog: PluginCatalogEntry[];
|
|
334
|
+
instanceId: string;
|
|
335
|
+
runtimeInstanceId: string;
|
|
336
|
+
units: PluginUnitView[];
|
|
337
|
+
}
|
|
315
338
|
export interface PricingBatchRequest {
|
|
316
339
|
blockPrice: string;
|
|
317
340
|
mode: string;
|
|
@@ -348,34 +371,6 @@ export interface PricingFileRequest {
|
|
|
348
371
|
export interface PricingFileResponse {
|
|
349
372
|
updated: string;
|
|
350
373
|
}
|
|
351
|
-
export interface PublicationFile {
|
|
352
|
-
mime: string;
|
|
353
|
-
path: string;
|
|
354
|
-
seedhashhex: string;
|
|
355
|
-
size: number;
|
|
356
|
-
}
|
|
357
|
-
export interface PublicationFilesChannel {
|
|
358
|
-
entrySeedhashhex: string;
|
|
359
|
-
files: PublicationFile[];
|
|
360
|
-
icon: string;
|
|
361
|
-
}
|
|
362
|
-
export interface PublicationProof {
|
|
363
|
-
publication: PublicationRecord;
|
|
364
|
-
signatureHex: string;
|
|
365
|
-
}
|
|
366
|
-
export interface PublicationRecord {
|
|
367
|
-
appPublicKeyHex: string;
|
|
368
|
-
description: string;
|
|
369
|
-
files?: PublicationFilesChannel;
|
|
370
|
-
kind: string;
|
|
371
|
-
name: string;
|
|
372
|
-
url?: PublicationURLChannel;
|
|
373
|
-
version: number;
|
|
374
|
-
}
|
|
375
|
-
export interface PublicationURLChannel {
|
|
376
|
-
address: string;
|
|
377
|
-
icon: string;
|
|
378
|
-
}
|
|
379
374
|
export interface RevisionRequest {
|
|
380
375
|
revision: number;
|
|
381
376
|
}
|