@ghostlytools/sdk 1.13.1 → 1.13.2
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/dist/{bitcoinAddress-BbPG0DF7.js → bitcoinAddress-BIW3tpJG.js} +240 -34
- package/dist/bitcoinAddress-BIW3tpJG.js.map +1 -0
- package/dist/core.js +284 -64
- package/dist/core.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/{pairedTransports-C0I24YFz.js → pairedTransports-BcTRg3tp.js} +22 -16
- package/dist/pairedTransports-BcTRg3tp.js.map +1 -0
- package/dist/testing.js +2 -2
- package/dist/types/core/src/appStatements.d.ts +16 -0
- package/dist/types/core/src/canonicalJson.d.ts +9 -0
- package/dist/types/core/src/chatFiles.d.ts +7 -0
- package/dist/types/core/src/deviceInvite.d.ts +16 -2
- package/dist/types/core/src/engineErrors.d.ts +6 -0
- package/dist/types/core/src/groupCommunity.d.ts +10 -0
- package/dist/types/core/src/groupSession.d.ts +7 -1
- package/dist/types/core/src/identityProofs.d.ts +39 -2
- package/dist/types/core/src/link.d.ts +1 -1
- package/dist/types/core/src/linkPreview.d.ts +13 -1
- package/dist/types/core/src/linkTrace.d.ts +2 -0
- package/dist/types/core/src/localNames.d.ts +7 -0
- package/dist/types/core/src/relay.d.ts +27 -1
- package/dist/types/core/src/transportSwitch.d.ts +7 -3
- package/dist/{verify-BoVhjvc_.js → verify-DGJJAFTs.js} +2 -2
- package/dist/{verify-BoVhjvc_.js.map → verify-DGJJAFTs.js.map} +1 -1
- package/package.json +1 -1
- package/dist/bitcoinAddress-BbPG0DF7.js.map +0 -1
- package/dist/pairedTransports-C0I24YFz.js.map +0 -1
package/dist/core.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as __toESM } from "./rolldown-runtime-DpEnGzO4.js";
|
|
2
2
|
import { a as concatBytes, c as fromZ32, d as toBase64, f as toBase64Url, h as utf8Encode, i as bytesEqual, l as isZ32Key, m as utf8Decode, n as decodeBolt11, o as fromBase64, p as toZ32, r as findBolt11, s as fromBase64Url, t as BOLT11_PATTERN, u as randomBytes } from "./bolt11-CRiQrma3.js";
|
|
3
|
-
import { $ as
|
|
4
|
-
import { A as
|
|
3
|
+
import { $ as DEFAULT_RELAYS, $t as decodeTxtPacket, A as identityRevocationValue, At as BREAKER_BASE_MS, B as applyIdentityEvent, Bt as withRequestOptions, C as IdentityCheckUnavailable, Ct as currentRelays, D as emptyIdentityLedger, Dt as setLinkTraceSink, E as boundVerifiedIdentity, Et as relayUrlProblem, F as receivedIdentityStatus, Ft as PublishFailedError, G as AWAITED_READS, Gt as createRelayPayload, H as ANSWER_READ_ALLOWANCE, Ht as PKARR_FUTURE_SKEW_MS, I as revokesIdentity, It as budgetRetryMs, J as BACKGROUND_WRITES_SHARE, Jt as openRelayPayload, K as BACKGROUND_REQUESTS_PER_MINUTE, Kt as measureRecords, L as signIdentityPresentation, Lt as heldBackError, M as identityStatementText, Mt as BREAKER_THRESHOLD, N as isIdentityBinding, Nt as RelayBreaker, O as identityPresentationBytes, Ot as traceLink, P as newIdentityBinding, Pt as DiscoveryBudgetError, Q as CHAT_WATCH_SHARE, Qt as decodeDnsAnswers, R as verifyIdentityPresentation, Rt as isDiscoveryBudgetError, S as IDENTITY_SUBJECT, St as WRITE_FIRST_MS, T as boundIdentityDisplay, Tt as readRelayBody, U as ANSWER_READ_FIRST_MS, Ut as PacketTooLargeError, V as lastSharedWithMe, Vt as MAX_DNS_PACKET_BYTES, W as ANSWER_READ_SPACING_MS, Wt as RELAY_PAYLOAD_MAX_BYTES, X as CHAT_RESERVE_MOST_SHARE, Xt as readOwnRelayPayload, Y as CHAT_RESERVE, Yt as parseRelayPayload, Z as CHAT_RESERVE_PER_CHAT, Zt as signRelayPayload, _ as IDENTITY_REUSE_CHECK_S, _n as stripHidden, _t as SLOW_DEMOTE_MS, a as IDENTITY_CLOCK_SKEW, an as createIdentity, at as GROUP_OVER_PACE_MS, b as IDENTITY_SEND_WINDOW_MS, bt as WATCH_SHARE, c as IDENTITY_MAX_CHECKS_PER_HOUR, cn as publicKeyFromZ32, ct as HEDGE_MISSING_MS, d as IDENTITY_MAX_RECEIVED, dn as verify, dt as RELAY_REQUESTS_PER_MINUTE, en as encodeTxtPacket, et as DEPARTED_READS, f as IDENTITY_MAX_VALIDITY, fn as MAX_NICK_LENGTH, ft as REQUESTS_PER_MINUTE, g as IDENTITY_RESEND_MS, gn as sanitizeNick, gt as SIGNALING_WINDOW_MS, h as IDENTITY_RESENDS, hn as sanitizeDisplayText, ht as SIGNALING_ALLOWANCE_SHARE, i as IDENTITY_CHECK_UNAVAILABLE, in as IDENTITY_MEMO_SIZE, it as GROUP_BURST_ONE_LINK, j as identityStatement, jt as BREAKER_MAX_MS, k as identityRefusal, kt as BREAKER_ALL_DOWN_PROBE_MS, l as IDENTITY_MAX_EVIDENCE, ln as setPublicKeyFastPath, lt as HEDGE_MS, m as IDENTITY_PROVIDER_ID, mn as hasVisible, mt as RelaysFailedError, n as isBitcoinAddress, nn as IDENTITY_MEMO_IDLE_MS, nt as FRESH_READ_MS, o as IDENTITY_FRAME_LIMIT, on as identityFromSeed, ot as GROUP_RATION_WINDOW_MS, p as IDENTITY_PROOF_CAPABILITY, pn as dropLoneJoiners, pt as RelayTransport, q as BACKGROUND_WHILE_SIGNALING, qt as newerPacket, r as IDENTITY_CHALLENGE_WINDOW, rn as IDENTITY_MEMO_MAX, rt as GROUP_BURST_MS, s as IDENTITY_FRAME_WINDOW_MS, sn as identityFromSeedB64, st as GROUP_SIGNALING_ALLOWANCE_SHARE, t as BITCOIN_NETWORKS, tn as readDnsName, tt as DOOR_FIRST_MS, u as IDENTITY_MAX_FRAME, un as sign, ut as PREVIOUS_DEFAULT_RELAYS, v as IDENTITY_REVOCATION_LABEL, vn as trimEndOf, vt as SLOW_MS, w as IdentityExchange, wt as normalizeRelayUrl, x as IDENTITY_STATEMENT_PREFIX, xt as WAY_BACK_SHARE, y as IDENTITY_SEND_LIMIT, yn as unwrapPasted, yt as TURN_SOURCE_TIMEOUT_MS, z as IDENTITY_TIMELINE_MAX, zt as publishedNowhere } from "./bitcoinAddress-BIW3tpJG.js";
|
|
4
|
+
import { A as NIP05_PATH, B as parseDomainTxt, C as underLocalSuffix, D as DOMAIN_MAX_RECORDS, E as DOMAIN_FILE_MAX_BYTES, F as domainWellKnownFile, G as validDomainRecord, H as recordsFromWellKnown, I as encodeDnsQuery, J as encrypt, K as wellKnownUrl, L as isPublicAddress, M as decodeDnsResponse, N as dnsProofName, O as DOMAIN_METHODS, P as domainTxtRecord, R as nip05RootKey, S as readManifest, T as DNS_TYPE, U as recordsName, V as recordsFromTxt, W as txtValue, X as sealedLength, Y as generateEncryptionKey, Z as tryDecrypt, _ as HOLD_LIMITS, a as automaticTransport, b as isHoldUrl, c as irohDescriptor, d as relayUrl, f as relayUrlTooLong, g as HOLD_DATED_BACK_MS, h as HOLD_CAPABILITY, i as TRANSPORTS, j as WELL_KNOWN_PATH, k as DOMAIN_TXT_MAX_BYTES, l as irohRelayUrl, m as transportOrder, n as RELAY_URL, o as checkedDescriptors, p as relayedTransports, q as decrypt, r as RELAY_WITH_SECRETS, s as dialableIrohRelay, t as AUTOMATIC_ORDER, u as rankTransports, v as HoldKeys, w as DNS_LABEL, x as newMailbox, y as HoldRefusedError, z as normalizeDomain } from "./pairedTransports-BcTRg3tp.js";
|
|
5
5
|
import { xsalsa20poly1305 } from "@noble/ciphers/salsa.js";
|
|
6
6
|
import { ed25519, x25519 } from "@noble/curves/ed25519.js";
|
|
7
7
|
import { sha256, sha512 } from "@noble/hashes/sha2.js";
|
|
@@ -1146,6 +1146,19 @@ var DEVICE_INVITE_BYTES = 133;
|
|
|
1146
1146
|
var DEVICE_INVITE_OWN_DEVICE = 1;
|
|
1147
1147
|
/** How long a code is good for (WISP 06: the inviter enforces the 10 minutes). */
|
|
1148
1148
|
var DEVICE_INVITE_LIFETIME_S = 600;
|
|
1149
|
+
/**
|
|
1150
|
+
* How far past its expiry, by the reading device's own clock, a code is still taken: a day. The expiry is in the
|
|
1151
|
+
* inviter's clock, and the reader's may run ahead of it by minutes (no time sync), by hours (a wrong time zone set as
|
|
1152
|
+
* local time) or more; only the inviter's word counts, and the inviter refuses a code past its ten minutes. A code a
|
|
1153
|
+
* day past its expiry here is old by any likely clock.
|
|
1154
|
+
*/
|
|
1155
|
+
var DEVICE_INVITE_READ_SLACK_S = 86400;
|
|
1156
|
+
/**
|
|
1157
|
+
* Whether the device reading a code takes it as expired: `expires` is the code's (the inviter's clock), `now` this
|
|
1158
|
+
* device's, both UNIX seconds. The one rule for every reader (the enrollment and the join dialogs), so none refuses a
|
|
1159
|
+
* fresh code from an inviter whose clock is behind this one.
|
|
1160
|
+
*/
|
|
1161
|
+
var deviceInviteExpired = (expires, now) => expires + DEVICE_INVITE_READ_SLACK_S <= now;
|
|
1149
1162
|
/** The `ghostly1z…` code of a device invite. */
|
|
1150
1163
|
function encodeDeviceInvite(invite) {
|
|
1151
1164
|
const fields = [
|
|
@@ -1169,7 +1182,8 @@ function encodeDeviceInvite(invite) {
|
|
|
1169
1182
|
var body$1 = (input) => unwrapPasted(input).replace(/^.*#/, "");
|
|
1170
1183
|
/**
|
|
1171
1184
|
* Reads a device code, pasted or scanned (bare, in capitals from a QR code, or after a `#`). `now` is in UNIX
|
|
1172
|
-
* seconds: a code past its expiry is refused here
|
|
1185
|
+
* seconds, this device's clock: only a code a day past its expiry by it is refused here (`deviceInviteExpired`), since
|
|
1186
|
+
* only the inviter's word counts.
|
|
1173
1187
|
*/
|
|
1174
1188
|
function readDeviceInvite(input, now = Math.floor(Date.now() / 1e3)) {
|
|
1175
1189
|
const code = body$1(input).toLowerCase();
|
|
@@ -1231,7 +1245,7 @@ function readDeviceInvite(input, now = Math.floor(Date.now() / 1e3)) {
|
|
|
1231
1245
|
detail: `Flags ${flags}`
|
|
1232
1246
|
};
|
|
1233
1247
|
const expires = new DataView(payload.buffer, payload.byteOffset, payload.byteLength).getUint32(129);
|
|
1234
|
-
if (expires
|
|
1248
|
+
if (deviceInviteExpired(expires, now)) return {
|
|
1235
1249
|
ok: false,
|
|
1236
1250
|
reason: "expired"
|
|
1237
1251
|
};
|
|
@@ -1455,6 +1469,42 @@ function readCanonicalJson(bytes) {
|
|
|
1455
1469
|
value
|
|
1456
1470
|
};
|
|
1457
1471
|
}
|
|
1472
|
+
/**
|
|
1473
|
+
* The entries of bytes that must be a canonical JSON list, each as its own bytes, one at a time: a scan that builds no
|
|
1474
|
+
* value and goes no further than the entry it yields, so a caller reads (and may refuse) each before the next is
|
|
1475
|
+
* found. It ends with null at the closing `]`; `not-list` past `maxEntries` entries, at an entry over `maxEntryBytes`,
|
|
1476
|
+
* or when the bytes are not within `[` and `]`; `not-json` when brackets or quotes do not close. A canonical list is
|
|
1477
|
+
* `[`, its entries' canonical texts joined by `,`, then `]`, so the bytes are canonical exactly when the scan ends with
|
|
1478
|
+
* null and each entry read alone with `readCanonicalJson` is.
|
|
1479
|
+
*/
|
|
1480
|
+
function* canonicalJsonListEntries(bytes, maxEntries, maxEntryBytes) {
|
|
1481
|
+
const end = bytes.length - 1;
|
|
1482
|
+
if (end < 1 || bytes[0] !== 91 || bytes[end] !== 93) return "not-list";
|
|
1483
|
+
if (end === 1) return null;
|
|
1484
|
+
let depth = 0;
|
|
1485
|
+
let inString = false;
|
|
1486
|
+
let start = 1;
|
|
1487
|
+
let count = 0;
|
|
1488
|
+
for (let i = 1; i <= end; i++) {
|
|
1489
|
+
const b = bytes[i];
|
|
1490
|
+
if (i === end || b === 44 && depth === 0 && !inString) {
|
|
1491
|
+
if (i === end && (depth !== 0 || inString)) return "not-json";
|
|
1492
|
+
if (count === maxEntries || i - start > maxEntryBytes) return "not-list";
|
|
1493
|
+
count++;
|
|
1494
|
+
yield bytes.subarray(start, i);
|
|
1495
|
+
start = i + 1;
|
|
1496
|
+
continue;
|
|
1497
|
+
}
|
|
1498
|
+
if (i - start >= maxEntryBytes) return "not-list";
|
|
1499
|
+
if (inString) {
|
|
1500
|
+
if (b === 92) i++;
|
|
1501
|
+
else if (b === 34) inString = false;
|
|
1502
|
+
} else if (b === 34) inString = true;
|
|
1503
|
+
else if (b === 91 || b === 123) depth++;
|
|
1504
|
+
else if ((b === 93 || b === 125) && --depth < 0) return "not-json";
|
|
1505
|
+
}
|
|
1506
|
+
return start === end + 1 ? null : "not-json";
|
|
1507
|
+
}
|
|
1458
1508
|
// ../core/src/image.ts
|
|
1459
1509
|
var IMAGE_LIMITS = {
|
|
1460
1510
|
/** Pixels on either side: the most a JPEG can say, well past what anyone sends as a picture. */
|
|
@@ -1641,7 +1691,12 @@ var APP_STATEMENT_LIMITS = {
|
|
|
1641
1691
|
/** A revocation's reason, in characters. */
|
|
1642
1692
|
reason: 200,
|
|
1643
1693
|
/** Revocations in one `ghostly-revoke.json`. */
|
|
1644
|
-
revocations: 4096
|
|
1694
|
+
revocations: 4096,
|
|
1695
|
+
/**
|
|
1696
|
+
* One signed revocation's canonical bytes: twice the largest a valid one can be (64 digests, a 32-character name and
|
|
1697
|
+
* a 200-character reason of 4-byte characters: about 4.1 KB), so a reader refuses a larger entry before parsing it.
|
|
1698
|
+
*/
|
|
1699
|
+
revocationBytes: 8192
|
|
1645
1700
|
};
|
|
1646
1701
|
/** A z-base32 Ed25519 public key: 52 characters that decode to 32 bytes and encode back to the same text. */
|
|
1647
1702
|
function isAppKey(value) {
|
|
@@ -1933,24 +1988,39 @@ function verifyAppRevocation(revocation, checked) {
|
|
|
1933
1988
|
* file, as a store index's `revoked` does. With `checked`, a revocation it holds is not checked again.
|
|
1934
1989
|
*/
|
|
1935
1990
|
function readAppRevocations(bytes, checked) {
|
|
1936
|
-
const read = readCanonicalJson(bytes);
|
|
1937
|
-
if (!read.ok) return read;
|
|
1938
|
-
if (!Array.isArray(read.value) || read.value.length > APP_STATEMENT_LIMITS.revocations) return {
|
|
1939
|
-
ok: false,
|
|
1940
|
-
reason: "bad-revocation",
|
|
1941
|
-
detail: "Not a list of at most 4096 revocations"
|
|
1942
|
-
};
|
|
1943
1991
|
const revocations = [];
|
|
1944
|
-
|
|
1945
|
-
|
|
1992
|
+
const entries = appRevocationsFileEntries(bytes);
|
|
1993
|
+
let next = entries.next();
|
|
1994
|
+
for (; !next.done; next = entries.next()) {
|
|
1995
|
+
const read = readCanonicalJson(next.value);
|
|
1996
|
+
if (!read.ok) return read;
|
|
1997
|
+
const one = readAppRevocation(read.value, checked);
|
|
1946
1998
|
if (!one.ok) return one;
|
|
1947
1999
|
revocations.push(one.revocation);
|
|
1948
2000
|
}
|
|
1949
|
-
return {
|
|
2001
|
+
return next.value ?? {
|
|
1950
2002
|
ok: true,
|
|
1951
2003
|
revocations
|
|
1952
2004
|
};
|
|
1953
2005
|
}
|
|
2006
|
+
/**
|
|
2007
|
+
* The entries of a `ghostly-revoke.json`, each as its own bytes, one at a time and with nothing parsed: a file past
|
|
2008
|
+
* 4096 entries, or with one larger than any revocation can be, is refused there, however large it is. It ends with null
|
|
2009
|
+
* when the list closed. Each entry read alone (`readCanonicalJson`, then `readAppRevocation`) refuses exactly the files
|
|
2010
|
+
* reading the file whole refuses.
|
|
2011
|
+
*/
|
|
2012
|
+
function* appRevocationsFileEntries(bytes) {
|
|
2013
|
+
const end = yield* canonicalJsonListEntries(bytes, APP_STATEMENT_LIMITS.revocations, APP_STATEMENT_LIMITS.revocationBytes);
|
|
2014
|
+
if (end === "not-list") return {
|
|
2015
|
+
ok: false,
|
|
2016
|
+
reason: "bad-revocation",
|
|
2017
|
+
detail: "Not a list of at most 4096 revocations"
|
|
2018
|
+
};
|
|
2019
|
+
return end && {
|
|
2020
|
+
ok: false,
|
|
2021
|
+
reason: end
|
|
2022
|
+
};
|
|
2023
|
+
}
|
|
1954
2024
|
// ../core/src/appBundle.ts
|
|
1955
2025
|
var APP_BUNDLE_MAGIC = "GHOSTLYAPP1";
|
|
1956
2026
|
var MAGIC$1 = utf8Encode(APP_BUNDLE_MAGIC);
|
|
@@ -7157,9 +7227,9 @@ var LinkSession = class {
|
|
|
7157
7227
|
if (publish) this.publish().catch(() => {});
|
|
7158
7228
|
if (read) this.pollNow();
|
|
7159
7229
|
}
|
|
7160
|
-
/** This side's packet goes out now, unless one already did. */
|
|
7230
|
+
/** This side's packet goes out now, unless one already did (in this run, once it left DHT only: `presenceDue`). */
|
|
7161
7231
|
ensureAdvertised() {
|
|
7162
|
-
if (!this.running || this.lastPublishedAt > 0 || this.publishing) return;
|
|
7232
|
+
if (!this.running || this.lastPublishedAt > 0 && !this.presenceDueOut || this.publishing) return;
|
|
7163
7233
|
this.publish().catch(() => {});
|
|
7164
7234
|
}
|
|
7165
7235
|
/** This side's packet goes out again as it is: another writer of its key (a second device on a device code) may have replaced it. */
|
|
@@ -10244,20 +10314,27 @@ var LINK_CLOSERS = {
|
|
|
10244
10314
|
* and full stop, the full-width ! , : ; ? and brackets, the corner quotes, the Arabic comma, semicolon and question
|
|
10245
10315
|
* mark, the Urdu full stop. No address holds one as typed, so a link stops at the first.
|
|
10246
10316
|
*/
|
|
10247
|
-
var
|
|
10317
|
+
var LINK_STOP_CHARS = "、。〈-】!(),:;?،؛؟۔";
|
|
10318
|
+
var LINK_STOP = new RegExp(`[${LINK_STOP_CHARS}]`);
|
|
10248
10319
|
/** What a link leaves out at its end: a sentence's punctuation ("…", "»", "”" too), never a path's "/". */
|
|
10249
10320
|
var LINK_TRAILING = /[.,;:!?'"*_>…»’”]/;
|
|
10250
10321
|
/**
|
|
10251
10322
|
* What a chat puts right after a link with no space and no address ends with: an emoji ("https://x.example/a🔥", with
|
|
10252
|
-
* its skin tone, presentation selector, joiners and flag tags) and characters that draw as nothing
|
|
10253
|
-
*
|
|
10323
|
+
* its skin tone, presentation selector, joiners and flag tags) and characters that draw as nothing, the direction marks
|
|
10324
|
+
* and isolates a right-to-left sentence puts around a link among them. Read one code point at a time from the end, so
|
|
10325
|
+
* an emoji inside an address stays in it.
|
|
10254
10326
|
*/
|
|
10255
|
-
var LINK_TAIL = /^(?:\p{Extended_Pictographic}|\p{Emoji_Modifier}|\p{Regional_Indicator}|[\u200b\u200c\u2060\ufeff\u{e0020}-\u{e007f}]|\u200d|\ufe0e|\ufe0f)$/u;
|
|
10327
|
+
var LINK_TAIL = /^(?:\p{Extended_Pictographic}|\p{Emoji_Modifier}|\p{Regional_Indicator}|[\u200b\u200c\u2060\ufeff\u{e0020}-\u{e007f}]|[\u061c\u200e\u200f\u202a-\u202e\u2066-\u2069]|\u200d|\ufe0e|\ufe0f)$/u;
|
|
10328
|
+
/** The direction marks and isolates alone: a payment link, which keeps an emoji at its end, still ends before these. */
|
|
10329
|
+
var DIRECTION_TAIL = /^[\u061c\u200e\u200f\u202a-\u202e\u2066-\u2069]$/;
|
|
10256
10330
|
/** How many UTF-16 units of `url` before `end` are an emoji's or an invisible character's last code point (0: none). */
|
|
10257
10331
|
function linkTail(url, end) {
|
|
10258
10332
|
const units = end > 1 && /[\udc00-\udfff]/.test(url[end - 1]) && /[\ud800-\udbff]/.test(url[end - 2]) ? 2 : 1;
|
|
10259
10333
|
return end > 0 && LINK_TAIL.test(url.slice(end - units, end)) ? units : 0;
|
|
10260
10334
|
}
|
|
10335
|
+
function directionTail(url, end) {
|
|
10336
|
+
return end > 0 && DIRECTION_TAIL.test(url[end - 1]) ? 1 : 0;
|
|
10337
|
+
}
|
|
10261
10338
|
/** A link up to the first `LINK_STOP`: "https://x.example/a。" opens /a, not /a%E3%80%82. */
|
|
10262
10339
|
function linkStop(url) {
|
|
10263
10340
|
const at = url.search(LINK_STOP);
|
|
@@ -10273,7 +10350,8 @@ function linkEnd(whole) {
|
|
|
10273
10350
|
}
|
|
10274
10351
|
/**
|
|
10275
10352
|
* A payment link (`bitcoin:`, `monero:`…) ends as a web link does, but keeps an emoji at its end: its label or message
|
|
10276
|
-
* is text written as it is ("…&label=Pizza 🍕"), cut at 140 characters wherever that falls.
|
|
10353
|
+
* is text written as it is ("…&label=Pizza 🍕"), cut at 140 characters wherever that falls. A direction mark or
|
|
10354
|
+
* isolate typed after it is still left out, so "bitcoin:bc1q…\u200f." pays bc1q….
|
|
10277
10355
|
*/
|
|
10278
10356
|
function uriEnd(whole) {
|
|
10279
10357
|
return trimEnd(whole, false);
|
|
@@ -10293,7 +10371,7 @@ function trimEnd(whole, tails) {
|
|
|
10293
10371
|
while (end > 0) {
|
|
10294
10372
|
const last = url[end - 1];
|
|
10295
10373
|
const opener = LINK_CLOSERS[last];
|
|
10296
|
-
const tail = tails ? linkTail(url, end) :
|
|
10374
|
+
const tail = tails ? linkTail(url, end) : directionTail(url, end);
|
|
10297
10375
|
if (tail) {
|
|
10298
10376
|
end -= tail;
|
|
10299
10377
|
continue;
|
|
@@ -10306,9 +10384,14 @@ function trimEnd(whole, tails) {
|
|
|
10306
10384
|
}
|
|
10307
10385
|
/** Characters of a link worth reading: a longer one is no address anyone shares, and is left as text. */
|
|
10308
10386
|
var LINK_MAX_CHARS = 4096;
|
|
10387
|
+
/**
|
|
10388
|
+
* An http(s) link's run in a text, as a `RegExp` source: up to a space or a `LINK_STOP_CHARS` character, as the bubble
|
|
10389
|
+
* reads it. A link written right after another one's "。" or "،", with no space, is a run of its own.
|
|
10390
|
+
*/
|
|
10391
|
+
var LINK_RUN = String.raw`https?:\/\/[^\s${LINK_STOP_CHARS}]+`;
|
|
10309
10392
|
/** The http(s) links of a text, in order, each ending as the bubble ends it. */
|
|
10310
10393
|
function linksIn(text) {
|
|
10311
|
-
return [...text.matchAll(
|
|
10394
|
+
return [...text.matchAll(new RegExp(LINK_RUN, "gi"))].filter((match) => match[0].length <= LINK_MAX_CHARS).map((match) => linkEnd(match[0])).filter((url) => url.length > 8);
|
|
10312
10395
|
}
|
|
10313
10396
|
/**
|
|
10314
10397
|
* The link as a preview names it: parsed, http(s) only, without tracking parameters (`utm_*`, `fbclid`, …). The
|
|
@@ -12963,7 +13046,7 @@ var TransportSwitch = class {
|
|
|
12963
13046
|
remoteReplaces = false;
|
|
12964
13047
|
/** This side chose while no session was open: the next one begins with it as a choice. */
|
|
12965
13048
|
apart = false;
|
|
12966
|
-
policiesRead = new RateWindow(
|
|
13049
|
+
policiesRead = new RateWindow(30, POLICY_RECEIVE_WINDOW_MS);
|
|
12967
13050
|
/** The session on which the contact's policy, the one read already, was said again and read for free (`handle`). */
|
|
12968
13051
|
repeatRead = "";
|
|
12969
13052
|
policyHeld = null;
|
|
@@ -17077,6 +17160,19 @@ function storeFailure(error) {
|
|
|
17077
17160
|
const message = (error instanceof Error ? error.message : String(error)).trim();
|
|
17078
17161
|
return `Could not store the file: ${error?.name === "QuotaExceededError" && !message.startsWith("QuotaExceededError") ? `QuotaExceededError${message ? `: ${message}` : ""}` : message}`;
|
|
17079
17162
|
}
|
|
17163
|
+
/**
|
|
17164
|
+
* The room this device tells a contact (`pf-room`, a `no-room` refusal): its free space rounded down to a power of two or
|
|
17165
|
+
* one and a half of one. The exact bytes would be the same from every profile on the device, and move with whatever it
|
|
17166
|
+
* stores, so a contact could tell one device from another, or watch it, by asking. Never more than the room itself.
|
|
17167
|
+
*/
|
|
17168
|
+
function coarseRoom(room) {
|
|
17169
|
+
if (!Number.isSafeInteger(room)) return null;
|
|
17170
|
+
if (room <= 0) return 0;
|
|
17171
|
+
let step = 2 ** Math.floor(Math.log2(room));
|
|
17172
|
+
while (step > room) step /= 2;
|
|
17173
|
+
while (step * 2 <= room) step *= 2;
|
|
17174
|
+
return room >= step * 1.5 ? step * 1.5 : step;
|
|
17175
|
+
}
|
|
17080
17176
|
/** What a refusal means to the sender's person. */
|
|
17081
17177
|
function refusalText(why, room) {
|
|
17082
17178
|
switch (why) {
|
|
@@ -17330,9 +17426,19 @@ var ChatFiles = class {
|
|
|
17330
17426
|
}
|
|
17331
17427
|
async sayRoom() {
|
|
17332
17428
|
const room = await this.host.room?.().catch(() => null);
|
|
17333
|
-
|
|
17429
|
+
const max = typeof room === "number" ? coarseRoom(room) : null;
|
|
17430
|
+
if (max !== null) this.send({
|
|
17334
17431
|
t: "pf-room",
|
|
17335
|
-
max
|
|
17432
|
+
max
|
|
17433
|
+
});
|
|
17434
|
+
}
|
|
17435
|
+
refuseOffer(id, decision) {
|
|
17436
|
+
const room = decision.room !== void 0 ? coarseRoom(decision.room) : null;
|
|
17437
|
+
this.send({
|
|
17438
|
+
t: "pf-refuse",
|
|
17439
|
+
id,
|
|
17440
|
+
why: decision.refuse,
|
|
17441
|
+
...room !== null && { room }
|
|
17336
17442
|
});
|
|
17337
17443
|
}
|
|
17338
17444
|
/** A new file to send: offered now if a session is open, or on the next one. */
|
|
@@ -17756,12 +17862,7 @@ var ChatFiles = class {
|
|
|
17756
17862
|
}
|
|
17757
17863
|
if (this.entries.has(key("in", id))) return;
|
|
17758
17864
|
if (typeof decision === "object") {
|
|
17759
|
-
this.
|
|
17760
|
-
t: "pf-refuse",
|
|
17761
|
-
id,
|
|
17762
|
-
why: decision.refuse,
|
|
17763
|
-
...decision.room !== void 0 && { room: decision.room }
|
|
17764
|
-
});
|
|
17865
|
+
this.refuseOffer(id, decision);
|
|
17765
17866
|
return;
|
|
17766
17867
|
}
|
|
17767
17868
|
const entry = {
|
|
@@ -17815,12 +17916,7 @@ var ChatFiles = class {
|
|
|
17815
17916
|
decision = { refuse: "invalid" };
|
|
17816
17917
|
}
|
|
17817
17918
|
if (typeof decision === "object") {
|
|
17818
|
-
this.
|
|
17819
|
-
t: "pf-refuse",
|
|
17820
|
-
id: record.id,
|
|
17821
|
-
why: decision.refuse,
|
|
17822
|
-
...decision.room !== void 0 && { room: decision.room }
|
|
17823
|
-
});
|
|
17919
|
+
this.refuseOffer(record.id, decision);
|
|
17824
17920
|
return false;
|
|
17825
17921
|
}
|
|
17826
17922
|
if (decision === "ask") {
|
|
@@ -19619,6 +19715,7 @@ var ENGINE_ERRORS = {
|
|
|
19619
19715
|
ecashBeingReceived: "This ecash is already being received",
|
|
19620
19716
|
ecashFeeTakesAll: "The mint keeps all {amount} sats of this ecash as its fee to take it in: nothing was redeemed, and its sender can still take it back",
|
|
19621
19717
|
ecashOtherUnit: "This ecash is in {unit}: only sat ecash can be redeemed here",
|
|
19718
|
+
ecashUnnamedUnit: "This ecash is in another unit: only sat ecash can be redeemed here",
|
|
19622
19719
|
reviewedEcashSpent: "The ecash for this payment was already spent somewhere else. Nothing was sent, and your balance now shows what the mint still holds.",
|
|
19623
19720
|
reviewedSatsGone: "The sats this payment was reviewed with went to another payment. Nothing was sent: review it again.",
|
|
19624
19721
|
mintFailedQuote: "{host} could not take this payment right now, and no sats left your wallet: try again later. The mint said: {reason}",
|
|
@@ -19694,12 +19791,19 @@ function engineText(code, values = {}) {
|
|
|
19694
19791
|
return ENGINE_ERRORS[code].replace(/\{(\w+)\}/g, (_, name) => name in values ? String(values[name]) : `{${name}}`);
|
|
19695
19792
|
}
|
|
19696
19793
|
var engineError = (code, values) => new EngineError(code, values);
|
|
19794
|
+
/** A unit as the app names it: a unit's shape (`frames.ts` `isUnit`, in any case), never a token sender's other text. */
|
|
19795
|
+
var NAMED_UNIT = "[A-Za-z0-9]{1,12}";
|
|
19796
|
+
/**
|
|
19797
|
+
* Why ecash of `unit` is not redeemed here. The unit is named only when it looks like one: a token's unit is whatever
|
|
19798
|
+
* its sender wrote, and the line is the app's own (a contact's payment's refusal row, the CLI's answer).
|
|
19799
|
+
*/
|
|
19800
|
+
var ecashUnitError = (unit) => new RegExp(`^${NAMED_UNIT}$`).test(unit) ? engineError("ecashOtherUnit", { unit }) : engineError("ecashUnnamedUnit");
|
|
19697
19801
|
/** What each kind of value looks like in a text: never a space in a host, a network by its name, an amount as digits. */
|
|
19698
19802
|
var VALUE = {
|
|
19699
19803
|
host: "(\\S+)",
|
|
19700
19804
|
domain: "(\\S+)",
|
|
19701
19805
|
chain: "(\\S+)",
|
|
19702
|
-
unit:
|
|
19806
|
+
unit: `(${NAMED_UNIT})`,
|
|
19703
19807
|
network: "(Mainnet|Testnet)",
|
|
19704
19808
|
amount: "(\\d[\\d.,\\u00a0\\u202f' ]*?)",
|
|
19705
19809
|
fee: "(\\d[\\d.,\\u00a0\\u202f' ]*?)",
|
|
@@ -21226,11 +21330,11 @@ var GhostLink = class {
|
|
|
21226
21330
|
if (this.myPubKeyZ32 > this.options.params.peerPubKeyZ32) this.session.presenceDue();
|
|
21227
21331
|
this.session.start();
|
|
21228
21332
|
}
|
|
21229
|
-
await this.dht.setMode(mode);
|
|
21230
21333
|
if (mode === "dht") {
|
|
21231
21334
|
await this.session.stop(false);
|
|
21232
21335
|
await Promise.allSettled([...this.endpoints.keys()].map((t) => this.releaseEndpoint(t)));
|
|
21233
21336
|
}
|
|
21337
|
+
await this.dht.setMode(mode);
|
|
21234
21338
|
this.streamBlockChanged();
|
|
21235
21339
|
this.emitDeliveryState();
|
|
21236
21340
|
}
|
|
@@ -28077,14 +28181,14 @@ var REDIRECTS = [
|
|
|
28077
28181
|
308
|
|
28078
28182
|
];
|
|
28079
28183
|
/**
|
|
28080
|
-
* A host that is not on the public internet, as far as its name tells: this machine, a single label,
|
|
28081
|
-
*
|
|
28082
|
-
* itself, as Ghostly Desktop and the CLI do.)
|
|
28184
|
+
* A host that is not on the public internet, as far as its name tells: this machine, a single label, a name under a
|
|
28185
|
+
* local suffix (`localNames.ts`), private and reserved IP addresses. (What a public name resolves to is checked where
|
|
28186
|
+
* the client resolves names itself, as Ghostly Desktop and the CLI do, for every request.)
|
|
28083
28187
|
*/
|
|
28084
28188
|
function isLocalHost(hostname) {
|
|
28085
28189
|
const host = hostname.toLowerCase().replace(/\.+$/, "").replace(/^\[|\]$/g, "");
|
|
28086
28190
|
if (!host.includes(".") && !host.includes(":")) return true;
|
|
28087
|
-
if (
|
|
28191
|
+
if (underLocalSuffix(host)) return true;
|
|
28088
28192
|
const v4 = /^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/.exec(host);
|
|
28089
28193
|
if (v4) {
|
|
28090
28194
|
const [a, b] = [Number(v4[1]), Number(v4[2])];
|
|
@@ -28210,6 +28314,7 @@ async function readBounded(response, maxBytes) {
|
|
|
28210
28314
|
/** One GET to an LNURL service (and to each checked redirect of it): bounded in time and size, no credentials, no referrer, and the answer must be JSON. */
|
|
28211
28315
|
async function fetchLnurlJson(url, options = {}) {
|
|
28212
28316
|
const target = acceptUrl(url);
|
|
28317
|
+
if (!isLoopback(target.hostname) && isLocalHost(target.hostname)) throw new Error(`${target.host} is a local address`);
|
|
28213
28318
|
const doFetch = options.fetch ?? globalThis.fetch;
|
|
28214
28319
|
if (!doFetch) throw new Error("No way to reach the network here");
|
|
28215
28320
|
const controller = new AbortController();
|
|
@@ -33456,11 +33561,12 @@ var GroupSession = class {
|
|
|
33456
33561
|
* My message `id` was deleted for everyone: its frame, and each copy said again, keep their place in my log (`nextSeq`,
|
|
33457
33562
|
* `couldRead`, the removal's copies) and lose what they said. The log is in the saved state beside the epochs' secrets,
|
|
33458
33563
|
* so the text stayed readable from the profile until 32 later sends pushed it out (`message delete --purge` promises
|
|
33459
|
-
* it leaves the folder).
|
|
33564
|
+
* it leaves the folder). A reply of mine that quotes it keeps its place and its reply, its line sealed again empty
|
|
33565
|
+
* and signed whole again (`sig` does not cover the box). A member's frame of it, or quoting it, I kept to hand on goes:
|
|
33566
|
+
* I cannot sign theirs, and its author hands it on. Saved soon, as a community's `forget`; `flush` writes it now.
|
|
33460
33567
|
*/
|
|
33461
33568
|
forget(id) {
|
|
33462
|
-
|
|
33463
|
-
this.state.sent = this.state.sent.map((f) => !f.c || this.messageIdOf(f) !== id ? f : {
|
|
33569
|
+
const sent = this.state.sent.map((f) => !f.c ? f : this.messageIdOf(f) === id ? {
|
|
33464
33570
|
t: f.t,
|
|
33465
33571
|
g: f.g,
|
|
33466
33572
|
e: f.e,
|
|
@@ -33471,9 +33577,37 @@ var GroupSession = class {
|
|
|
33471
33577
|
c: "",
|
|
33472
33578
|
sig: "",
|
|
33473
33579
|
...f.o ? { o: f.o } : {}
|
|
33474
|
-
});
|
|
33580
|
+
} : this.unquoted(f, id));
|
|
33581
|
+
const gone = (f) => this.messageIdOf(f) === id || !!this.quoting(f, id);
|
|
33582
|
+
const relay = this.state.relay?.filter((f) => !gone(f)), rows = this.onRows?.filter((f) => !gone(f));
|
|
33583
|
+
if (sent.every((f, i) => f === this.state.sent[i]) && relay?.length === this.state.relay?.length && rows?.length === this.onRows?.length) return;
|
|
33584
|
+
this.state.sent = sent;
|
|
33585
|
+
if (relay) this.state.relay = relay;
|
|
33586
|
+
if (rows) this.onRows = rows;
|
|
33475
33587
|
this.persistSoon();
|
|
33476
33588
|
}
|
|
33589
|
+
/** The reply a frame's box holds, when it quotes `id` with a line of it. */
|
|
33590
|
+
quoting(f, id) {
|
|
33591
|
+
const secret = f.r && this.secret(f.e), reply = secret ? this.openReply(epochKeys(secret, this.id, f.e).message, f) : void 0;
|
|
33592
|
+
return reply?.i === id && reply.s ? reply : void 0;
|
|
33593
|
+
}
|
|
33594
|
+
/** My frame `f` without the line of `id` it quotes (`forget`); `f` itself when it quotes none. */
|
|
33595
|
+
unquoted(f, id) {
|
|
33596
|
+
const reply = this.quoting(f, id);
|
|
33597
|
+
if (!reply) return f;
|
|
33598
|
+
const r = encryptText(epochKeys(this.secret(f.e), this.id, f.e).message, replyAad(f), JSON.stringify({
|
|
33599
|
+
...reply,
|
|
33600
|
+
s: ""
|
|
33601
|
+
}));
|
|
33602
|
+
return {
|
|
33603
|
+
...f,
|
|
33604
|
+
r,
|
|
33605
|
+
xs: toBase64Url(sign(messageSignedWhole({
|
|
33606
|
+
...f,
|
|
33607
|
+
r
|
|
33608
|
+
}), this.identity.seed))
|
|
33609
|
+
};
|
|
33610
|
+
}
|
|
33477
33611
|
/**
|
|
33478
33612
|
* Saves, then sends my frame to every other member of its epoch still in the group (`saved`: the caller saved it). One no edge took (none was up:
|
|
33479
33613
|
* my app just opened) is remembered (`alone`): I may be behind on the chain without knowing, and members let in
|
|
@@ -35647,6 +35781,23 @@ function isMessageFrame(v) {
|
|
|
35647
35781
|
const f = v;
|
|
35648
35782
|
return f.t === "group-msg" && f.v === 2 && typeof f.g === "string" && GROUP_ID.test(f.g) && Number.isSafeInteger(f.e) && f.e >= 0 && typeof f.h === "string" && /^[a-f0-9]{16}$/.test(f.h) && typeof f.s === "string" && MEMBER_KEY.test(f.s) && Number.isSafeInteger(f.n) && f.n >= 0 && Number.isSafeInteger(f.ts) && f.ts > 0 && typeof f.nn === "string" && f.nn.length === 32 && B64.test(f.nn) && typeof f.c === "string" && f.c.length <= MAX_TEXT_BOX && B64.test(f.c) && typeof f.sig === "string" && f.sig.length === 86 && B64.test(f.sig);
|
|
35649
35783
|
}
|
|
35784
|
+
/** A message frame's own fields alone: whatever else came beside them is outside its author's signature, so no member's word, and is neither kept nor handed on. */
|
|
35785
|
+
function messageFields(f) {
|
|
35786
|
+
const { t, v, g, e, h, s, n, ts, nn, c, sig } = f;
|
|
35787
|
+
return {
|
|
35788
|
+
t,
|
|
35789
|
+
v,
|
|
35790
|
+
g,
|
|
35791
|
+
e,
|
|
35792
|
+
h,
|
|
35793
|
+
s,
|
|
35794
|
+
n,
|
|
35795
|
+
ts,
|
|
35796
|
+
nn,
|
|
35797
|
+
c,
|
|
35798
|
+
sig
|
|
35799
|
+
};
|
|
35800
|
+
}
|
|
35650
35801
|
/**
|
|
35651
35802
|
* One member's view of a community group: the branch it follows and the ones it knows, the
|
|
35652
35803
|
* secrets it holds, what it has seen, and the recent frames it keeps for others.
|
|
@@ -35734,6 +35885,7 @@ var CommunitySession = class CommunitySession {
|
|
|
35734
35885
|
});
|
|
35735
35886
|
this.rebuild();
|
|
35736
35887
|
this.pruneSeen();
|
|
35888
|
+
if (hooks.removed && this.unquote((id) => hooks.removed(id))) this.persistSoon();
|
|
35737
35889
|
this.adminSeen = this.admin;
|
|
35738
35890
|
if ((state.status === "active" || state.status === "lost") && this.bestBranch().tip !== this.topHash) this.serialize(() => this.chooseBranch());
|
|
35739
35891
|
}
|
|
@@ -37395,11 +37547,74 @@ var CommunitySession = class CommunitySession {
|
|
|
37395
37547
|
forget(id) {
|
|
37396
37548
|
const author = id.slice(0, id.indexOf(":"));
|
|
37397
37549
|
const kept = this.state.store.filter((f) => f.s !== author || this.storedId(f) !== id);
|
|
37398
|
-
|
|
37399
|
-
|
|
37400
|
-
|
|
37401
|
-
|
|
37402
|
-
|
|
37550
|
+
const dropped = kept.length !== this.state.store.length;
|
|
37551
|
+
if (dropped) {
|
|
37552
|
+
const left = new Set(kept.map(storeKey));
|
|
37553
|
+
for (const f of this.state.store) if (!left.has(storeKey(f))) this.onRows.delete(storeKey(f));
|
|
37554
|
+
this.state.store = kept;
|
|
37555
|
+
}
|
|
37556
|
+
if (this.unquote((quoted) => quoted === id) || dropped) this.persistSoon();
|
|
37557
|
+
}
|
|
37558
|
+
/**
|
|
37559
|
+
* The frames whose reply quotes a message deleted for everyone (`gone`): the line of it (`r.s`) is sealed with them,
|
|
37560
|
+
* and opens with the epoch secret this profile keeps. Mine is sealed again with an empty line, in its place, time and
|
|
37561
|
+
* reply, and signed again: a member who holds the first drops it as seen, one who missed it gets the reply without
|
|
37562
|
+
* the line. A member's I cannot sign again: it goes, and its author hands it on. Either way the row that held the
|
|
37563
|
+
* first gives it up; mine is saved with the state from then on.
|
|
37564
|
+
*/
|
|
37565
|
+
unquote(gone) {
|
|
37566
|
+
let changed = false;
|
|
37567
|
+
const store = [];
|
|
37568
|
+
for (const f of this.state.store) {
|
|
37569
|
+
const key = this.messageKey(f);
|
|
37570
|
+
const plain = key ? decryptText(key, messageAad(f), f.nn, f.c) : null;
|
|
37571
|
+
let parsed = null;
|
|
37572
|
+
try {
|
|
37573
|
+
parsed = plain === null ? null : JSON.parse(plain);
|
|
37574
|
+
} catch {}
|
|
37575
|
+
const r = isObject$5(parsed) ? parsed.r : void 0;
|
|
37576
|
+
if (!isObject$5(r) || typeof r.i !== "string" || r.s === "" || !gone(r.i)) {
|
|
37577
|
+
store.push(f);
|
|
37578
|
+
continue;
|
|
37579
|
+
}
|
|
37580
|
+
changed = true;
|
|
37581
|
+
const row = this.onRows.get(storeKey(f));
|
|
37582
|
+
if (row !== void 0) {
|
|
37583
|
+
this.onRows.delete(storeKey(f));
|
|
37584
|
+
this.hooks.forgetFrame?.(row);
|
|
37585
|
+
}
|
|
37586
|
+
if (f.s !== this.myKey) continue;
|
|
37587
|
+
const { n: nn, c } = encryptText(key, messageAad(f), JSON.stringify({
|
|
37588
|
+
...parsed,
|
|
37589
|
+
r: {
|
|
37590
|
+
...r,
|
|
37591
|
+
s: ""
|
|
37592
|
+
}
|
|
37593
|
+
}));
|
|
37594
|
+
const unsigned = {
|
|
37595
|
+
g: f.g,
|
|
37596
|
+
e: f.e,
|
|
37597
|
+
h: f.h,
|
|
37598
|
+
s: f.s,
|
|
37599
|
+
n: f.n,
|
|
37600
|
+
ts: f.ts,
|
|
37601
|
+
nn,
|
|
37602
|
+
c
|
|
37603
|
+
};
|
|
37604
|
+
store.push({
|
|
37605
|
+
t: "group-msg",
|
|
37606
|
+
v: 2,
|
|
37607
|
+
...unsigned,
|
|
37608
|
+
sig: toBase64Url(sign(messageSigned(unsigned), this.identity.seed))
|
|
37609
|
+
});
|
|
37610
|
+
}
|
|
37611
|
+
if (changed) this.state.store = store;
|
|
37612
|
+
return changed;
|
|
37613
|
+
}
|
|
37614
|
+
/** The key a stored frame is sealed with, when I hold its epoch's secret. */
|
|
37615
|
+
messageKey(f) {
|
|
37616
|
+
const found = this.commitByShort(f.e, f.h), secret = found && this.state.secrets[found.hash];
|
|
37617
|
+
return secret ? epochKeys(fromBase64Url(secret), this.id, f.e).message : void 0;
|
|
37403
37618
|
}
|
|
37404
37619
|
/** The id of the message a stored frame is, by its first place when it was said again (and I can open it). */
|
|
37405
37620
|
storedId(f) {
|
|
@@ -37431,11 +37646,16 @@ var CommunitySession = class CommunitySession {
|
|
|
37431
37646
|
/** The frames the app's rows hold, into the store: oldest first by when they were written, with what the record kept from before. */
|
|
37432
37647
|
takeRows(rows) {
|
|
37433
37648
|
if (!rows.length) return;
|
|
37434
|
-
const inRecord = new
|
|
37649
|
+
const inRecord = new Map(this.state.store.map((f) => [storeKey(f), f]));
|
|
37435
37650
|
for (const { id, frame } of rows) {
|
|
37436
|
-
this.onRows.set(storeKey(frame), id);
|
|
37437
|
-
if (!inRecord.has(storeKey(frame))) this.state.store.push(frame);
|
|
37438
37651
|
if (frame.s === this.myKey && frame.h === shortHash(this.state.seqH) && frame.n >= this.state.seq && frame.n < OWN_FRAME_LIMIT) this.state.seq = frame.n + 1;
|
|
37652
|
+
const recorded = inRecord.get(storeKey(frame));
|
|
37653
|
+
if (recorded && frame.s === this.myKey && recorded.sig !== frame.sig) {
|
|
37654
|
+
this.hooks.forgetFrame?.(id);
|
|
37655
|
+
continue;
|
|
37656
|
+
}
|
|
37657
|
+
this.onRows.set(storeKey(frame), id);
|
|
37658
|
+
if (!recorded) this.state.store.push(messageFields(frame));
|
|
37439
37659
|
}
|
|
37440
37660
|
this.state.store.sort((a, b) => a.ts - b.ts);
|
|
37441
37661
|
this.trimStore();
|
|
@@ -37732,18 +37952,18 @@ var CommunitySession = class CommunitySession {
|
|
|
37732
37952
|
* once: the mark says it is passed on as it came.
|
|
37733
37953
|
*/
|
|
37734
37954
|
passOn(frame) {
|
|
37735
|
-
if (frame
|
|
37736
|
-
const
|
|
37955
|
+
if (!isMessageFrame(frame)) return frame;
|
|
37956
|
+
const fields = messageFields(frame);
|
|
37737
37957
|
return this.cameLive.has(frame) ? {
|
|
37738
|
-
...
|
|
37958
|
+
...fields,
|
|
37739
37959
|
lv: this.myKey
|
|
37740
|
-
} :
|
|
37960
|
+
} : fields;
|
|
37741
37961
|
}
|
|
37742
37962
|
/** `waited`: it waited for a commit or a secret (`replayWaiting`), so it is not live. */
|
|
37743
37963
|
async receiveMessage(from, input, waited = false) {
|
|
37744
37964
|
if (!isMessageFrame(input)) return false;
|
|
37745
|
-
const
|
|
37746
|
-
const raw =
|
|
37965
|
+
const mark = input.lv;
|
|
37966
|
+
const raw = messageFields(input);
|
|
37747
37967
|
if (raw.s === this.myKey) {
|
|
37748
37968
|
this.ownFrame(raw);
|
|
37749
37969
|
return false;
|
|
@@ -40106,6 +40326,6 @@ function x401ApprovalDigest(subject) {
|
|
|
40106
40326
|
]);
|
|
40107
40327
|
return toBase64Url(sha256(utf8Encode(canonical)));
|
|
40108
40328
|
}
|
|
40109
|
-
export { ACTIVE_DHT_POLL_MS, ACTIVE_TASK_STATUSES, ANSWERS_REFUSED_PAUSES, ANSWERS_REFUSED_PAUSE_MS, ANSWER_READ_ALLOWANCE, ANSWER_READ_FIRST_MS, ANSWER_READ_SPACING_MS, ANSWER_REFUSED_REDIALS, APPS_CAPABILITY, APP_BUNDLE_LIMITS, APP_BUNDLE_MAGIC, APP_CLIENTS, APP_CLIENT_NAME, APP_DATA_MAX_BYTES, APP_FORBIDDEN_KEYS, APP_FRAME, APP_ICON_PATH, APP_NAME, APP_PEER_OPEN_MAX, APP_PERMISSIONS, APP_PREFIXES, APP_RANGES_CAPABILITY, APP_RANGE_DATA_KIND, APP_RANGE_ERRORS, APP_RANGE_FRAMES, APP_RANGE_LIMITS, APP_RATE_LIMIT, APP_RATE_WINDOW_MS, APP_RESUME_GRACE_MS, APP_SCREENSHOTS_DIR, APP_SEND_LIMIT, APP_STATEMENT_LIMITS, APP_STORE_KINDS, APP_STORE_LIMITS, APP_VERSION_MAX, APP_VIEWS, ATPROTO_DECLARED_SCOPE, ATPROTO_FULL_SCOPE, ATPROTO_PROOF_COLLECTION, ATPROTO_PROOF_SCOPE, AUDIO_METADATA_LIMITS, AUTOMATIC_ORDER, AWAITED_READS, AWAITING_PEER_MS, AppRanges, AppSessions, AtprotoCid, AtprotoProofError, BACKGROUND_REQUESTS_PER_MINUTE, BACKGROUND_WHILE_SIGNALING, BACKGROUND_WRITES_SHARE, BIP322_REVISION, BITCOIN_NETWORKS, BLOCKED_DIAL_WAIT_MS, BOLT11_PATTERN, BREAKER_ALL_DOWN_PROBE_MS, BREAKER_BASE_MS, BREAKER_MAX_MS, BREAKER_THRESHOLD, BURST_RING_MS, BUTTONS_CAPABILITY, BUTTON_ID, BUTTON_STYLES, BitcoinAddressError, ByteReader, CALLS_CAPABILITY, CALL_RATE_WINDOW_MS, CALL_RECEIVE_LIMIT, CALL_SIGNAL_FUTURE_MS, CALL_SIGNAL_MAX_AGE_MS, CAPS_ISSUED_BACK_MS, CAPS_LABEL, CAPS_LIMITS, CAPS_PUBLISH_SPACING_MS, CAPS_REFRESH_MS, CARRIED_DEFER_MS, CATCH_UP_PAUSE_MS, CATCH_UP_SLICE, CHAT_RESERVE, CHAT_RESERVE_MOST_SHARE, CHAT_RESERVE_PER_CHAT, CHAT_WATCH_SHARE, CHUNK_FLAG_END, CHUNK_KIND, CLIPBOARD_GUARD_HASH, CLIPBOARD_GUARD_SCRIPT, CLOCK_EVIDENCE_MS, CLOCK_OFF_MS, CLOCK_PEERS, CLOCK_PEER_READ_GAP_MS, CLOCK_SERVERS, COMMUNITY_EDIT_FRAME, COMMUNITY_LIMITS, COMMUNITY_PIN_FRAME, COMMUNITY_PROFILE, COMMUNITY_REACTION_FRAME, COMMUNITY_TAKEOVER_META_MS, COMMUNITY_TOPOLOGY, CONNECT_TIMEOUT_MS, CONTACT_ASKER_FRAME, CONTACT_LINK_BYTES, CONTACT_LINK_VERSION, CONTACT_RECORD_TTL, CRON_LINE, CROSSED_FRESH_MS, CROSSED_PROBE_MS, CROSSED_WAIT_MS, CapsExchange, CapsKeys, CapsRefusedError, CarriedTransport, CatchUpAnswers, ChatFiles, ClockWatch, CommunitySession, ContactRequestError, DAEMON_WATCH_PEER_IDLE_MS, DATA_CHANNEL_ID, DATA_CHANNEL_LABEL, DATA_SETTLE_MS, DEFAULT_RELAYS, DEMOTE_AFTER_FAILURES, DEMOTE_MS, DEPARTED_READS, DEPARTED_READ_MS, DEVICES_CAPABILITY, DEVICE_CAPABILITIES, DEVICE_ECHO_FRAME, DEVICE_INVITE_BYTES, DEVICE_INVITE_LIFETIME_S, DEVICE_INVITE_OWN_DEVICE, DEVICE_INVITE_VERSION, DEVICE_KINDS, DEVICE_PING_FRAME, DEVICE_WAKE_TTL_SECONDS, DHT_FILE_CAPABILITY, DHT_FILE_REFUSED, DHT_FILE_TOO_LARGE, DHT_MESSAGE_TTL, DHT_PACKET_BUDGET, DHT_PIN_GRACE_MS, DHT_POLL_INTERVALS, DHT_TEXT_BYTES, DHT_TEXT_CAPABILITY, DHT_TEXT_REFUSED, DIALED_IN_CONTENDERS, DID_DHT_MAX_PAYLOAD, DID_DHT_PREFIX, DID_DHT_TTL, DID_DHT_VERSION, DID_DOCUMENT_MAX_BYTES, DID_FILE_MAX_BYTES, DID_GHOSTLY_SERVICE, DID_JWS_ALGS, DID_JWS_MAX_LENGTH, DID_MAX_LENGTH, DID_METHODS, DIRECT_EVIDENCE_MS, DIRECT_OWN_ATTEMPTS, DIRECT_PEERS, DNS_LABEL, DNS_TYPE, DOMAIN_FILE_MAX_BYTES, DOMAIN_MAX_RECORDS, DOMAIN_METHODS, DOMAIN_TXT_MAX_BYTES, DataLink, DhtDelivery, DidDhtError, DidError, DirectPathWatch, DiscoveryBudgetError, EARLY_DIAL_JOIN_MS, EDITED_FRAME, EDIT_BUFFER_MAX, EDIT_BUFFER_MS, EDIT_CAPABILITY, EDIT_FRAME, EDIT_RATE_WINDOW_MS, EDIT_RECEIVE_LIMIT, EDIT_SEND_LIMIT, ENDPOINT, ENGINE_ERRORS, ENROLL_CANCEL, ENROLL_CANCEL_REASONS, ENROLL_CAPABILITY, ENROLL_DONE, ENROLL_GRANT, ENROLL_HELLO, ENROLL_PROOF, ETHEREUM_USDT, EVM_TEST_CHAINS, EXPECT_PEER_MS, EngineError, FILES_BINARY_CAPABILITY, FILES_CAPABILITY, FILE_DATA_KIND, FILE_FRAMES, FILE_LIMITS, FIRST_PAIRING_PACE_MS, FIRST_PUBLISH_MAX_MS, FLOOD_PER_DAY, FOLLOW_MS, FORWARD_LIMITS, FRESH_READ_MS, FileTransfers, FileUplink, GATHER_ATTEMPTS, GATHER_STALL_MS, GROUP_ADMIN_OFF_ERROR, GROUP_BURST_MS, GROUP_BURST_ONE_LINK, GROUP_CALL_MODERATION_ACTS, GROUP_CALL_NONCE_S, GROUP_CALL_SKEW_S, GROUP_CALL_SOURCES, GROUP_CALL_VERSION, GROUP_EDIT_FRAME, GROUP_EDIT_TEXT_BYTES, GROUP_ENTRY_PROFILE, GROUP_FILE_LIMITS, GROUP_HAVE_FRAME, GROUP_ID, GROUP_LIMITS, GROUP_MEMBER_CAP, GROUP_META_PAST, GROUP_META_PAST_CHARS, GROUP_OVER_PACE_MS, GROUP_PIN_FRAME, GROUP_PROFILE, GROUP_RATION_WINDOW_MS, GROUP_REACTED_FRAME, GROUP_REACTION_FRAME, GROUP_READ_NOTE, GROUP_READ_NOTE_COMMUNITY, GROUP_SIGNALING_ALLOWANCE_SHARE, GROUP_SIGNAL_FRAME, GROUP_TAKEOVER_META_MS, GROUP_TYPING_FRAME, GROUP_VERSION_FILES, GROUP_VERSION_HUBS, GROUP_VERSION_LARGE, GROUP_VERSION_SIGNALS, GROUP_WAKE_FRAME, GROUP_WAKE_GROUP_LIMIT, GROUP_WAKE_GROUP_WINDOW_MS, GROUP_WAKE_MEMBER_INTERVAL_MS, GROUP_WAKE_RECEIVE_LIMIT, GROUP_WANT_FRAME, GROUP_WANT_NO_FRAME, GhostLink, GhostlyHttpError, GroupSession, GroupTypingBoard, GroupWakeLimiter, HANDLED_WAIT_MS, HANDOFF_ACK, HANDOFF_ATTEMPTS, HANDOFF_BUSY, HANDOFF_BUSY_REASONS, HANDOFF_CANCEL, HANDOFF_CANCEL_REASONS, HANDOFF_CAPABILITY, HANDOFF_DATA, HANDOFF_DONE, HANDOFF_FILE_MISSING, HANDOFF_FILE_REQUEST, HANDOFF_HAVE, HANDOFF_HELLO, HANDOFF_LATER_BYTES, HANDOFF_LIST_PER_FRAME, HANDOFF_MANIFEST, HANDOFF_OFFER, HANDOFF_PAKE, HANDOFF_PIECE_BYTES, HANDOFF_PIECE_OVERHEAD, HANDOFF_RELEASE, HANDOFF_REQUEST, HANDOFF_TIMINGS, HANDOFF_VERIFIED, HANDOFF_VERSION, HANDOFF_WINDOW, HEDGE_MISSING_MS, HEDGE_MS, HOLD_CAPABILITY, HOLD_DATED_BACK_MS, HOLD_LIMITS, HTTP_SERVICE_PROTO, HoldKeys, HoldRefusedError, HttpClient, HttpHost, IDENTITY_CHALLENGE_WINDOW, IDENTITY_CHECK_UNAVAILABLE, IDENTITY_CLOCK_SKEW, IDENTITY_FRAME_LIMIT, IDENTITY_FRAME_WINDOW_MS, IDENTITY_MAX_CHECKS_PER_HOUR, IDENTITY_MAX_EVIDENCE, IDENTITY_MAX_FRAME, IDENTITY_MAX_RECEIVED, IDENTITY_MAX_VALIDITY, IDENTITY_MEMO_IDLE_MS, IDENTITY_MEMO_MAX, IDENTITY_MEMO_SIZE, IDENTITY_PROOF_CAPABILITY, IDENTITY_PROVIDER_ID, IDENTITY_REUSE_CHECK_S, IDENTITY_REVOCATION_LABEL, IDENTITY_STATEMENT_PREFIX, IDENTITY_SUBJECT, IDENTITY_TIMELINE_MAX, IDLE_THRESHOLD, IMAGE_LIMITS, INVITER_DIAL_GRACE_MS, INVITE_HRP, INVITE_LINK_ORIGIN, INVITE_MAX_LENGTH, INVITE_TAKEN, INVITE_VERSION, ITEM_STATES, IdentityCheckUnavailable, IdentityExchange, KNOCK_SLOTS, KNOCK_SLOT_LABEL, KNOCK_TTL_MS, KNOWN_SESSION_CAPABILITIES, LABEL, LATE_ANSWER_MS, LEGACY_GROUP_MEMBERS, LEGACY_SERVICES, LIGHTNING_DESTINATION_PATTERN, LIMITS, LINK_MAX_CHARS, LINK_PREVIEW_LIMITS, LINK_RECORD_LABEL, LINK_TRAILING, LIVENESS_MISSED_PINGS, LIVENESS_PING_MS, LIVE_POLL_MS, LNURL_LIMITS, LinkSession, MAX_AVATAR_LENGTH, MAX_AVATAR_SIDE, MAX_CHUNK_PAYLOAD_BYTES, MAX_DHT_TEXT_BYTES, MAX_DNS_PACKET_BYTES, MAX_DONE, MAX_EDITS_PER_MESSAGE, MAX_GROUP_CALL_NAME, MAX_GROUP_CALL_SFU, MAX_GROUP_CHAIN, MAX_GROUP_MEMBERS, MAX_GROUP_META_BODY, MAX_GROUP_NAME_BYTES, MAX_GROUP_NAME_LENGTH, MAX_GROUP_PICTURE_LENGTH, MAX_KNOCKS, MAX_MISSED, MAX_MSGS_PAYLOAD_B64, MAX_NICK_LENGTH, MAX_PAIRED_CALL_SIGNAL, MAX_PAIRED_MESSAGE_FRAME, MAX_REMOVAL_NUMBER, MAX_SEEN, MAX_SERVICES, MAX_SHARED_APPS, MAX_SKIP, MAX_SKIPPED_KEYS, MAX_SLOT_KNOCKS, MAX_WAITING, MEMBER_KEY, MENTION_EVERYONE, MENTION_LIMITS, MESH_HUBS, MESSAGE_CLOCK_SKEW_MS, MESSAGE_PACED, MESSAGE_RECEIVE_LIMITS, MessagePace, MessageRefusal, NEW_PER_HOUR, NIP05_PATH, NO_ATTEMPTS, NO_AUDIO_METADATA, NO_HUB_POLICY, NO_PICTURE_METADATA, NO_VIDEO_METADATA, OFFER_FAST_MS, OFFER_HOST_GATHER_MS, OFFER_LOOK_MS, OFFER_STEP_MAX, ONCHAIN_PROVIDER, OWN_FRAME_LIMIT, OwnInviteError, PAIRED_CALL_CANDIDATES, PAIRED_CALL_FRAME, PAIRED_FRAME_TOO_LARGE, PAIRED_PROFILE, PAIRED_REPLY_AUTHORS, PAIRING_ATTEMPT_MS, PAIRING_RETRY_MS, PICTURE_METADATA_LIMITS, PINNED_FRAME, PIN_CAPABILITY, PIN_CLOCK_SKEW_MS, PIN_FRAME, PIN_LIMITS, PKARR_FUTURE_SKEW_MS, PLAYABLE_AUDIO, PLAYABLE_VIDEO, PONG_WAIT_MS, PRESENCES, PRESENCE_HEARTBEAT, PRESENCE_WINDOW, PREVIEWABLE_IMAGE, PREVIOUS_DEFAULT_RELAYS, PROOF_ADAPTERS, PROOF_CAPABILITY, PROTOCOL_VERSION, PR_CHECKS, PR_STATES, PUBKY_PROOF_MAX_BYTES, PUBKY_PROOF_ROOT, PUSH_PAD_BYTES, PUSH_SERVICE_HOSTS, PacketTooLargeError, PairedCalls, PairedSession, PairingTracker, PaymentPreflightError, PeerProofs, PublishFailedError, QUICK_REACTIONS, QUICK_REDIAL_MS, RACE_ANSWERED_MS, RACE_DIRECT_MS, RACE_RELAYED_MS, RATCHET_CAPABILITY, RATCHET_HEADER_BYTES, RATCHET_KEEP_MS, RATCHET_OVERHEAD, REACTED_FRAME, REACTIONS_CAPABILITY, REACTION_FRAME, REACTION_LIMITS, REANSWERS, RECORDING_TYPES, RECORD_TTL, REDESCRIBED_GRACE_MS, RELAYED_FIRST_MS, RELAY_PAYLOAD_MAX_BYTES, RELAY_POLL_INTERVALS, RELAY_REQUESTS_PER_MINUTE, RELAY_URL, RELAY_WITH_SECRETS, REMOVABLE_KINDS, REMOVED_TEXT, REOPEN_BELOW, REPLY_ID, REPLY_LIMITS, REQUESTS_PER_MINUTE, REQUEST_CLOCK_SKEW_MS, REQUEST_LABEL, REQUEST_LIFETIME_MS, REQUEST_NAME_UNITS, REQUEST_PACKET_BYTES, REQUEST_TEXT_BYTES, RESUME_WAIT_MS, RING_LIFETIME, ROUTINE_STATES, RTC_CONFIG, RTC_SIGNAL_FUTURE_MS, RTC_SIGNAL_MAX_AGE_MS, RTC_SIGNAL_RATE_WINDOW_MS, RTC_SIGNAL_RECEIVE_LIMIT, RTC_UNSTARTED_MS, RUN_RESULTS, RatchetBox, RateWindow, ReactionWindow, RelayBreaker, RelayTransport, RelaysFailedError, SAID_AGAIN, SEPOLIA_TEST_USDT, SEPOLIA_TEST_USDT_FAUCET, SERVICES_CAPABILITY, SERVICES_VERSION, SESSION_CAPABILITIES_FRAME, SESSION_FRAME_MAX, SESSION_RECEIVE_PENDING, SET_ACK, SET_UPDATE, SIGNALING_ALLOWANCE_SHARE, SIGNALING_WINDOW_MS, SIGNALS_PER_MINUTE, SIGNAL_CARRIERS, SIGNAL_DUE_READS, SIGNAL_FRESH_MS, SIGNAL_HOLD_MS, SIGNAL_OUT_READS, SIGNAL_PROVEN_MS, SIGNAL_REPLY_MS, SLOW_DEMOTE_MS, SLOW_MS, SPARK_NETWORKS, SPARK_PROVIDER, SSHSIG_MAX_ARMOR, SSHSIG_NAMESPACE, SSH_KEY_TYPES, SSH_PUBLIC_KEY_MAX, STALLED_EVIDENCE_MS, STALLED_LOOK_MS, STAMP_BITS_DEFAULT, STAMP_BITS_MAX, STAMP_BITS_MIN, STATUS_AVAILABILITIES, STATUS_CAPABILITY, STATUS_CARD_CAPABILITY, STATUS_CARD_LIMITS, STATUS_FRAME, STATUS_IDLE_AFTER_MS, STATUS_RATE_LIMIT, STATUS_RATE_WINDOW_MS, STATUS_SEND_INTERVAL_MS, STATUS_TEXT_MAX, STORAGE_LIFETIME, STORAGE_ROOT, SWITCH_RETIRE_MS, SessionCapabilities, SshSigError, StatusReceiver, StatusSender, TASK_STATUSES, TEST_USDT_FAUCET_AMOUNT, TOMBSTONE_SEQUENCE, TOMBSTONE_TURN, TRANSPORTS, TRANSPORTS_GONE_MS, TURN_BODY_BYTES, TURN_LABEL, TURN_LAST_SEQUENCE, TURN_MAX, TURN_NAME_BYTES, TURN_NO_ACTIVE, TURN_PUT_WINDOW_MS, TURN_RAISE_READ_TIMEOUT_MS, TURN_REV_LIMIT, TURN_SEALED_BYTES, TURN_SETTLE_MS, TURN_SIGNED_BYTES, TURN_SLOTS, TURN_SOURCE_TIMEOUT_MS, TURN_TTL, TURN_VERSION, TURN_VISIBLE_MS, TYPING_CAPABILITY, TYPING_FRAME, TYPING_KINDS, TYPING_RATE_LIMIT, TYPING_RATE_WINDOW_MS, TYPING_REFRESH_MS, TYPING_SEND_LIMIT, TYPING_STATUS_MAX, TYPING_TIMEOUT_MS, TurnRecordError, TypingReceiver, TypingSender, UNPROVEN_AUTH_MS, UNUSED_INVITE_READS_PER_MINUTE, UNUSED_INVITE_UPKEEP_MS, UNUSED_INVITE_WAIT_MAX_MS, UPGRADE_CAPABILITY, USDT_PUBLIC_RPC, VIDEO_LIMITS, VIDEO_METADATA_LIMITS, VIEWER_DROPPED_DIRECTIVES, VIEWER_DROPPED_HEADERS, VIEWER_GUARD_CSP, VIEWER_GUARD_HASH, VIEWER_GUARD_SCRIPT, VIEWER_PERMISSIONS_POLICY, VIEWER_SERVICE_CSP, VIEWER_SERVICE_CSP_RELAY_ONLY, VIEWER_WORKER_GUARD_CSP, VOICE_LIMITS, VOICE_METER, WAKE_ANSWER_GRACE_MS, WAKE_CALL_INTERVAL_MS, WAKE_CALL_TTL_SECONDS, WAKE_CALL_WAIT_MS, WAKE_SESSION_CAPABILITY as WAKE_CAPABILITY, WAKE_SESSION_CAPABILITY, WAKE_FRAME, WAKE_INTERVAL_MS, WAKE_LOST_MS, WAKE_ONLINE_BATCH, WAKE_ONLINE_BATCH_MS, WAKE_ONLINE_DELAY_MS, WAKE_ONLINE_INTERVAL_MS, WAKE_ONLINE_TTL_SECONDS, WAKE_RETRY_MS, WAKE_SUBJECT, WAKE_TTL_SECONDS, WALLET_NETWORKS, WATCH_PEER_MS, WATCH_SHARE, WAY_BACK_SHARE, WEBRTC_GUARD, WELL_KNOWN_PATH, WRITE_FIRST_MS, WakeLimiter, WebPushError, X401_CREDENTIAL_LIMITS, X401_DCQL_LIMITS, X401_HEADERS, X401_LIMITS, X401_PROTOCOLS, X401_REQUEST_LIMITS, X401_RESPONSE_MODES, X401_SCHEME, X401_VERSION, addedAppPermissions, allowingViewerGuard, answersOffer, appCardId, appCardUrl, appCloseFrame, appDataBytes, appDataFrame, appDigest, appFingerprint, appOpenFrame, appRangeCancelFrame, appRangeChunk, appRangeDataFrame, appRangeEndFrame, appRangeErrorFrame, appRangeGetFrame, appRef, appRefPublisher, appRevocationFor, appRevocationId, appSignedBytes, appStoreDecision, appUpdateDecision, appViewOf, applyIdentityEvent, arkAddressPrefix, arrivalKey, asWritten, assembleAppBundle, assertTokenUnits, assertWholeSats, atprotoCidFor, atprotoDidMethod, atprotoProofRecord, atprotoProofRkey, audioMetadataPatches, automaticTransport, baseMime, beaconKeys, beaconRecords, bip322MessageHash, bip322ToSign, bip322ToSpend, boundIdentityDisplay, boundVerifiedIdentity, budgetRetryMs, buildAppBundle, buildDataSdp, buildLinkRecords, buildSdpFromSignal, buildX401ProofRequest, buildX401ProofResult, buildX401ResultArtifact, buildX401TokenObject, buttonLabelClash, bytesEqual, callRtcConfig, callSignalHeardAt, canonicalJson, canonicalJsonBytes, canonicalUrl, capsDescriptors, cardEditNumber, cardLine, cardLinkHost, cardTimeUtc, cardUrl, carryMentions, cashuRequestPayload, chainPieces, chatAppId, checkAppBeforeRun, checkAppListing, checkAppManifest, checkAppRevokeStatement, checkAppStoreIndex, checkAtprotoProofRecord, checkDidJws, checkDidSignature, checkPushEndpoint, checkStatusCard, checkedDescriptors, claimedTime, classifyTurnRead, clearMissed, clockOffset, commitHash, commitUntaggedHash, communityCommitHash, communityEditFrame, communityGroupId, communityHasFrame, communityMessageAuthor, communityMessageId, communityRoster, communityUntaggedHash, compactSize, compareVersions, compressSdp, concatBytes, confirmationMatches, confirmationTag, contactAskerFrame, contactAskerHolds, contactDay, contactRtcConfig, countUnusedInvite, createChatInvite, createContactLink, createDeviceInvite, createIdentity, createLink, createRelayPayload, currentRelays, decodeAnyBitcoinAddress, decodeAppRangeData, decodeAtprotoCommit, decodeBase64, decodeBitcoinAddress, decodeBolt11, decodeChunk, decodeCommunityLink, decodeControl, decodeDagCbor, decodeDidDhtPacket, decodeDnsAnswers, decodeDnsResponse, decodeFileData, decodeGroupEntryLink, decodeInviteCode, decodeServices, decodeSvcbRecords, decodeTx, decodeTxtPacket, decodeWitness, decodeX401Header, decompressSdp, decrypt, decryptPushPayload, decryptText, derivedSecret, deviceEchoFrame, deviceEchoNonce, deviceFrameCapability, deviceInviteJoinerKeyZ32, deviceInviteJoinerParams, deviceKeyZ32, deviceLinkPairing, deviceLinkParams, deviceLinkRendezvousSeed, deviceLinkSealKey, deviceLinkSecret, devicePingFrame, deviceWakeRequest, dhtEditId, dhtFileElements, dhtFileId, dialDescriptors, dialableIrohRelay, didDhtDocument, didDhtFromPublicKey, didDhtKey, didDhtRecords, didGhostlyServiceEntry, didJwsAlg, didSignedMessages, didWebDocumentUrl, didWebFile, didWebFileNames, didWebFileUrl, didWebHost, directBlocked, dnsProofName, domainTxtRecord, domainWellKnownFile, doorHubs, downsamplePeaks, dropLoneJoiners, edgeParams, editFrame, editedFrame, emptyCapsState, emptyDhtDeliveryState, emptyIdentityLedger, emptyLinkRecords, emptyProofLedger, emptyRatchetState, encodeAppRangeData, encodeChunk, encodeCommunityLink, encodeContactLink, encodeControl, encodeDagCbor, encodeDeviceInvite, encodeDidDhtDeactivated, encodeDidDhtPacket, encodeDnsQuery, encodeFileData, encodeGhostlyInvite, encodeGroupEntryLink, encodeGroupMetaBody, encodeInviteCode, encodePacketTransports, encodeServices, encodeSetSlots, encodeSvcbPacket, encodeTurnFields, encodeTx, encodeTxtPacket, encodeWitness, encodeX401Header, encrypt, encryptPushPayload, encryptText, endedRequests, engineError, engineText, enrollCancelFrame, enrollCancelReason, enrollDigits, enrollDoneFrame, enrollGrantFrame, enrollHelloFrame, enrollMessage, enrollProofFrame, entryParams, epochKeys, exifOrientation, expectedRoster, extractParamsFromSdp, extractRtcParams, fedimintRequestPayload, fetchLnurlJson, fetchesByItself, fileMessageText, filePartDigest, filePartName, findAppForbiddenKey, findBolt11, findEndpoint, findInMst, findLightningDestination, firstDeviceSetSecret, formatEnrollDigits, formatFileSize, formatLocalTarget, formatPaymentAmount, formatVideoDuration, formatVoiceDuration, forwardedAgain, forwardedMany, frameBytes, freshHubs, fromBase64, fromBase64Url, fromZ32, generateEncryptionKey, generateVapidKeys, groupCallE2ee, groupCallKey, groupCallModerationBytes, groupCallRequestBytes, groupCallRoom, groupCallSfu, groupDisplayName, groupEntryUrl, groupFileFallback, groupMessageId, groupMetaBody, groupMetaChange, groupMetaNewer, groupMetaPicture, groupMetaTag, groupMetaToHand, groupName, groupReplyAuthor, groupSignalFrame, groupTypingEpoch, groupWakeFrame, groupWakes, guardViewerAnswer, handoffAckFrame, handoffAttemptAllowed, handoffAttemptFailed, handoffAttemptSucceeded, handoffBusyFrame, handoffCancelFrame, handoffContext, handoffContextProof, handoffDataFrame, handoffDigest, handoffDoneFrame, handoffEphemeral, handoffFileMissingFrame, handoffFileRequestFrame, handoffHaveFrames, handoffHelloFrame, handoffManifestFrames, handoffOfferFrame, handoffPakeFrame, handoffReleaseFrame, handoffRequestFrame, handoffRetryAfter, handoffStreamKey, handoffVerifiedFrame, handoffVerifiedMessage, handoffVersions, hasVisible, hash160, heardCallSignal, heardTime, heldBackError, homeserverWebEndpoint, hubRank, identityFromSeed, identityFromSeedB64, identityPresentationBytes, identityRefusal, identityRevocationValue, identityStatement, identityStatementText, imageSize, importedProof, inboxRecord, inviteLink, inviteOwnership, inviteQrSegments, inviteQrText, invoiceCallbackUrl, irohDescriptor, irohRelayUrl, isAppHash, isAppKey, isAppLicense, isAppLine, isAppPath, isAppRef, isAppSignature, isAppUrl, isAppVersion, isAsf, isAtprotoDid, isBitcoinAddress, isCandidateAddress, isChatAppId, isDiscoveryBudgetError, isEmptyLinkPacket, isFederationId, isGlobalIpv4Host, isGroupMessageId, isHandoffPartName, isHoldUrl, isIdentityBinding, isImageMime, isLegacySignature, isNewerVersion, isPlayableAudioType, isPlayableVideoType, isProofAdapter, isPubkyKey, isPubkyProofFolder, isPublicAddress, isRatcheted, isServeId, isSparkAddress, isStrippedPicture, isValidServiceId, isVideoMime, isViewerTag, isWalletNetwork, isX401Protocol, isZ32Key, jpegSize, jwkThumbprint, keepPastGroupMeta, keepsToRelays, keptAtEqualSequence, knockHolds, knockIdentity, knockRecords, knockSlotIdentity, knockSlotOf, knockSlotRecords, lastSharedWithMe, leaveStands, leaveStatement, leaveStatement3, leftStatement, legacyMessageHash, linkEnd, linkRecords, linkStop, linkTail, linksIn, liveStatus, lobbyKeys, lobbyRecords, makeStamp, makeStampPaced, matchX401Dcql, mayBeHub, mayPin, measureRecords, memberAdmissions, mentionedMembers, mentionsBytes, mentionsMember, mergeBeacon, mergeContactKnocks, mergeKnocks, mergeLobby, meshHubs, meshMessageRef, meshRendezvous, newDeviceSetSecret, newEpochSecret, newHandoffId, newMailbox as newHoldMailbox, newIdentityBinding, newInbox, newPubkyProofFolder, newWakeToken, newX401HolderKey, newerHead, newerPacket, nextGroupMetaRevision, nextPinNumber, nextReactionNumber, nextTurnPosition, nip05RootKey, normalizeAtprotoHandle, normalizeDid, normalizeDomain, normalizePubkyKey, normalizeRelayUrl, nostrProofTemplate, offerIsFresh, openDidDhtPayload, openGroupMeta, openGroupTyping, openHandoffPiece, openPair, openRelayPayload, openRequest, openSecret, openTurnValue, ownInviteRefusal, pacer, pairedEditFits, pairedMessageFits, pairedMessageFrame, pairedReplyAuthor, parseAppFrame, parseAppRangeFrame, parseAtprotoCar, parseAtprotoDidDocument, parseAtprotoDidKey, parseAtprotoVerificationKey, parseCallSignal, parseCashuRequestPayload, parseCommunityEdit, parseDid, parseDidDocument, parseDidJws, parseDidSignaturePaste, parseDomainTxt, parseEditFrame, parseEditedFrame, parseEngineError, parseFedimintRequestPayload, parseGroupCommit, parseGroupMetaBody, parseGroupMetaFrame, parseGroupMetaStatement, parseGroupMetaTag, parseGroupWakeFrame, parseHubPolicy, parseImageMeta, parseInvoiceCallback, parseLightningDestination, parseLinkPreview, parseLinkRecords, parseLocalTarget, parsePacketTransports, parsePairedCallFrame, parsePayParams, parsePaymentAmount, parsePaymentNetworks, parsePinFrame, parsePinnedFrame, parseReactedFrame, parseReactionFrame, parseRelayPayload, parseRtcSignal, parseSessionCapabilities, parseSshPublicKey, parseSshSignature, parseStatusFrame, parseTypingActivity, parseTypingFrame, parseVideoMeta, parseVoiceMeta, parseWakeFrame, pastedAgain, paymentUri, peekDhtMailbox, personStatus, pickCallCandidates, pickHubs, pickMeshHubs, pinFrame, pinIsNewer, pinNumberHolds, pinnedFrame, plainStatusLine, planAppUpdate, planKnocks, presenceSeenAt, presentX401SdJwtVc, previewImageSize, previewable, proofCapability, proofHash, proofStatement, pubkyHomeserverOf, pubkyProofCapability, pubkyProofFile, pubkyProofPath, publicKeyFromZ32, publishFailure, publishedNowhere, pushRequest, qrText, queueReaction, randomBytes, rankHubs, rankTransports, ratchetHeard, ratchetOn, ratchetOpen, ratchetRoot, ratchetSeal, ratchetSessionOf, ratchetUnknownSession, reactedFrame, reactionEmoji, reactionFrame, reactionIsNewer, readAppBundle, readAppBundleAsync, readAppFrame, readAppListing, readAppRangeFrame, readAppRevocation, readAppRevocationShape, readAppRevocations, readAppSignature, readAppStore, readAppStoreSteps, readAtprotoCid, readBeacon, readBeaconHead, readCanonicalJson, readContactLink, readDeviceInvite, readDhtFile, readDhtReactions, readDnsName, readEnrollGrant, readEnrollHello, readForwarded, readGroupFileMeta, readGroupHave, readGroupSignal, readGroupWant, readGroupWantNo, readHandoffAck, readHandoffBusy, readHandoffCancel, readHandoffData, readHandoffDone, readHandoffFileFrame, readHandoffHave, readHandoffHello, readHandoffManifest, readHandoffPake, readHandoffRelease, readHandoffTurnFrame, readHandoffVerified, readImageMeta, readInviteCode, readKnockSlot, readKnocks, readLinkRecord, readLobby, readManifest, readOwnRelayPayload, readPin, readReaction, readRelayBody, readReply, readSetUpdate, readStatusCard, readTurnBody, readTurnPacket, readWake, readWakePayload, readX401DcqlQuery, readX401OpenId4VpRequest, readX401ProofRequest, readX401ProofRequestHeader, readX401ProofResponse, readX401ProofResponseHeader, readX401ProofResult, readX401ProofResultHeader, readX401SdJwtVc, readingAhead, receivedIdentityStatus, receivedTimestamp, recordingMime, recordsFromTxt, recordsFromWellKnown, recordsName, refusalText, relativizeLocation, relayRequest, relayUrl, relayUrlProblem, relayUrlTooLong, relayedTransports, rememberAlone, removedCardText, repeatedJsonKey, replySnippet, requestLnurlInvoice, requestPlaintextBytes, requestRecords, resolveDidDht, resolveLightningDestination, resolveTargetUrl, revokesIdentity, ringAuthorization, ringClaims, ringEvidence, rosterAdmin, rosterHas, rosterHash, routedCommunityFrame, safeBlobType, sameButtonText, sameSshKey, sameStatusState, sameX401HolderJwk, sanitizeAvatar, sanitizeDisplayText, sanitizeFileName, sanitizeMime, sanitizeNick, sanitizePreviewImage, sanitizeRequestHeaders, sanitizeResponseHeaders, sanitizeStatusText, sanitizeTypingStatus, satsToBtc, sdpHasCandidates, sealGroupTyping, sealHandoffPiece, sealPair, sealSecret, sealTurnBody, sealedLength, seedSigner, seenEntry, sendBody, sentWhole, serviceIdFromName, servicesFromWire, servicesToWire, sessionCapabilitiesFrame, setAckFrame, setAppSignatureFastPath, setLinkTraceSink, setPublicKeyFastPath, setUpdateFrame, setUpdateMessage, settleRequest, sha256Hex, sha256Paced, sha256d, shortAtprotoDid, shortHash, shouldBeHub, shownTime, sign, signAppObject, signAppRevocation, signAppStore, signCommit, signCommunity, signDeviceTransports, signDidDhtPacket, signGroupCallModeration, signGroupCallRequest, signGroupMeta, signIdentityPresentation, signRelayPayload, signTombstone, signTurnBody, signTurnPacket, signTurnRelease, signalHasVideo, signingKeys, sortParts, sortRoster, sparkAddressKind, sparkInvoiceDetails, sparkNetworkOf, sshFingerprint, sshKeyDigestHex, sshSignCommand, stampHolds, staticDidDocument, statusCardBytes, statusCardText, statusFrame, statusState, storageProof, storageProofBody, storageProofPath, strictBase64Url, stripHidden, stripPictureMetadata, symmetricNat, takeRequest, taskProgress, toBase64, toBase64Url, toZ32, traceLink, transferEnded, transferStalled, transportOrder, trimEndOf, tryDecrypt, turnInstance, turnKeys, turnName, turnOff, turnPacket, turnPayloadSequence, turnPutSummary, turnReleaseMessage, turnSequence, turnSignedMessage, turnStatedVerifier, turnVerifierMark, txHash, txtValue, typingActivity, typingFrame, typingKindOf, u32, u64, unsignedCommitBytes, unsignedDeviceTransports, unusedInviteWait, unwrapPasted, uriEnd, usageLeft, utf8Decode, utf8Encode, validDomainRecord, validEditMessage, validEditNumber, validEditText, validExternalKey, validHead, validMentions, validReactionNumber, validRemovalNumber, validRingKey, validatePaymentTarget, vapidAuthorization, vapidKeysMatch, varBytes, verify, verifyAppRevocation, verifyAppSignature, verifyAppStatementBytes, verifyAtprotoRecordProof, verifyAtprotoSignature, verifyBip322, verifyBitcoinMessage, verifyChain, verifyCommit, verifyCommitSignature, verifyCommunityChain, verifyCommunityChainPaced, verifyCommunityCommit, verifyDeviceTransports, verifyEnrollProof, verifyGroupCallModeration, verifyGroupCallRequest, verifyGroupMetaSignature, verifyIdentityPresentation, verifyNostrProof, verifyPeerProof, verifyRingAuthorization, verifyRingEvidence, verifySetUpdate, verifySshSignature, videoMetadataPatches, viewerGuardOffset, viewerResponseHeaders, viewerServicePolicy, viewerTag, voiceDownloadName, voiceFileName, voiceLevel, voiceLevelsOf, voicePeaksOf, waitForIceGathering, wakeFrame, wakePayload, wakeRequest, walletNetworkOf, webCryptoSigner, webLocalFetch, wellKnownUrl, wireHubPolicy, wireMentions, wireReaction, wireReply, withRequestOptions, withViewerPolicy, withoutAppLink, withoutAudioMetadata, withoutPictureMetadata, withoutVideoMetadata, wrapDataChannel, wrapGroupMeta, x401AnswerableRequests, x401ApprovalDigest, x401HolderJwk, x401VpToken, yieldThread };
|
|
40329
|
+
export { ACTIVE_DHT_POLL_MS, ACTIVE_TASK_STATUSES, ANSWERS_REFUSED_PAUSES, ANSWERS_REFUSED_PAUSE_MS, ANSWER_READ_ALLOWANCE, ANSWER_READ_FIRST_MS, ANSWER_READ_SPACING_MS, ANSWER_REFUSED_REDIALS, APPS_CAPABILITY, APP_BUNDLE_LIMITS, APP_BUNDLE_MAGIC, APP_CLIENTS, APP_CLIENT_NAME, APP_DATA_MAX_BYTES, APP_FORBIDDEN_KEYS, APP_FRAME, APP_ICON_PATH, APP_NAME, APP_PEER_OPEN_MAX, APP_PERMISSIONS, APP_PREFIXES, APP_RANGES_CAPABILITY, APP_RANGE_DATA_KIND, APP_RANGE_ERRORS, APP_RANGE_FRAMES, APP_RANGE_LIMITS, APP_RATE_LIMIT, APP_RATE_WINDOW_MS, APP_RESUME_GRACE_MS, APP_SCREENSHOTS_DIR, APP_SEND_LIMIT, APP_STATEMENT_LIMITS, APP_STORE_KINDS, APP_STORE_LIMITS, APP_VERSION_MAX, APP_VIEWS, ATPROTO_DECLARED_SCOPE, ATPROTO_FULL_SCOPE, ATPROTO_PROOF_COLLECTION, ATPROTO_PROOF_SCOPE, AUDIO_METADATA_LIMITS, AUTOMATIC_ORDER, AWAITED_READS, AWAITING_PEER_MS, AppRanges, AppSessions, AtprotoCid, AtprotoProofError, BACKGROUND_REQUESTS_PER_MINUTE, BACKGROUND_WHILE_SIGNALING, BACKGROUND_WRITES_SHARE, BIP322_REVISION, BITCOIN_NETWORKS, BLOCKED_DIAL_WAIT_MS, BOLT11_PATTERN, BREAKER_ALL_DOWN_PROBE_MS, BREAKER_BASE_MS, BREAKER_MAX_MS, BREAKER_THRESHOLD, BURST_RING_MS, BUTTONS_CAPABILITY, BUTTON_ID, BUTTON_STYLES, BitcoinAddressError, ByteReader, CALLS_CAPABILITY, CALL_RATE_WINDOW_MS, CALL_RECEIVE_LIMIT, CALL_SIGNAL_FUTURE_MS, CALL_SIGNAL_MAX_AGE_MS, CAPS_ISSUED_BACK_MS, CAPS_LABEL, CAPS_LIMITS, CAPS_PUBLISH_SPACING_MS, CAPS_REFRESH_MS, CARRIED_DEFER_MS, CATCH_UP_PAUSE_MS, CATCH_UP_SLICE, CHAT_RESERVE, CHAT_RESERVE_MOST_SHARE, CHAT_RESERVE_PER_CHAT, CHAT_WATCH_SHARE, CHUNK_FLAG_END, CHUNK_KIND, CLIPBOARD_GUARD_HASH, CLIPBOARD_GUARD_SCRIPT, CLOCK_EVIDENCE_MS, CLOCK_OFF_MS, CLOCK_PEERS, CLOCK_PEER_READ_GAP_MS, CLOCK_SERVERS, COMMUNITY_EDIT_FRAME, COMMUNITY_LIMITS, COMMUNITY_PIN_FRAME, COMMUNITY_PROFILE, COMMUNITY_REACTION_FRAME, COMMUNITY_TAKEOVER_META_MS, COMMUNITY_TOPOLOGY, CONNECT_TIMEOUT_MS, CONTACT_ASKER_FRAME, CONTACT_LINK_BYTES, CONTACT_LINK_VERSION, CONTACT_RECORD_TTL, CRON_LINE, CROSSED_FRESH_MS, CROSSED_PROBE_MS, CROSSED_WAIT_MS, CapsExchange, CapsKeys, CapsRefusedError, CarriedTransport, CatchUpAnswers, ChatFiles, ClockWatch, CommunitySession, ContactRequestError, DAEMON_WATCH_PEER_IDLE_MS, DATA_CHANNEL_ID, DATA_CHANNEL_LABEL, DATA_SETTLE_MS, DEFAULT_RELAYS, DEMOTE_AFTER_FAILURES, DEMOTE_MS, DEPARTED_READS, DEPARTED_READ_MS, DEVICES_CAPABILITY, DEVICE_CAPABILITIES, DEVICE_ECHO_FRAME, DEVICE_INVITE_BYTES, DEVICE_INVITE_LIFETIME_S, DEVICE_INVITE_OWN_DEVICE, DEVICE_INVITE_READ_SLACK_S, DEVICE_INVITE_VERSION, DEVICE_KINDS, DEVICE_PING_FRAME, DEVICE_WAKE_TTL_SECONDS, DHT_FILE_CAPABILITY, DHT_FILE_REFUSED, DHT_FILE_TOO_LARGE, DHT_MESSAGE_TTL, DHT_PACKET_BUDGET, DHT_PIN_GRACE_MS, DHT_POLL_INTERVALS, DHT_TEXT_BYTES, DHT_TEXT_CAPABILITY, DHT_TEXT_REFUSED, DIALED_IN_CONTENDERS, DID_DHT_MAX_PAYLOAD, DID_DHT_PREFIX, DID_DHT_TTL, DID_DHT_VERSION, DID_DOCUMENT_MAX_BYTES, DID_FILE_MAX_BYTES, DID_GHOSTLY_SERVICE, DID_JWS_ALGS, DID_JWS_MAX_LENGTH, DID_MAX_LENGTH, DID_METHODS, DIRECT_EVIDENCE_MS, DIRECT_OWN_ATTEMPTS, DIRECT_PEERS, DNS_LABEL, DNS_TYPE, DOMAIN_FILE_MAX_BYTES, DOMAIN_MAX_RECORDS, DOMAIN_METHODS, DOMAIN_TXT_MAX_BYTES, DOOR_FIRST_MS, DataLink, DhtDelivery, DidDhtError, DidError, DirectPathWatch, DiscoveryBudgetError, EARLY_DIAL_JOIN_MS, EDITED_FRAME, EDIT_BUFFER_MAX, EDIT_BUFFER_MS, EDIT_CAPABILITY, EDIT_FRAME, EDIT_RATE_WINDOW_MS, EDIT_RECEIVE_LIMIT, EDIT_SEND_LIMIT, ENDPOINT, ENGINE_ERRORS, ENROLL_CANCEL, ENROLL_CANCEL_REASONS, ENROLL_CAPABILITY, ENROLL_DONE, ENROLL_GRANT, ENROLL_HELLO, ENROLL_PROOF, ETHEREUM_USDT, EVM_TEST_CHAINS, EXPECT_PEER_MS, EngineError, FILES_BINARY_CAPABILITY, FILES_CAPABILITY, FILE_DATA_KIND, FILE_FRAMES, FILE_LIMITS, FIRST_PAIRING_PACE_MS, FIRST_PUBLISH_MAX_MS, FLOOD_PER_DAY, FOLLOW_MS, FORWARD_LIMITS, FRESH_READ_MS, FileTransfers, FileUplink, GATHER_ATTEMPTS, GATHER_STALL_MS, GROUP_ADMIN_OFF_ERROR, GROUP_BURST_MS, GROUP_BURST_ONE_LINK, GROUP_CALL_MODERATION_ACTS, GROUP_CALL_NONCE_S, GROUP_CALL_SKEW_S, GROUP_CALL_SOURCES, GROUP_CALL_VERSION, GROUP_EDIT_FRAME, GROUP_EDIT_TEXT_BYTES, GROUP_ENTRY_PROFILE, GROUP_FILE_LIMITS, GROUP_HAVE_FRAME, GROUP_ID, GROUP_LIMITS, GROUP_MEMBER_CAP, GROUP_META_PAST, GROUP_META_PAST_CHARS, GROUP_OVER_PACE_MS, GROUP_PIN_FRAME, GROUP_PROFILE, GROUP_RATION_WINDOW_MS, GROUP_REACTED_FRAME, GROUP_REACTION_FRAME, GROUP_READ_NOTE, GROUP_READ_NOTE_COMMUNITY, GROUP_SIGNALING_ALLOWANCE_SHARE, GROUP_SIGNAL_FRAME, GROUP_TAKEOVER_META_MS, GROUP_TYPING_FRAME, GROUP_VERSION_FILES, GROUP_VERSION_HUBS, GROUP_VERSION_LARGE, GROUP_VERSION_SIGNALS, GROUP_WAKE_FRAME, GROUP_WAKE_GROUP_LIMIT, GROUP_WAKE_GROUP_WINDOW_MS, GROUP_WAKE_MEMBER_INTERVAL_MS, GROUP_WAKE_RECEIVE_LIMIT, GROUP_WANT_FRAME, GROUP_WANT_NO_FRAME, GhostLink, GhostlyHttpError, GroupSession, GroupTypingBoard, GroupWakeLimiter, HANDLED_WAIT_MS, HANDOFF_ACK, HANDOFF_ATTEMPTS, HANDOFF_BUSY, HANDOFF_BUSY_REASONS, HANDOFF_CANCEL, HANDOFF_CANCEL_REASONS, HANDOFF_CAPABILITY, HANDOFF_DATA, HANDOFF_DONE, HANDOFF_FILE_MISSING, HANDOFF_FILE_REQUEST, HANDOFF_HAVE, HANDOFF_HELLO, HANDOFF_LATER_BYTES, HANDOFF_LIST_PER_FRAME, HANDOFF_MANIFEST, HANDOFF_OFFER, HANDOFF_PAKE, HANDOFF_PIECE_BYTES, HANDOFF_PIECE_OVERHEAD, HANDOFF_RELEASE, HANDOFF_REQUEST, HANDOFF_TIMINGS, HANDOFF_VERIFIED, HANDOFF_VERSION, HANDOFF_WINDOW, HEDGE_MISSING_MS, HEDGE_MS, HOLD_CAPABILITY, HOLD_DATED_BACK_MS, HOLD_LIMITS, HTTP_SERVICE_PROTO, HoldKeys, HoldRefusedError, HttpClient, HttpHost, IDENTITY_CHALLENGE_WINDOW, IDENTITY_CHECK_UNAVAILABLE, IDENTITY_CLOCK_SKEW, IDENTITY_FRAME_LIMIT, IDENTITY_FRAME_WINDOW_MS, IDENTITY_MAX_CHECKS_PER_HOUR, IDENTITY_MAX_EVIDENCE, IDENTITY_MAX_FRAME, IDENTITY_MAX_RECEIVED, IDENTITY_MAX_VALIDITY, IDENTITY_MEMO_IDLE_MS, IDENTITY_MEMO_MAX, IDENTITY_MEMO_SIZE, IDENTITY_PROOF_CAPABILITY, IDENTITY_PROVIDER_ID, IDENTITY_RESENDS, IDENTITY_RESEND_MS, IDENTITY_REUSE_CHECK_S, IDENTITY_REVOCATION_LABEL, IDENTITY_SEND_LIMIT, IDENTITY_SEND_WINDOW_MS, IDENTITY_STATEMENT_PREFIX, IDENTITY_SUBJECT, IDENTITY_TIMELINE_MAX, IDLE_THRESHOLD, IMAGE_LIMITS, INVITER_DIAL_GRACE_MS, INVITE_HRP, INVITE_LINK_ORIGIN, INVITE_MAX_LENGTH, INVITE_TAKEN, INVITE_VERSION, ITEM_STATES, IdentityCheckUnavailable, IdentityExchange, KNOCK_SLOTS, KNOCK_SLOT_LABEL, KNOCK_TTL_MS, KNOWN_SESSION_CAPABILITIES, LABEL, LATE_ANSWER_MS, LEGACY_GROUP_MEMBERS, LEGACY_SERVICES, LIGHTNING_DESTINATION_PATTERN, LIMITS, LINK_MAX_CHARS, LINK_PREVIEW_LIMITS, LINK_RECORD_LABEL, LINK_RUN, LINK_STOP_CHARS, LINK_TRAILING, LIVENESS_MISSED_PINGS, LIVENESS_PING_MS, LIVE_POLL_MS, LNURL_LIMITS, LinkSession, MAX_AVATAR_LENGTH, MAX_AVATAR_SIDE, MAX_CHUNK_PAYLOAD_BYTES, MAX_DHT_TEXT_BYTES, MAX_DNS_PACKET_BYTES, MAX_DONE, MAX_EDITS_PER_MESSAGE, MAX_GROUP_CALL_NAME, MAX_GROUP_CALL_SFU, MAX_GROUP_CHAIN, MAX_GROUP_MEMBERS, MAX_GROUP_META_BODY, MAX_GROUP_NAME_BYTES, MAX_GROUP_NAME_LENGTH, MAX_GROUP_PICTURE_LENGTH, MAX_KNOCKS, MAX_MISSED, MAX_MSGS_PAYLOAD_B64, MAX_NICK_LENGTH, MAX_PAIRED_CALL_SIGNAL, MAX_PAIRED_MESSAGE_FRAME, MAX_REMOVAL_NUMBER, MAX_SEEN, MAX_SERVICES, MAX_SHARED_APPS, MAX_SKIP, MAX_SKIPPED_KEYS, MAX_SLOT_KNOCKS, MAX_WAITING, MEMBER_KEY, MENTION_EVERYONE, MENTION_LIMITS, MESH_HUBS, MESSAGE_CLOCK_SKEW_MS, MESSAGE_PACED, MESSAGE_RECEIVE_LIMITS, MessagePace, MessageRefusal, NEW_PER_HOUR, NIP05_PATH, NO_ATTEMPTS, NO_AUDIO_METADATA, NO_HUB_POLICY, NO_PICTURE_METADATA, NO_VIDEO_METADATA, OFFER_FAST_MS, OFFER_HOST_GATHER_MS, OFFER_LOOK_MS, OFFER_STEP_MAX, ONCHAIN_PROVIDER, OWN_FRAME_LIMIT, OwnInviteError, PAIRED_CALL_CANDIDATES, PAIRED_CALL_FRAME, PAIRED_FRAME_TOO_LARGE, PAIRED_PROFILE, PAIRED_REPLY_AUTHORS, PAIRING_ATTEMPT_MS, PAIRING_RETRY_MS, PICTURE_METADATA_LIMITS, PINNED_FRAME, PIN_CAPABILITY, PIN_CLOCK_SKEW_MS, PIN_FRAME, PIN_LIMITS, PKARR_FUTURE_SKEW_MS, PLAYABLE_AUDIO, PLAYABLE_VIDEO, PONG_WAIT_MS, PRESENCES, PRESENCE_HEARTBEAT, PRESENCE_WINDOW, PREVIEWABLE_IMAGE, PREVIOUS_DEFAULT_RELAYS, PROOF_ADAPTERS, PROOF_CAPABILITY, PROTOCOL_VERSION, PR_CHECKS, PR_STATES, PUBKY_PROOF_MAX_BYTES, PUBKY_PROOF_ROOT, PUSH_PAD_BYTES, PUSH_SERVICE_HOSTS, PacketTooLargeError, PairedCalls, PairedSession, PairingTracker, PaymentPreflightError, PeerProofs, PublishFailedError, QUICK_REACTIONS, QUICK_REDIAL_MS, RACE_ANSWERED_MS, RACE_DIRECT_MS, RACE_RELAYED_MS, RATCHET_CAPABILITY, RATCHET_HEADER_BYTES, RATCHET_KEEP_MS, RATCHET_OVERHEAD, REACTED_FRAME, REACTIONS_CAPABILITY, REACTION_FRAME, REACTION_LIMITS, REANSWERS, RECORDING_TYPES, RECORD_TTL, REDESCRIBED_GRACE_MS, RELAYED_FIRST_MS, RELAY_PAYLOAD_MAX_BYTES, RELAY_POLL_INTERVALS, RELAY_REQUESTS_PER_MINUTE, RELAY_URL, RELAY_WITH_SECRETS, REMOVABLE_KINDS, REMOVED_TEXT, REOPEN_BELOW, REPLY_ID, REPLY_LIMITS, REQUESTS_PER_MINUTE, REQUEST_CLOCK_SKEW_MS, REQUEST_LABEL, REQUEST_LIFETIME_MS, REQUEST_NAME_UNITS, REQUEST_PACKET_BYTES, REQUEST_TEXT_BYTES, RESUME_WAIT_MS, RING_LIFETIME, ROUTINE_STATES, RTC_CONFIG, RTC_SIGNAL_FUTURE_MS, RTC_SIGNAL_MAX_AGE_MS, RTC_SIGNAL_RATE_WINDOW_MS, RTC_SIGNAL_RECEIVE_LIMIT, RTC_UNSTARTED_MS, RUN_RESULTS, RatchetBox, RateWindow, ReactionWindow, RelayBreaker, RelayTransport, RelaysFailedError, SAID_AGAIN, SEPOLIA_TEST_USDT, SEPOLIA_TEST_USDT_FAUCET, SERVICES_CAPABILITY, SERVICES_VERSION, SESSION_CAPABILITIES_FRAME, SESSION_FRAME_MAX, SESSION_RECEIVE_PENDING, SET_ACK, SET_UPDATE, SIGNALING_ALLOWANCE_SHARE, SIGNALING_WINDOW_MS, SIGNALS_PER_MINUTE, SIGNAL_CARRIERS, SIGNAL_DUE_READS, SIGNAL_FRESH_MS, SIGNAL_HOLD_MS, SIGNAL_OUT_READS, SIGNAL_PROVEN_MS, SIGNAL_REPLY_MS, SLOW_DEMOTE_MS, SLOW_MS, SPARK_NETWORKS, SPARK_PROVIDER, SSHSIG_MAX_ARMOR, SSHSIG_NAMESPACE, SSH_KEY_TYPES, SSH_PUBLIC_KEY_MAX, STALLED_EVIDENCE_MS, STALLED_LOOK_MS, STAMP_BITS_DEFAULT, STAMP_BITS_MAX, STAMP_BITS_MIN, STATUS_AVAILABILITIES, STATUS_CAPABILITY, STATUS_CARD_CAPABILITY, STATUS_CARD_LIMITS, STATUS_FRAME, STATUS_IDLE_AFTER_MS, STATUS_RATE_LIMIT, STATUS_RATE_WINDOW_MS, STATUS_SEND_INTERVAL_MS, STATUS_TEXT_MAX, STORAGE_LIFETIME, STORAGE_ROOT, SWITCH_RETIRE_MS, SessionCapabilities, SshSigError, StatusReceiver, StatusSender, TASK_STATUSES, TEST_USDT_FAUCET_AMOUNT, TOMBSTONE_SEQUENCE, TOMBSTONE_TURN, TRANSPORTS, TRANSPORTS_GONE_MS, TURN_BODY_BYTES, TURN_LABEL, TURN_LAST_SEQUENCE, TURN_MAX, TURN_NAME_BYTES, TURN_NO_ACTIVE, TURN_PUT_WINDOW_MS, TURN_RAISE_READ_TIMEOUT_MS, TURN_REV_LIMIT, TURN_SEALED_BYTES, TURN_SETTLE_MS, TURN_SIGNED_BYTES, TURN_SLOTS, TURN_SOURCE_TIMEOUT_MS, TURN_TTL, TURN_VERSION, TURN_VISIBLE_MS, TYPING_CAPABILITY, TYPING_FRAME, TYPING_KINDS, TYPING_RATE_LIMIT, TYPING_RATE_WINDOW_MS, TYPING_REFRESH_MS, TYPING_SEND_LIMIT, TYPING_STATUS_MAX, TYPING_TIMEOUT_MS, TurnRecordError, TypingReceiver, TypingSender, UNPROVEN_AUTH_MS, UNUSED_INVITE_READS_PER_MINUTE, UNUSED_INVITE_UPKEEP_MS, UNUSED_INVITE_WAIT_MAX_MS, UPGRADE_CAPABILITY, USDT_PUBLIC_RPC, VIDEO_LIMITS, VIDEO_METADATA_LIMITS, VIEWER_DROPPED_DIRECTIVES, VIEWER_DROPPED_HEADERS, VIEWER_GUARD_CSP, VIEWER_GUARD_HASH, VIEWER_GUARD_SCRIPT, VIEWER_PERMISSIONS_POLICY, VIEWER_SERVICE_CSP, VIEWER_SERVICE_CSP_RELAY_ONLY, VIEWER_WORKER_GUARD_CSP, VOICE_LIMITS, VOICE_METER, WAKE_ANSWER_GRACE_MS, WAKE_CALL_INTERVAL_MS, WAKE_CALL_TTL_SECONDS, WAKE_CALL_WAIT_MS, WAKE_SESSION_CAPABILITY as WAKE_CAPABILITY, WAKE_SESSION_CAPABILITY, WAKE_FRAME, WAKE_INTERVAL_MS, WAKE_LOST_MS, WAKE_ONLINE_BATCH, WAKE_ONLINE_BATCH_MS, WAKE_ONLINE_DELAY_MS, WAKE_ONLINE_INTERVAL_MS, WAKE_ONLINE_TTL_SECONDS, WAKE_RETRY_MS, WAKE_SUBJECT, WAKE_TTL_SECONDS, WALLET_NETWORKS, WATCH_PEER_MS, WATCH_SHARE, WAY_BACK_SHARE, WEBRTC_GUARD, WELL_KNOWN_PATH, WRITE_FIRST_MS, WakeLimiter, WebPushError, X401_CREDENTIAL_LIMITS, X401_DCQL_LIMITS, X401_HEADERS, X401_LIMITS, X401_PROTOCOLS, X401_REQUEST_LIMITS, X401_RESPONSE_MODES, X401_SCHEME, X401_VERSION, addedAppPermissions, allowingViewerGuard, answersOffer, appCardId, appCardUrl, appCloseFrame, appDataBytes, appDataFrame, appDigest, appFingerprint, appOpenFrame, appRangeCancelFrame, appRangeChunk, appRangeDataFrame, appRangeEndFrame, appRangeErrorFrame, appRangeGetFrame, appRef, appRefPublisher, appRevocationFor, appRevocationId, appRevocationsFileEntries, appSignedBytes, appStoreDecision, appUpdateDecision, appViewOf, applyIdentityEvent, arkAddressPrefix, arrivalKey, asWritten, assembleAppBundle, assertTokenUnits, assertWholeSats, atprotoCidFor, atprotoDidMethod, atprotoProofRecord, atprotoProofRkey, audioMetadataPatches, automaticTransport, baseMime, beaconKeys, beaconRecords, bip322MessageHash, bip322ToSign, bip322ToSpend, boundIdentityDisplay, boundVerifiedIdentity, budgetRetryMs, buildAppBundle, buildDataSdp, buildLinkRecords, buildSdpFromSignal, buildX401ProofRequest, buildX401ProofResult, buildX401ResultArtifact, buildX401TokenObject, buttonLabelClash, bytesEqual, callRtcConfig, callSignalHeardAt, canonicalJson, canonicalJsonBytes, canonicalJsonListEntries, canonicalUrl, capsDescriptors, cardEditNumber, cardLine, cardLinkHost, cardTimeUtc, cardUrl, carryMentions, cashuRequestPayload, chainPieces, chatAppId, checkAppBeforeRun, checkAppListing, checkAppManifest, checkAppRevokeStatement, checkAppStoreIndex, checkAtprotoProofRecord, checkDidJws, checkDidSignature, checkPushEndpoint, checkStatusCard, checkedDescriptors, claimedTime, classifyTurnRead, clearMissed, clockOffset, coarseRoom, commitHash, commitUntaggedHash, communityCommitHash, communityEditFrame, communityGroupId, communityHasFrame, communityMessageAuthor, communityMessageId, communityRoster, communityUntaggedHash, compactSize, compareVersions, compressSdp, concatBytes, confirmationMatches, confirmationTag, contactAskerFrame, contactAskerHolds, contactDay, contactRtcConfig, countUnusedInvite, createChatInvite, createContactLink, createDeviceInvite, createIdentity, createLink, createRelayPayload, currentRelays, decodeAnyBitcoinAddress, decodeAppRangeData, decodeAtprotoCommit, decodeBase64, decodeBitcoinAddress, decodeBolt11, decodeChunk, decodeCommunityLink, decodeControl, decodeDagCbor, decodeDidDhtPacket, decodeDnsAnswers, decodeDnsResponse, decodeFileData, decodeGroupEntryLink, decodeInviteCode, decodeServices, decodeSvcbRecords, decodeTx, decodeTxtPacket, decodeWitness, decodeX401Header, decompressSdp, decrypt, decryptPushPayload, decryptText, derivedSecret, deviceEchoFrame, deviceEchoNonce, deviceFrameCapability, deviceInviteExpired, deviceInviteJoinerKeyZ32, deviceInviteJoinerParams, deviceKeyZ32, deviceLinkPairing, deviceLinkParams, deviceLinkRendezvousSeed, deviceLinkSealKey, deviceLinkSecret, devicePingFrame, deviceWakeRequest, dhtEditId, dhtFileElements, dhtFileId, dialDescriptors, dialableIrohRelay, didDhtDocument, didDhtFromPublicKey, didDhtKey, didDhtRecords, didGhostlyServiceEntry, didJwsAlg, didSignedMessages, didWebDocumentUrl, didWebFile, didWebFileNames, didWebFileUrl, didWebHost, directBlocked, dnsProofName, domainTxtRecord, domainWellKnownFile, doorHubs, downsamplePeaks, dropLoneJoiners, ecashUnitError, edgeParams, editFrame, editedFrame, emptyCapsState, emptyDhtDeliveryState, emptyIdentityLedger, emptyLinkRecords, emptyProofLedger, emptyRatchetState, encodeAppRangeData, encodeChunk, encodeCommunityLink, encodeContactLink, encodeControl, encodeDagCbor, encodeDeviceInvite, encodeDidDhtDeactivated, encodeDidDhtPacket, encodeDnsQuery, encodeFileData, encodeGhostlyInvite, encodeGroupEntryLink, encodeGroupMetaBody, encodeInviteCode, encodePacketTransports, encodeServices, encodeSetSlots, encodeSvcbPacket, encodeTurnFields, encodeTx, encodeTxtPacket, encodeWitness, encodeX401Header, encrypt, encryptPushPayload, encryptText, endedRequests, engineError, engineText, enrollCancelFrame, enrollCancelReason, enrollDigits, enrollDoneFrame, enrollGrantFrame, enrollHelloFrame, enrollMessage, enrollProofFrame, entryParams, epochKeys, exifOrientation, expectedRoster, extractParamsFromSdp, extractRtcParams, fedimintRequestPayload, fetchLnurlJson, fetchesByItself, fileMessageText, filePartDigest, filePartName, findAppForbiddenKey, findBolt11, findEndpoint, findInMst, findLightningDestination, firstDeviceSetSecret, formatEnrollDigits, formatFileSize, formatLocalTarget, formatPaymentAmount, formatVideoDuration, formatVoiceDuration, forwardedAgain, forwardedMany, frameBytes, freshHubs, fromBase64, fromBase64Url, fromZ32, generateEncryptionKey, generateVapidKeys, groupCallE2ee, groupCallKey, groupCallModerationBytes, groupCallRequestBytes, groupCallRoom, groupCallSfu, groupDisplayName, groupEntryUrl, groupFileFallback, groupMessageId, groupMetaBody, groupMetaChange, groupMetaNewer, groupMetaPicture, groupMetaTag, groupMetaToHand, groupName, groupReplyAuthor, groupSignalFrame, groupTypingEpoch, groupWakeFrame, groupWakes, guardViewerAnswer, handoffAckFrame, handoffAttemptAllowed, handoffAttemptFailed, handoffAttemptSucceeded, handoffBusyFrame, handoffCancelFrame, handoffContext, handoffContextProof, handoffDataFrame, handoffDigest, handoffDoneFrame, handoffEphemeral, handoffFileMissingFrame, handoffFileRequestFrame, handoffHaveFrames, handoffHelloFrame, handoffManifestFrames, handoffOfferFrame, handoffPakeFrame, handoffReleaseFrame, handoffRequestFrame, handoffRetryAfter, handoffStreamKey, handoffVerifiedFrame, handoffVerifiedMessage, handoffVersions, hasVisible, hash160, heardCallSignal, heardTime, heldBackError, homeserverWebEndpoint, hubRank, identityFromSeed, identityFromSeedB64, identityPresentationBytes, identityRefusal, identityRevocationValue, identityStatement, identityStatementText, imageSize, importedProof, inboxRecord, inviteLink, inviteOwnership, inviteQrSegments, inviteQrText, invoiceCallbackUrl, irohDescriptor, irohRelayUrl, isAppHash, isAppKey, isAppLicense, isAppLine, isAppPath, isAppRef, isAppSignature, isAppUrl, isAppVersion, isAsf, isAtprotoDid, isBitcoinAddress, isCandidateAddress, isChatAppId, isDiscoveryBudgetError, isEmptyLinkPacket, isFederationId, isGlobalIpv4Host, isGroupMessageId, isHandoffPartName, isHoldUrl, isIdentityBinding, isImageMime, isLegacySignature, isNewerVersion, isPlayableAudioType, isPlayableVideoType, isProofAdapter, isPubkyKey, isPubkyProofFolder, isPublicAddress, isRatcheted, isServeId, isSparkAddress, isStrippedPicture, isValidServiceId, isVideoMime, isViewerTag, isWalletNetwork, isX401Protocol, isZ32Key, jpegSize, jwkThumbprint, keepPastGroupMeta, keepsToRelays, keptAtEqualSequence, knockHolds, knockIdentity, knockRecords, knockSlotIdentity, knockSlotOf, knockSlotRecords, lastSharedWithMe, leaveStands, leaveStatement, leaveStatement3, leftStatement, legacyMessageHash, linkEnd, linkRecords, linkStop, linkTail, linksIn, liveStatus, lobbyKeys, lobbyRecords, makeStamp, makeStampPaced, matchX401Dcql, mayBeHub, mayPin, measureRecords, memberAdmissions, mentionedMembers, mentionsBytes, mentionsMember, mergeBeacon, mergeContactKnocks, mergeKnocks, mergeLobby, meshHubs, meshMessageRef, meshRendezvous, newDeviceSetSecret, newEpochSecret, newHandoffId, newMailbox as newHoldMailbox, newIdentityBinding, newInbox, newPubkyProofFolder, newWakeToken, newX401HolderKey, newerHead, newerPacket, nextGroupMetaRevision, nextPinNumber, nextReactionNumber, nextTurnPosition, nip05RootKey, normalizeAtprotoHandle, normalizeDid, normalizeDomain, normalizePubkyKey, normalizeRelayUrl, nostrProofTemplate, offerIsFresh, openDidDhtPayload, openGroupMeta, openGroupTyping, openHandoffPiece, openPair, openRelayPayload, openRequest, openSecret, openTurnValue, ownInviteRefusal, pacer, pairedEditFits, pairedMessageFits, pairedMessageFrame, pairedReplyAuthor, parseAppFrame, parseAppRangeFrame, parseAtprotoCar, parseAtprotoDidDocument, parseAtprotoDidKey, parseAtprotoVerificationKey, parseCallSignal, parseCashuRequestPayload, parseCommunityEdit, parseDid, parseDidDocument, parseDidJws, parseDidSignaturePaste, parseDomainTxt, parseEditFrame, parseEditedFrame, parseEngineError, parseFedimintRequestPayload, parseGroupCommit, parseGroupMetaBody, parseGroupMetaFrame, parseGroupMetaStatement, parseGroupMetaTag, parseGroupWakeFrame, parseHubPolicy, parseImageMeta, parseInvoiceCallback, parseLightningDestination, parseLinkPreview, parseLinkRecords, parseLocalTarget, parsePacketTransports, parsePairedCallFrame, parsePayParams, parsePaymentAmount, parsePaymentNetworks, parsePinFrame, parsePinnedFrame, parseReactedFrame, parseReactionFrame, parseRelayPayload, parseRtcSignal, parseSessionCapabilities, parseSshPublicKey, parseSshSignature, parseStatusFrame, parseTypingActivity, parseTypingFrame, parseVideoMeta, parseVoiceMeta, parseWakeFrame, pastedAgain, paymentUri, peekDhtMailbox, personStatus, pickCallCandidates, pickHubs, pickMeshHubs, pinFrame, pinIsNewer, pinNumberHolds, pinnedFrame, plainStatusLine, planAppUpdate, planKnocks, presenceSeenAt, presentX401SdJwtVc, previewImageSize, previewable, proofCapability, proofHash, proofStatement, pubkyHomeserverOf, pubkyProofCapability, pubkyProofFile, pubkyProofPath, publicKeyFromZ32, publishFailure, publishedNowhere, pushRequest, qrText, queueReaction, randomBytes, rankHubs, rankTransports, ratchetHeard, ratchetOn, ratchetOpen, ratchetRoot, ratchetSeal, ratchetSessionOf, ratchetUnknownSession, reactedFrame, reactionEmoji, reactionFrame, reactionIsNewer, readAppBundle, readAppBundleAsync, readAppFrame, readAppListing, readAppRangeFrame, readAppRevocation, readAppRevocationShape, readAppRevocations, readAppSignature, readAppStore, readAppStoreSteps, readAtprotoCid, readBeacon, readBeaconHead, readCanonicalJson, readContactLink, readDeviceInvite, readDhtFile, readDhtReactions, readDnsName, readEnrollGrant, readEnrollHello, readForwarded, readGroupFileMeta, readGroupHave, readGroupSignal, readGroupWant, readGroupWantNo, readHandoffAck, readHandoffBusy, readHandoffCancel, readHandoffData, readHandoffDone, readHandoffFileFrame, readHandoffHave, readHandoffHello, readHandoffManifest, readHandoffPake, readHandoffRelease, readHandoffTurnFrame, readHandoffVerified, readImageMeta, readInviteCode, readKnockSlot, readKnocks, readLinkRecord, readLobby, readManifest, readOwnRelayPayload, readPin, readReaction, readRelayBody, readReply, readSetUpdate, readStatusCard, readTurnBody, readTurnPacket, readWake, readWakePayload, readX401DcqlQuery, readX401OpenId4VpRequest, readX401ProofRequest, readX401ProofRequestHeader, readX401ProofResponse, readX401ProofResponseHeader, readX401ProofResult, readX401ProofResultHeader, readX401SdJwtVc, readingAhead, receivedIdentityStatus, receivedTimestamp, recordingMime, recordsFromTxt, recordsFromWellKnown, recordsName, refusalText, relativizeLocation, relayRequest, relayUrl, relayUrlProblem, relayUrlTooLong, relayedTransports, rememberAlone, removedCardText, repeatedJsonKey, replySnippet, requestLnurlInvoice, requestPlaintextBytes, requestRecords, resolveDidDht, resolveLightningDestination, resolveTargetUrl, revokesIdentity, ringAuthorization, ringClaims, ringEvidence, rosterAdmin, rosterHas, rosterHash, routedCommunityFrame, safeBlobType, sameButtonText, sameSshKey, sameStatusState, sameX401HolderJwk, sanitizeAvatar, sanitizeDisplayText, sanitizeFileName, sanitizeMime, sanitizeNick, sanitizePreviewImage, sanitizeRequestHeaders, sanitizeResponseHeaders, sanitizeStatusText, sanitizeTypingStatus, satsToBtc, sdpHasCandidates, sealGroupTyping, sealHandoffPiece, sealPair, sealSecret, sealTurnBody, sealedLength, seedSigner, seenEntry, sendBody, sentWhole, serviceIdFromName, servicesFromWire, servicesToWire, sessionCapabilitiesFrame, setAckFrame, setAppSignatureFastPath, setLinkTraceSink, setPublicKeyFastPath, setUpdateFrame, setUpdateMessage, settleRequest, sha256Hex, sha256Paced, sha256d, shortAtprotoDid, shortHash, shouldBeHub, shownTime, sign, signAppObject, signAppRevocation, signAppStore, signCommit, signCommunity, signDeviceTransports, signDidDhtPacket, signGroupCallModeration, signGroupCallRequest, signGroupMeta, signIdentityPresentation, signRelayPayload, signTombstone, signTurnBody, signTurnPacket, signTurnRelease, signalHasVideo, signingKeys, sortParts, sortRoster, sparkAddressKind, sparkInvoiceDetails, sparkNetworkOf, sshFingerprint, sshKeyDigestHex, sshSignCommand, stampHolds, staticDidDocument, statusCardBytes, statusCardText, statusFrame, statusState, storageProof, storageProofBody, storageProofPath, strictBase64Url, stripHidden, stripPictureMetadata, symmetricNat, takeRequest, taskProgress, toBase64, toBase64Url, toZ32, traceLink, transferEnded, transferStalled, transportOrder, trimEndOf, tryDecrypt, turnInstance, turnKeys, turnName, turnOff, turnPacket, turnPayloadSequence, turnPutSummary, turnReleaseMessage, turnSequence, turnSignedMessage, turnStatedVerifier, turnVerifierMark, txHash, txtValue, typingActivity, typingFrame, typingKindOf, u32, u64, unsignedCommitBytes, unsignedDeviceTransports, unusedInviteWait, unwrapPasted, uriEnd, usageLeft, utf8Decode, utf8Encode, validDomainRecord, validEditMessage, validEditNumber, validEditText, validExternalKey, validHead, validMentions, validReactionNumber, validRemovalNumber, validRingKey, validatePaymentTarget, vapidAuthorization, vapidKeysMatch, varBytes, verify, verifyAppRevocation, verifyAppSignature, verifyAppStatementBytes, verifyAtprotoRecordProof, verifyAtprotoSignature, verifyBip322, verifyBitcoinMessage, verifyChain, verifyCommit, verifyCommitSignature, verifyCommunityChain, verifyCommunityChainPaced, verifyCommunityCommit, verifyDeviceTransports, verifyEnrollProof, verifyGroupCallModeration, verifyGroupCallRequest, verifyGroupMetaSignature, verifyIdentityPresentation, verifyNostrProof, verifyPeerProof, verifyRingAuthorization, verifyRingEvidence, verifySetUpdate, verifySshSignature, videoMetadataPatches, viewerGuardOffset, viewerResponseHeaders, viewerServicePolicy, viewerTag, voiceDownloadName, voiceFileName, voiceLevel, voiceLevelsOf, voicePeaksOf, waitForIceGathering, wakeFrame, wakePayload, wakeRequest, walletNetworkOf, webCryptoSigner, webLocalFetch, wellKnownUrl, wireHubPolicy, wireMentions, wireReaction, wireReply, withRequestOptions, withViewerPolicy, withoutAppLink, withoutAudioMetadata, withoutPictureMetadata, withoutVideoMetadata, wrapDataChannel, wrapGroupMeta, x401AnswerableRequests, x401ApprovalDigest, x401HolderJwk, x401VpToken, yieldThread };
|
|
40110
40330
|
|
|
40111
40331
|
//# sourceMappingURL=core.js.map
|