keymaster-api-protocol 0.1.4 → 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.
@@ -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[];
@@ -367,34 +371,6 @@ export interface PricingFileRequest {
367
371
  export interface PricingFileResponse {
368
372
  updated: string;
369
373
  }
370
- export interface PublicationFile {
371
- mime: string;
372
- path: string;
373
- seedhashhex: string;
374
- size: number;
375
- }
376
- export interface PublicationFilesChannel {
377
- entrySeedhashhex: string;
378
- files: PublicationFile[];
379
- icon: string;
380
- }
381
- export interface PublicationProof {
382
- publication: PublicationRecord;
383
- signatureHex: string;
384
- }
385
- export interface PublicationRecord {
386
- appPublicKeyHex: string;
387
- description: string;
388
- files?: PublicationFilesChannel;
389
- kind: string;
390
- name: string;
391
- url?: PublicationURLChannel;
392
- version: number;
393
- }
394
- export interface PublicationURLChannel {
395
- address: string;
396
- icon: string;
397
- }
398
374
  export interface RevisionRequest {
399
375
  revision: number;
400
376
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keymaster-api-protocol",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Keymaster 后台业务 API v1 契约 SDK(DTO 与 WebSocket/进程内客户端,Go/TS 同契约)",
5
5
  "license": "AGPL-3.0-only",
6
6
  "type": "module",