pinomad 0.7.0 → 0.9.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.
@@ -3,7 +3,7 @@ import {
3
3
  generateKeyPair,
4
4
  keyPairFromPrivate,
5
5
  toBase64Url
6
- } from "./chunk-7qb9tq54.js";
6
+ } from "./chunk-sygeb9qb.js";
7
7
 
8
8
  // apps/host/src/devices.ts
9
9
  import { link, readFile, unlink, writeFile } from "node:fs/promises";
@@ -15,7 +15,8 @@ var DevicesDoc = defineDoc({
15
15
  kind: "pinomad.devices",
16
16
  version: 1,
17
17
  scope: "session",
18
- initial: () => ({ devices: [] })
18
+ initial: () => ({ devices: [] }),
19
+ checkpointWhen: () => false
19
20
  });
20
21
  async function ensureDevices(harness, context) {
21
22
  await harness.commit(async (tx) => void await tx.doc(DevicesDoc), context);
@@ -24,7 +25,8 @@ var RevocationsDoc = defineDoc({
24
25
  kind: "pinomad.revocations",
25
26
  version: 1,
26
27
  scope: "session",
27
- initial: () => ({ revoked: [] })
28
+ initial: () => ({ revoked: [] }),
29
+ checkpointWhen: () => false
28
30
  });
29
31
  async function admitDevice(harness, input, context) {
30
32
  return await harness.commit(async (tx) => {
@@ -5,11 +5,11 @@ import {
5
5
  commandHint,
6
6
  hostEntry,
7
7
  packagedVersion
8
- } from "./chunk-rtwxjb90.js";
8
+ } from "./chunk-vyvyaavr.js";
9
9
  import {
10
10
  ProtocolMismatchError,
11
11
  connectRemoteDurable
12
- } from "./chunk-sj7rnvh4.js";
12
+ } from "./chunk-4sepcfpy.js";
13
13
  import {
14
14
  DEFAULT_DATA_DIR,
15
15
  hostAddress