@cotal-ai/pi 0.163.4 → 0.164.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.
Binary file
Binary file
package/dist/events.d.ts CHANGED
@@ -4,6 +4,7 @@ export declare class PiEvents {
4
4
  private readonly mesh;
5
5
  private readonly space;
6
6
  private readonly stopped;
7
+ private readonly withholdPayloads;
7
8
  private holder?;
8
9
  private lock?;
9
10
  private sessionId?;
@@ -13,7 +14,7 @@ export declare class PiEvents {
13
14
  /** @param stopped Told of each failure that stopped this seat's event plane, with the delay before
14
15
  * the holder re-establishes it (`0` for at once), or `null` for a failure of this adapter's own
15
16
  * that no holder retries. */
16
- constructor(mesh: MeshAgent, space: string, stopped: (error: Error, retryInMs: number | null) => void);
17
+ constructor(mesh: MeshAgent, space: string, stopped: (error: Error, retryInMs: number | null) => void, withholdPayloads?: boolean);
17
18
  start(sessionId: string, path: string | undefined, freshSession?: boolean): Promise<void>;
18
19
  flush(sessionId: string, path: string | undefined): void;
19
20
  shutdown(): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAEA,OAAO,EAEsC,KAAK,SAAS,EAC1D,MAAM,0BAA0B,CAAC;AAIlC,+FAA+F;AAC/F,qBAAa,QAAQ;IAYjB,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,OAAO;IAb1B,OAAO,CAAC,MAAM,CAAC,CAAoC;IACnD,OAAO,CAAC,IAAI,CAAC,CAAgB;IAC7B,OAAO,CAAC,SAAS,CAAC,CAAS;IAC3B,OAAO,CAAC,IAAI,CAAC,CAAS;IACtB,OAAO,CAAC,OAAO,CAAoC;IACnD,OAAO,CAAC,OAAO,CAAS;IAExB;;kCAE8B;gBAEX,IAAI,EAAE,SAAS,EACf,KAAK,EAAE,MAAM,EACb,OAAO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