@ghostlytools/cli 1.7.0 → 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.
- package/README.md +15 -8
- package/dist/assets/{api-BIqr8SpM.js → api-CD9JbPuA.js} +99 -28
- package/dist/assets/api-CD9JbPuA.js.map +1 -0
- package/dist/assets/{api-BnCmJLiQ.js → api-CJM3R93b.js} +2 -2
- package/dist/assets/{apiKit-CWalYh1t.js → apiKit-BmnROpCN.js} +8 -4
- package/dist/assets/{apiKit-CWalYh1t.js.map → apiKit-BmnROpCN.js.map} +1 -1
- package/dist/assets/{apps-_hVUaHIT.js → apps-CJ2dvKSz.js} +1 -1
- package/dist/assets/{apps-Bx3tXbJ9.js → apps-DVA60Tg6.js} +34 -11
- package/dist/assets/apps-DVA60Tg6.js.map +1 -0
- package/dist/assets/{arkade-AxrcyS1C.js → arkade-CHqwEHFd.js} +2 -2
- package/dist/assets/{arkade-AxrcyS1C.js.map → arkade-CHqwEHFd.js.map} +1 -1
- package/dist/assets/{backup-Y1V1Yxqr.js → backup-B4dSNvzb.js} +5 -5
- package/dist/assets/{backup-Y1V1Yxqr.js.map → backup-B4dSNvzb.js.map} +1 -1
- package/dist/assets/{backup-d_XvXpEK.js → backup-C4CbTEcj.js} +1 -1
- package/dist/assets/{blobFiles-B6nf0gCG.js → blobFiles-Bckz9fjp.js} +2 -2
- package/dist/assets/{blobFiles-B6nf0gCG.js.map → blobFiles-Bckz9fjp.js.map} +1 -1
- package/dist/assets/buttons-BMVGYXpR.js +2 -0
- package/dist/assets/{buttons-BiQyQBb0.js → buttons-C13rK2mH.js} +3 -3
- package/dist/assets/{buttons-BiQyQBb0.js.map → buttons-C13rK2mH.js.map} +1 -1
- package/dist/assets/{daemonProof-ui8jtIw0.js → daemonProof-B41oSfon.js} +2 -2
- package/dist/assets/{daemonProof-ui8jtIw0.js.map → daemonProof-B41oSfon.js.map} +1 -1
- package/dist/assets/{envelope-D3oeVhv8.js → envelope-4TXDx3vD.js} +2 -2
- package/dist/assets/{envelope-D3oeVhv8.js.map → envelope-4TXDx3vD.js.map} +1 -1
- package/dist/assets/{fileBytes-BMEBas7S.js → fileBytes-BD0v3rRG.js} +10 -2
- package/dist/assets/{fileBytes-BMEBas7S.js.map → fileBytes-BD0v3rRG.js.map} +1 -1
- package/dist/assets/{fileBytes-CtwagJ8h.js → fileBytes-OolN5cSY.js} +1 -1
- package/dist/assets/{fileBytes-CFNrRfcl.js → fileBytes-_fd-2JRY.js} +2 -2
- package/dist/assets/{fileBytes-CFNrRfcl.js.map → fileBytes-_fd-2JRY.js.map} +1 -1
- package/dist/assets/fileBytesIdb-CsSQcSxD.js +2 -0
- package/dist/assets/{fileBytesIdb-BXAN7i-N.js → fileBytesIdb-NtA8r9EM.js} +2 -2
- package/dist/assets/{fileBytesIdb-BXAN7i-N.js.map → fileBytesIdb-NtA8r9EM.js.map} +1 -1
- package/dist/assets/{fileBytesOpfs-Do1Vpkis.js → fileBytesOpfs-B8fJwkwM.js} +3 -3
- package/dist/assets/{fileBytesOpfs-Do1Vpkis.js.map → fileBytesOpfs-B8fJwkwM.js.map} +1 -1
- package/dist/assets/{ghostly_iroh_web-BXCsSxxo.js → ghostly_iroh_web-CO0onry8.js} +33 -27
- package/dist/assets/ghostly_iroh_web-CO0onry8.js.map +1 -0
- package/dist/assets/ghostly_iroh_web_bg.wasm +0 -0
- package/dist/assets/{groupFiles-DU1wMGI9.js → groupFiles-ajZgZ6P8.js} +41 -25
- package/dist/assets/groupFiles-ajZgZ6P8.js.map +1 -0
- package/dist/assets/{host-DDMQfR7B.js → host-CVeNtA2_.js} +43 -20
- package/dist/assets/host-CVeNtA2_.js.map +1 -0
- package/dist/assets/{hyperdhtRelay-B2v8eqRd.js → hyperdhtRelay-CI2ISE-g.js} +2 -2
- package/dist/assets/{hyperdhtRelay-B2v8eqRd.js.map → hyperdhtRelay-CI2ISE-g.js.map} +1 -1
- package/dist/assets/{irohWeb-9RVIbF_l.js → irohWeb-DcRJdhce.js} +3 -3
- package/dist/assets/{irohWeb-9RVIbF_l.js.map → irohWeb-DcRJdhce.js.map} +1 -1
- package/dist/assets/{main-BNwNEPEy.js → main-CjO0KGiF.js} +218 -70
- package/dist/assets/main-CjO0KGiF.js.map +1 -0
- package/dist/assets/{mainline-RXv5_Fby.js → mainline-WM-WItCV.js} +27 -8
- package/dist/assets/mainline-WM-WItCV.js.map +1 -0
- package/dist/assets/{networkReason-CIn4yN9h.js → networkReason-380j5yMs.js} +2 -2
- package/dist/assets/{networkReason-CIn4yN9h.js.map → networkReason-380j5yMs.js.map} +1 -1
- package/dist/assets/{nwc-BNPzuT-6.js → nwc-D5dkC1xg.js} +3 -3
- package/dist/assets/{nwc-BNPzuT-6.js.map → nwc-D5dkC1xg.js.map} +1 -1
- package/dist/assets/{nwcProvider-C9Y6PUNC.js → nwcProvider-p_rMwtDv.js} +2 -2
- package/dist/assets/{nwcProvider-C9Y6PUNC.js.map → nwcProvider-p_rMwtDv.js.map} +1 -1
- package/dist/assets/{profiles-CEnZfN78.js → profiles-BFd0tpCZ.js} +91 -19
- package/dist/assets/profiles-BFd0tpCZ.js.map +1 -0
- package/dist/assets/{registry-DOkDhUAu.js → registry-BKffx4ZU.js} +1 -1
- package/dist/assets/{registry-B9aYHNNf.js → registry-BfNcA6kF.js} +3 -3
- package/dist/assets/{registry-B9aYHNNf.js.map → registry-BfNcA6kF.js.map} +1 -1
- package/dist/assets/{resolve-imkCgogd.js → resolve-hUsgRkmm.js} +2 -2
- package/dist/assets/{resolve-imkCgogd.js.map → resolve-hUsgRkmm.js.map} +1 -1
- package/dist/assets/{server-CB9_JuWZ.js → server-C3tJZFnv.js} +422 -149
- package/dist/assets/server-C3tJZFnv.js.map +1 -0
- package/dist/assets/{src-BBG_NwMc.js → src-BMHgbkli.js} +219 -62
- package/dist/assets/src-BMHgbkli.js.map +1 -0
- package/dist/assets/{translate-BcP139SV.js → translate-DJUutSis.js} +2 -2
- package/dist/assets/{translate-BcP139SV.js.map → translate-DJUutSis.js.map} +1 -1
- package/dist/assets/types-C4_KafL_.js.map +1 -1
- package/dist/assets/{usdt-C5Gf9-IC.js → usdt-glkUxsDe.js} +3 -3
- package/dist/assets/{usdt-C5Gf9-IC.js.map → usdt-glkUxsDe.js.map} +1 -1
- package/dist/assets/{words-ZUiQo4yo.js → words-DyW9b27T.js} +2 -2
- package/dist/assets/{words-ZUiQo4yo.js.map → words-DyW9b27T.js.map} +1 -1
- package/dist/ghostly.mjs +1 -1
- package/package.json +1 -1
- package/dist/assets/api-BIqr8SpM.js.map +0 -1
- package/dist/assets/apps-Bx3tXbJ9.js.map +0 -1
- package/dist/assets/buttons-LO3Ql1Hd.js +0 -2
- package/dist/assets/fileBytesIdb-C20oXDdr.js +0 -2
- package/dist/assets/ghostly_iroh_web-BXCsSxxo.js.map +0 -1
- package/dist/assets/groupFiles-DU1wMGI9.js.map +0 -1
- package/dist/assets/host-DDMQfR7B.js.map +0 -1
- package/dist/assets/main-BNwNEPEy.js.map +0 -1
- package/dist/assets/mainline-RXv5_Fby.js.map +0 -1
- package/dist/assets/profiles-CEnZfN78.js.map +0 -1
- package/dist/assets/server-CB9_JuWZ.js.map +0 -1
- package/dist/assets/src-BBG_NwMc.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
|
-
|
|
6059
|
-
|
|
6060
|
-
|
|
6061
|
-
|
|
6062
|
-
|
|
6063
|
-
|
|
6064
|
-
|
|
6065
|
-
|
|
6066
|
-
|
|
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`).
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
7105
|
+
listening.signal.removeEventListener("abort", done);
|
|
7011
7106
|
resolve();
|
|
7012
7107
|
};
|
|
7013
7108
|
dc.addEventListener("bufferedamountlow", done);
|
|
7014
|
-
|
|
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",
|
|
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
|
|
@@ -8805,7 +8904,7 @@ var DataLink = class {
|
|
|
8805
8904
|
let stalled = null;
|
|
8806
8905
|
for (let attempt = 1;; attempt++) {
|
|
8807
8906
|
const pc = this.createConnection();
|
|
8808
|
-
stalled
|
|
8907
|
+
if (stalled) this.closeConnection(stalled);
|
|
8809
8908
|
await describe(pc);
|
|
8810
8909
|
if (this.pc !== pc) return null;
|
|
8811
8910
|
const gathering = Date.now();
|
|
@@ -8840,6 +8939,9 @@ var DataLink = class {
|
|
|
8840
8939
|
createConnection() {
|
|
8841
8940
|
const pc = this.options.createPeerConnection();
|
|
8842
8941
|
this.pc = pc;
|
|
8942
|
+
const ended = new AbortController();
|
|
8943
|
+
this.ends.set(pc, ended);
|
|
8944
|
+
const { signal } = ended;
|
|
8843
8945
|
const dc = pc.createDataChannel(DATA_CHANNEL_LABEL, {
|
|
8844
8946
|
negotiated: true,
|
|
8845
8947
|
id: 0,
|
|
@@ -8855,12 +8957,12 @@ var DataLink = class {
|
|
|
8855
8957
|
this.options.setFastPoll(false);
|
|
8856
8958
|
this.options.publishSignal(null);
|
|
8857
8959
|
this.options.onDirect?.("open");
|
|
8858
|
-
this.options.onOpen(wrapDataChannel(dc));
|
|
8960
|
+
this.options.onOpen(wrapDataChannel(dc, signal));
|
|
8859
8961
|
tracePair(this.options.myPubKeyZ32, pc);
|
|
8860
|
-
});
|
|
8962
|
+
}, { signal });
|
|
8861
8963
|
dc.addEventListener("close", () => {
|
|
8862
8964
|
if (this.pc === pc) this.failed(true);
|
|
8863
|
-
});
|
|
8965
|
+
}, { signal });
|
|
8864
8966
|
pc.addEventListener("connectionstatechange", () => {
|
|
8865
8967
|
if (this.pc !== pc) return;
|
|
8866
8968
|
if (this.disconnectTimer) {
|
|
@@ -8875,7 +8977,7 @@ var DataLink = class {
|
|
|
8875
8977
|
if (this.pc === pc) this.failed();
|
|
8876
8978
|
}, DISCONNECT_GRACE_MS);
|
|
8877
8979
|
}
|
|
8878
|
-
});
|
|
8980
|
+
}, { signal });
|
|
8879
8981
|
this.startAttemptTimer(pc);
|
|
8880
8982
|
return pc;
|
|
8881
8983
|
}
|
|
@@ -8908,9 +9010,19 @@ var DataLink = class {
|
|
|
8908
9010
|
this.myOfferTs = 0;
|
|
8909
9011
|
this.remoteSdp = null;
|
|
8910
9012
|
if (!pc) return false;
|
|
8911
|
-
|
|
9013
|
+
this.closeConnection(pc);
|
|
8912
9014
|
return true;
|
|
8913
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
|
+
}
|
|
8914
9026
|
reset() {
|
|
8915
9027
|
const wasOpen = this.state === "open";
|
|
8916
9028
|
const hadConnection = this.teardown();
|
|
@@ -10646,10 +10758,12 @@ var EXTENSIONS = {
|
|
|
10646
10758
|
"audio/aac": "aac",
|
|
10647
10759
|
"audio/wav": "wav"
|
|
10648
10760
|
};
|
|
10761
|
+
/** A time no date can hold (past Date's end, NaN) makes a name without one, never "NaN-NaN-NaN". */
|
|
10649
10762
|
function voiceName(prefix, mime, timestamp) {
|
|
10650
|
-
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}`;
|
|
10651
10765
|
const pad = (n) => String(n).padStart(2, "0");
|
|
10652
|
-
return `${prefix} ${`${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())} ${pad(date.getHours())}.${pad(date.getMinutes())}.${pad(date.getSeconds())}`}.${
|
|
10766
|
+
return `${prefix} ${`${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())} ${pad(date.getHours())}.${pad(date.getMinutes())}.${pad(date.getSeconds())}`}.${extension}`;
|
|
10653
10767
|
}
|
|
10654
10768
|
/**
|
|
10655
10769
|
* The name a downloaded voice message is saved under, made here from the message's time and its
|
|
@@ -16275,6 +16389,12 @@ var AppRanges = class {
|
|
|
16275
16389
|
draining = /* @__PURE__ */ new Set();
|
|
16276
16390
|
asking = /* @__PURE__ */ new Map();
|
|
16277
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();
|
|
16278
16398
|
nextRequest = 0;
|
|
16279
16399
|
/** The asks taken in the last second (when, how many bytes) and their sum: what `bytesPerSecond` counts. Kept across sessions. */
|
|
16280
16400
|
taken = [];
|
|
@@ -16284,9 +16404,13 @@ var AppRanges = class {
|
|
|
16284
16404
|
this.newServeId = newServeId;
|
|
16285
16405
|
this.now = now;
|
|
16286
16406
|
}
|
|
16287
|
-
/**
|
|
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
|
+
*/
|
|
16288
16411
|
serve(app, file) {
|
|
16289
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;
|
|
16290
16414
|
let id = this.newServeId();
|
|
16291
16415
|
while (this.serves.has(id)) id = this.newServeId();
|
|
16292
16416
|
this.serves.set(id, {
|
|
@@ -16320,15 +16444,20 @@ var AppRanges = class {
|
|
|
16320
16444
|
return null;
|
|
16321
16445
|
}
|
|
16322
16446
|
const at = this.now();
|
|
16323
|
-
while (this.taken.length && this.taken[0].at <= at - 1e3)
|
|
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
|
+
}
|
|
16324
16452
|
if (this.takenBytes + frame.n > APP_RANGE_LIMITS.bytesPerSecond) {
|
|
16325
16453
|
this.send(appRangeErrorFrame(app, request, "busy"));
|
|
16326
16454
|
return null;
|
|
16327
16455
|
}
|
|
16328
|
-
|
|
16456
|
+
const charge = {
|
|
16329
16457
|
at,
|
|
16330
16458
|
bytes: frame.n
|
|
16331
|
-
}
|
|
16459
|
+
};
|
|
16460
|
+
this.taken.push(charge);
|
|
16332
16461
|
this.takenBytes += frame.n;
|
|
16333
16462
|
const task = {
|
|
16334
16463
|
app,
|
|
@@ -16337,7 +16466,8 @@ var AppRanges = class {
|
|
|
16337
16466
|
file: serve.file,
|
|
16338
16467
|
offset: frame.o,
|
|
16339
16468
|
length: frame.n,
|
|
16340
|
-
live: true
|
|
16469
|
+
live: true,
|
|
16470
|
+
charge
|
|
16341
16471
|
};
|
|
16342
16472
|
this.serving.set(slot(app, request), task);
|
|
16343
16473
|
return task;
|
|
@@ -16349,7 +16479,13 @@ var AppRanges = class {
|
|
|
16349
16479
|
}
|
|
16350
16480
|
/** Every byte of `task` was sent: `ar-end` goes with the file's size, unless the task was dropped meanwhile. */
|
|
16351
16481
|
finish(task, size) {
|
|
16352
|
-
if (this.take(task))
|
|
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));
|
|
16353
16489
|
}
|
|
16354
16490
|
/** The file under `task` could not be read: `ar-err` goes in place of the rest, unless the task was dropped meanwhile. */
|
|
16355
16491
|
fail(task, error) {
|
|
@@ -16369,6 +16505,8 @@ var AppRanges = class {
|
|
|
16369
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. */
|
|
16370
16506
|
read(app, serve, offset, length) {
|
|
16371
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);
|
|
16372
16510
|
return new Promise((resolve, reject) => {
|
|
16373
16511
|
const ask = {
|
|
16374
16512
|
app,
|
|
@@ -16404,10 +16542,12 @@ var AppRanges = class {
|
|
|
16404
16542
|
if (frame.t === "ar-err") return this.settle(ask, [
|
|
16405
16543
|
"not-served",
|
|
16406
16544
|
"changed",
|
|
16407
|
-
"gone"
|
|
16545
|
+
"gone",
|
|
16546
|
+
"busy"
|
|
16408
16547
|
].find((code) => code === frame.e) ?? "failed");
|
|
16409
16548
|
if (ask.got !== Math.max(0, Math.min(ask.length, frame.z - ask.offset))) return this.settle(ask, "failed");
|
|
16410
16549
|
this.settle(ask);
|
|
16550
|
+
this.sizes.set(`${ask.app} ${ask.serve}`, frame.z);
|
|
16411
16551
|
ask.resolve({
|
|
16412
16552
|
bytes: concatBytes$1(...ask.chunks),
|
|
16413
16553
|
size: frame.z
|
|
@@ -16421,9 +16561,11 @@ var AppRanges = class {
|
|
|
16421
16561
|
for (const ask of this.waiting.get(app) ?? []) ask.reject(new Error(error));
|
|
16422
16562
|
this.waiting.delete(app);
|
|
16423
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);
|
|
16424
16565
|
}
|
|
16425
16566
|
/** The session ended: no serve id lasts into the next, and every request fails with `offline`. */
|
|
16426
16567
|
reset() {
|
|
16568
|
+
this.sizes.clear();
|
|
16427
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)));
|
|
16428
16570
|
for (const app of apps) this.closeApp(app, "offline");
|
|
16429
16571
|
}
|
|
@@ -29596,6 +29738,7 @@ var GroupSession = class {
|
|
|
29596
29738
|
const previous = this.top;
|
|
29597
29739
|
const roster = expectedRoster(previous.m, kind, this.myKey, subject);
|
|
29598
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.");
|
|
29599
29742
|
const epoch = previous.e + 1;
|
|
29600
29743
|
const secret = newEpochSecret();
|
|
29601
29744
|
const draft = {
|
|
@@ -30843,19 +30986,24 @@ var GroupSession = class {
|
|
|
30843
30986
|
/**
|
|
30844
30987
|
* Who made the change a statement brings me: its signer, when they were the admin all along since the statement I
|
|
30845
30988
|
* held (or, with none, since I got in). A new admin signs again what the last one set (`metaFollowsChain`): to a
|
|
30846
|
-
* 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.
|
|
30847
30991
|
*/
|
|
30848
30992
|
metaAuthor(before, s) {
|
|
30849
30993
|
const chain = this.state.chain, from = before ? before.e : chain.findIndex((c) => rosterHas(c.m, this.myKey));
|
|
30850
|
-
|
|
30851
|
-
|
|
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;
|
|
30852
31000
|
}
|
|
30853
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. */
|
|
30854
31002
|
async metaFollowsChain() {
|
|
30855
31003
|
const pending = this.pendingMeta;
|
|
30856
31004
|
this.pendingMeta = void 0;
|
|
30857
31005
|
if (pending) await this.receiveMeta(pending.from, pending.frame);
|
|
30858
|
-
if (this.isAdmin && this.state.meta && this.state.meta.by !== this.myKey) await this.publishMeta(this.state.meta.body,
|
|
31006
|
+
if (this.isAdmin && this.state.meta && this.state.meta.by !== this.myKey) await this.publishMeta(this.state.meta.body, this.state.meta.ts);
|
|
30859
31007
|
}
|
|
30860
31008
|
async fork(reason) {
|
|
30861
31009
|
if (this.state.status !== "active") return;
|
|
@@ -33434,25 +33582,33 @@ var CommunitySession = class {
|
|
|
33434
33582
|
/**
|
|
33435
33583
|
* Who made the change a statement brings me (`at`: its commit's place on my main branch): its signer, when they were
|
|
33436
33584
|
* the admin all along since the statement I held (or, with none, since I got in). A new admin signs again what the
|
|
33437
|
-
* 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.
|
|
33438
33587
|
*/
|
|
33439
33588
|
metaAuthor(before, s, at) {
|
|
33440
33589
|
const from = before ? this.mainIndex.get(before.h) : void 0;
|
|
33441
|
-
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;
|
|
33442
33591
|
for (let i = from ?? 0; i <= at; i++) {
|
|
33443
33592
|
if (i !== from) roster = communityRoster(roster, this.state.chain[i]);
|
|
33444
33593
|
if (!roster) return void 0;
|
|
33445
33594
|
counted ||= rosterHas(roster, this.myKey);
|
|
33446
|
-
if (counted && rosterAdmin(roster) !== s.by)
|
|
33595
|
+
if (counted && rosterAdmin(roster) !== s.by) {
|
|
33596
|
+
if (before) return void 0;
|
|
33597
|
+
moved = i + 1;
|
|
33598
|
+
}
|
|
33447
33599
|
}
|
|
33448
|
-
return s.by;
|
|
33600
|
+
return moved === void 0 || s.ts > this.state.chain[moved].ts ? s.by : void 0;
|
|
33449
33601
|
}
|
|
33450
|
-
/**
|
|
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
|
+
*/
|
|
33451
33606
|
async metaFollowsChain() {
|
|
33452
33607
|
const pending = this.pendingMeta;
|
|
33453
33608
|
this.pendingMeta = void 0;
|
|
33454
33609
|
if (pending && await this.receiveMeta(pending.from, pending.frame)) this.hooks.relay?.(pending.frame);
|
|
33455
|
-
|
|
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);
|
|
33456
33612
|
}
|
|
33457
33613
|
async fork(reason) {
|
|
33458
33614
|
if (this.state.status !== "active") return;
|
|
@@ -33704,11 +33860,11 @@ function inOneRun(steps) {
|
|
|
33704
33860
|
* Checks an index's fields and bounds, and every revocation it carries (one that does not verify refuses the index:
|
|
33705
33861
|
* the store copied it, so a broken one is the store's fault). The signature and `expires` are `readAppStore`'s. An
|
|
33706
33862
|
* unknown key of the index, a listing or a removal is ignored unless `strict`; a revocation is its publisher's signed
|
|
33707
|
-
* statement and keeps its exact keys.
|
|
33863
|
+
* statement and keeps its exact keys. With `checked`, a revocation it holds is not checked again.
|
|
33708
33864
|
*/
|
|
33709
|
-
function checkAppStoreIndex(value, options = {}) {
|
|
33865
|
+
function checkAppStoreIndex(value, options = {}, checked) {
|
|
33710
33866
|
const fields = inOneRun(checkAppStoreFieldsSteps(value, options));
|
|
33711
|
-
return fields.ok ? inOneRun(checkAppStoreRevocationsSteps(value)) : fields;
|
|
33867
|
+
return fields.ok ? inOneRun(checkAppStoreRevocationsSteps(value, checked)) : fields;
|
|
33712
33868
|
}
|
|
33713
33869
|
/**
|
|
33714
33870
|
* The first half of `checkAppStoreIndex`: the fields and bounds, and the shape of every revocation, with no signature
|
|
@@ -33790,10 +33946,10 @@ function* checkAppStoreRevocationsSteps(index, checked) {
|
|
|
33790
33946
|
* signature, the signature of each revocation, then `expires` against `now` (seconds): more than 90 days ahead is
|
|
33791
33947
|
* refused, past is `expired`. The index's own signature comes before its revocations': an index nobody signed costs
|
|
33792
33948
|
* its reader one signature check, whatever it carries. A key it does not know is ignored (a later store's optional
|
|
33793
|
-
* 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.
|
|
33794
33950
|
*/
|
|
33795
|
-
function readAppStore(indexBytes, sigBytes, now, heldKey) {
|
|
33796
|
-
return inOneRun(readAppStoreSteps(indexBytes, sigBytes, now, heldKey));
|
|
33951
|
+
function readAppStore(indexBytes, sigBytes, now, heldKey, checked) {
|
|
33952
|
+
return inOneRun(readAppStoreSteps(indexBytes, sigBytes, now, heldKey, checked));
|
|
33797
33953
|
}
|
|
33798
33954
|
/**
|
|
33799
33955
|
* `readAppStore` in steps, for a reader that shares its thread (a page): it stops after each listing, removal and
|
|
@@ -33838,11 +33994,12 @@ function* readAppStoreSteps(indexBytes, sigBytes, now, heldKey, checked) {
|
|
|
33838
33994
|
}
|
|
33839
33995
|
/**
|
|
33840
33996
|
* Signs an index with the store key: its canonical bytes and the `ghostly-store.sig` bytes. Throws on a bad index, and
|
|
33841
|
-
* 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.
|
|
33842
33999
|
*/
|
|
33843
|
-
async function signAppStore(index, signer) {
|
|
34000
|
+
async function signAppStore(index, signer, revocations) {
|
|
33844
34001
|
if (index.key !== toZ32(signer.publicKey)) throw new Error("A store index is signed by its own key");
|
|
33845
|
-
const checked = checkAppStoreIndex(JSON.parse(JSON.stringify(index)), { strict: true });
|
|
34002
|
+
const checked = checkAppStoreIndex(JSON.parse(JSON.stringify(index)), { strict: true }, revocations);
|
|
33846
34003
|
if (!checked.ok) throw new Error(`Not a valid store index (${checked.reason}${checked.detail ? `: ${checked.detail}` : ""})`);
|
|
33847
34004
|
const { bytes, signature } = await signAppObject(APP_PREFIXES.store, index, signer);
|
|
33848
34005
|
return {
|
|
@@ -34122,6 +34279,6 @@ function readX401SdJwtVc(text) {
|
|
|
34122
34279
|
};
|
|
34123
34280
|
}
|
|
34124
34281
|
//#endregion
|
|
34125
|
-
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 };
|
|
34126
34283
|
|
|
34127
|
-
//# sourceMappingURL=src-
|
|
34284
|
+
//# sourceMappingURL=src-BMHgbkli.js.map
|