@gonvex/protocol 0.5.2-staging.10 → 0.5.2-staging.12
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 +13 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -234,6 +234,10 @@ export type ReducerCallRequest = {
|
|
|
234
234
|
trace?: MessageTrace;
|
|
235
235
|
/** Stable key for a replayable command; see the `reducer.call` message. */
|
|
236
236
|
idempotencyKey?: string;
|
|
237
|
+
artifactHash?: string;
|
|
238
|
+
clientContract?: number;
|
|
239
|
+
receiptPath?: string;
|
|
240
|
+
intentEntropy?: string;
|
|
237
241
|
};
|
|
238
242
|
export type ReplicaOpenRequest = {
|
|
239
243
|
id: string;
|
|
@@ -285,6 +289,7 @@ export type GonvexManifest = {
|
|
|
285
289
|
};
|
|
286
290
|
export type ClientMessage = {
|
|
287
291
|
type: "auth";
|
|
292
|
+
clientContract?: number;
|
|
288
293
|
id: string;
|
|
289
294
|
token?: string;
|
|
290
295
|
project?: string;
|
|
@@ -340,6 +345,10 @@ export type ClientMessage = {
|
|
|
340
345
|
* every duplicate delivery.
|
|
341
346
|
*/
|
|
342
347
|
idempotencyKey?: string;
|
|
348
|
+
artifactHash?: string;
|
|
349
|
+
clientContract?: number;
|
|
350
|
+
receiptPath?: string;
|
|
351
|
+
intentEntropy?: string;
|
|
343
352
|
} | {
|
|
344
353
|
type: "reducer.callMany";
|
|
345
354
|
calls: ReducerCallRequest[];
|
|
@@ -584,6 +593,10 @@ export type ServerMessage = {
|
|
|
584
593
|
path?: string;
|
|
585
594
|
error: string;
|
|
586
595
|
trace?: MessageTrace;
|
|
596
|
+
} | {
|
|
597
|
+
type: "client.updateRequired";
|
|
598
|
+
reason: string;
|
|
599
|
+
contract: number;
|
|
587
600
|
} | {
|
|
588
601
|
type: "system.reload";
|
|
589
602
|
reason: string;
|