@ghostlytools/cli 1.12.0 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/README.md +5 -5
  2. package/dist/assets/{api-DYMKyb1k.js → api-CVtg7MpI.js} +2 -2
  3. package/dist/assets/{api-DLzCtePC.js → api-CjOaoG-v.js} +53 -27
  4. package/dist/assets/api-CjOaoG-v.js.map +1 -0
  5. package/dist/assets/{apiKit-CVaEzKWQ.js → apiKit-BAGvlQtm.js} +2 -2
  6. package/dist/assets/{apiKit-CVaEzKWQ.js.map → apiKit-BAGvlQtm.js.map} +1 -1
  7. package/dist/assets/{appFetch-D56GsYuq.js → appFetch-BwJd-kNq.js} +2 -2
  8. package/dist/assets/{appFetch-D56GsYuq.js.map → appFetch-BwJd-kNq.js.map} +1 -1
  9. package/dist/assets/{apps-XnZ8VEuj.js → apps-Cuk45sz5.js} +6 -6
  10. package/dist/assets/{apps-XnZ8VEuj.js.map → apps-Cuk45sz5.js.map} +1 -1
  11. package/dist/assets/{apps-BPFW19Wc.js → apps-DjY095Af.js} +1 -1
  12. package/dist/assets/{backup-COX6j1_W.js → backup-B56sQqoQ.js} +1 -1
  13. package/dist/assets/{backup-DpyvT9Z6.js → backup-DekVCDWv.js} +47 -8
  14. package/dist/assets/backup-DekVCDWv.js.map +1 -0
  15. package/dist/assets/bark_ffi_wasm_bg-CcafsJla.js.map +1 -1
  16. package/dist/assets/{bitcoind-DTsrd7TF.js → bitcoind-B2bbVSzh.js} +2 -2
  17. package/dist/assets/{bitcoind-DTsrd7TF.js.map → bitcoind-B2bbVSzh.js.map} +1 -1
  18. package/dist/assets/bitcoindevkit_bg-BWQHx7vd.js.map +1 -1
  19. package/dist/assets/{buttons-BvWqHJeh.js → buttons-BGxzOtrq.js} +27 -6
  20. package/dist/assets/buttons-BGxzOtrq.js.map +1 -0
  21. package/dist/assets/buttons-CsN2WJOf.js +1 -0
  22. package/dist/assets/{client-kGZ3ZdUW.js → client-DcQAfc3h.js} +2 -2
  23. package/dist/assets/{client-kGZ3ZdUW.js.map → client-DcQAfc3h.js.map} +1 -1
  24. package/dist/assets/{endpoint-B0vE5ojY.js → endpoint-Cvu-taMs.js} +42 -5
  25. package/dist/assets/{endpoint-B0vE5ojY.js.map → endpoint-Cvu-taMs.js.map} +1 -1
  26. package/dist/assets/{fixedHosts-CPSsGOI2.js → fixedHosts-C3hBliM9.js} +2 -2
  27. package/dist/assets/{fixedHosts-CPSsGOI2.js.map → fixedHosts-C3hBliM9.js.map} +1 -1
  28. package/dist/assets/{groupMeta-DTQAJG50.js → groupMeta-goASqzOt.js} +135 -37
  29. package/dist/assets/groupMeta-goASqzOt.js.map +1 -0
  30. package/dist/assets/{host-z0FAHP9Z.js → host-C2WRKj3g.js} +105 -32
  31. package/dist/assets/host-C2WRKj3g.js.map +1 -0
  32. package/dist/assets/{hyperdhtRelay-CvsAfQRQ.js → hyperdhtRelay-DLUiwfnt.js} +32 -4
  33. package/dist/assets/hyperdhtRelay-DLUiwfnt.js.map +1 -0
  34. package/dist/assets/{irohWeb-CLBx5MIv.js → irohWeb-NfthOL98.js} +178 -9
  35. package/dist/assets/irohWeb-NfthOL98.js.map +1 -0
  36. package/dist/assets/{main-CVqkvuIo.js → main-Dh7fePd8.js} +49 -32
  37. package/dist/assets/main-Dh7fePd8.js.map +1 -0
  38. package/dist/assets/{mainline-CVrd0C1n.js → mainline-DY95WbuK.js} +2 -2
  39. package/dist/assets/{mainline-CVrd0C1n.js.map → mainline-DY95WbuK.js.map} +1 -1
  40. package/dist/assets/{ownDid-DY3rYqDI.js → ownDid-BErplN7N.js} +2 -2
  41. package/dist/assets/{ownDid-DY3rYqDI.js.map → ownDid-BErplN7N.js.map} +1 -1
  42. package/dist/assets/{ownStatus-DMEhrpkd.js → ownStatus-ClrFjd7h.js} +5 -3
  43. package/dist/assets/ownStatus-ClrFjd7h.js.map +1 -0
  44. package/dist/assets/{profiles-BFSGqDFC.js → profiles-B8xO8-oj.js} +2 -2
  45. package/dist/assets/{profiles-BFSGqDFC.js.map → profiles-B8xO8-oj.js.map} +1 -1
  46. package/dist/assets/{registry-B15Yg_1C.js → registry--Rg2YvOH.js} +1 -1
  47. package/dist/assets/{registry-rXgaZeNn.js → registry-CU8PevhI.js} +38 -30
  48. package/dist/assets/registry-CU8PevhI.js.map +1 -0
  49. package/dist/assets/{relay-Cjfmdec0.js → relay-CHWg5hpZ.js} +73 -11
  50. package/dist/assets/relay-CHWg5hpZ.js.map +1 -0
  51. package/dist/assets/{resolve-CIc3KZMV.js → resolve-B1upovPM.js} +2 -2
  52. package/dist/assets/{resolve-CIc3KZMV.js.map → resolve-B1upovPM.js.map} +1 -1
  53. package/dist/assets/secretGuard-Bm6nci0I.js +1 -0
  54. package/dist/assets/{secretGuard-B4-LlMjv.js → secretGuard-BrATm_gl.js} +33 -9
  55. package/dist/assets/{secretGuard-B4-LlMjv.js.map → secretGuard-BrATm_gl.js.map} +1 -1
  56. package/dist/assets/{server-CQR7NLCz.js → server-Dgxx_DaN.js} +473 -60
  57. package/dist/assets/server-Dgxx_DaN.js.map +1 -0
  58. package/dist/assets/{waitNotice-BGM0QOS2.js → waitNotice-ylU3XwjO.js} +2 -2
  59. package/dist/assets/{waitNotice-BGM0QOS2.js.map → waitNotice-ylU3XwjO.js.map} +1 -1
  60. package/dist/ghostly.mjs +1 -1
  61. package/npm-shrinkwrap.json +2 -2
  62. package/package.json +1 -1
  63. package/dist/assets/api-DLzCtePC.js.map +0 -1
  64. package/dist/assets/backup-DpyvT9Z6.js.map +0 -1
  65. package/dist/assets/buttons-Bq7pTXqF.js +0 -1
  66. package/dist/assets/buttons-BvWqHJeh.js.map +0 -1
  67. package/dist/assets/groupMeta-DTQAJG50.js.map +0 -1
  68. package/dist/assets/host-z0FAHP9Z.js.map +0 -1
  69. package/dist/assets/hyperdhtRelay-CvsAfQRQ.js.map +0 -1
  70. package/dist/assets/irohWeb-CLBx5MIv.js.map +0 -1
  71. package/dist/assets/main-CVqkvuIo.js.map +0 -1
  72. package/dist/assets/ownStatus-DMEhrpkd.js.map +0 -1
  73. package/dist/assets/registry-rXgaZeNn.js.map +0 -1
  74. package/dist/assets/relay-Cjfmdec0.js.map +0 -1
  75. package/dist/assets/secretGuard-BmmnEbYf.js +0 -1
  76. package/dist/assets/server-CQR7NLCz.js.map +0 -1
@@ -1,15 +1,15 @@
1
1
  import { p as fileStore } from "./idb-ewvbqyDI.js";
2
- import { _ as groupPayTwins, d as servedApps, f as nodeLocalFetch, g as groupMessageJson, h as groupJson, l as paymentJson, m as chatMessageJson, p as chatJson, r as callApi, u as reportAppFrames, v as resumeHolds, y as flushCardUpdates } from "./api-DLzCtePC.js";
3
- import { N as sinceSeq, s as findChat, u as findOwnNamedChat } from "./apiKit-CVaEzKWQ.js";
2
+ import { _ as groupPayTwins, d as servedApps, f as nodeLocalFetch, g as groupMessageJson, h as groupJson, l as paymentJson, m as chatMessageJson, p as chatJson, r as callApi, u as reportAppFrames, v as resumeHolds, y as flushCardUpdates } from "./api-CjOaoG-v.js";
3
+ import { N as sinceSeq, s as findChat, u as findOwnNamedChat } from "./apiKit-BAGvlQtm.js";
4
4
  import { r as asCliError, t as CliError } from "./errors-DDLFO4Gf.js";
5
- import { C as ownFolder, D as runtimePath, E as privateFolder, n as RESTORED_MARK, r as acquireLock, w as ownProfile, x as startingPath } from "./profiles-BFSGqDFC.js";
6
- import { _ as frameBytes, b as monotonic, d as proof, f as removeDaemonSecret, g as bytesToMs, h as PlaybackQueue, l as greeting, m as DEFAULT_RATE, u as newDaemonSecret, v as frameSamples, y as isCallRate } from "./client-kGZ3ZdUW.js";
7
- import { Bi as callRtcConfig, Fi as CALL_SIGNAL_MAX_AGE_MS, Gi as signalHasVideo, Li as RTC_CONFIG, Ri as answersOffer, Ui as extractParamsFromSdp, Vi as callSignalHeardAt, Wi as parseCallSignal, Zt as checkPushEndpoint, bi as DAEMON_WATCH_PEER_IDLE_MS, gn as ACTIVE_DHT_POLL_MS, xt as STATUS_IDLE_AFTER_MS, zi as buildSdpFromSignal } from "./groupMeta-DTQAJG50.js";
8
- import { d as parsePayLink, r as irohRelayProblem } from "./irohWeb-CLBx5MIv.js";
5
+ import { C as ownFolder, D as runtimePath, E as privateFolder, n as RESTORED_MARK, r as acquireLock, w as ownProfile, x as startingPath } from "./profiles-B8xO8-oj.js";
6
+ import { _ as frameBytes, b as monotonic, d as proof, f as removeDaemonSecret, g as bytesToMs, h as PlaybackQueue, l as greeting, m as DEFAULT_RATE, u as newDaemonSecret, v as frameSamples, y as isCallRate } from "./client-DcQAfc3h.js";
7
+ import { Bi as buildSdpFromSignal, Gi as parseCallSignal, Hi as callSignalHeardAt, Ii as CALL_SIGNAL_MAX_AGE_MS, Ki as signalHasVideo, Ri as RTC_CONFIG, Vi as callRtcConfig, Wi as extractParamsFromSdp, Zt as checkPushEndpoint, bi as DAEMON_WATCH_PEER_IDLE_MS, gn as ACTIVE_DHT_POLL_MS, xt as STATUS_IDLE_AFTER_MS, zi as answersOffer } from "./groupMeta-goASqzOt.js";
8
+ import { d as parsePayLink, r as irohRelayProblem } from "./irohWeb-NfthOL98.js";
9
9
  import { i as fromBase64Url } from "./bytes-C1DNGY18.js";
10
- import { u as setLinkTraceSink } from "./relay-Cjfmdec0.js";
10
+ import { u as setLinkTraceSink } from "./relay-CHWg5hpZ.js";
11
11
  import { b as setPublicKeyFastPath } from "./pkarr-BQo4PcCg.js";
12
- import { p as nativePublicKey } from "./apps-XnZ8VEuj.js";
12
+ import { p as nativePublicKey } from "./apps-Cuk45sz5.js";
13
13
  import { n as fedimintSdkOn } from "./fedimintSdk-D-6H9Pe7.js";
14
14
  import { s as isPublicAddress } from "./domainProofs-BDNP1dIy.js";
15
15
  import { createRequire } from "node:module";
@@ -1232,6 +1232,11 @@ var CallManager = class {
1232
1232
  if (signal.ts <= (this.lastSignal.get(chat) ?? 0)) return;
1233
1233
  const call = this.byChat(chat);
1234
1234
  if (signal.t === "r" || signal.t === "a" && signal.re !== void 0) return;
1235
+ if (signal.t === "o" && call?.state === "connected") {
1236
+ this.lastSignal.set(chat, signal.ts);
1237
+ this.yieldTo(call, signal, "remote-hangup");
1238
+ return;
1239
+ }
1235
1240
  if (call?.state === "connected" && signal.t !== "h" && signal.t !== "v") return;
1236
1241
  if (signal.t === "o" && !call) {
1237
1242
  this.lastSignal.set(chat, signal.ts);
@@ -1271,11 +1276,12 @@ var CallManager = class {
1271
1276
  }
1272
1277
  }
1273
1278
  /**
1274
- * The contact's offer won a glare: our call ends as `crossed`, sending nothing (a hang-up would end the contact's
1275
- * call, and clearing our signal could drop an answer we are about to give), and the contact's call rings here.
1279
+ * The contact's offer won a glare (`crossed`), or came from their app starting over on a connected call
1280
+ * (`remote-hangup`): our call ends, sending no hang-up (it would end the contact's call; a glare's also keeps our
1281
+ * signal, as clearing it could drop an answer we are about to give), and the contact's call rings here.
1276
1282
  */
1277
- async yieldTo(call, offer) {
1278
- await this.end(call, "crossed", false);
1283
+ async yieldTo(call, offer, reason = "crossed") {
1284
+ await this.end(call, reason, false);
1279
1285
  if (this.lastSignal.get(call.chat) !== offer.ts || this.byChat(call.chat) || this.stopping) return;
1280
1286
  this.incoming(call.chat, offer);
1281
1287
  }
@@ -4037,6 +4043,58 @@ function nodeHoldFetch(lookup = publicOnlyLookup) {
4037
4043
  req.end();
4038
4044
  });
4039
4045
  }
4046
+ // src/runtime/publicFetch.ts
4047
+ var MAX_REDIRECTS = 5;
4048
+ /**
4049
+ * How the CLI reads an identity's proof and public data (WISP 300, PUBLIC-PROFILES.md) at the address a contact named:
4050
+ * HTTPS GET only at a public address, or at a name whose every address is public, checked when the connection is made
4051
+ * (so a name that changes its answer after the engine's own check is refused too). No proxy. A redirect is refused
4052
+ * unless asked for, and each hop is checked the same way. The engine bounds the size and time (`boundedIdentityFetch`).
4053
+ */
4054
+ function nodePublicFetch(lookup = publicOnlyLookup) {
4055
+ const get = (url, headers, signal) => new Promise((resolve, reject) => {
4056
+ if (url.protocol !== "https:") return reject(/* @__PURE__ */ new TypeError("Only HTTPS is read"));
4057
+ const host = url.hostname.replace(/^\[|\]$/g, "");
4058
+ if (isIP(host) && !isPublicIp(host)) return reject(/* @__PURE__ */ new TypeError(`${host} is not a public address`));
4059
+ const req = request(url, {
4060
+ method: "GET",
4061
+ headers: Object.fromEntries(headers),
4062
+ lookup,
4063
+ agent: false,
4064
+ signal
4065
+ }, (res) => {
4066
+ const out = new Headers();
4067
+ for (const [name, value] of Object.entries(res.headers)) if (typeof value === "string") out.set(name, value);
4068
+ const status = res.statusCode ?? 0;
4069
+ resolve(new Response(status === 204 || status === 304 ? null : Readable.toWeb(res), {
4070
+ status,
4071
+ headers: out
4072
+ }));
4073
+ });
4074
+ req.on("error", reject);
4075
+ req.end();
4076
+ });
4077
+ return async (input, init) => {
4078
+ let url = new URL(typeof input === "string" ? input : input instanceof URL ? input.href : input.url);
4079
+ if ((init?.method ?? "GET").toUpperCase() !== "GET") throw new TypeError("Only GET is sent");
4080
+ const headers = new Headers(init?.headers);
4081
+ const signal = init?.signal ?? void 0;
4082
+ for (let hops = 0;; hops++) {
4083
+ const response = await get(url, headers, signal);
4084
+ const location = response.headers.get("location");
4085
+ if (response.status < 300 || response.status > 399 || !location || init?.redirect === "manual") {
4086
+ if (hops) Object.defineProperties(response, {
4087
+ url: { value: url.href },
4088
+ redirected: { value: true }
4089
+ });
4090
+ return response;
4091
+ }
4092
+ await response.body?.cancel();
4093
+ if (init?.redirect !== "follow" || hops >= MAX_REDIRECTS) throw new TypeError("Redirect refused");
4094
+ url = new URL(location, url);
4095
+ }
4096
+ };
4097
+ }
4040
4098
  // src/runtime/irohRelay.ts
4041
4099
  /**
4042
4100
  * Whether the CLI's Iroh may dial a contact through the relay its descriptor names (irohWeb.ts `publicRelay`): at a
@@ -4821,6 +4879,8 @@ async function openPersistentIndexedDb(dir, options = {}) {
4821
4879
  let unsynced = [];
4822
4880
  /** The syncs running off the thread, one after another, until no `complete` waits for one. */
4823
4881
  let syncing = null;
4882
+ /** The `complete`s of transactions whose entries wait in the queue (`append`). */
4883
+ let held = 0;
4824
4884
  /** The last journal entry whose layers wait for `applying` to take them to SQLite. */
4825
4885
  let applyUpTo = 0;
4826
4886
  let applying = null;
@@ -4975,17 +5035,17 @@ async function openPersistentIndexedDb(dir, options = {}) {
4975
5035
  const ops = pending.get(this._rollbackLog);
4976
5036
  if (!ops?.length) trees?.abort(this._rollbackLog);
4977
5037
  if (ops?.length) entry = ++seq;
4978
- const appended = ops?.length ? append(ops, this.durability === "relaxed", entry, this._rollbackLog) : null;
4979
- if (appended && appended !== "unsynced") return refuse(this, appended.error, event);
4980
- waits = appended === "unsynced";
5038
+ const appended = ops?.length ? append(ops, this.durability === "relaxed", entry, this._rollbackLog, () => dispatch.call(this, event)) : null;
5039
+ if (appended && typeof appended === "object") return refuse(this, appended.error, event);
5040
+ waits = appended !== null;
5041
+ if (appended === "unsynced") shareSync(() => {
5042
+ written(entry);
5043
+ dispatch.call(this, event);
5044
+ });
4981
5045
  }
4982
5046
  pending.delete(this._rollbackLog);
4983
5047
  if (schemaDirty) enqueue(writeSnapshot);
4984
5048
  if (waits) {
4985
- shareSync(() => {
4986
- written(entry);
4987
- dispatch.call(this, event);
4988
- });
4989
5049
  this.db._rawDatabase.processTransactions(event);
4990
5050
  return true;
4991
5051
  }
@@ -5008,8 +5068,11 @@ async function openPersistentIndexedDb(dir, options = {}) {
5008
5068
  * A committed transaction's entry, numbered `entry` (its first op says so, where there are trees), from the
5009
5069
  * transaction whose rollback log is `owner`. Written at once, it may fail (a full disk): the reason is given back,
5010
5070
  * and the transaction is to be refused, not completed. "unsynced": written, and its `complete` waits for a sync.
5071
+ * "queued": written behind what the queue holds (a fold, a Blob's entry), and `complete` called once it is: what
5072
+ * completed before was on no disk while the fold waited for the sync in flight, and a process killed then lost a
5073
+ * text the engine had told the contact it held.
5011
5074
  */
5012
- function append(ops, lazy, entry, owner) {
5075
+ function append(ops, lazy, entry, owner, complete) {
5013
5076
  holdsDelete ||= ops.some(deletes);
5014
5077
  if (trees) ops = [{
5015
5078
  db: SEQ,
@@ -5030,13 +5093,22 @@ async function openPersistentIndexedDb(dir, options = {}) {
5030
5093
  return null;
5031
5094
  }
5032
5095
  trees?.complete(owner, entry);
5096
+ held++;
5033
5097
  enqueue(async () => {
5034
- if (writeEntry(serialize(await Promise.all(ops.map(async (op) => op.kind === "put" ? {
5035
- ...op,
5036
- value: await blobsToDisk(op.value)
5037
- } : op))), lazy ? "lazy" : "now")) written(entry);
5098
+ try {
5099
+ if (writeEntry(serialize(await Promise.all(ops.map(async (op) => op.kind === "put" ? {
5100
+ ...op,
5101
+ value: await blobsToDisk(op.value)
5102
+ } : op))), lazy ? "lazy" : "now")) written(entry);
5103
+ } catch (error) {
5104
+ failed(error);
5105
+ await writeSnapshot().catch(failed);
5106
+ }
5107
+ }).then(() => {
5108
+ held--;
5109
+ complete();
5038
5110
  });
5039
- return null;
5111
+ return "queued";
5040
5112
  }
5041
5113
  /**
5042
5114
  * A transaction whose entry the disk did not take: what it wrote is undone (as fake-indexeddb's own abort does), and
@@ -5185,7 +5257,7 @@ async function openPersistentIndexedDb(dir, options = {}) {
5185
5257
  * (5 ms on a Mac's SSD, where it flushes the drive's cache), one per transaction: 8 sends at once went no faster than
5186
5258
  * 1, and every other call waited behind them. It runs off the thread now, and every entry written while it runs
5187
5259
  * goes with the next one. One that fails leaves what the journal has unsure: the store is folded into a whole
5188
- * snapshot before the `complete`s go (they go even if that fails, as a Blob's entry written late does).
5260
+ * snapshot before the `complete`s go (they go even if that fails, as a queued entry's does).
5189
5261
  */
5190
5262
  function shareSync(done) {
5191
5263
  unsynced.push(done);
@@ -5426,9 +5498,9 @@ async function openPersistentIndexedDb(dir, options = {}) {
5426
5498
  quiet = busy() ? 0 : quiet + 1;
5427
5499
  }
5428
5500
  }
5429
- /** Whether a transaction is running or waiting to, or for the sync that tells the engine it completed. */
5501
+ /** Whether a transaction is running or waiting to, or for the sync or the queued write that tells the engine it completed. */
5430
5502
  function busy() {
5431
- return syncing !== null || [...raw._databases.values()].some((db) => db.transactions.some((transaction) => transaction._state !== "finished"));
5503
+ return syncing !== null || held > 0 || [...raw._databases.values()].some((db) => db.transactions.some((transaction) => transaction._state !== "finished"));
5432
5504
  }
5433
5505
  const installed = globalThis;
5434
5506
  installed.indexedDB = factory;
@@ -6513,8 +6585,8 @@ async function startRuntime(paths, options = {}) {
6513
6585
  const [{ registerFileBytes }, { NodeFileBytes }] = await Promise.all([import("./fileBytes-CCKbwqG_.js"), import("./fileBytes-tj6-VZcB.js")]);
6514
6586
  registerFileBytes("native", async () => new NodeFileBytes(paths.files), true);
6515
6587
  if (await (await import("./blobFiles-DDs34n0r.js")).moveBlobFiles()) await store.compact();
6516
- const [{ EngineServer }, { createHyperEndpoint }] = await Promise.all([import("./server-CQR7NLCz.js"), import("./endpoint-B0vE5ojY.js")]);
6517
- const mainline = dht.off ? null : new (await (import("./mainline-CVrd0C1n.js"))).Mainline({
6588
+ const [{ EngineServer }, { createHyperEndpoint }] = await Promise.all([import("./server-Dgxx_DaN.js"), import("./endpoint-Cvu-taMs.js")]);
6589
+ const mainline = dht.off ? null : new (await (import("./mainline-DY95WbuK.js"))).Mainline({
6518
6590
  bootstrap: dht.bootstrap,
6519
6591
  host: dht.host
6520
6592
  });
@@ -6522,7 +6594,7 @@ async function startRuntime(paths, options = {}) {
6522
6594
  ...pinned ? { relays: pinned } : {},
6523
6595
  ...relayBudgetForTests()
6524
6596
  };
6525
- const transport = mainline || pinned ? new (await (import("./mainline-CVrd0C1n.js"))).RelaysAndDht(mainline, relayOptions, !!pinned) : null;
6597
+ const transport = mainline || pinned ? new (await (import("./mainline-DY95WbuK.js"))).RelaysAndDht(mainline, relayOptions, !!pinned) : null;
6526
6598
  const apps = servedApps(paths.dir).length > 0;
6527
6599
  const server = new EngineServer({
6528
6600
  ...transport ? { transport } : {},
@@ -6541,6 +6613,7 @@ async function startRuntime(paths, options = {}) {
6541
6613
  localFetch: nodeLocalFetch,
6542
6614
  pushSend: (request) => nodePushSend(request),
6543
6615
  holdFetch: nodeHoldFetch(),
6616
+ identityFetch: nodePublicFetch(),
6544
6617
  webrtcIgnoresRelayOnly: true,
6545
6618
  callsSupport: callsUnavailable === null,
6546
6619
  ...callsUnavailable ? { callsUnavailable } : {},
@@ -6981,4 +7054,4 @@ function connection(ctx, socket, secret, answering) {
6981
7054
  }
6982
7055
  export { BASELINE_NEWEST, MAX_UNREAD, STOP_ANSWERS_MS, keepServing, openHost, serve };
6983
7056
 
6984
- //# sourceMappingURL=host-z0FAHP9Z.js.map
7057
+ //# sourceMappingURL=host-C2WRKj3g.js.map