@ghostlytools/cli 1.7.1 → 1.7.3

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.
Files changed (73) hide show
  1. package/README.md +27 -16
  2. package/SKILL.md +5 -1
  3. package/dist/assets/{api-CJM3R93b.js → api-B42F9ytB.js} +2 -2
  4. package/dist/assets/{api-CD9JbPuA.js → api-tf-wAAnB.js} +249 -100
  5. package/dist/assets/api-tf-wAAnB.js.map +1 -0
  6. package/dist/assets/{apiKit-BmnROpCN.js → apiKit-DJb9hulp.js} +34 -5
  7. package/dist/assets/{apiKit-BmnROpCN.js.map → apiKit-DJb9hulp.js.map} +1 -1
  8. package/dist/assets/{apps-CJ2dvKSz.js → apps-BfoDISRg.js} +1 -1
  9. package/dist/assets/{apps-DVA60Tg6.js → apps-DIrWmLgL.js} +6 -6
  10. package/dist/assets/{apps-DVA60Tg6.js.map → apps-DIrWmLgL.js.map} +1 -1
  11. package/dist/assets/{arkade-CHqwEHFd.js → arkade-CJAhhgPQ.js} +2 -2
  12. package/dist/assets/{arkade-CHqwEHFd.js.map → arkade-CJAhhgPQ.js.map} +1 -1
  13. package/dist/assets/{backup-C4CbTEcj.js → backup-BkUeeduy.js} +1 -1
  14. package/dist/assets/{backup-B4dSNvzb.js → backup-Bko-AAm0.js} +6 -6
  15. package/dist/assets/{backup-B4dSNvzb.js.map → backup-Bko-AAm0.js.map} +1 -1
  16. package/dist/assets/bark_ffi_wasm_bg-EY2uc0Bx.js.map +1 -1
  17. package/dist/assets/bitcoindevkit_bg-B-iLWrmX.js.map +1 -1
  18. package/dist/assets/buttons-Be7u0V5g.js +2 -0
  19. package/dist/assets/{buttons-C13rK2mH.js → buttons-DeA6Yddq.js} +43 -12
  20. package/dist/assets/buttons-DeA6Yddq.js.map +1 -0
  21. package/dist/assets/{daemonProof-B41oSfon.js → daemonProof-Bp9lJDxf.js} +2 -2
  22. package/dist/assets/{daemonProof-B41oSfon.js.map → daemonProof-Bp9lJDxf.js.map} +1 -1
  23. package/dist/assets/{envelope-4TXDx3vD.js → envelope-Cz5fc7BM.js} +2 -2
  24. package/dist/assets/{envelope-4TXDx3vD.js.map → envelope-Cz5fc7BM.js.map} +1 -1
  25. package/dist/assets/{errors-CzXgR8Cc.js → errors-mnjSQlbX.js} +2 -1
  26. package/dist/assets/errors-mnjSQlbX.js.map +1 -0
  27. package/dist/assets/{groupFiles-ajZgZ6P8.js → groupFiles-BlZRBWpt.js} +558 -4
  28. package/dist/assets/groupFiles-BlZRBWpt.js.map +1 -0
  29. package/dist/assets/{host-CVeNtA2_.js → host-BX0DmKW6.js} +41 -18
  30. package/dist/assets/host-BX0DmKW6.js.map +1 -0
  31. package/dist/assets/{hyperdhtRelay-CI2ISE-g.js → hyperdhtRelay-DitYDnXx.js} +2 -2
  32. package/dist/assets/{hyperdhtRelay-CI2ISE-g.js.map → hyperdhtRelay-DitYDnXx.js.map} +1 -1
  33. package/dist/assets/{irohWeb-DcRJdhce.js → irohWeb-R3bcd34h.js} +2 -2
  34. package/dist/assets/{irohWeb-DcRJdhce.js.map → irohWeb-R3bcd34h.js.map} +1 -1
  35. package/dist/assets/{main-CjO0KGiF.js → main-6QOSvQ8b.js} +297 -127
  36. package/dist/assets/main-6QOSvQ8b.js.map +1 -0
  37. package/dist/assets/{mainline-WM-WItCV.js → mainline-BfwezHWi.js} +2 -2
  38. package/dist/assets/{mainline-WM-WItCV.js.map → mainline-BfwezHWi.js.map} +1 -1
  39. package/dist/assets/{networkReason-380j5yMs.js → networkReason-Ba9415nn.js} +2 -2
  40. package/dist/assets/{networkReason-380j5yMs.js.map → networkReason-Ba9415nn.js.map} +1 -1
  41. package/dist/assets/{nwc-D5dkC1xg.js → nwc-ovXSN2M2.js} +3 -3
  42. package/dist/assets/{nwc-D5dkC1xg.js.map → nwc-ovXSN2M2.js.map} +1 -1
  43. package/dist/assets/{nwcProvider-p_rMwtDv.js → nwcProvider-BzZbfFP3.js} +2 -2
  44. package/dist/assets/{nwcProvider-p_rMwtDv.js.map → nwcProvider-BzZbfFP3.js.map} +1 -1
  45. package/dist/assets/{profiles-BFd0tpCZ.js → profiles-C6XWqre5.js} +2 -2
  46. package/dist/assets/{profiles-BFd0tpCZ.js.map → profiles-C6XWqre5.js.map} +1 -1
  47. package/dist/assets/{registry-BfNcA6kF.js → registry-B0Uv9yL6.js} +3 -3
  48. package/dist/assets/{registry-BfNcA6kF.js.map → registry-B0Uv9yL6.js.map} +1 -1
  49. package/dist/assets/{registry-BKffx4ZU.js → registry-CFtlhWCI.js} +1 -1
  50. package/dist/assets/{resolve-hUsgRkmm.js → resolve-BzFG4WDU.js} +2 -2
  51. package/dist/assets/{resolve-hUsgRkmm.js.map → resolve-BzFG4WDU.js.map} +1 -1
  52. package/dist/assets/{server-C3tJZFnv.js → server-BGCuHbmQ.js} +504 -673
  53. package/dist/assets/server-BGCuHbmQ.js.map +1 -0
  54. package/dist/assets/{src-BMHgbkli.js → src-DWw2hUE5.js} +193 -60
  55. package/dist/assets/src-DWw2hUE5.js.map +1 -0
  56. package/dist/assets/{translate-DJUutSis.js → translate-DObb-1tq.js} +11 -11
  57. package/dist/assets/{translate-DJUutSis.js.map → translate-DObb-1tq.js.map} +1 -1
  58. package/dist/assets/{usdt-glkUxsDe.js → usdt-Bkva90Vo.js} +3 -3
  59. package/dist/assets/{usdt-glkUxsDe.js.map → usdt-Bkva90Vo.js.map} +1 -1
  60. package/dist/assets/{words-DyW9b27T.js → words-odSAoasK.js} +4 -2
  61. package/dist/assets/words-odSAoasK.js.map +1 -0
  62. package/dist/ghostly.mjs +1 -1
  63. package/package.json +1 -1
  64. package/dist/assets/api-CD9JbPuA.js.map +0 -1
  65. package/dist/assets/buttons-BMVGYXpR.js +0 -2
  66. package/dist/assets/buttons-C13rK2mH.js.map +0 -1
  67. package/dist/assets/errors-CzXgR8Cc.js.map +0 -1
  68. package/dist/assets/groupFiles-ajZgZ6P8.js.map +0 -1
  69. package/dist/assets/host-CVeNtA2_.js.map +0 -1
  70. package/dist/assets/main-CjO0KGiF.js.map +0 -1
  71. package/dist/assets/server-C3tJZFnv.js.map +0 -1
  72. package/dist/assets/src-BMHgbkli.js.map +0 -1
  73. package/dist/assets/words-DyW9b27T.js.map +0 -1
@@ -328,9 +328,13 @@ function publicKeyFromZ32(z32) {
328
328
  function sign(message, seed) {
329
329
  return ed25519.sign(message, seed);
330
330
  }
331
+ /**
332
+ * Ed25519 verification as RFC 8032 writes it (`zip215: false`): canonical encodings only, and no key of small order,
333
+ * which no secret key goes with and which "verifies" a constant signature of any message.
334
+ */
331
335
  function verify(signature, message, publicKey) {
332
336
  try {
333
- return ed25519.verify(signature, message, publicKey);
337
+ return ed25519.verify(signature, message, publicKey, { zip215: false });
334
338
  } catch {
335
339
  return false;
336
340
  }
@@ -898,6 +902,8 @@ var isGroupRead = (who) => who.group && !who.write && !who.background;
898
902
  var isTurnRead = (who) => !who.write && !who.door && (who.background || !who.group);
899
903
  /** A write that goes first once the budget frees a request (see `WRITE_FIRST_MS`): a chat's or a group's, never a background one. */
900
904
  var firstWriter = (who) => !who.write || who.background ? null : who.group ? "group" : "chat";
905
+ /** A key's turn neither asked nor read in the last minute: it is dropped, and asking again starts a new one (`TURNS_PRUNE_MS`). */
906
+ var staleTurn = (turn, now) => now - Math.max(turn.askedAt, turn.servedAt) >= 6e4;
901
907
  /**
902
908
  * Public Pkarr relays. They are generic Pkarr infrastructure (an HTTP bridge to
903
909
  * the Mainline DHT), not a Ghostly backend: they only ever see signed,
@@ -1031,6 +1037,11 @@ var WATCH_TURN_MS = 5e3;
1031
1037
  */
1032
1038
  var READ_TURN_MS = 5e3;
1033
1039
  /**
1040
+ * The keys' turns asked and read over a minute ago are dropped at most this often: walking every key on each ask cost in
1041
+ * proportion to the chats, 12-14% of an idle web app's script with 200 chats.
1042
+ */
1043
+ var TURNS_PRUNE_MS = 1e3;
1044
+ /**
1034
1045
  * A 1:1 chat's read the budget held back this long without a break is starved: it goes before the writes that wait
1035
1046
  * (`WRITE_FIRST_MS`) and past the background share, within the minute, the key held back longest first. A daemon back
1036
1047
  * after a restart spends its whole minute on writes (each chat's and edge's offer, its packets after the attempt), which
@@ -1205,6 +1216,8 @@ var RelayTransport = class {
1205
1216
  readTurns = /* @__PURE__ */ new Map();
1206
1217
  /** Per key read in turn (`isTurnRead`), when a read of it last went out and when it last asked (`READ_TURN_MS`). */
1207
1218
  keyTurns = /* @__PURE__ */ new Map();
1219
+ /** When `readTurns` and `keyTurns` last dropped their stale turns (`TURNS_PRUNE_MS`). */
1220
+ turnsPrunedAt = /* @__PURE__ */ new Map();
1208
1221
  /** Groups' reads (not background ones) on each relay in the last `GROUP_RATION_WINDOW_MS`. */
1209
1222
  spentGroupReads = /* @__PURE__ */ new Map();
1210
1223
  /** When a group's read last found each relay's minute full: its reads there are rationed for `GROUP_RATION_MS`. */
@@ -1930,7 +1943,7 @@ var RelayTransport = class {
1930
1943
  }
1931
1944
  /** `sent`: told, once the budget took the request, whether the relay takes the packet (a 2xx). */
1932
1945
  async put(relay, pubKeyZ32, payload, replaces, who, probe = false, sent) {
1933
- if (!probe && this.networkCoolingDown(relay, "PUT")) throw new Error("Discovery relay is cooling down; retry shortly");
1946
+ if (!probe && this.networkCoolingDown(relay, "PUT")) throw new Error(`${relay} did not answer a moment ago; retry shortly`);
1934
1947
  const limited = this.rateLimitedFor(relay);
1935
1948
  if (limited > 0) throw new DiscoveryBudgetError(limited, "Discovery relay is cooling down after a 429; retry shortly");
1936
1949
  const blocked = probe ? 0 : this.breaker.blockedFor(relay);
@@ -2113,10 +2126,10 @@ var RelayTransport = class {
2113
2126
  }
2114
2127
  /** A group's read of `key`, or a chat's watch read, asks: it waits for its turn from now on, unless it is taken (`readsAhead`). */
2115
2128
  readAsked(key, who, now) {
2116
- for (const [other, turn] of this.readTurns) if (now - Math.max(turn.askedAt, turn.servedAt) >= 6e4) this.readTurns.delete(other);
2129
+ this.pruneTurns(this.readTurns, now);
2117
2130
  const turn = this.readTurns.get(key);
2118
2131
  this.readTurns.set(key, {
2119
- servedAt: turn?.servedAt ?? -Infinity,
2132
+ servedAt: turn && !staleTurn(turn, now) ? turn.servedAt : -Infinity,
2120
2133
  askedAt: now,
2121
2134
  waiting: true,
2122
2135
  watch: isWatch(who) || isChatWatch(who),
@@ -2140,14 +2153,21 @@ var RelayTransport = class {
2140
2153
  }
2141
2154
  /** A read of `key` that takes turns asks: it waits for its turn from now on, unless it is taken (`turnAhead`). */
2142
2155
  turnAsked(key, who, now) {
2143
- for (const [other, turn] of this.keyTurns) if (now - Math.max(turn.askedAt, turn.servedAt) >= 6e4) this.keyTurns.delete(other);
2156
+ this.pruneTurns(this.keyTurns, now);
2157
+ const turn = this.keyTurns.get(key);
2144
2158
  this.keyTurns.set(key, {
2145
- servedAt: this.keyTurns.get(key)?.servedAt ?? -Infinity,
2159
+ servedAt: turn && !staleTurn(turn, now) ? turn.servedAt : -Infinity,
2146
2160
  askedAt: now,
2147
2161
  waiting: true,
2148
2162
  who
2149
2163
  });
2150
2164
  }
2165
+ /** Drops the turns asked and read over a minute ago, at most once in `TURNS_PRUNE_MS` (or when the clock went back). */
2166
+ pruneTurns(turns, now) {
2167
+ if (Math.abs(now - (this.turnsPrunedAt.get(turns) ?? -Infinity)) < TURNS_PRUNE_MS) return;
2168
+ this.turnsPrunedAt.set(turns, now);
2169
+ for (const [key, turn] of turns) if (staleTurn(turn, now)) turns.delete(key);
2170
+ }
2151
2171
  /**
2152
2172
  * Whether a key read in turn longer ago than `key`, still asking, would take this relay's next request: one read in the
2153
2173
  * background for a background read, and a chat's that is starved (`READ_STARVED_MS`) for any. One asks again after
@@ -7188,6 +7208,7 @@ function parseLocalTarget(input) {
7188
7208
  if (url.username || url.password) throw new Error("Credentials in the target URL are not supported");
7189
7209
  if (!LOOPBACK_HOSTS.has(url.hostname)) throw new Error("Only services on this machine can be shared (localhost, 127.0.0.1 or [::1])");
7190
7210
  if (url.search || url.hash) throw new Error("The target cannot contain a query or fragment");
7211
+ if (url.port === "0") throw new Error("Port 0 is not a port a web app can listen on");
7191
7212
  return {
7192
7213
  origin: url.origin,
7193
7214
  basePath: url.pathname.replace(/\/+$/, "")
@@ -7866,6 +7887,8 @@ var LinkSession = class {
7866
7887
  fastPollUntil = 0;
7867
7888
  /** An offer to a saved contact is out: from then on its fast window looks less often (`OFFER_FAST_MS`); 0 for none. */
7868
7889
  fastStepsAfter = 0;
7890
+ /** Fast reads still signaling since this side's last new offer or answer went out (`SIGNAL_OUT_READS`). */
7891
+ signalReadsLeft = 0;
7869
7892
  /** When the last `expectPeer` window ends (or ended): the pace slows down from there step by step. */
7870
7893
  expectUntil = 0;
7871
7894
  /**
@@ -8018,6 +8041,7 @@ var LinkSession = class {
8018
8041
  setFastPoll(fast, offer = false) {
8019
8042
  this.fastPollUntil = fast ? Date.now() + (offer ? OFFER_LOOK_MS : FAST_POLL_MAX_MS) : 0;
8020
8043
  this.fastStepsAfter = fast && offer ? Date.now() + OFFER_FAST_MS : 0;
8044
+ this.signalReadsLeft = 0;
8021
8045
  if (fast) this.pollNow();
8022
8046
  }
8023
8047
  /**
@@ -8255,21 +8279,25 @@ var LinkSession = class {
8255
8279
  }
8256
8280
  async publishOnce(advertise, upkeep = false) {
8257
8281
  const rtcSignal = advertise ? this.rtcSignal : null;
8258
- const built = buildLinkRecords(this.identity.pubKeyZ32, {
8259
- messages: this.sentBuffer,
8260
- ackTimestamp: this.myAck,
8261
- nick: this.nick,
8262
- callSignal: this.callSignal,
8263
- rtcSignal,
8264
- services: advertise ? this.getServices() : void 0,
8265
- transports: advertise ? this.transports : null
8266
- }, this.encKey);
8267
8282
  const started = Date.now();
8283
+ let keptMessages;
8268
8284
  try {
8269
8285
  const awaited = this.connected || this.presence.online || this.sentBuffer.length > 0 || this.callSignal !== null || this.awaitingPeer();
8270
8286
  const takesBack = !rtcSignal && this.rtcSignalOut !== null;
8271
8287
  const options = rtcSignal && rtcSignal !== this.rtcSignalOut ? { signal: true } : this.watching() ? { watch: true } : upkeep && (this.connected || takesBack) || !rtcSignal && !awaited ? { background: true } : void 0;
8272
8288
  this.wroteInBackground = options?.background === true;
8289
+ const held = this.transport.publishHeld?.(this.identity.pubKeyZ32, options);
8290
+ if (held) throw held;
8291
+ const built = buildLinkRecords(this.identity.pubKeyZ32, {
8292
+ messages: this.sentBuffer,
8293
+ ackTimestamp: this.myAck,
8294
+ nick: this.nick,
8295
+ callSignal: this.callSignal,
8296
+ rtcSignal,
8297
+ services: advertise ? this.getServices() : void 0,
8298
+ transports: advertise ? this.transports : null
8299
+ }, this.encKey);
8300
+ keptMessages = built.keptMessages;
8273
8301
  await this.transport.publish(this.identity, built.records, options);
8274
8302
  } catch (error) {
8275
8303
  const ms = Date.now() - started, waiting = isDiscoveryBudgetError(error);
@@ -8296,6 +8324,7 @@ var LinkSession = class {
8296
8324
  const ms = Date.now() - started;
8297
8325
  this.lastPublishedAt = Date.now();
8298
8326
  const signalOut = !!rtcSignal && rtcSignal !== this.rtcSignalOut;
8327
+ this.signalReadsLeft = signalOut ? 3 : rtcSignal ? this.signalReadsLeft : 0;
8299
8328
  if (signalOut && this.fastPollUntil > 0) {
8300
8329
  const lapsed = this.fastPollUntil <= Date.now() || this.fastStepsAfter > 0 && this.fastStepsAfter <= Date.now();
8301
8330
  this.fastPollUntil = Math.max(this.fastPollUntil, Date.now() + (this.fastStepsAfter ? OFFER_LOOK_MS : FAST_POLL_MAX_MS));
@@ -8314,7 +8343,7 @@ var LinkSession = class {
8314
8343
  ...signalOut && { signalOut }
8315
8344
  });
8316
8345
  this.discoveryResult("publish");
8317
- return built.keptMessages;
8346
+ return keptMessages;
8318
8347
  }
8319
8348
  /**
8320
8349
  * When a publish that failed goes again: when the relays' budget frees a request, if that held it back; a chat's or a
@@ -8340,7 +8369,8 @@ var LinkSession = class {
8340
8369
  let heldBackMs;
8341
8370
  try {
8342
8371
  const pace = this.pace();
8343
- const signal = pace === "fast" && this.fastStepsAfter > 0 && this.rtcSignalOut !== null;
8372
+ const signal = pace === "fast" && this.rtcSignalOut !== null && (this.fastStepsAfter > 0 || this.signalReadsLeft > 0);
8373
+ if (signal && !this.fastStepsAfter) this.signalReadsLeft--;
8344
8374
  const watch = !signal && this.watching();
8345
8375
  const departed = !signal && Date.now() < this.departedUntil;
8346
8376
  const background = pace === "background" || pace === "connected";
@@ -18067,10 +18097,7 @@ var ChatFiles = class {
18067
18097
  }
18068
18098
  switch (record.state) {
18069
18099
  case "done":
18070
- this.send({
18071
- t: "pf-done",
18072
- id
18073
- });
18100
+ this.sayDone(id);
18074
18101
  return;
18075
18102
  case "declined":
18076
18103
  this.send({
@@ -18365,10 +18392,7 @@ var ChatFiles = class {
18365
18392
  async onSum(entry, frame) {
18366
18393
  const { record } = entry, incoming = entry.in;
18367
18394
  if (record.state === "done") {
18368
- this.send({
18369
- t: "pf-done",
18370
- id: record.id
18371
- });
18395
+ this.sayDone(record.id);
18372
18396
  return;
18373
18397
  }
18374
18398
  if (record.state !== "active" || incoming.verifying || !incoming.target) return;
@@ -18401,10 +18425,7 @@ var ChatFiles = class {
18401
18425
  record.digest = digest;
18402
18426
  record.confirmed = record.file.size;
18403
18427
  this.end(entry, "done");
18404
- this.send({
18405
- t: "pf-done",
18406
- id: record.id
18407
- });
18428
+ this.sayDone(record.id);
18408
18429
  } else {
18409
18430
  await incoming.target.then((t) => t.discard()).catch(() => {});
18410
18431
  this.end(entry, "failed", "The file arrived damaged and was deleted. Ask for it again.");
@@ -18416,6 +18437,24 @@ var ChatFiles = class {
18416
18437
  }
18417
18438
  this.startNext();
18418
18439
  }
18440
+ /**
18441
+ * `pf-done` once the host kept the file's done record (`kept`). Not kept (the app gone first), the sender still
18442
+ * waits, offers it again on the next session, and the receiver answers from what it kept.
18443
+ */
18444
+ sayDone(id) {
18445
+ const kept = this.host.kept?.().catch(() => {});
18446
+ if (!kept) {
18447
+ this.send({
18448
+ t: "pf-done",
18449
+ id
18450
+ });
18451
+ return;
18452
+ }
18453
+ kept.then(() => this.send({
18454
+ t: "pf-done",
18455
+ id
18456
+ }));
18457
+ }
18419
18458
  /** A frame from the contact (one of `FILE_FRAMES`). Returns quickly: writing goes on in the background. */
18420
18459
  async handle(frame) {
18421
18460
  if (!this.attached) return;
@@ -18791,10 +18830,7 @@ var PairedCalls = class {
18791
18830
  * a call outlasts its offer's freshness.
18792
18831
  */
18793
18832
  hangUp(options = {}) {
18794
- let said = {};
18795
- if (this.latest) try {
18796
- said = JSON.parse(this.latest.signal);
18797
- } catch {}
18833
+ const said = this.said();
18798
18834
  const ours = said.t === "o" || said.t === "a" || said.t === "v" || said.t === "r";
18799
18835
  const peer = this.peer;
18800
18836
  const ringing = options.declineRinging === true && peer?.kind === "o" && peer.at > this.saidAt && this.now() - peer.at <= 12e4 ? peer : null;
@@ -18805,6 +18841,29 @@ var PairedCalls = class {
18805
18841
  ts
18806
18842
  }));
18807
18843
  }
18844
+ /**
18845
+ * The hang-up of a call this side placed or answered, for the transport to send should the app go without a word
18846
+ * (`FrameChannel.parting`: a logout ends the Desktop's page with the app), or null when no call of ours is on. Nothing
18847
+ * is said or changed here. Its time is just after this side's latest signal, so it stays the same until that changes;
18848
+ * a hang-up the page itself says on its way out too (`hangUp`) is no older, and finds the call over already.
18849
+ */
18850
+ parting() {
18851
+ const said = this.said();
18852
+ if (!(said.t === "o" || said.t === "a" || said.t === "v" || said.t === "r") || typeof said.ts !== "number") return null;
18853
+ return {
18854
+ t: PAIRED_CALL_FRAME,
18855
+ s: JSON.stringify({
18856
+ t: "h",
18857
+ ts: said.ts + 1
18858
+ })
18859
+ };
18860
+ }
18861
+ said() {
18862
+ if (this.latest) try {
18863
+ return JSON.parse(this.latest.signal);
18864
+ } catch {}
18865
+ return {};
18866
+ }
18808
18867
  /** On a new session that carries calls: the latest signal again, if it is still fresh enough to act on. */
18809
18868
  pending() {
18810
18869
  if (!this.latest) return null;
@@ -19249,7 +19308,6 @@ var CarriedTransport = class {
19249
19308
  subscribe;
19250
19309
  networkChanged;
19251
19310
  configure;
19252
- publishHeld;
19253
19311
  constructor(inner, myKey, peerKey, hooks) {
19254
19312
  this.inner = inner;
19255
19313
  this.myKey = myKey;
@@ -19261,7 +19319,6 @@ var CarriedTransport = class {
19261
19319
  if (inner.subscribe) this.subscribe = (listener) => inner.subscribe(listener);
19262
19320
  if (inner.networkChanged) this.networkChanged = () => inner.networkChanged();
19263
19321
  if (inner.configure) this.configure = (options) => inner.configure(options);
19264
- if (inner.publishHeld) this.publishHeld = (key, options) => inner.publishHeld(key, options);
19265
19322
  }
19266
19323
  describe() {
19267
19324
  return this.inner.describe();
@@ -19816,6 +19873,7 @@ var ENGINE_ERRORS = {
19816
19873
  invalidMintUrl: "That is not a valid mint URL",
19817
19874
  mintNotHttps: "Mints must use https",
19818
19875
  notEnoughSats: "Not enough sats in your wallet",
19876
+ notEnoughForFee: "Not enough sats in your wallet: {amount} sats leave room for the fee",
19819
19877
  noSharedMint: "You share no mint with this contact",
19820
19878
  ecashAlreadySpent: "This ecash was already spent somewhere else",
19821
19879
  ecashBeingReceived: "This ecash is already being received",
@@ -20299,6 +20357,8 @@ var GhostLink = class {
20299
20357
  /** What each side announced after the handshake (`paired-capabilities`): calls, services. */
20300
20358
  sessionCapabilities = new SessionCapabilities(() => this.offeredCapabilities());
20301
20359
  pairedCalls = new PairedCalls();
20360
+ /** The channel holding this side's call hang-up, to be sent by the transport should the page go first (`leaveHangUp`). */
20361
+ partingOn = null;
20302
20362
  /** Typing on this session (`typing/1`): when to say `start` again, and the contact's word with its timeout. */
20303
20363
  typingSender = new TypingSender();
20304
20364
  typingReceiver = new TypingReceiver((typing, activity) => this.options.events?.onPeerTyping?.(typing, activity));
@@ -20399,6 +20459,8 @@ var GhostLink = class {
20399
20459
  offerReplaced;
20400
20460
  lastAutoConnectAt = 0;
20401
20461
  autoConnectFailures = 0;
20462
+ /** The wait (dial and count of failures) whose `dial-backoff` line is written: the looks during it write none. */
20463
+ backoffTraced = "";
20402
20464
  /** The look due when a failed dial's backoff ends (`lookAtRetry`). */
20403
20465
  retryLook = null;
20404
20466
  /** This side's offer is out to the data link and has not reached the relays yet. */
@@ -22552,6 +22614,7 @@ var GhostLink = class {
22552
22614
  async setCallSignal(signal) {
22553
22615
  if (this.options.params.profile) {
22554
22616
  const frame = this.pairedCalls.set(signal);
22617
+ this.leaveHangUp();
22555
22618
  if (!frame) return;
22556
22619
  if (!this.supportsCalls || !this.channel) throw new Error(this.callsUnavailable ?? "Calls need a live connection");
22557
22620
  this.channel.send(JSON.stringify(frame));
@@ -22565,6 +22628,19 @@ var GhostLink = class {
22565
22628
  } catch {}
22566
22629
  await this.session.setCallSignal(signal);
22567
22630
  }
22631
+ /**
22632
+ * Hands the transport the hang-up of the call this side is on (`PairedCalls.parting`), for it to send as the app
22633
+ * exits should the page be gone by then: a logout or a shutdown ends the Desktop's WebView with the app, and its
22634
+ * goodbye (`depart`) never ran, the contact's call stalling until its media gave up 16 s later. Taken back once no
22635
+ * call of ours is on, and from a session no longer the chat's.
22636
+ */
22637
+ leaveHangUp() {
22638
+ const channel = this.supportsCalls && this.paired?.state.status === "ready" ? this.channel : null;
22639
+ const frame = channel ? this.pairedCalls.parting() : null;
22640
+ if (this.partingOn && this.partingOn !== channel) this.partingOn.parting?.(null);
22641
+ this.partingOn = channel?.parting ? channel : null;
22642
+ this.partingOn?.parting?.(frame ? JSON.stringify(frame) : null);
22643
+ }
22568
22644
  /** Issues an HTTP request to a service the peer advertises. */
22569
22645
  async request(serviceId, request) {
22570
22646
  if (this.options.params.profile) {
@@ -22699,10 +22775,14 @@ var GhostLink = class {
22699
22775
  }
22700
22776
  const wait = this.dialWait();
22701
22777
  if (Date.now() - this.lastAutoConnectAt < wait) {
22702
- traceLink(this.myPubKeyZ32, "dial-backoff", {
22703
- failures: this.autoConnectFailures,
22704
- left: wait - (Date.now() - this.lastAutoConnectAt)
22705
- });
22778
+ const backoff = `${this.lastAutoConnectAt}:${this.autoConnectFailures}`;
22779
+ if (backoff !== this.backoffTraced) {
22780
+ this.backoffTraced = backoff;
22781
+ traceLink(this.myPubKeyZ32, "dial-backoff", {
22782
+ failures: this.autoConnectFailures,
22783
+ left: wait - (Date.now() - this.lastAutoConnectAt)
22784
+ });
22785
+ }
22706
22786
  if (!pairing && !this.options.packetTransports && this.myPubKeyZ32 < this.options.params.peerPubKeyZ32 && Date.now() >= this.lostUntil) this.session.calm();
22707
22787
  this.lookAtRetry();
22708
22788
  return;
@@ -23570,6 +23650,7 @@ var GhostLink = class {
23570
23650
  this.channel.send(JSON.stringify(pending));
23571
23651
  } catch {}
23572
23652
  }
23653
+ if (changed.includes("calls/1")) this.leaveHangUp();
23573
23654
  if (changed.includes("typing/1")) {
23574
23655
  if (!this.supportsTyping) {
23575
23656
  this.typingSender.reset();
@@ -24100,6 +24181,7 @@ var GhostLink = class {
24100
24181
  this.peerNetworks = null;
24101
24182
  this.peerHoldOverride = null;
24102
24183
  this.sessionCapabilities.reset();
24184
+ this.leaveHangUp();
24103
24185
  this.typingSender.reset();
24104
24186
  this.typingReceiver.clear();
24105
24187
  this.appsSuspended();
@@ -24695,6 +24777,7 @@ var GhostLink = class {
24695
24777
  if (hangUp) try {
24696
24778
  this.channel.send(JSON.stringify(hangUp));
24697
24779
  } catch {}
24780
+ this.leaveHangUp();
24698
24781
  try {
24699
24782
  this.channel.send(JSON.stringify({ t: "paired-bye" }));
24700
24783
  } catch {}
@@ -24868,6 +24951,7 @@ var GhostLink = class {
24868
24951
  this.pairedHttp?.close();
24869
24952
  this.pairedHttp = null;
24870
24953
  this.channel = this.httpHost = this.httpClient = this.files = null;
24954
+ this.leaveHangUp();
24871
24955
  this.peerServicesOverride = null;
24872
24956
  this.peerNickOverride = null;
24873
24957
  this.dropPeerSaid();
@@ -25887,11 +25971,13 @@ function didDhtKey(did) {
25887
25971
  if (!/^[ybndrfg8ejkmcpqxot1uwisza345h769]{52}$/.test(z32)) throw invalid();
25888
25972
  const publicKey = fromZ32(z32);
25889
25973
  if (toZ32(publicKey) !== z32) throw invalid();
25974
+ let fit;
25890
25975
  try {
25891
- ed25519.Point.fromBytes(publicKey);
25976
+ fit = !ed25519.Point.fromBytes(publicKey).isSmallOrder();
25892
25977
  } catch {
25893
- throw invalid();
25978
+ fit = false;
25894
25979
  }
25980
+ if (!fit) throw invalid();
25895
25981
  return {
25896
25982
  z32,
25897
25983
  publicKey
@@ -25986,11 +26072,13 @@ function jwkOf(type, bytes, alg, kid) {
25986
26072
  const kind = KEY_TYPES[type];
25987
26073
  if (type === 0) {
25988
26074
  if (bytes.length !== 32) throw malformed("an Ed25519 key is not 32 bytes");
26075
+ let smallOrder;
25989
26076
  try {
25990
- ed25519.Point.fromBytes(bytes);
26077
+ smallOrder = ed25519.Point.fromBytes(bytes).isSmallOrder();
25991
26078
  } catch {
25992
26079
  throw malformed("an Ed25519 key is not a point of the curve");
25993
26080
  }
26081
+ if (smallOrder) throw malformed("an Ed25519 key is a point of small order, which no secret key goes with");
25994
26082
  return {
25995
26083
  kty: "OKP",
25996
26084
  crv: "Ed25519",
@@ -26578,16 +26666,16 @@ var MULTICODEC = [
26578
26666
  ];
26579
26667
  /** A public key on its curve, validated; ECDSA keys compressed. */
26580
26668
  function curveKey(curve, bytes) {
26669
+ let smallOrder;
26581
26670
  try {
26582
- if (curve === "Ed25519") {
26583
- if (bytes.length !== 32) throw new Error();
26584
- ed25519.Point.fromBytes(bytes);
26585
- return bytes;
26586
- }
26587
- return (curve === "secp256k1" ? secp256k1 : p256).Point.fromBytes(bytes).toBytes(true);
26671
+ if (curve !== "Ed25519") return (curve === "secp256k1" ? secp256k1 : p256).Point.fromBytes(bytes).toBytes(true);
26672
+ if (bytes.length !== 32) throw new Error();
26673
+ smallOrder = ed25519.Point.fromBytes(bytes).isSmallOrder();
26588
26674
  } catch {
26589
26675
  throw new DidError(`That ${curve} key is not a valid point`);
26590
26676
  }
26677
+ if (smallOrder) throw new DidError("That Ed25519 key is a point of small order, which no secret key goes with");
26678
+ return bytes;
26591
26679
  }
26592
26680
  /** A `z…` multibase (base58btc) multicodec key. X25519 and unknown codecs are `undefined`. */
26593
26681
  function multikey(value) {
@@ -26852,7 +26940,7 @@ function signingInput(jws, message) {
26852
26940
  }
26853
26941
  function verifyWith(key, signature, message, format = "compact") {
26854
26942
  try {
26855
- if (key.curve === "Ed25519") return format === "compact" && ed25519.verify(signature, message, key.publicKey);
26943
+ if (key.curve === "Ed25519") return format === "compact" && ed25519.verify(signature, message, key.publicKey, { zip215: false });
26856
26944
  return (key.curve === "secp256k1" ? secp256k1 : p256).verify(signature, message, key.publicKey, {
26857
26945
  prehash: true,
26858
26946
  lowS: false,
@@ -31563,6 +31651,8 @@ var communityMessageId = (sender, epoch, h, seq) => `${sender}:${epoch}:${h}:${s
31563
31651
  var seenKey = (e, h) => `${e}:${h}`;
31564
31652
  /** One of a member's frames, among its own. */
31565
31653
  var frameKey = (f) => `${f.e}:${f.h}:${f.n}`;
31654
+ /** A frame among everyone's: each member counts its own `n`, so `frameKey` alone tells only one member's frames apart. */
31655
+ var storeKey = (f) => `${f.s}:${frameKey(f)}`;
31566
31656
  /**
31567
31657
  * Where a frame said again under a newer commit was first said (`o`, WISP 903 § Messages and catch-up): its commit's
31568
31658
  * epoch and short hash and its number there. Never the frame's own place, nor a later epoch than its own.
@@ -31654,10 +31744,15 @@ var CommunitySession = class {
31654
31744
  saveTimer;
31655
31745
  /** One metadata frame naming a commit or a secret I do not have yet: tried again when the chain or my secrets move. */
31656
31746
  pendingMeta;
31657
- constructor(state, hooks) {
31747
+ /** The store's frames the app holds with their messages (`storeKey` → message id): in memory here, not in what is saved. */
31748
+ onRows = /* @__PURE__ */ new Map();
31749
+ /** `rows`: the frames the app holds with the messages it stored (`CommunityIncomingMessage.frame`). They join the store. */
31750
+ constructor(state, hooks, rows = []) {
31658
31751
  this.hooks = hooks;
31659
31752
  this.state = state;
31660
31753
  this.identity = identityFromSeedB64(state.seedB64);
31754
+ if (state.status === "left" || state.status === "removed") for (const row of rows) hooks.forgetFrame?.(row.id);
31755
+ else this.takeRows(rows);
31661
31756
  this.answers = new CatchUpAnswers({
31662
31757
  send: (to, frame) => hooks.direct(to, frame),
31663
31758
  ...hooks.handled && { handled: (to) => hooks.handled(to) },
@@ -32340,7 +32435,15 @@ var CommunitySession = class {
32340
32435
  clearTimeout(this.saveTimer);
32341
32436
  this.saveTimer = void 0;
32342
32437
  }
32343
- return this.hooks.save(structuredClone(this.state));
32438
+ return this.hooks.save(this.toSave());
32439
+ }
32440
+ /** The state as it is saved: a copy, without the frames the app holds with their messages (`onRows`). */
32441
+ toSave() {
32442
+ const { store, ...rest } = this.state;
32443
+ return structuredClone({
32444
+ ...rest,
32445
+ store: store.filter((f) => !this.onRows.has(storeKey(f)))
32446
+ });
32344
32447
  }
32345
32448
  /**
32346
32449
  * A save within a second, for what may happen many times a second (every message received, in a
@@ -32350,7 +32453,7 @@ var CommunitySession = class {
32350
32453
  if (this.saveTimer) return;
32351
32454
  this.saveTimer = setTimeout(() => {
32352
32455
  this.saveTimer = void 0;
32353
- this.hooks.save(structuredClone(this.state));
32456
+ this.hooks.save(this.toSave());
32354
32457
  }, 1e3);
32355
32458
  }
32356
32459
  /** Writes what is waiting to be saved now (before a restart, in tests). */
@@ -32617,6 +32720,8 @@ var CommunitySession = class {
32617
32720
  this.state.statusReason = reason;
32618
32721
  this.state.secrets = {};
32619
32722
  this.state.store = [];
32723
+ for (const id of this.onRows.values()) this.hooks.forgetFrame?.(id);
32724
+ this.onRows.clear();
32620
32725
  delete this.state.lasting;
32621
32726
  this.state.entry = {
32622
32727
  key: this.state.entry.key,
@@ -32657,7 +32762,7 @@ var CommunitySession = class {
32657
32762
  ...described ? { fl: described } : {}
32658
32763
  }), nick, now);
32659
32764
  if ("error" in sent) return sent;
32660
- await this.hooks.message({
32765
+ if (await this.hooks.message({
32661
32766
  id: sent.id,
32662
32767
  sender: this.myKey,
32663
32768
  epoch: sent.frame.e,
@@ -32668,8 +32773,9 @@ var CommunitySession = class {
32668
32773
  ...answers ? { reply: answers } : {},
32669
32774
  ...hops ? { forwarded: hops } : {},
32670
32775
  ...card ? { card } : {},
32671
- ...described ? { file: described } : {}
32672
- });
32776
+ ...described ? { file: described } : {},
32777
+ frame: sent.frame
32778
+ }) === true) this.onRows.set(storeKey(sent.frame), sent.id);
32673
32779
  await this.say(sent.frame);
32674
32780
  return { id: sent.id };
32675
32781
  });
@@ -32835,6 +32941,8 @@ var CommunitySession = class {
32835
32941
  const author = id.slice(0, id.indexOf(":"));
32836
32942
  const kept = this.state.store.filter((f) => f.s !== author || this.storedId(f) !== id);
32837
32943
  if (kept.length === this.state.store.length) return;
32944
+ const left = new Set(kept.map(storeKey));
32945
+ for (const f of this.state.store) if (!left.has(storeKey(f))) this.onRows.delete(storeKey(f));
32838
32946
  this.state.store = kept;
32839
32947
  this.persistSoon();
32840
32948
  }
@@ -32850,9 +32958,31 @@ var CommunitySession = class {
32850
32958
  return original ? communityMessageId(f.s, original.e, original.h, original.n) : communityMessageId(f.s, f.e, f.h, f.n);
32851
32959
  }
32852
32960
  keep(frame) {
32961
+ if (this.onRows.has(storeKey(frame))) return;
32853
32962
  this.state.store.push(frame);
32963
+ this.trimStore();
32964
+ }
32965
+ trimStore() {
32854
32966
  let bytes = this.state.store.reduce((sum, f) => sum + f.c.length, 0);
32855
- while (this.state.store.length > COMMUNITY_LIMITS.store || bytes > COMMUNITY_LIMITS.storeBytes) bytes -= this.state.store.shift().c.length;
32967
+ while (this.state.store.length > COMMUNITY_LIMITS.store || bytes > COMMUNITY_LIMITS.storeBytes) {
32968
+ const oldest = this.state.store.shift();
32969
+ bytes -= oldest.c.length;
32970
+ const row = this.onRows.get(storeKey(oldest));
32971
+ if (row === void 0) continue;
32972
+ this.onRows.delete(storeKey(oldest));
32973
+ this.hooks.forgetFrame?.(row);
32974
+ }
32975
+ }
32976
+ /** The frames the app's rows hold, into the store: oldest first by when they were written, with what the record kept from before. */
32977
+ takeRows(rows) {
32978
+ if (!rows.length) return;
32979
+ const inRecord = new Set(this.state.store.map(storeKey));
32980
+ for (const { id, frame } of rows) {
32981
+ this.onRows.set(storeKey(frame), id);
32982
+ if (!inRecord.has(storeKey(frame))) this.state.store.push(frame);
32983
+ }
32984
+ this.state.store.sort((a, b) => a.ts - b.ts);
32985
+ this.trimStore();
32856
32986
  }
32857
32987
  /**
32858
32988
  * My frames sealed under a commit I took for the newest while I was behind (no edge was up, and others were let in
@@ -33175,13 +33305,14 @@ var CommunitySession = class {
33175
33305
  this.state.nicks[raw.s] = nick;
33176
33306
  this.hooks.changed();
33177
33307
  }
33308
+ let onRow = false;
33178
33309
  if (text !== void 0) {
33179
33310
  const mentions = validMentions(parsed.m, text, false);
33180
33311
  const reply = parsed.r === void 0 ? void 0 : readReply(parsed.r, groupReplyAuthor);
33181
33312
  const forwarded = readForwarded(parsed.fw);
33182
33313
  const card = parsed.sc === void 0 ? void 0 : readStatusCard(parsed.sc);
33183
33314
  const file = parsed.fl === void 0 ? void 0 : readGroupFileMeta(parsed.fl) ?? void 0;
33184
- await this.hooks.message({
33315
+ onRow = await this.hooks.message({
33185
33316
  id,
33186
33317
  sender: raw.s,
33187
33318
  epoch: raw.e,
@@ -33192,7 +33323,8 @@ var CommunitySession = class {
33192
33323
  ...reply ? { reply } : {},
33193
33324
  ...forwarded ? { forwarded } : {},
33194
33325
  ...card ? { card } : {},
33195
- ...file ? { file } : {}
33326
+ ...file ? { file } : {},
33327
+ frame: raw
33196
33328
  });
33197
33329
  } else if (isObject$2(parsed.x)) {
33198
33330
  const app = {
@@ -33228,6 +33360,7 @@ var CommunitySession = class {
33228
33360
  ...original
33229
33361
  });
33230
33362
  this.keep(raw);
33363
+ if (onRow === true) this.onRows.set(storeKey(raw), id);
33231
33364
  this.persistSoon();
33232
33365
  return true;
33233
33366
  }
@@ -34279,6 +34412,6 @@ function readX401SdJwtVc(text) {
34279
34412
  };
34280
34413
  }
34281
34414
  //#endregion
34282
- export { parseSshPublicKey as $, buttonLabelClash as $a, canonicalJson as $c, automaticTransport as $i, budgetRetryMs as $l, readGroupWant as $n, HANDOFF_HELLO as $o, vapidKeysMatch as $r, enrollProofFrame as $s, SEPOLIA_TEST_USDT_FAUCET as $t, knockRecords as A, GROUP_REACTION_FRAME as Aa, appViewOf as Ac, txtValue as Ai, turnPutSummary as Al, findEndpoint as An, parseLocalTarget as Ao, FileUplink as Ar, readHandoffHave as As, didWebDocumentUrl as At, GROUP_READ_NOTE as B, pairedReplyAuthor as Ba, appFingerprint as Bc, IdentityExchange as Bi, turnName as Bl, EngineError as Bn, callSignalHeardAt as Bo, mayPin as Br, setUpdateFrame as Bs, staticDidDocument as Bt, decodeCommunityLink as C, REMOVED_TEXT as Ca, requestRecords as Cc, encodeDnsQuery as Ci, newDeviceSetSecret as Cl, pubkyHomeserverOf as Cn, DHT_POLL_INTERVALS as Co, rankHubs as Cr, handoffRetryAfter as Cs, DID_JWS_MAX_LENGTH as Ct, utf8Encode as Cu, encodeGroupEntryLink as D, forwardedAgain as Da, APP_ICON_PATH as Dc, recordsFromTxt as Di, TURN_RAISE_READ_TIMEOUT_MS as Dl, ENDPOINT as Dn, presenceSeenAt as Do, shouldBeHub as Dr, readHandoffAck as Ds, didGhostlyServiceEntry as Dt, decodeGroupEntryLink as E, parseLinkPreview as Ea, APP_BUNDLE_MAGIC as Ec, normalizeDomain as Ei, TURN_PUT_WINDOW_MS as El, decodeBolt11 as En, WATCH_PEER_MS as Eo, readLobby as Er, newHandoffId as Es, checkDidSignature as Et, groupWakeFrame as F, reactionEmoji as Fa, readAppBundle as Fc, dialDescriptors as Fi, readTurnPacket as Fl, INVITE_TAKEN as Fn, CALL_SIGNAL_MAX_AGE_MS as Fo, TypingSender as Fr, sealHandoffPiece as Fs, normalizeDid as Ft, GROUP_EDIT_TEXT_BYTES as G, ITEM_STATES as Ga, isAppRef as Gc, newIdentityBinding as Gi, HEDGE_MS as Gl, GROUP_HAVE_FRAME as Gn, emptyLinkRecords as Go, WAKE_CALL_INTERVAL_MS as Gr, ENROLL_HELLO as Gs, encodeDidDhtPacket as Gt, frameBytes as H, replySnippet as Ha, checkAppRevokeStatement as Hc, emptyIdentityLedger as Hi, turnVerifierMark as Hl, engineText as Hn, extractParamsFromSdp as Ho, pinIsNewer as Hr, verifySetUpdate as Hs, didDhtDocument as Ht, groupWakes as I, reactionIsNewer as Ia, readAppBundleAsync as Ic, IDENTITY_MAX_EVIDENCE as Ii, signTurnPacket as Il, LIVENESS_PING_MS as In, RTC_CONFIG as Io, sanitizeTypingStatus as Ir, SET_ACK as Is, parseDid as It, mentionsMember as J, ROUTINE_STATES as Ja, setAppSignatureFastPath as Jc, lastSharedWithMe as Ji, SLOW_MS as Jl, fetchesByItself as Jn, serviceIdFromName as Jo, newWakeToken as Jr, enrollCancelReason as Js, ETHEREUM_USDT as Jt, carryMentions as K, PR_CHECKS as Ka, readAppRevocation as Kc, receivedIdentityStatus as Ki, RelayTransport as Kl, GROUP_WANT_FRAME as Kn, HTTP_SERVICE_PROTO as Ko, WakeLimiter as Kr, ENROLL_PROOF as Ks, resolveDidDht as Kt, parseGroupWakeFrame as L, readReaction as La, sha256Paced as Lc, IDENTITY_MAX_VALIDITY as Li, signTurnRelease as Ll, PAIRED_FRAME_TOO_LARGE as Ln, answersOffer as Lo, typingActivity as Lr, SET_UPDATE as Ls, parseDidDocument as Lt, readKnocks as M, ReactionWindow as Ma, checkAppManifest as Mc, CapsExchange as Mi, TURN_MAX as Ml, parseCashuRequestPayload as Mn, LIMITS as Mo, transferStalled as Mr, readHandoffPake as Ms, didWebFileNames as Mt, GROUP_WAKE_FRAME as N, nextReactionNumber as Na, isAppUrl as Nc, DHT_TEXT_CAPABILITY as Ni, firstDeviceSetSecret as Nl, parseFedimintRequestPayload as Nn, decodeControl as No, TYPING_KINDS as Nr, readHandoffTurnFrame as Ns, didWebFileUrl as Nt, entryParams as O, readForwarded as Oa, APP_PERMISSIONS as Oc, recordsFromWellKnown as Oi, TURN_SETTLE_MS as Ol, cashuRequestPayload as On, GhostlyHttpError as Oo, ChatFiles as Or, readHandoffCancel as Os, didJwsAlg as Ot, GroupWakeLimiter as P, queueReaction as Pa, pacer as Pc, capsDescriptors as Pi, nextTurnPosition as Pl, GhostLink as Pn, encodeControl as Po, TYPING_REFRESH_MS as Pr, readHandoffVerified as Ps, didWebHost as Pt, SshSigError as Q, appCardId as Qa, readImageMeta as Qc, TRANSPORTS as Qi, traceLink as Ql, readGroupHave as Qn, HANDOFF_HAVE as Qo, checkPushEndpoint as Qr, enrollHelloFrame as Qs, SEPOLIA_TEST_USDT as Qt, GROUP_LIMITS as R, validReactionNumber as Ra, APP_PREFIXES as Rc, IDENTITY_REVOCATION_LABEL as Ri, turnInstance as Rl, pairedMessageFits as Rn, buildSdpFromSignal as Ro, GROUP_PIN_FRAME as Rr, readSetUpdate as Rs, parseDidSignaturePaste as Rt, communityHasFrame as S, MAX_REMOVAL_NUMBER as Sa, readLinkRecord as Sc, domainWellKnownFile as Si, devicePingFrame as Sl, homeserverWebEndpoint as Sn, AWAITING_PEER_MS as So, pickHubs as Sr, handoffReleaseFrame as Ss, DID_FILE_MAX_BYTES as St, utf8Decode as Su, KNOCK_TTL_MS as T, dhtEditId as Ta, APP_BUNDLE_LIMITS as Tc, nip05RootKey as Ti, webCryptoSigner as Tl, resolveLightningDestination as Tn, RELAY_POLL_INTERVALS as To, readBeaconHead as Tr, handoffVersions as Ts, checkDidJws as Tt, COMMUNITY_EDIT_FRAME as U, BUTTON_ID as Ua, isAppHash as Uc, identityRevocationValue as Ui, DEFAULT_RELAYS as Ul, parseEngineError as Un, parseCallSignal as Uo, pinNumberHolds as Ur, ENROLL_DONE as Us, didDhtFromPublicKey as Ut, GroupSession as V, readReply as Va, appRef as Vc, boundVerifiedIdentity as Vi, turnStatedVerifier as Vl, engineError as Vn, contactRtcConfig as Vo, nextPinNumber as Vr, signTombstone as Vs, strictBase64Url as Vt, GROUP_EDIT_FRAME as W, CRON_LINE as Wa, isAppKey as Wc, identityStatement as Wi, HEDGE_MISSING_MS as Wl, GROUP_FILE_LIMITS as Wn, signalHasVideo as Wo, readPin as Wr, ENROLL_GRANT as Ws, encodeDidDhtDeactivated as Wt, SSHSIG_MAX_ARMOR as X, STATUS_CARD_LIMITS as Xa, signAppRevocation as Xc, emptyProofLedger as Xi, normalizeRelayUrl as Xl, isGroupMessageId as Xn, HANDOFF_CANCEL as Xo, relayRequest as Xr, enrollDoneFrame as Xs, ONCHAIN_PROVIDER as Xt, groupName as Y, RUN_RESULTS as Ya, signAppObject as Yc, PeerProofs as Yi, currentRelays as Yl, groupFileFallback as Yn, HANDOFF_ACK as Yo, parseWakeFrame as Yr, enrollDigits as Ys, EVM_TEST_CHAINS as Yt, SSHSIG_NAMESPACE as Z, TASK_STATUSES as Za, parseImageMeta as Zc, validExternalKey as Zi, setLinkTraceSink as Zl, readGroupFileMeta as Zn, HANDOFF_DONE as Zo, wakeRequest as Zr, enrollGrantFrame as Zs, PaymentPreflightError as Zt, openGroupTyping as _, voiceDownloadName as _a, linkRecords as _c, readManifest as _i, HANDOFF_CAPABILITY as _l, newPubkyProofFolder as _n, rosterAdmin as _o, lobbyKeys as _r, handoffEphemeral as _s, parseAtprotoDidDocument as _t, fromBase64Url as _u, appStoreDecision as a, DHT_FILE_CAPABILITY as aa, inboxRecord as ac, APPS_CAPABILITY as ai, createDeviceInvite as al, assertWholeSats as an, statusCardText as ao, SIGNAL_REPLY_MS as ar, HANDOFF_VERIFIED as as, BitcoinAddressError as at, newerPacket as au, CommunitySession as b, EDIT_BUFFER_MS as ba, openRequest as bc, dnsProofName as bi, deviceKeyZ32 as bl, pubkyProofFile as bn, edgeParams as bo, mergeLobby as br, handoffOfferFrame as bs, verifyAtprotoRecordProof as bt, toBase64Url as bu, planAppUpdate as c, sanitizeFileName as ca, settleRequest as cc, STATUS_CARD_CAPABILITY as ci, OwnInviteError as cl, walletNetworkOf as cn, heardTime as co, MESH_HUBS as cr, handoffAttemptAllowed as cs, ATPROTO_FULL_SCOPE as ct, createIdentity as cu, readAppStore as d, VOICE_LIMITS as da, ContactRequestError as dc, HOLD_DATED_BACK_MS as di, encodeInviteCode as dl, sparkAddressKind as dn, GROUP_ADMIN_OFF_ERROR as do, pickMeshHubs as dr, handoffBusyFrame as ds, atprotoDidMethod as dt, publicKeyFromZ32 as du, irohDescriptor as ea, readEnrollGrant as ec, APP_RANGE_LIMITS as ei, canonicalJsonBytes as el, TEST_USDT_FAUCET_AMOUNT as en, cardLine as eo, readGroupWantNo as er, HANDOFF_OFFER as es, parseSshSignature as et, isDiscoveryBudgetError as eu, readAppStoreSteps as f, VOICE_METER as fa, REQUEST_LIFETIME_MS as fc, HOLD_LIMITS as fi, inviteLink as fl, sparkInvoiceDetails as fn, GROUP_MEMBER_CAP as fo, COMMUNITY_TOPOLOGY as fr, handoffCancelFrame as fs, atprotoProofRecord as ft, verify as fu, groupTypingEpoch as g, parseVoiceMeta as ga, knockSlotRecords as gc, newMailbox as gi, ENROLL_CAPABILITY as gl, isPubkyProofFolder as gn, parseGroupCommit as go, freshHubs as gr, handoffDigest as gs, normalizeAtprotoHandle as gt, bytesEqual as gu, GroupTypingBoard as h, fileMessageText as ha, knockSlotOf as hc, isHoldUrl as hi, DEVICES_CAPABILITY as hl, isPubkyKey as hn, commitHash as ho, doorHubs as hr, handoffDataFrame as hs, isAtprotoDid as ht, sanitizeDisplayText as hu, appRevocationFor as i, peekDhtMailbox as ia, endedRequests as ic, isAppVersion as ii, readContactLink as il, assertTokenUnits as in, statusCardBytes as io, SIGNAL_HOLD_MS as ir, HANDOFF_TIMINGS as is, verifyBitcoinMessage as it, createRelayPayload as iu, mergeKnocks as j, REACTION_LIMITS as ja, assembleAppBundle as jc, wellKnownUrl as ji, TURN_LAST_SEQUENCE as jl, isFederationId as jn, webLocalFetch as jo, transferEnded as jr, readHandoffHello as js, didWebFile as jt, knockIdentity as k, COMMUNITY_REACTION_FRAME as ka, appDigest as kc, recordsName as ki, classifyTurnRead as kl, fedimintRequestPayload as kn, formatLocalTarget as ko, FILE_LIMITS as kr, readHandoffDone as ks, didSignedMessages as kt, APP_STORE_LIMITS as l, sanitizeMime as la, takeRequest as lc, UPGRADE_CAPABILITY as li, createChatInvite as ll, SPARK_NETWORKS as ln, receivedTimestamp as lo, mayBeHub as lr, handoffAttemptFailed as ls, ATPROTO_PROOF_COLLECTION as lt, identityFromSeed as lu, GROUP_TYPING_FRAME as m, downsamplePeaks as ma, knockSlotIdentity as mc, HoldRefusedError as mi, ownInviteRefusal as ml, PUBKY_PROOF_MAX_BYTES as mn, MEMBER_KEY as mo, beaconRecords as mr, handoffContextProof as ms, checkAtprotoProofRecord as mt, sanitizeAvatar as mu, readX401SdJwtVc as n, DHT_FILE_TOO_LARGE as na, verifyEnrollProof as nc, APP_DATA_MAX_BYTES as ni, createContactLink as nl, WALLET_NETWORKS as nn, checkStatusCard as no, GROUP_SIGNAL_FRAME as nr, HANDOFF_PIECE_BYTES as ns, sshSignCommand as nt, PacketTooLargeError as nu, appUpdateDecision as o, dhtFileId as oa, newInbox as oc, BUTTONS_CAPABILITY as oi, deviceInviteJoinerParams as ol, formatPaymentAmount as on, arrivalKey as oo, groupSignalFrame as or, NO_ATTEMPTS as os, decodeAnyBitcoinAddress as ot, openRelayPayload as ou, signAppStore as p, baseMime as pa, contactDay as pc, HoldKeys as pi, inviteOwnership as pl, isBitcoinAddress as pn, MAX_GROUP_CHAIN as po, beaconKeys as pr, handoffContext as ps, atprotoProofRkey as pt, MAX_AVATAR_LENGTH as pu, parseCommunityEdit as q, PR_STATES as qa, readAppRevocations as qc, revokesIdentity as qi, RelaysFailedError as ql, GROUP_WANT_NO_FRAME as qn, LEGACY_SERVICES as qo, deviceWakeRequest as qr, enrollCancelFrame as qs, signDidDhtPacket as qt, sameX401HolderJwk as r, DHT_MESSAGE_TTL as ra, clearMissed as rc, chatAppId as ri, encodeContactLink as rl, arkAddressPrefix as rn, sameButtonText as ro, SIGNAL_FRESH_MS as rr, HANDOFF_REQUEST as rs, verifySshSignature as rt, RELAY_PAYLOAD_MAX_BYTES as ru, checkAppBeforeRun as s, formatFileSize as sa, planKnocks as sc, EDIT_CAPABILITY as si, readDeviceInvite as sl, validatePaymentTarget as sn, claimedTime as so, readGroupSignal as sr, filePartName as ss, ATPROTO_DECLARED_SCOPE as st, parseRelayPayload as su, newX401HolderKey as t, irohRelayUrl as ta, readEnrollHello as tc, isServeId as ti, readCanonicalJson as tl, USDT_PUBLIC_RPC as tn, cardUrl as to, CarriedTransport as tr, HANDOFF_PAKE as ts, sameSshKey as tt, withRequestOptions as tu, checkAppStoreIndex as u, PLAYABLE_AUDIO as ua, turnOff as uc, HOLD_CAPABILITY as ui, decodeInviteCode as ul, SPARK_PROVIDER as un, shownTime as uo, meshHubs as ur, handoffAttemptSucceeded as us, ATPROTO_PROOF_SCOPE as ut, identityFromSeedB64 as uu, sealGroupTyping as v, voiceLevel as va, makeStampPaced as vc, DOMAIN_FILE_MAX_BYTES as vi, deviceEchoFrame as vl, normalizePubkyKey as vn, rosterHas as vo, lobbyRecords as vr, handoffHelloFrame as vs, shortAtprotoDid as vt, isZ32Key as vu, encodeCommunityLink as w, RateWindow as wa, seenEntry as wc, isPublicAddress as wi, seedSigner as wl, requestLnurlInvoice as wn, EXPECT_PEER_MS as wo, readBeacon as wr, handoffStreamKey as ws, DidError as wt, GROUP_READ_NOTE_COMMUNITY as x, EDIT_RATE_WINDOW_MS as xa, readKnockSlot as xc, domainTxtRecord as xi, deviceLinkPairing as xl, pubkyProofPath as xn, DirectPathWatch as xo, newerHead as xr, handoffPakeFrame as xs, DID_DOCUMENT_MAX_BYTES as xt, toZ32 as xu, COMMUNITY_LIMITS as y, parseVideoMeta as ya, mergeContactKnocks as yc, decodeDnsResponse as yi, deviceEchoNonce as yl, pubkyProofCapability as yn, verifyCommitSignature as yo, mergeBeacon as yr, handoffManifestFrames as ys, AtprotoProofError as yt, randomBytes as yu, GROUP_REACTED_FRAME as z, wireReaction as za, APP_STATEMENT_LIMITS as zc, IdentityCheckUnavailable as zi, turnKeys as zl, pairedMessageFrame as zn, callRtcConfig as zo, PIN_LIMITS as zr, setAckFrame as zs, signingKeys as zt };
34415
+ export { parseSshPublicKey as $, appCardId as $a, readImageMeta as $c, automaticTransport as $i, traceLink as $l, readGroupWant as $n, HANDOFF_HAVE as $o, vapidKeysMatch as $r, enrollHelloFrame as $s, SEPOLIA_TEST_USDT_FAUCET as $t, knockRecords as A, GROUP_REACTION_FRAME as Aa, appDigest as Ac, txtValue as Ai, classifyTurnRead as Al, findEndpoint as An, formatLocalTarget as Ao, FileUplink as Ar, readHandoffDone as As, didWebDocumentUrl as At, GROUP_READ_NOTE as B, pairedReplyAuthor as Ba, APP_STATEMENT_LIMITS as Bc, IdentityExchange as Bi, turnKeys as Bl, EngineError as Bn, callRtcConfig as Bo, mayPin as Br, setAckFrame as Bs, staticDidDocument as Bt, decodeCommunityLink as C, REMOVED_TEXT as Ca, readLinkRecord as Cc, encodeDnsQuery as Ci, devicePingFrame as Cl, pubkyHomeserverOf as Cn, AWAITING_PEER_MS as Co, rankHubs as Cr, handoffReleaseFrame as Cs, DID_JWS_MAX_LENGTH as Ct, utf8Decode as Cu, encodeGroupEntryLink as D, forwardedAgain as Da, APP_BUNDLE_MAGIC as Dc, recordsFromTxt as Di, TURN_PUT_WINDOW_MS as Dl, ENDPOINT as Dn, WATCH_PEER_MS as Do, shouldBeHub as Dr, newHandoffId as Ds, didGhostlyServiceEntry as Dt, decodeGroupEntryLink as E, parseLinkPreview as Ea, APP_BUNDLE_LIMITS as Ec, normalizeDomain as Ei, webCryptoSigner as El, decodeBolt11 as En, RELAY_POLL_INTERVALS as Eo, readLobby as Er, handoffVersions as Es, checkDidSignature as Et, groupWakeFrame as F, reactionEmoji as Fa, pacer as Fc, dialDescriptors as Fi, nextTurnPosition as Fl, INVITE_TAKEN as Fn, encodeControl as Fo, TypingSender as Fr, readHandoffVerified as Fs, normalizeDid as Ft, GROUP_EDIT_TEXT_BYTES as G, CRON_LINE as Ga, isAppKey as Gc, newIdentityBinding as Gi, HEDGE_MISSING_MS as Gl, GROUP_HAVE_FRAME as Gn, signalHasVideo as Go, WAKE_CALL_INTERVAL_MS as Gr, ENROLL_GRANT as Gs, encodeDidDhtPacket as Gt, frameBytes as H, replySnippet as Ha, appRef as Hc, emptyIdentityLedger as Hi, turnStatedVerifier as Hl, engineText as Hn, contactRtcConfig as Ho, pinIsNewer as Hr, signTombstone as Hs, didDhtDocument as Ht, groupWakes as I, reactionIsNewer as Ia, readAppBundle as Ic, IDENTITY_MAX_EVIDENCE as Ii, readTurnPacket as Il, LIVENESS_PING_MS as In, CALL_SIGNAL_MAX_AGE_MS as Io, sanitizeTypingStatus as Ir, sealHandoffPiece as Is, parseDid as It, mentionsMember as J, PR_STATES as Ja, readAppRevocations as Jc, lastSharedWithMe as Ji, RelaysFailedError as Jl, fetchesByItself as Jn, LEGACY_SERVICES as Jo, newWakeToken as Jr, enrollCancelFrame as Js, ETHEREUM_USDT as Jt, carryMentions as K, ITEM_STATES as Ka, isAppRef as Kc, receivedIdentityStatus as Ki, HEDGE_MS as Kl, GROUP_WANT_FRAME as Kn, emptyLinkRecords as Ko, WakeLimiter as Kr, ENROLL_HELLO as Ks, resolveDidDht as Kt, parseGroupWakeFrame as L, readReaction as La, readAppBundleAsync as Lc, IDENTITY_MAX_VALIDITY as Li, signTurnPacket as Ll, PAIRED_FRAME_TOO_LARGE as Ln, RTC_CONFIG as Lo, typingActivity as Lr, SET_ACK as Ls, parseDidDocument as Lt, readKnocks as M, ReactionWindow as Ma, assembleAppBundle as Mc, CapsExchange as Mi, TURN_LAST_SEQUENCE as Ml, parseCashuRequestPayload as Mn, webLocalFetch as Mo, transferStalled as Mr, readHandoffHello as Ms, didWebFileNames as Mt, GROUP_WAKE_FRAME as N, nextReactionNumber as Na, checkAppManifest as Nc, DHT_TEXT_CAPABILITY as Ni, TURN_MAX as Nl, parseFedimintRequestPayload as Nn, LIMITS as No, TYPING_KINDS as Nr, readHandoffPake as Ns, didWebFileUrl as Nt, entryParams as O, readForwarded as Oa, APP_ICON_PATH as Oc, recordsFromWellKnown as Oi, TURN_RAISE_READ_TIMEOUT_MS as Ol, cashuRequestPayload as On, presenceSeenAt as Oo, ChatFiles as Or, readHandoffAck as Os, didJwsAlg as Ot, GroupWakeLimiter as P, queueReaction as Pa, isAppUrl as Pc, capsDescriptors as Pi, firstDeviceSetSecret as Pl, GhostLink as Pn, decodeControl as Po, TYPING_REFRESH_MS as Pr, readHandoffTurnFrame as Ps, didWebHost as Pt, SshSigError as Q, TASK_STATUSES as Qa, parseImageMeta as Qc, TRANSPORTS as Qi, setLinkTraceSink as Ql, readGroupHave as Qn, HANDOFF_DONE as Qo, checkPushEndpoint as Qr, enrollGrantFrame as Qs, SEPOLIA_TEST_USDT as Qt, GROUP_LIMITS as R, validReactionNumber as Ra, sha256Paced as Rc, IDENTITY_REVOCATION_LABEL as Ri, signTurnRelease as Rl, pairedMessageFits as Rn, answersOffer as Ro, GROUP_PIN_FRAME as Rr, SET_UPDATE as Rs, parseDidSignaturePaste as Rt, communityHasFrame as S, MAX_REMOVAL_NUMBER as Sa, readKnockSlot as Sc, domainWellKnownFile as Si, deviceLinkPairing as Sl, homeserverWebEndpoint as Sn, DirectPathWatch as So, pickHubs as Sr, handoffPakeFrame as Ss, DID_FILE_MAX_BYTES as St, toZ32 as Su, KNOCK_TTL_MS as T, dhtEditId as Ta, seenEntry as Tc, nip05RootKey as Ti, seedSigner as Tl, resolveLightningDestination as Tn, EXPECT_PEER_MS as To, readBeaconHead as Tr, handoffStreamKey as Ts, checkDidJws as Tt, COMMUNITY_EDIT_FRAME as U, BUTTON_ID as Ua, checkAppRevokeStatement as Uc, identityRevocationValue as Ui, turnVerifierMark as Ul, parseEngineError as Un, extractParamsFromSdp as Uo, pinNumberHolds as Ur, verifySetUpdate as Us, didDhtFromPublicKey as Ut, GroupSession as V, readReply as Va, appFingerprint as Vc, boundVerifiedIdentity as Vi, turnName as Vl, engineError as Vn, callSignalHeardAt as Vo, nextPinNumber as Vr, setUpdateFrame as Vs, strictBase64Url as Vt, GROUP_EDIT_FRAME as W, BUTTON_STYLES as Wa, isAppHash as Wc, identityStatement as Wi, DEFAULT_RELAYS as Wl, GROUP_FILE_LIMITS as Wn, parseCallSignal as Wo, readPin as Wr, ENROLL_DONE as Ws, encodeDidDhtDeactivated as Wt, SSHSIG_MAX_ARMOR as X, RUN_RESULTS as Xa, signAppObject as Xc, emptyProofLedger as Xi, currentRelays as Xl, isGroupMessageId as Xn, HANDOFF_ACK as Xo, relayRequest as Xr, enrollDigits as Xs, ONCHAIN_PROVIDER as Xt, groupName as Y, ROUTINE_STATES as Ya, setAppSignatureFastPath as Yc, PeerProofs as Yi, SLOW_MS as Yl, groupFileFallback as Yn, serviceIdFromName as Yo, parseWakeFrame as Yr, enrollCancelReason as Ys, EVM_TEST_CHAINS as Yt, SSHSIG_NAMESPACE as Z, STATUS_CARD_LIMITS as Za, signAppRevocation as Zc, validExternalKey as Zi, normalizeRelayUrl as Zl, readGroupFileMeta as Zn, HANDOFF_CANCEL as Zo, wakeRequest as Zr, enrollDoneFrame as Zs, PaymentPreflightError as Zt, openGroupTyping as _, voiceDownloadName as _a, knockSlotRecords as _c, readManifest as _i, ENROLL_CAPABILITY as _l, newPubkyProofFolder as _n, parseGroupCommit as _o, lobbyKeys as _r, handoffDigest as _s, parseAtprotoDidDocument as _t, bytesEqual as _u, appStoreDecision as a, DHT_FILE_CAPABILITY as aa, endedRequests as ac, APPS_CAPABILITY as ai, readContactLink as al, assertWholeSats as an, statusCardBytes as ao, SIGNAL_REPLY_MS as ar, HANDOFF_TIMINGS as as, BitcoinAddressError as at, createRelayPayload as au, CommunitySession as b, EDIT_BUFFER_MS as ba, mergeContactKnocks as bc, dnsProofName as bi, deviceEchoNonce as bl, pubkyProofFile as bn, verifyCommitSignature as bo, mergeLobby as br, handoffManifestFrames as bs, verifyAtprotoRecordProof as bt, randomBytes as bu, planAppUpdate as c, sanitizeFileName as ca, planKnocks as cc, STATUS_CARD_CAPABILITY as ci, readDeviceInvite as cl, walletNetworkOf as cn, claimedTime as co, MESH_HUBS as cr, filePartName as cs, ATPROTO_FULL_SCOPE as ct, parseRelayPayload as cu, readAppStore as d, VOICE_LIMITS as da, turnOff as dc, HOLD_DATED_BACK_MS as di, decodeInviteCode as dl, sparkAddressKind as dn, shownTime as do, pickMeshHubs as dr, handoffAttemptSucceeded as ds, atprotoDidMethod as dt, identityFromSeedB64 as du, irohDescriptor as ea, enrollProofFrame as ec, APP_RANGE_LIMITS as ei, canonicalJson as el, TEST_USDT_FAUCET_AMOUNT as en, buttonLabelClash as eo, readGroupWantNo as er, HANDOFF_HELLO as es, parseSshSignature as et, budgetRetryMs as eu, readAppStoreSteps as f, VOICE_METER as fa, ContactRequestError as fc, HOLD_LIMITS as fi, encodeInviteCode as fl, sparkInvoiceDetails as fn, GROUP_ADMIN_OFF_ERROR as fo, COMMUNITY_TOPOLOGY as fr, handoffBusyFrame as fs, atprotoProofRecord as ft, publicKeyFromZ32 as fu, groupTypingEpoch as g, parseVoiceMeta as ga, knockSlotOf as gc, newMailbox as gi, DEVICES_CAPABILITY as gl, isPubkyProofFolder as gn, commitHash as go, freshHubs as gr, handoffDataFrame as gs, normalizeAtprotoHandle as gt, sanitizeDisplayText as gu, GroupTypingBoard as h, fileMessageText as ha, knockSlotIdentity as hc, isHoldUrl as hi, ownInviteRefusal as hl, isPubkyKey as hn, MEMBER_KEY as ho, doorHubs as hr, handoffContextProof as hs, isAtprotoDid as ht, sanitizeAvatar as hu, appRevocationFor as i, peekDhtMailbox as ia, clearMissed as ic, isAppVersion as ii, encodeContactLink as il, assertTokenUnits as in, sameButtonText as io, SIGNAL_HOLD_MS as ir, HANDOFF_REQUEST as is, verifyBitcoinMessage as it, RELAY_PAYLOAD_MAX_BYTES as iu, mergeKnocks as j, REACTION_LIMITS as ja, appViewOf as jc, wellKnownUrl as ji, turnPutSummary as jl, isFederationId as jn, parseLocalTarget as jo, transferEnded as jr, readHandoffHave as js, didWebFile as jt, knockIdentity as k, COMMUNITY_REACTION_FRAME as ka, APP_PERMISSIONS as kc, recordsName as ki, TURN_SETTLE_MS as kl, fedimintRequestPayload as kn, GhostlyHttpError as ko, FILE_LIMITS as kr, readHandoffCancel as ks, didSignedMessages as kt, APP_STORE_LIMITS as l, sanitizeMime as la, settleRequest as lc, UPGRADE_CAPABILITY as li, OwnInviteError as ll, SPARK_NETWORKS as ln, heardTime as lo, mayBeHub as lr, handoffAttemptAllowed as ls, ATPROTO_PROOF_COLLECTION as lt, createIdentity as lu, GROUP_TYPING_FRAME as m, downsamplePeaks as ma, contactDay as mc, HoldRefusedError as mi, inviteOwnership as ml, PUBKY_PROOF_MAX_BYTES as mn, MAX_GROUP_CHAIN as mo, beaconRecords as mr, handoffContext as ms, checkAtprotoProofRecord as mt, MAX_AVATAR_LENGTH as mu, readX401SdJwtVc as n, DHT_FILE_TOO_LARGE as na, readEnrollHello as nc, APP_DATA_MAX_BYTES as ni, readCanonicalJson as nl, WALLET_NETWORKS as nn, cardUrl as no, GROUP_SIGNAL_FRAME as nr, HANDOFF_PAKE as ns, sshSignCommand as nt, withRequestOptions as nu, appUpdateDecision as o, dhtFileId as oa, inboxRecord as oc, BUTTONS_CAPABILITY as oi, createDeviceInvite as ol, formatPaymentAmount as on, statusCardText as oo, groupSignalFrame as or, HANDOFF_VERIFIED as os, decodeAnyBitcoinAddress as ot, newerPacket as ou, signAppStore as p, baseMime as pa, REQUEST_LIFETIME_MS as pc, HoldKeys as pi, inviteLink as pl, isBitcoinAddress as pn, GROUP_MEMBER_CAP as po, beaconKeys as pr, handoffCancelFrame as ps, atprotoProofRkey as pt, verify as pu, parseCommunityEdit as q, PR_CHECKS as qa, readAppRevocation as qc, revokesIdentity as qi, RelayTransport as ql, GROUP_WANT_NO_FRAME as qn, HTTP_SERVICE_PROTO as qo, deviceWakeRequest as qr, ENROLL_PROOF as qs, signDidDhtPacket as qt, sameX401HolderJwk as r, DHT_MESSAGE_TTL as ra, verifyEnrollProof as rc, chatAppId as ri, createContactLink as rl, arkAddressPrefix as rn, checkStatusCard as ro, SIGNAL_FRESH_MS as rr, HANDOFF_PIECE_BYTES as rs, verifySshSignature as rt, PacketTooLargeError as ru, checkAppBeforeRun as s, formatFileSize as sa, newInbox as sc, EDIT_CAPABILITY as si, deviceInviteJoinerParams as sl, validatePaymentTarget as sn, arrivalKey as so, readGroupSignal as sr, NO_ATTEMPTS as ss, ATPROTO_DECLARED_SCOPE as st, openRelayPayload as su, newX401HolderKey as t, irohRelayUrl as ta, readEnrollGrant as tc, isServeId as ti, canonicalJsonBytes as tl, USDT_PUBLIC_RPC as tn, cardLine as to, CarriedTransport as tr, HANDOFF_OFFER as ts, sameSshKey as tt, isDiscoveryBudgetError as tu, checkAppStoreIndex as u, PLAYABLE_AUDIO as ua, takeRequest as uc, HOLD_CAPABILITY as ui, createChatInvite as ul, SPARK_PROVIDER as un, receivedTimestamp as uo, meshHubs as ur, handoffAttemptFailed as us, ATPROTO_PROOF_SCOPE as ut, identityFromSeed as uu, sealGroupTyping as v, voiceLevel as va, linkRecords as vc, DOMAIN_FILE_MAX_BYTES as vi, HANDOFF_CAPABILITY as vl, normalizePubkyKey as vn, rosterAdmin as vo, lobbyRecords as vr, handoffEphemeral as vs, shortAtprotoDid as vt, fromBase64Url as vu, encodeCommunityLink as w, RateWindow as wa, requestRecords as wc, isPublicAddress as wi, newDeviceSetSecret as wl, requestLnurlInvoice as wn, DHT_POLL_INTERVALS as wo, readBeacon as wr, handoffRetryAfter as ws, DidError as wt, utf8Encode as wu, GROUP_READ_NOTE_COMMUNITY as x, EDIT_RATE_WINDOW_MS as xa, openRequest as xc, domainTxtRecord as xi, deviceKeyZ32 as xl, pubkyProofPath as xn, edgeParams as xo, newerHead as xr, handoffOfferFrame as xs, DID_DOCUMENT_MAX_BYTES as xt, toBase64Url as xu, COMMUNITY_LIMITS as y, parseVideoMeta as ya, makeStampPaced as yc, decodeDnsResponse as yi, deviceEchoFrame as yl, pubkyProofCapability as yn, rosterHas as yo, mergeBeacon as yr, handoffHelloFrame as ys, AtprotoProofError as yt, isZ32Key as yu, GROUP_REACTED_FRAME as z, wireReaction as za, APP_PREFIXES as zc, IdentityCheckUnavailable as zi, turnInstance as zl, pairedMessageFrame as zn, buildSdpFromSignal as zo, PIN_LIMITS as zr, readSetUpdate as zs, signingKeys as zt };
34283
34416
 
34284
- //# sourceMappingURL=src-BMHgbkli.js.map
34417
+ //# sourceMappingURL=src-DWw2hUE5.js.map