@ghostlytools/cli 1.6.1 → 1.7.1

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 (87) hide show
  1. package/README.md +36 -12
  2. package/dist/assets/{api-BpNU2LQh.js → api-CD9JbPuA.js} +99 -28
  3. package/dist/assets/api-CD9JbPuA.js.map +1 -0
  4. package/dist/assets/{api-Cx8ZCntM.js → api-CJM3R93b.js} +2 -2
  5. package/dist/assets/{apiKit-d1wi3raD.js → apiKit-BmnROpCN.js} +8 -4
  6. package/dist/assets/{apiKit-d1wi3raD.js.map → apiKit-BmnROpCN.js.map} +1 -1
  7. package/dist/assets/{apps-C-HiIRCA.js → apps-CJ2dvKSz.js} +1 -1
  8. package/dist/assets/{apps-B1QjRWqq.js → apps-DVA60Tg6.js} +34 -11
  9. package/dist/assets/apps-DVA60Tg6.js.map +1 -0
  10. package/dist/assets/{arkade-B5g4r3Ea.js → arkade-CHqwEHFd.js} +2 -2
  11. package/dist/assets/{arkade-B5g4r3Ea.js.map → arkade-CHqwEHFd.js.map} +1 -1
  12. package/dist/assets/{backup-Boqn5Y35.js → backup-B4dSNvzb.js} +5 -5
  13. package/dist/assets/{backup-Boqn5Y35.js.map → backup-B4dSNvzb.js.map} +1 -1
  14. package/dist/assets/{backup-BS9HwGyn.js → backup-C4CbTEcj.js} +1 -1
  15. package/dist/assets/{blobFiles-B6nf0gCG.js → blobFiles-Bckz9fjp.js} +2 -2
  16. package/dist/assets/{blobFiles-B6nf0gCG.js.map → blobFiles-Bckz9fjp.js.map} +1 -1
  17. package/dist/assets/buttons-BMVGYXpR.js +2 -0
  18. package/dist/assets/{buttons-Bjc51aod.js → buttons-C13rK2mH.js} +3 -3
  19. package/dist/assets/{buttons-Bjc51aod.js.map → buttons-C13rK2mH.js.map} +1 -1
  20. package/dist/assets/{daemonProof-ui8jtIw0.js → daemonProof-B41oSfon.js} +2 -2
  21. package/dist/assets/{daemonProof-ui8jtIw0.js.map → daemonProof-B41oSfon.js.map} +1 -1
  22. package/dist/assets/{envelope-DvZMFRzg.js → envelope-4TXDx3vD.js} +2 -2
  23. package/dist/assets/{envelope-DvZMFRzg.js.map → envelope-4TXDx3vD.js.map} +1 -1
  24. package/dist/assets/{fileBytes-BMEBas7S.js → fileBytes-BD0v3rRG.js} +10 -2
  25. package/dist/assets/{fileBytes-BMEBas7S.js.map → fileBytes-BD0v3rRG.js.map} +1 -1
  26. package/dist/assets/{fileBytes-CtwagJ8h.js → fileBytes-OolN5cSY.js} +1 -1
  27. package/dist/assets/{fileBytes-CFNrRfcl.js → fileBytes-_fd-2JRY.js} +2 -2
  28. package/dist/assets/{fileBytes-CFNrRfcl.js.map → fileBytes-_fd-2JRY.js.map} +1 -1
  29. package/dist/assets/fileBytesIdb-CsSQcSxD.js +2 -0
  30. package/dist/assets/{fileBytesIdb-BXAN7i-N.js → fileBytesIdb-NtA8r9EM.js} +2 -2
  31. package/dist/assets/{fileBytesIdb-BXAN7i-N.js.map → fileBytesIdb-NtA8r9EM.js.map} +1 -1
  32. package/dist/assets/{fileBytesOpfs-Do1Vpkis.js → fileBytesOpfs-B8fJwkwM.js} +3 -3
  33. package/dist/assets/{fileBytesOpfs-Do1Vpkis.js.map → fileBytesOpfs-B8fJwkwM.js.map} +1 -1
  34. package/dist/assets/{ghostly_iroh_web-BXCsSxxo.js → ghostly_iroh_web-CO0onry8.js} +33 -27
  35. package/dist/assets/ghostly_iroh_web-CO0onry8.js.map +1 -0
  36. package/dist/assets/ghostly_iroh_web_bg.wasm +0 -0
  37. package/dist/assets/{groupFiles-y4lGrOC-.js → groupFiles-ajZgZ6P8.js} +41 -25
  38. package/dist/assets/groupFiles-ajZgZ6P8.js.map +1 -0
  39. package/dist/assets/{host-DFGS8vJE.js → host-CVeNtA2_.js} +43 -20
  40. package/dist/assets/host-CVeNtA2_.js.map +1 -0
  41. package/dist/assets/{hyperdhtRelay-CZLnOc4e.js → hyperdhtRelay-CI2ISE-g.js} +2 -2
  42. package/dist/assets/{hyperdhtRelay-CZLnOc4e.js.map → hyperdhtRelay-CI2ISE-g.js.map} +1 -1
  43. package/dist/assets/{irohWeb-Y9wt8zG7.js → irohWeb-DcRJdhce.js} +3 -3
  44. package/dist/assets/{irohWeb-Y9wt8zG7.js.map → irohWeb-DcRJdhce.js.map} +1 -1
  45. package/dist/assets/{main-xgWC0qPZ.js → main-CjO0KGiF.js} +272 -79
  46. package/dist/assets/main-CjO0KGiF.js.map +1 -0
  47. package/dist/assets/{mainline-CjQ3pmvq.js → mainline-WM-WItCV.js} +27 -8
  48. package/dist/assets/mainline-WM-WItCV.js.map +1 -0
  49. package/dist/assets/{networkReason-i9wu5ZJs.js → networkReason-380j5yMs.js} +2 -2
  50. package/dist/assets/{networkReason-i9wu5ZJs.js.map → networkReason-380j5yMs.js.map} +1 -1
  51. package/dist/assets/{nwc-yO0nHt9S.js → nwc-D5dkC1xg.js} +3 -3
  52. package/dist/assets/{nwc-yO0nHt9S.js.map → nwc-D5dkC1xg.js.map} +1 -1
  53. package/dist/assets/{nwcProvider-BEg4I5Bk.js → nwcProvider-p_rMwtDv.js} +2 -2
  54. package/dist/assets/{nwcProvider-BEg4I5Bk.js.map → nwcProvider-p_rMwtDv.js.map} +1 -1
  55. package/dist/assets/{profiles-CEnZfN78.js → profiles-BFd0tpCZ.js} +91 -19
  56. package/dist/assets/profiles-BFd0tpCZ.js.map +1 -0
  57. package/dist/assets/{registry-CBDcdRPx.js → registry-BKffx4ZU.js} +1 -1
  58. package/dist/assets/{registry-DyGu5C-Z.js → registry-BfNcA6kF.js} +3 -3
  59. package/dist/assets/registry-BfNcA6kF.js.map +1 -0
  60. package/dist/assets/{resolve-CnkY--2E.js → resolve-hUsgRkmm.js} +2 -2
  61. package/dist/assets/{resolve-CnkY--2E.js.map → resolve-hUsgRkmm.js.map} +1 -1
  62. package/dist/assets/{server-CH142eWc.js → server-C3tJZFnv.js} +422 -149
  63. package/dist/assets/server-C3tJZFnv.js.map +1 -0
  64. package/dist/assets/{src-BXeGLwWV.js → src-BMHgbkli.js} +246 -62
  65. package/dist/assets/src-BMHgbkli.js.map +1 -0
  66. package/dist/assets/translate-DJUutSis.js +1067 -0
  67. package/dist/assets/translate-DJUutSis.js.map +1 -0
  68. package/dist/assets/types-C4_KafL_.js.map +1 -1
  69. package/dist/assets/{usdt-CdSNFUzO.js → usdt-glkUxsDe.js} +3 -3
  70. package/dist/assets/{usdt-CdSNFUzO.js.map → usdt-glkUxsDe.js.map} +1 -1
  71. package/dist/assets/{words-DA5feEav.js → words-DyW9b27T.js} +2 -2
  72. package/dist/assets/{words-DA5feEav.js.map → words-DyW9b27T.js.map} +1 -1
  73. package/dist/ghostly.mjs +1 -1
  74. package/package.json +1 -1
  75. package/dist/assets/api-BpNU2LQh.js.map +0 -1
  76. package/dist/assets/apps-B1QjRWqq.js.map +0 -1
  77. package/dist/assets/buttons-CugVarw3.js +0 -2
  78. package/dist/assets/fileBytesIdb-C20oXDdr.js +0 -2
  79. package/dist/assets/ghostly_iroh_web-BXCsSxxo.js.map +0 -1
  80. package/dist/assets/groupFiles-y4lGrOC-.js.map +0 -1
  81. package/dist/assets/host-DFGS8vJE.js.map +0 -1
  82. package/dist/assets/main-xgWC0qPZ.js.map +0 -1
  83. package/dist/assets/mainline-CjQ3pmvq.js.map +0 -1
  84. package/dist/assets/profiles-CEnZfN78.js.map +0 -1
  85. package/dist/assets/registry-DyGu5C-Z.js.map +0 -1
  86. package/dist/assets/server-CH142eWc.js.map +0 -1
  87. package/dist/assets/src-BXeGLwWV.js.map +0 -1
@@ -1358,7 +1358,8 @@ var RelayTransport = class {
1358
1358
  * which this client has not read (an inviter's warm packet under the key it gave its contact, from a clock ahead of
1359
1359
  * this one). That packet is read from that relay, and the records go again dated just past it, once. Without this
1360
1360
  * the packet was refused until this device's clock passed the other one's, however long that took, and on a relay
1361
- * that did take it, readers still preferred the later-dated empty packet of another relay.
1361
+ * that did take it, readers still preferred the later-dated empty packet of another relay. `read`: how to learn the
1362
+ * held packet's date where it is not a relay to ask (the CLI's DHT, whose nodes answer 302 for a later-dated packet).
1362
1363
  */
1363
1364
  async publishDated(identity, records, put, options = {}, again = false, elsewhere = false) {
1364
1365
  const key = identity.pubKeyZ32;
@@ -1368,10 +1369,10 @@ var RelayTransport = class {
1368
1369
  }
1369
1370
  const timestamp = this.nextTimestamp(key);
1370
1371
  let redated;
1371
- const conflict = (relay) => {
1372
+ const conflict = (relay, read) => {
1372
1373
  if (again || redated) return;
1373
1374
  redated = (async () => {
1374
- const held = await this.heldAt(relay, key, asker(options, true));
1375
+ const held = read ? await read().catch(() => null) : await this.heldAt(relay, key, asker(options, true));
1375
1376
  if (held === null || held < timestamp) return false;
1376
1377
  traceLink(key, "publish-redated", {
1377
1378
  aheadMs: Number((held - timestamp) / 1000n),
@@ -1475,6 +1476,19 @@ var RelayTransport = class {
1475
1476
  await this.putRedated(pubKeyZ32, payload, seq, options, PAYLOAD_REDATES);
1476
1477
  }
1477
1478
  /**
1479
+ * A payload every relay's budget held back while another path took it (the CLI's DHT): the publish is out, and each
1480
+ * relay gets it once its budget frees a request for the same asker (`catchUpLater`), unless a newer packet of the key
1481
+ * goes there first. Retried by the link instead, each try was signed and put on the DHT again (1-1.6 puts a minute per
1482
+ * chat at budget, not one per 4 min). `timestamp`: its date when signed here; read from the payload otherwise.
1483
+ */
1484
+ putLater(pubKeyZ32, payload, timestamp, options = {}) {
1485
+ const at = timestamp ?? options.signedAt ?? openRelayPayload(pubKeyZ32, payload).seq;
1486
+ try {
1487
+ this.written.set(pubKeyZ32, readOwnRelayPayload(pubKeyZ32, payload));
1488
+ } catch {}
1489
+ for (const relay of this.relays) this.catchUpLater(relay, pubKeyZ32, payload, at, asker(options, true));
1490
+ }
1491
+ /**
1478
1492
  * A payload signed in this process (a group edge's offer or answer, `CarriedTransport`) put on every relay, past what
1479
1493
  * a relay that answers 409 holds: that one is read, and the records go again at once, signed by `options.redate` dated
1480
1494
  * just past it, `left` times at most. A packet put here is the key's latest too: a publish dated here next
@@ -3958,11 +3972,77 @@ async function signAppObject(prefix, value, signer) {
3958
3972
  }
3959
3973
  };
3960
3974
  }
3975
+ var fastPath = null;
3976
+ /** Gives (or, with `null`, takes back) the faster check of every app signature this process verifies. */
3977
+ function setAppSignatureFastPath(check) {
3978
+ fastPath = check;
3979
+ }
3980
+ /** The group order L, little-endian: an S at or above it is refused by the strict check. */
3981
+ var GROUP_ORDER = Uint8Array.from([
3982
+ 237,
3983
+ 211,
3984
+ 245,
3985
+ 92,
3986
+ 26,
3987
+ 99,
3988
+ 18,
3989
+ 88,
3990
+ 214,
3991
+ 156,
3992
+ 247,
3993
+ 162,
3994
+ 222,
3995
+ 249,
3996
+ 222,
3997
+ 20,
3998
+ 0,
3999
+ 0,
4000
+ 0,
4001
+ 0,
4002
+ 0,
4003
+ 0,
4004
+ 0,
4005
+ 0,
4006
+ 0,
4007
+ 0,
4008
+ 0,
4009
+ 0,
4010
+ 0,
4011
+ 0,
4012
+ 0,
4013
+ 16
4014
+ ]);
4015
+ /** Whether each key seen lately is a canonical encoding of a point not of small order: a list repeats its publishers. */
4016
+ var keysFit = /* @__PURE__ */ new Map();
4017
+ function fastPathTakes(signature, publicKey) {
4018
+ if (signature.length !== 64 || publicKey.length !== 32) return false;
4019
+ let below = false;
4020
+ for (let i = 31; i >= 0; i--) if (signature[32 + i] !== GROUP_ORDER[i]) {
4021
+ below = signature[32 + i] < GROUP_ORDER[i];
4022
+ break;
4023
+ }
4024
+ if (!below) return false;
4025
+ const id = toBase64Url(publicKey);
4026
+ let fit = keysFit.get(id);
4027
+ if (fit === void 0) {
4028
+ try {
4029
+ fit = !ed25519.Point.fromBytes(publicKey, false).isSmallOrder();
4030
+ } catch {
4031
+ fit = false;
4032
+ }
4033
+ if (keysFit.size >= 256) keysFit.clear();
4034
+ keysFit.set(id, fit);
4035
+ }
4036
+ return fit;
4037
+ }
3961
4038
  /**
3962
4039
  * Ed25519 verification as RFC 8032 writes it (`zip215: false`): canonical encodings of the point and the scalar only,
3963
4040
  * so every parser (this one, a Rust one with `verify_strict`) accepts exactly the same signatures.
3964
4041
  */
3965
4042
  function strictVerify(signature, message, publicKey) {
4043
+ if (fastPath && fastPathTakes(signature, publicKey)) try {
4044
+ if (fastPath(signature, message, publicKey)) return true;
4045
+ } catch {}
3966
4046
  try {
3967
4047
  return ed25519.verify(signature, message, publicKey, { zip215: false });
3968
4048
  } catch {
@@ -4108,9 +4188,9 @@ function verifyAppRevocation(revocation, checked) {
4108
4188
  }
4109
4189
  /**
4110
4190
  * Reads `ghostly-revoke.json`: canonical bytes holding a list of signed revocations. One that does not verify refuses the
4111
- * file, as a store index's `revoked` does.
4191
+ * file, as a store index's `revoked` does. With `checked`, a revocation it holds is not checked again.
4112
4192
  */
4113
- function readAppRevocations(bytes) {
4193
+ function readAppRevocations(bytes, checked) {
4114
4194
  const read = readCanonicalJson(bytes);
4115
4195
  if (!read.ok) return read;
4116
4196
  if (!Array.isArray(read.value) || read.value.length > APP_STATEMENT_LIMITS.revocations) return {
@@ -4120,7 +4200,7 @@ function readAppRevocations(bytes) {
4120
4200
  };
4121
4201
  const revocations = [];
4122
4202
  for (const entry of read.value) {
4123
- const one = readAppRevocation(entry);
4203
+ const one = readAppRevocation(entry, checked);
4124
4204
  if (!one.ok) return one;
4125
4205
  revocations.push(one.revocation);
4126
4206
  }
@@ -5758,6 +5838,10 @@ var HANDOFF_ATTEMPTS = {
5758
5838
  hourMs: 36e5,
5759
5839
  total: 15
5760
5840
  };
5841
+ var NO_ATTEMPTS = {
5842
+ recent: [],
5843
+ total: 0
5844
+ };
5761
5845
  /** Whether a device may try now: `refused` after 15 failures with no success, until the person lets it try again. */
5762
5846
  function handoffAttemptAllowed(attempts, now) {
5763
5847
  if (!attempts) return "ok";
@@ -6055,16 +6139,18 @@ var DEFAULT_OPUS_PT = 111;
6055
6139
  var DEFAULT_VP8_PT = 96;
6056
6140
  /** Dynamic RTP payload types: 96-127 (RFC 3551), and 35-63, which WebRTC engines use too. */
6057
6141
  var dynamicPayloadType = (n) => Number.isInteger(n) && (n >= 96 && n <= 127 || n >= 35 && n <= 63);
6058
- var RTC_CONFIG = {
6059
- iceServers: [
6060
- { urls: "stun:stun.l.google.com:19302" },
6061
- { urls: "stun:stun1.l.google.com:19302" },
6062
- { urls: "stun:stun2.l.google.com:19302" },
6063
- { urls: "stun:stun3.l.google.com:19302" },
6064
- { urls: "stun:stun4.l.google.com:19302" }
6065
- ],
6066
- iceCandidatePoolSize: 10
6067
- };
6142
+ /**
6143
+ * The apps' STUN servers. No candidate pool: a call's connection is made when the call is placed and its offer follows
6144
+ * at once, so pre-gathered sessions save no time, and each one opens its own sockets, asks every STUN server and takes
6145
+ * its own TURN allocation (a TURN server's per-user quota then refuses the call's own).
6146
+ */
6147
+ var RTC_CONFIG = { iceServers: [
6148
+ { urls: "stun:stun.l.google.com:19302" },
6149
+ { urls: "stun:stun1.l.google.com:19302" },
6150
+ { urls: "stun:stun2.l.google.com:19302" },
6151
+ { urls: "stun:stun3.l.google.com:19302" },
6152
+ { urls: "stun:stun4.l.google.com:19302" }
6153
+ ] };
6068
6154
  /**
6069
6155
  * A call's WebRTC configuration: the apps' STUN servers, then the profile's own (Settings → Network → ICE
6070
6156
  * servers: a TURN relay, typically). A relay is what connects a call when no direct path works: a VPN that takes
@@ -6098,12 +6184,10 @@ function callRtcConfig(extra = [], { relayOnly = false } = {}) {
6098
6184
  }
6099
6185
  /**
6100
6186
  * The WebRTC configuration of a chat's data link or a group's edge, from the profile's settings: its ICE servers,
6101
- * and "Hide my IP from contacts" (`relayOnly`), as a call's (`callRtcConfig`). No candidate pool: an app holds one
6102
- * such connection per chat and per group member, and a call only one.
6187
+ * and "Hide my IP from contacts" (`relayOnly`), as a call's (`callRtcConfig`).
6103
6188
  */
6104
6189
  function contactRtcConfig(settings) {
6105
- const { iceCandidatePoolSize: _pool, ...config } = callRtcConfig(settings.iceServers ?? [], { relayOnly: settings.relayOnly === true });
6106
- return config;
6190
+ return callRtcConfig(settings.iceServers ?? [], { relayOnly: settings.relayOnly === true });
6107
6191
  }
6108
6192
  /** Whether a connection keeps to relays (`iceTransportPolicy: "relay"`): what it sends a contact is then relay candidates only. */
6109
6193
  function keepsToRelays(pc) {
@@ -6990,9 +7074,20 @@ function decodeChunk(data) {
6990
7074
  payload: data.subarray(CHUNK_HEADER_BYTES)
6991
7075
  };
6992
7076
  }
6993
- function wrapDataChannel(dc) {
7077
+ /**
7078
+ * `ended`: its connection was torn down. The channel closes then as if the data channel had said so, and lets go of
7079
+ * the data channel's events: node-datachannel does not always report a channel of a closed connection closed, and its
7080
+ * native handle would hold whatever listens to it (the session, the link) for good.
7081
+ */
7082
+ function wrapDataChannel(dc, ended) {
6994
7083
  dc.binaryType = "arraybuffer";
6995
7084
  dc.bufferedAmountLowThreshold = LIMITS.sendLowWaterMark;
7085
+ const listening = new AbortController();
7086
+ const closed = () => {
7087
+ if (listening.signal.aborted) return;
7088
+ listening.abort();
7089
+ channel.onClose?.();
7090
+ };
6996
7091
  const channel = {
6997
7092
  send(data) {
6998
7093
  if (dc.readyState !== "open") throw new Error("Data link is not open");
@@ -7003,15 +7098,15 @@ function wrapDataChannel(dc) {
7003
7098
  return dc.bufferedAmount;
7004
7099
  },
7005
7100
  drained() {
7006
- if (dc.bufferedAmount <= LIMITS.sendLowWaterMark || dc.readyState !== "open") return Promise.resolve();
7101
+ if (dc.bufferedAmount <= LIMITS.sendLowWaterMark || dc.readyState !== "open" || listening.signal.aborted) return Promise.resolve();
7007
7102
  return new Promise((resolve) => {
7008
7103
  const done = () => {
7009
7104
  dc.removeEventListener("bufferedamountlow", done);
7010
- dc.removeEventListener("close", done);
7105
+ listening.signal.removeEventListener("abort", done);
7011
7106
  resolve();
7012
7107
  };
7013
7108
  dc.addEventListener("bufferedamountlow", done);
7014
- dc.addEventListener("close", done);
7109
+ listening.signal.addEventListener("abort", done);
7015
7110
  });
7016
7111
  },
7017
7112
  close() {
@@ -7021,12 +7116,14 @@ function wrapDataChannel(dc) {
7021
7116
  onMessage: null,
7022
7117
  onClose: null
7023
7118
  };
7119
+ const { signal } = listening;
7024
7120
  dc.addEventListener("message", (event) => {
7025
7121
  const data = event.data;
7026
7122
  if (typeof data === "string") channel.onMessage?.(data);
7027
7123
  else if (data instanceof ArrayBuffer) channel.onMessage?.(new Uint8Array(data));
7028
- });
7029
- dc.addEventListener("close", () => channel.onClose?.());
7124
+ }, { signal });
7125
+ dc.addEventListener("close", closed, { signal });
7126
+ ended?.addEventListener("abort", closed, { signal });
7030
7127
  return channel;
7031
7128
  }
7032
7129
  /**
@@ -8534,6 +8631,8 @@ var DataLink = class {
8534
8631
  options;
8535
8632
  state = "idle";
8536
8633
  pc = null;
8634
+ /** Each connection's listeners, and its data channel's (`wrapDataChannel`), dropped once it is closed. */
8635
+ ends = /* @__PURE__ */ new WeakMap();
8537
8636
  myOfferTs = 0;
8538
8637
  /**
8539
8638
  * An offer or answer of this side's that went without a public candidate came to nothing (both descriptions were
@@ -8699,6 +8798,14 @@ var DataLink = class {
8699
8798
  if (evidence) this.options.onDirect?.(evidence);
8700
8799
  }
8701
8800
  /**
8801
+ * Given up for a reason that is not the network's (an answer made while the app was away, `WAKE_ANSWER_GRACE_MS`):
8802
+ * as `close`, with nothing learnt about direct connections from it.
8803
+ */
8804
+ abandon() {
8805
+ this.answered = null;
8806
+ this.reset();
8807
+ }
8808
+ /**
8702
8809
  * This side's offer went with no public candidate and was answered, or its answer went with none, and it came to
8703
8810
  * nothing: the next offer or answer gathers for as long as it takes.
8704
8811
  */
@@ -8797,7 +8904,7 @@ var DataLink = class {
8797
8904
  let stalled = null;
8798
8905
  for (let attempt = 1;; attempt++) {
8799
8906
  const pc = this.createConnection();
8800
- stalled?.close();
8907
+ if (stalled) this.closeConnection(stalled);
8801
8908
  await describe(pc);
8802
8909
  if (this.pc !== pc) return null;
8803
8910
  const gathering = Date.now();
@@ -8832,6 +8939,9 @@ var DataLink = class {
8832
8939
  createConnection() {
8833
8940
  const pc = this.options.createPeerConnection();
8834
8941
  this.pc = pc;
8942
+ const ended = new AbortController();
8943
+ this.ends.set(pc, ended);
8944
+ const { signal } = ended;
8835
8945
  const dc = pc.createDataChannel(DATA_CHANNEL_LABEL, {
8836
8946
  negotiated: true,
8837
8947
  id: 0,
@@ -8847,12 +8957,12 @@ var DataLink = class {
8847
8957
  this.options.setFastPoll(false);
8848
8958
  this.options.publishSignal(null);
8849
8959
  this.options.onDirect?.("open");
8850
- this.options.onOpen(wrapDataChannel(dc));
8960
+ this.options.onOpen(wrapDataChannel(dc, signal));
8851
8961
  tracePair(this.options.myPubKeyZ32, pc);
8852
- });
8962
+ }, { signal });
8853
8963
  dc.addEventListener("close", () => {
8854
8964
  if (this.pc === pc) this.failed(true);
8855
- });
8965
+ }, { signal });
8856
8966
  pc.addEventListener("connectionstatechange", () => {
8857
8967
  if (this.pc !== pc) return;
8858
8968
  if (this.disconnectTimer) {
@@ -8867,7 +8977,7 @@ var DataLink = class {
8867
8977
  if (this.pc === pc) this.failed();
8868
8978
  }, DISCONNECT_GRACE_MS);
8869
8979
  }
8870
- });
8980
+ }, { signal });
8871
8981
  this.startAttemptTimer(pc);
8872
8982
  return pc;
8873
8983
  }
@@ -8900,9 +9010,19 @@ var DataLink = class {
8900
9010
  this.myOfferTs = 0;
8901
9011
  this.remoteSdp = null;
8902
9012
  if (!pc) return false;
8903
- pc.close();
9013
+ this.closeConnection(pc);
8904
9014
  return true;
8905
9015
  }
9016
+ /**
9017
+ * Closes `pc` and drops its listeners and its data channel's. The channel tells it closed (`wrapDataChannel`) a
9018
+ * microtask later, after the link's own `onClose`, as when the data channel said so itself: node-datachannel does not
9019
+ * always report a closed connection's channel closed, and the listeners it kept would hold the link for good.
9020
+ */
9021
+ closeConnection(pc) {
9022
+ pc.close();
9023
+ const ended = this.ends.get(pc);
9024
+ if (ended) queueMicrotask(() => ended.abort());
9025
+ }
8906
9026
  reset() {
8907
9027
  const wasOpen = this.state === "open";
8908
9028
  const hadConnection = this.teardown();
@@ -10638,10 +10758,12 @@ var EXTENSIONS = {
10638
10758
  "audio/aac": "aac",
10639
10759
  "audio/wav": "wav"
10640
10760
  };
10761
+ /** A time no date can hold (past Date's end, NaN) makes a name without one, never "NaN-NaN-NaN". */
10641
10762
  function voiceName(prefix, mime, timestamp) {
10642
- const date = new Date(timestamp);
10763
+ const date = new Date(timestamp), extension = EXTENSIONS[baseMime(mime)] ?? "audio";
10764
+ if (Number.isNaN(date.getTime())) return `${prefix}.${extension}`;
10643
10765
  const pad = (n) => String(n).padStart(2, "0");
10644
- return `${prefix} ${`${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())} ${pad(date.getHours())}.${pad(date.getMinutes())}.${pad(date.getSeconds())}`}.${EXTENSIONS[baseMime(mime)] ?? "audio"}`;
10766
+ return `${prefix} ${`${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())} ${pad(date.getHours())}.${pad(date.getMinutes())}.${pad(date.getSeconds())}`}.${extension}`;
10645
10767
  }
10646
10768
  /**
10647
10769
  * The name a downloaded voice message is saved under, made here from the message's time and its
@@ -16267,6 +16389,12 @@ var AppRanges = class {
16267
16389
  draining = /* @__PURE__ */ new Set();
16268
16390
  asking = /* @__PURE__ */ new Map();
16269
16391
  waiting = /* @__PURE__ */ new Map();
16392
+ /**
16393
+ * The size each serve of the contact said (its last `ar-end`), by app and serve id: an ask past it is cut to it. The
16394
+ * server counts the bytes asked against its 32 MiB a second; an app reading small files with remote.read's 1 MiB
16395
+ * length was refused `busy` from the 33rd read in a second, having moved about 1 MiB (agents#1766).
16396
+ */
16397
+ sizes = /* @__PURE__ */ new Map();
16270
16398
  nextRequest = 0;
16271
16399
  /** The asks taken in the last second (when, how many bytes) and their sum: what `bytesPerSecond` counts. Kept across sessions. */
16272
16400
  taken = [];
@@ -16276,9 +16404,13 @@ var AppRanges = class {
16276
16404
  this.newServeId = newServeId;
16277
16405
  this.now = now;
16278
16406
  }
16279
- /** Lets the contact's `app` read `file` on this session: the serve id to tell it. */
16407
+ /**
16408
+ * Lets the contact's `app` read `file` on this session: the serve id to tell it. A file the app serves already answers
16409
+ * the id it has, so an app that serves again on each play holds one serve per file, not one per call.
16410
+ */
16280
16411
  serve(app, file) {
16281
16412
  if (!isChatAppId(app)) throw new Error("Not a chat app id");
16413
+ for (const [served, serve] of this.serves) if (serve.app === app && serve.file === file) return served;
16282
16414
  let id = this.newServeId();
16283
16415
  while (this.serves.has(id)) id = this.newServeId();
16284
16416
  this.serves.set(id, {
@@ -16312,15 +16444,20 @@ var AppRanges = class {
16312
16444
  return null;
16313
16445
  }
16314
16446
  const at = this.now();
16315
- while (this.taken.length && this.taken[0].at <= at - 1e3) this.takenBytes -= this.taken.shift().bytes;
16447
+ while (this.taken.length && this.taken[0].at <= at - 1e3) {
16448
+ const old = this.taken.shift();
16449
+ old.out = true;
16450
+ this.takenBytes -= old.bytes;
16451
+ }
16316
16452
  if (this.takenBytes + frame.n > APP_RANGE_LIMITS.bytesPerSecond) {
16317
16453
  this.send(appRangeErrorFrame(app, request, "busy"));
16318
16454
  return null;
16319
16455
  }
16320
- this.taken.push({
16456
+ const charge = {
16321
16457
  at,
16322
16458
  bytes: frame.n
16323
- });
16459
+ };
16460
+ this.taken.push(charge);
16324
16461
  this.takenBytes += frame.n;
16325
16462
  const task = {
16326
16463
  app,
@@ -16329,7 +16466,8 @@ var AppRanges = class {
16329
16466
  file: serve.file,
16330
16467
  offset: frame.o,
16331
16468
  length: frame.n,
16332
- live: true
16469
+ live: true,
16470
+ charge
16333
16471
  };
16334
16472
  this.serving.set(slot(app, request), task);
16335
16473
  return task;
@@ -16341,7 +16479,13 @@ var AppRanges = class {
16341
16479
  }
16342
16480
  /** Every byte of `task` was sent: `ar-end` goes with the file's size, unless the task was dropped meanwhile. */
16343
16481
  finish(task, size) {
16344
- if (this.take(task)) this.send(appRangeEndFrame(task.app, task.request, size));
16482
+ if (!this.take(task)) return;
16483
+ const charge = task.charge, sent = Math.max(0, Math.min(task.length, size - task.offset));
16484
+ if (charge && !charge.out && charge.bytes > sent) {
16485
+ this.takenBytes -= charge.bytes - sent;
16486
+ charge.bytes = sent;
16487
+ }
16488
+ this.send(appRangeEndFrame(task.app, task.request, size));
16345
16489
  }
16346
16490
  /** The file under `task` could not be read: `ar-err` goes in place of the rest, unless the task was dropped meanwhile. */
16347
16491
  fail(task, error) {
@@ -16361,6 +16505,8 @@ var AppRanges = class {
16361
16505
  /** Reads `length` bytes at `offset` of what the contact's `app` serves as `serve`: the bytes (fewer at the end) and the file's size. */
16362
16506
  read(app, serve, offset, length) {
16363
16507
  appRangeGetFrame(app, serve, 0, offset, length);
16508
+ const size = this.sizes.get(`${app} ${serve}`);
16509
+ if (size !== void 0 && size > offset) length = Math.min(length, size - offset);
16364
16510
  return new Promise((resolve, reject) => {
16365
16511
  const ask = {
16366
16512
  app,
@@ -16396,10 +16542,12 @@ var AppRanges = class {
16396
16542
  if (frame.t === "ar-err") return this.settle(ask, [
16397
16543
  "not-served",
16398
16544
  "changed",
16399
- "gone"
16545
+ "gone",
16546
+ "busy"
16400
16547
  ].find((code) => code === frame.e) ?? "failed");
16401
16548
  if (ask.got !== Math.max(0, Math.min(ask.length, frame.z - ask.offset))) return this.settle(ask, "failed");
16402
16549
  this.settle(ask);
16550
+ this.sizes.set(`${ask.app} ${ask.serve}`, frame.z);
16403
16551
  ask.resolve({
16404
16552
  bytes: concatBytes$1(...ask.chunks),
16405
16553
  size: frame.z
@@ -16413,9 +16561,11 @@ var AppRanges = class {
16413
16561
  for (const ask of this.waiting.get(app) ?? []) ask.reject(new Error(error));
16414
16562
  this.waiting.delete(app);
16415
16563
  for (const ask of this.asking.values()) if (ask.app === app) this.settle(ask, error);
16564
+ for (const key of [...this.sizes.keys()]) if (key.startsWith(`${app} `)) this.sizes.delete(key);
16416
16565
  }
16417
16566
  /** The session ended: no serve id lasts into the next, and every request fails with `offline`. */
16418
16567
  reset() {
16568
+ this.sizes.clear();
16419
16569
  const apps = new Set([...this.serves.values()].map((serve) => serve.app).concat([...this.serving.values(), ...this.draining].map((task) => task.app), [...this.waiting.keys()], [...this.asking.values()].map((ask) => ask.app)));
16420
16570
  for (const app of apps) this.closeApp(app, "offline");
16421
16571
  }
@@ -19935,6 +20085,13 @@ var HANDLED_WAIT_MS = 1e4;
19935
20085
  */
19936
20086
  var WAKE_LOST_MS = 1e4;
19937
20087
  /**
20088
+ * Back in front after an absence, an answer this side made to the contact's offer while it was away, still connecting
20089
+ * this long after the wake, is let go and the chat dials as a resume. A path that exists connects within a second or
20090
+ * two; on a phone the app had answered from the background, the connection sat there until ICE gave up (15 s), and only
20091
+ * then did the resume dial: a chat opened on return went live 21 s after the tap (Android emulator, 2026-10-29).
20092
+ */
20093
+ var WAKE_ANSWER_GRACE_MS = 3e3;
20094
+ /**
19938
20095
  * What files/3 may hold on a session's channel (WISP 501, Backpressure): a quarter of its send budget (native and iroh
19939
20096
  * channels throw past 120 KiB), or the high water mark of a WebRTC channel, which has none.
19940
20097
  */
@@ -24600,6 +24757,11 @@ var GhostLink = class {
24600
24757
  setTimeout(() => this.maybeKnockAnswering(epoch), 0);
24601
24758
  return;
24602
24759
  }
24760
+ if (this.dataLink.state === "connecting" && this.answeringEpoch === this.connectionEpoch) {
24761
+ const epoch = this.connectionEpoch;
24762
+ setTimeout(() => this.dropAnswerAfterWake(epoch), WAKE_ANSWER_GRACE_MS);
24763
+ return;
24764
+ }
24603
24765
  const offered = this.offered;
24604
24766
  if (!offered || offered.resume || offered.epoch !== this.connectionEpoch || !this.offerOut && !this.dialing) return;
24605
24767
  this.resuming = void 0;
@@ -24608,6 +24770,13 @@ var GhostLink = class {
24608
24770
  offered.woke = true;
24609
24771
  if (!this.dialing) setTimeout(() => this.maybeKnockEarly(offered.epoch), 0);
24610
24772
  }
24773
+ /** The answer of `epoch`, made while the app was away, has not connected since the wake: the resume dials instead. */
24774
+ dropAnswerAfterWake(epoch) {
24775
+ if (epoch !== this.connectionEpoch || this.channel || this.stopped || this.resuming !== "webrtc/1") return;
24776
+ if (this.dataLink.state !== "connecting" || this.answeringEpoch !== epoch || this.offered?.epoch === epoch) return;
24777
+ traceLink(this.myPubKeyZ32, "wake-answer-dropped", {});
24778
+ this.dataLink.abandon();
24779
+ }
24611
24780
  /**
24612
24781
  * A name or picture the contact said, once it is one (reading it costs little; saving it is what counts): past the
24613
24782
  * window the newest waits for room on this session, so the last word still counts.
@@ -29569,6 +29738,7 @@ var GroupSession = class {
29569
29738
  const previous = this.top;
29570
29739
  const roster = expectedRoster(previous.m, kind, this.myKey, subject);
29571
29740
  if (!roster) throw new Error("This change is not allowed");
29741
+ if ((kind === "add" || kind === "rotate") && this.state.chain.length + 1 + 2 * (roster.length - 1) > 1024) throw new Error("This group has reached its membership history limit. Create a new group.");
29572
29742
  const epoch = previous.e + 1;
29573
29743
  const secret = newEpochSecret();
29574
29744
  const draft = {
@@ -30816,19 +30986,24 @@ var GroupSession = class {
30816
30986
  /**
30817
30987
  * Who made the change a statement brings me: its signer, when they were the admin all along since the statement I
30818
30988
  * held (or, with none, since I got in). A new admin signs again what the last one set (`metaFollowsChain`): to a
30819
- * member that missed that, it is no change of theirs it can tell apart, so nobody is named.
30989
+ * member that missed that, it is no change of theirs it can tell apart, so nobody is named. With none held, theirs is
30990
+ * one dated after the commit that made them the admin: what they sign again keeps its date.
30820
30991
  */
30821
30992
  metaAuthor(before, s) {
30822
30993
  const chain = this.state.chain, from = before ? before.e : chain.findIndex((c) => rosterHas(c.m, this.myKey));
30823
- for (let e = Math.max(0, from); e <= s.e; e++) if (rosterAdmin(chain[e].m) !== s.by) return void 0;
30824
- return s.by;
30994
+ let moved;
30995
+ for (let e = Math.max(0, from); e <= s.e; e++) if (rosterAdmin(chain[e].m) !== s.by) {
30996
+ if (before) return void 0;
30997
+ moved = e + 1;
30998
+ }
30999
+ return moved === void 0 || s.ts > chain[moved].ts ? s.by : void 0;
30825
31000
  }
30826
31001
  /** After the chain or my secrets moved: the waiting statement, and, if I became the admin, the name and picture signed again as mine. */
30827
31002
  async metaFollowsChain() {
30828
31003
  const pending = this.pendingMeta;
30829
31004
  this.pendingMeta = void 0;
30830
31005
  if (pending) await this.receiveMeta(pending.from, pending.frame);
30831
- if (this.isAdmin && this.state.meta && this.state.meta.by !== this.myKey) await this.publishMeta(this.state.meta.body, Date.now());
31006
+ if (this.isAdmin && this.state.meta && this.state.meta.by !== this.myKey) await this.publishMeta(this.state.meta.body, this.state.meta.ts);
30832
31007
  }
30833
31008
  async fork(reason) {
30834
31009
  if (this.state.status !== "active") return;
@@ -33407,25 +33582,33 @@ var CommunitySession = class {
33407
33582
  /**
33408
33583
  * Who made the change a statement brings me (`at`: its commit's place on my main branch): its signer, when they were
33409
33584
  * the admin all along since the statement I held (or, with none, since I got in). A new admin signs again what the
33410
- * last one set (`metaFollowsChain`): to a member that missed that, it is no change of theirs it can tell apart.
33585
+ * last one set (`metaFollowsChain`): to a member that missed that, it is no change of theirs it can tell apart. With
33586
+ * none held, theirs is one dated after the commit that made them the admin: what they sign again keeps its date.
33411
33587
  */
33412
33588
  metaAuthor(before, s, at) {
33413
33589
  const from = before ? this.mainIndex.get(before.h) : void 0;
33414
- let roster = before && from !== void 0 ? this.rosterAt(before.h) ?? null : null, counted = from !== void 0;
33590
+ let roster = before && from !== void 0 ? this.rosterAt(before.h) ?? null : null, counted = from !== void 0, moved;
33415
33591
  for (let i = from ?? 0; i <= at; i++) {
33416
33592
  if (i !== from) roster = communityRoster(roster, this.state.chain[i]);
33417
33593
  if (!roster) return void 0;
33418
33594
  counted ||= rosterHas(roster, this.myKey);
33419
- if (counted && rosterAdmin(roster) !== s.by) return void 0;
33595
+ if (counted && rosterAdmin(roster) !== s.by) {
33596
+ if (before) return void 0;
33597
+ moved = i + 1;
33598
+ }
33420
33599
  }
33421
- return s.by;
33600
+ return moved === void 0 || s.ts > this.state.chain[moved].ts ? s.by : void 0;
33422
33601
  }
33423
- /** After the chain or my secrets moved: the waiting statement, and, if I became the admin, the name and picture signed again as mine. */
33602
+ /**
33603
+ * After the chain or my secrets moved: the waiting statement, and, if I became the admin, or my statement's commit
33604
+ * went with a branch that lost a fork, the name and picture signed again as mine under the main branch.
33605
+ */
33424
33606
  async metaFollowsChain() {
33425
33607
  const pending = this.pendingMeta;
33426
33608
  this.pendingMeta = void 0;
33427
33609
  if (pending && await this.receiveMeta(pending.from, pending.frame)) this.hooks.relay?.(pending.frame);
33428
- if (this.isAdmin && this.state.meta && this.state.meta.by !== this.myKey) await this.publishMeta(this.state.meta.body, this.hooks.clock?.() ?? Date.now());
33610
+ const meta = this.state.meta;
33611
+ if (this.isAdmin && meta && (meta.by !== this.myKey || !this.mainIndex.has(meta.h))) await this.publishMeta(meta.body, meta.ts);
33429
33612
  }
33430
33613
  async fork(reason) {
33431
33614
  if (this.state.status !== "active") return;
@@ -33677,11 +33860,11 @@ function inOneRun(steps) {
33677
33860
  * Checks an index's fields and bounds, and every revocation it carries (one that does not verify refuses the index:
33678
33861
  * the store copied it, so a broken one is the store's fault). The signature and `expires` are `readAppStore`'s. An
33679
33862
  * unknown key of the index, a listing or a removal is ignored unless `strict`; a revocation is its publisher's signed
33680
- * statement and keeps its exact keys.
33863
+ * statement and keeps its exact keys. With `checked`, a revocation it holds is not checked again.
33681
33864
  */
33682
- function checkAppStoreIndex(value, options = {}) {
33865
+ function checkAppStoreIndex(value, options = {}, checked) {
33683
33866
  const fields = inOneRun(checkAppStoreFieldsSteps(value, options));
33684
- return fields.ok ? inOneRun(checkAppStoreRevocationsSteps(value)) : fields;
33867
+ return fields.ok ? inOneRun(checkAppStoreRevocationsSteps(value, checked)) : fields;
33685
33868
  }
33686
33869
  /**
33687
33870
  * The first half of `checkAppStoreIndex`: the fields and bounds, and the shape of every revocation, with no signature
@@ -33763,10 +33946,10 @@ function* checkAppStoreRevocationsSteps(index, checked) {
33763
33946
  * signature, the signature of each revocation, then `expires` against `now` (seconds): more than 90 days ahead is
33764
33947
  * refused, past is `expired`. The index's own signature comes before its revocations': an index nobody signed costs
33765
33948
  * its reader one signature check, whatever it carries. A key it does not know is ignored (a later store's optional
33766
- * field) and stays in the bytes the signature covers.
33949
+ * field) and stays in the bytes the signature covers. With `checked`, a revocation it holds is not checked again.
33767
33950
  */
33768
- function readAppStore(indexBytes, sigBytes, now, heldKey) {
33769
- return inOneRun(readAppStoreSteps(indexBytes, sigBytes, now, heldKey));
33951
+ function readAppStore(indexBytes, sigBytes, now, heldKey, checked) {
33952
+ return inOneRun(readAppStoreSteps(indexBytes, sigBytes, now, heldKey, checked));
33770
33953
  }
33771
33954
  /**
33772
33955
  * `readAppStore` in steps, for a reader that shares its thread (a page): it stops after each listing, removal and
@@ -33811,11 +33994,12 @@ function* readAppStoreSteps(indexBytes, sigBytes, now, heldKey, checked) {
33811
33994
  }
33812
33995
  /**
33813
33996
  * Signs an index with the store key: its canonical bytes and the `ghostly-store.sig` bytes. Throws on a bad index, and
33814
- * on a key this format does not define: a writer is strict, so a misspelt key is never signed.
33997
+ * on a key this format does not define: a writer is strict, so a misspelt key is never signed. With `revocations`, a
33998
+ * revocation it holds is not checked again.
33815
33999
  */
33816
- async function signAppStore(index, signer) {
34000
+ async function signAppStore(index, signer, revocations) {
33817
34001
  if (index.key !== toZ32(signer.publicKey)) throw new Error("A store index is signed by its own key");
33818
- const checked = checkAppStoreIndex(JSON.parse(JSON.stringify(index)), { strict: true });
34002
+ const checked = checkAppStoreIndex(JSON.parse(JSON.stringify(index)), { strict: true }, revocations);
33819
34003
  if (!checked.ok) throw new Error(`Not a valid store index (${checked.reason}${checked.detail ? `: ${checked.detail}` : ""})`);
33820
34004
  const { bytes, signature } = await signAppObject(APP_PREFIXES.store, index, signer);
33821
34005
  return {
@@ -34095,6 +34279,6 @@ function readX401SdJwtVc(text) {
34095
34279
  };
34096
34280
  }
34097
34281
  //#endregion
34098
- export { parseSshPublicKey as $, buttonLabelClash as $a, createContactLink as $c, automaticTransport as $i, PacketTooLargeError as $l, readGroupWant as $n, HANDOFF_OFFER as $o, vapidKeysMatch as $r, readEnrollHello as $s, SEPOLIA_TEST_USDT_FAUCET as $t, knockRecords as A, GROUP_REACTION_FRAME as Aa, checkAppManifest as Ac, txtValue as Ai, firstDeviceSetSecret as Al, findEndpoint as An, webLocalFetch as Ao, FileUplink as Ar, readHandoffPake as As, didWebDocumentUrl as At, GROUP_READ_NOTE as B, pairedReplyAuthor as Ba, checkAppRevokeStatement as Bc, IdentityExchange as Bi, DEFAULT_RELAYS as Bl, EngineError as Bn, contactRtcConfig as Bo, mayPin as Br, verifySetUpdate as Bs, staticDidDocument as Bt, decodeCommunityLink as C, REMOVED_TEXT as Ca, APP_BUNDLE_LIMITS as Cc, encodeDnsQuery as Ci, TURN_PUT_WINDOW_MS as Cl, pubkyHomeserverOf as Cn, EXPECT_PEER_MS as Co, rankHubs as Cr, handoffVersions as Cs, DID_JWS_MAX_LENGTH as Ct, encodeGroupEntryLink as D, forwardedAgain as Da, appDigest as Dc, recordsFromTxt as Di, turnPutSummary as Dl, ENDPOINT as Dn, GhostlyHttpError as Do, shouldBeHub as Dr, readHandoffDone as Ds, didGhostlyServiceEntry as Dt, decodeGroupEntryLink as E, parseLinkPreview as Ea, APP_PERMISSIONS as Ec, normalizeDomain as Ei, classifyTurnRead as El, decodeBolt11 as En, presenceSeenAt as Eo, readLobby as Er, readHandoffCancel as Es, checkDidSignature as Et, groupWakeFrame as F, reactionEmoji as Fa, sha256Paced as Fc, dialDescriptors as Fi, turnInstance as Fl, INVITE_TAKEN as Fn, RTC_CONFIG as Fo, TypingSender as Fr, SET_UPDATE as Fs, normalizeDid as Ft, GROUP_EDIT_TEXT_BYTES as G, ITEM_STATES as Ga, readAppRevocations as Gc, newIdentityBinding as Gi, SLOW_MS as Gl, GROUP_HAVE_FRAME as Gn, HTTP_SERVICE_PROTO as Go, WAKE_CALL_INTERVAL_MS as Gr, enrollCancelFrame as Gs, encodeDidDhtPacket as Gt, frameBytes as H, replySnippet as Ha, isAppKey as Hc, emptyIdentityLedger as Hi, HEDGE_MS as Hl, engineText as Hn, parseCallSignal as Ho, pinIsNewer as Hr, ENROLL_GRANT as Hs, didDhtDocument as Ht, groupWakes as I, reactionIsNewer as Ia, APP_PREFIXES as Ic, IDENTITY_MAX_EVIDENCE as Ii, turnKeys as Il, LIVENESS_PING_MS as In, answersOffer as Io, sanitizeTypingStatus as Ir, readSetUpdate as Is, parseDid as It, mentionsMember as J, ROUTINE_STATES as Ja, parseImageMeta as Jc, lastSharedWithMe as Ji, setLinkTraceSink as Jl, fetchesByItself as Jn, HANDOFF_ACK as Jo, newWakeToken as Jr, enrollDoneFrame as Js, ETHEREUM_USDT as Jt, carryMentions as K, PR_CHECKS as Ka, signAppObject as Kc, receivedIdentityStatus as Ki, currentRelays as Kl, GROUP_WANT_FRAME as Kn, LEGACY_SERVICES as Ko, WakeLimiter as Kr, enrollCancelReason as Ks, resolveDidDht as Kt, parseGroupWakeFrame as L, readReaction as La, APP_STATEMENT_LIMITS as Lc, IDENTITY_MAX_VALIDITY as Li, turnName as Ll, PAIRED_FRAME_TOO_LARGE as Ln, buildSdpFromSignal as Lo, typingActivity as Lr, setAckFrame as Ls, parseDidDocument as Lt, readKnocks as M, ReactionWindow as Ma, pacer as Mc, CapsExchange as Mi, readTurnPacket as Ml, parseCashuRequestPayload as Mn, decodeControl as Mo, transferStalled as Mr, readHandoffVerified as Ms, didWebFileNames as Mt, GROUP_WAKE_FRAME as N, nextReactionNumber as Na, readAppBundle as Nc, DHT_TEXT_CAPABILITY as Ni, signTurnPacket as Nl, parseFedimintRequestPayload as Nn, encodeControl as No, TYPING_KINDS as Nr, sealHandoffPiece as Ns, didWebFileUrl as Nt, entryParams as O, readForwarded as Oa, appViewOf as Oc, recordsFromWellKnown as Oi, TURN_LAST_SEQUENCE as Ol, cashuRequestPayload as On, formatLocalTarget as Oo, ChatFiles as Or, readHandoffHave as Os, didJwsAlg as Ot, GroupWakeLimiter as P, queueReaction as Pa, readAppBundleAsync as Pc, capsDescriptors as Pi, signTurnRelease as Pl, GhostLink as Pn, CALL_SIGNAL_MAX_AGE_MS as Po, TYPING_REFRESH_MS as Pr, SET_ACK as Ps, didWebHost as Pt, SshSigError as Q, appCardId as Qa, readCanonicalJson as Qc, TRANSPORTS as Qi, withRequestOptions as Ql, readGroupHave as Qn, HANDOFF_HELLO as Qo, checkPushEndpoint as Qr, readEnrollGrant as Qs, SEPOLIA_TEST_USDT as Qt, GROUP_LIMITS as R, validReactionNumber as Ra, appFingerprint as Rc, IDENTITY_REVOCATION_LABEL as Ri, turnStatedVerifier as Rl, pairedMessageFits as Rn, callRtcConfig as Ro, GROUP_PIN_FRAME as Rr, setUpdateFrame as Rs, parseDidSignaturePaste as Rt, communityHasFrame as S, MAX_REMOVAL_NUMBER as Sa, seenEntry as Sc, domainWellKnownFile as Si, webCryptoSigner as Sl, homeserverWebEndpoint as Sn, DHT_POLL_INTERVALS as So, pickHubs as Sr, handoffStreamKey as Ss, DID_FILE_MAX_BYTES as St, KNOCK_TTL_MS as T, dhtEditId as Ta, APP_ICON_PATH as Tc, nip05RootKey as Ti, TURN_SETTLE_MS as Tl, resolveLightningDestination as Tn, WATCH_PEER_MS as To, readBeaconHead as Tr, readHandoffAck as Ts, checkDidJws as Tt, COMMUNITY_EDIT_FRAME as U, BUTTON_ID as Ua, isAppRef as Uc, identityRevocationValue as Ui, RelayTransport as Ul, parseEngineError as Un, signalHasVideo as Uo, pinNumberHolds as Ur, ENROLL_HELLO as Us, didDhtFromPublicKey as Ut, GroupSession as V, readReply as Va, isAppHash as Vc, boundVerifiedIdentity as Vi, HEDGE_MISSING_MS as Vl, engineError as Vn, extractParamsFromSdp as Vo, nextPinNumber as Vr, ENROLL_DONE as Vs, strictBase64Url as Vt, GROUP_EDIT_FRAME as W, CRON_LINE as Wa, readAppRevocation as Wc, identityStatement as Wi, RelaysFailedError as Wl, GROUP_FILE_LIMITS as Wn, emptyLinkRecords as Wo, readPin as Wr, ENROLL_PROOF as Ws, encodeDidDhtDeactivated as Wt, SSHSIG_MAX_ARMOR as X, STATUS_CARD_LIMITS as Xa, canonicalJson as Xc, emptyProofLedger as Xi, budgetRetryMs as Xl, isGroupMessageId as Xn, HANDOFF_DONE as Xo, relayRequest as Xr, enrollHelloFrame as Xs, ONCHAIN_PROVIDER as Xt, groupName as Y, RUN_RESULTS as Ya, readImageMeta as Yc, PeerProofs as Yi, traceLink as Yl, groupFileFallback as Yn, HANDOFF_CANCEL as Yo, parseWakeFrame as Yr, enrollGrantFrame as Ys, EVM_TEST_CHAINS as Yt, SSHSIG_NAMESPACE as Z, TASK_STATUSES as Za, canonicalJsonBytes as Zc, validExternalKey as Zi, isDiscoveryBudgetError as Zl, readGroupFileMeta as Zn, HANDOFF_HAVE as Zo, wakeRequest as Zr, enrollProofFrame as Zs, PaymentPreflightError as Zt, openGroupTyping as _, voiceDownloadName as _a, mergeContactKnocks as _c, readManifest as _i, deviceKeyZ32 as _l, newPubkyProofFolder as _n, rosterHas as _o, lobbyKeys as _r, handoffManifestFrames as _s, parseAtprotoDidDocument as _t, toBase64Url as _u, appStoreDecision as a, DHT_FILE_CAPABILITY as aa, planKnocks as ac, APPS_CAPABILITY as ai, OwnInviteError as al, assertWholeSats as an, arrivalKey as ao, SIGNAL_REPLY_MS as ar, filePartName as as, BitcoinAddressError as at, createIdentity as au, CommunitySession as b, EDIT_BUFFER_MS as ba, readLinkRecord as bc, dnsProofName as bi, newDeviceSetSecret as bl, pubkyProofFile as bn, DirectPathWatch as bo, mergeLobby as br, handoffReleaseFrame as bs, verifyAtprotoRecordProof as bt, utf8Encode as bu, planAppUpdate as c, sanitizeFileName as ca, turnOff as cc, STATUS_CARD_CAPABILITY as ci, encodeInviteCode as cl, walletNetworkOf as cn, receivedTimestamp as co, MESH_HUBS as cr, handoffAttemptSucceeded as cs, ATPROTO_FULL_SCOPE as ct, publicKeyFromZ32 as cu, readAppStore as d, VOICE_LIMITS as da, contactDay as dc, HOLD_DATED_BACK_MS as di, ownInviteRefusal as dl, sparkAddressKind as dn, GROUP_MEMBER_CAP as do, pickMeshHubs as dr, handoffContext as ds, atprotoDidMethod as dt, sanitizeAvatar as du, irohDescriptor as ea, verifyEnrollProof as ec, APP_RANGE_LIMITS as ei, encodeContactLink as el, TEST_USDT_FAUCET_AMOUNT as en, cardLine as eo, readGroupWantNo as er, HANDOFF_PAKE as es, parseSshSignature as et, RELAY_PAYLOAD_MAX_BYTES as eu, readAppStoreSteps as f, VOICE_METER as fa, knockSlotIdentity as fc, HOLD_LIMITS as fi, DEVICES_CAPABILITY as fl, sparkInvoiceDetails as fn, MAX_GROUP_CHAIN as fo, COMMUNITY_TOPOLOGY as fr, handoffContextProof as fs, atprotoProofRecord as ft, sanitizeDisplayText as fu, groupTypingEpoch as g, parseVoiceMeta as ga, makeStampPaced as gc, newMailbox as gi, deviceEchoNonce as gl, isPubkyProofFolder as gn, rosterAdmin as go, freshHubs as gr, handoffHelloFrame as gs, normalizeAtprotoHandle as gt, randomBytes as gu, GroupTypingBoard as h, fileMessageText as ha, linkRecords as hc, isHoldUrl as hi, deviceEchoFrame as hl, isPubkyKey as hn, parseGroupCommit as ho, doorHubs as hr, handoffEphemeral as hs, isAtprotoDid as ht, isZ32Key as hu, appRevocationFor as i, peekDhtMailbox as ia, newInbox as ic, isAppVersion as ii, readDeviceInvite as il, assertTokenUnits as in, statusCardText as io, SIGNAL_HOLD_MS as ir, HANDOFF_VERIFIED as is, verifyBitcoinMessage as it, parseRelayPayload as iu, mergeKnocks as j, REACTION_LIMITS as ja, isAppUrl as jc, wellKnownUrl as ji, nextTurnPosition as jl, isFederationId as jn, LIMITS as jo, transferEnded as jr, readHandoffTurnFrame as js, didWebFile as jt, knockIdentity as k, COMMUNITY_REACTION_FRAME as ka, assembleAppBundle as kc, recordsName as ki, TURN_MAX as kl, fedimintRequestPayload as kn, parseLocalTarget as ko, FILE_LIMITS as kr, readHandoffHello as ks, didSignedMessages as kt, APP_STORE_LIMITS as l, sanitizeMime as la, ContactRequestError as lc, UPGRADE_CAPABILITY as li, inviteLink as ll, SPARK_NETWORKS as ln, shownTime as lo, mayBeHub as lr, handoffBusyFrame as ls, ATPROTO_PROOF_COLLECTION as lt, verify as lu, GROUP_TYPING_FRAME as m, downsamplePeaks as ma, knockSlotRecords as mc, HoldRefusedError as mi, HANDOFF_CAPABILITY as ml, PUBKY_PROOF_MAX_BYTES as mn, commitHash as mo, beaconRecords as mr, handoffDigest as ms, checkAtprotoProofRecord as mt, fromBase64Url as mu, readX401SdJwtVc as n, DHT_FILE_TOO_LARGE as na, endedRequests as nc, APP_DATA_MAX_BYTES as ni, createDeviceInvite as nl, WALLET_NETWORKS as nn, checkStatusCard as no, GROUP_SIGNAL_FRAME as nr, HANDOFF_REQUEST as ns, sshSignCommand as nt, newerPacket as nu, appUpdateDecision as o, dhtFileId as oa, settleRequest as oc, BUTTONS_CAPABILITY as oi, createChatInvite as ol, formatPaymentAmount as on, claimedTime as oo, groupSignalFrame as or, handoffAttemptAllowed as os, decodeAnyBitcoinAddress as ot, identityFromSeed as ou, signAppStore as p, baseMime as pa, knockSlotOf as pc, HoldKeys as pi, ENROLL_CAPABILITY as pl, isBitcoinAddress as pn, MEMBER_KEY as po, beaconKeys as pr, handoffDataFrame as ps, atprotoProofRkey as pt, bytesEqual as pu, parseCommunityEdit as q, PR_STATES as qa, signAppRevocation as qc, revokesIdentity as qi, normalizeRelayUrl as ql, GROUP_WANT_NO_FRAME as qn, serviceIdFromName as qo, deviceWakeRequest as qr, enrollDigits as qs, signDidDhtPacket as qt, sameX401HolderJwk as r, DHT_MESSAGE_TTL as ra, inboxRecord as rc, chatAppId as ri, deviceInviteJoinerParams as rl, arkAddressPrefix as rn, sameButtonText as ro, SIGNAL_FRESH_MS as rr, HANDOFF_TIMINGS as rs, verifySshSignature as rt, openRelayPayload as ru, checkAppBeforeRun as s, formatFileSize as sa, takeRequest as sc, EDIT_CAPABILITY as si, decodeInviteCode as sl, validatePaymentTarget as sn, heardTime as so, readGroupSignal as sr, handoffAttemptFailed as ss, ATPROTO_DECLARED_SCOPE as st, identityFromSeedB64 as su, newX401HolderKey as t, irohRelayUrl as ta, clearMissed as tc, isServeId as ti, readContactLink as tl, USDT_PUBLIC_RPC as tn, cardUrl as to, CarriedTransport as tr, HANDOFF_PIECE_BYTES as ts, sameSshKey as tt, createRelayPayload as tu, checkAppStoreIndex as u, PLAYABLE_AUDIO as ua, REQUEST_LIFETIME_MS as uc, HOLD_CAPABILITY as ui, inviteOwnership as ul, SPARK_PROVIDER as un, GROUP_ADMIN_OFF_ERROR as uo, meshHubs as ur, handoffCancelFrame as us, ATPROTO_PROOF_SCOPE as ut, MAX_AVATAR_LENGTH as uu, sealGroupTyping as v, voiceLevel as va, openRequest as vc, DOMAIN_FILE_MAX_BYTES as vi, deviceLinkPairing as vl, normalizePubkyKey as vn, verifyCommitSignature as vo, lobbyRecords as vr, handoffOfferFrame as vs, shortAtprotoDid as vt, toZ32 as vu, encodeCommunityLink as w, RateWindow as wa, APP_BUNDLE_MAGIC as wc, isPublicAddress as wi, TURN_RAISE_READ_TIMEOUT_MS as wl, requestLnurlInvoice as wn, RELAY_POLL_INTERVALS as wo, readBeacon as wr, newHandoffId as ws, DidError as wt, GROUP_READ_NOTE_COMMUNITY as x, EDIT_RATE_WINDOW_MS as xa, requestRecords as xc, domainTxtRecord as xi, seedSigner as xl, pubkyProofPath as xn, AWAITING_PEER_MS as xo, newerHead as xr, handoffRetryAfter as xs, DID_DOCUMENT_MAX_BYTES as xt, COMMUNITY_LIMITS as y, parseVideoMeta as ya, readKnockSlot as yc, decodeDnsResponse as yi, devicePingFrame as yl, pubkyProofCapability as yn, edgeParams as yo, mergeBeacon as yr, handoffPakeFrame as ys, AtprotoProofError as yt, utf8Decode as yu, GROUP_REACTED_FRAME as z, wireReaction as za, appRef as zc, IdentityCheckUnavailable as zi, turnVerifierMark as zl, pairedMessageFrame as zn, callSignalHeardAt as zo, PIN_LIMITS as zr, signTombstone as zs, signingKeys as zt };
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 };
34099
34283
 
34100
- //# sourceMappingURL=src-BXeGLwWV.js.map
34284
+ //# sourceMappingURL=src-BMHgbkli.js.map