@ghostlytools/sdk 1.12.0 → 1.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core.js +360 -46
- package/dist/core.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types/browser/src/proofs/contract.d.ts +10 -0
- package/dist/types/core/src/dhtDelivery.d.ts +8 -1
- package/dist/types/core/src/ghostlink.d.ts +0 -2
- package/dist/types/core/src/groupCommunity.d.ts +43 -1
- package/dist/types/core/src/groupSession.d.ts +28 -1
- package/dist/types/core/src/http.d.ts +2 -1
- package/package.json +1 -1
package/dist/core.js
CHANGED
|
@@ -7849,7 +7849,8 @@ function viewerServicePolicy(relayOnly) {
|
|
|
7849
7849
|
* The browser features a contact's app in the extension's viewer tab may not use. Its tab is a site of its own, so
|
|
7850
7850
|
* what the person granted it (camera, microphone, location, a device) would be a site setting of the browser's, which
|
|
7851
7851
|
* no Delete chat, Clear all data or Delete profile reaches; denied here, the browser never asks and ignores a grant
|
|
7852
|
-
* made before. The web app's view is a frame of another site, which gets none of them, and Desktop's window grants none
|
|
7852
|
+
* made before. The web app's view is a frame of another site, which gets none of them, and Desktop's window grants none
|
|
7853
|
+
* and is served the same value (`PERMISSIONS_POLICY` in `apps/desktop/src/viewer.rs`).
|
|
7853
7854
|
*/
|
|
7854
7855
|
var VIEWER_PERMISSIONS_POLICY = [
|
|
7855
7856
|
"camera",
|
|
@@ -13439,6 +13440,12 @@ var DhtDelivery = class DhtDelivery {
|
|
|
13439
13440
|
announceTimer = null;
|
|
13440
13441
|
chain = Promise.resolve();
|
|
13441
13442
|
lastPublish = 0;
|
|
13443
|
+
/**
|
|
13444
|
+
* A withdrawn text's envelope may still be on the relays, and the one to replace it has not gone (`withdraw`): it is
|
|
13445
|
+
* tried again with a text's backoff, `MAX_ATTEMPTS` times at most, until `until` (when no reader takes the withdrawn
|
|
13446
|
+
* one any more), not at the next keep-alive four minutes on. Any envelope that goes out replaces it.
|
|
13447
|
+
*/
|
|
13448
|
+
withdrawal;
|
|
13442
13449
|
/** The sequence of the last envelope of the contact that was past its expiry (traced once). */
|
|
13443
13450
|
expiredSeen = 0;
|
|
13444
13451
|
controlDue = 0;
|
|
@@ -13880,6 +13887,11 @@ var DhtDelivery = class DhtDelivery {
|
|
|
13880
13887
|
};
|
|
13881
13888
|
this.peerNewAt = bounded(this.peerNewAt, now);
|
|
13882
13889
|
this.lastPublish = bounded(this.lastPublish, now);
|
|
13890
|
+
if (this.withdrawal) this.withdrawal = {
|
|
13891
|
+
...this.withdrawal,
|
|
13892
|
+
until: bounded(this.withdrawal.until, now, DHT_MESSAGE_TTL + DHT_EXPIRY_SKEW_MS),
|
|
13893
|
+
next: bounded(this.withdrawal.next, now, BACKOFF_MAX_MS)
|
|
13894
|
+
};
|
|
13883
13895
|
this.networkBackAt = bounded(this.networkBackAt, now);
|
|
13884
13896
|
this.pinnedProbeAt = bounded(this.pinnedProbeAt, now);
|
|
13885
13897
|
this.controlDue = bounded(this.controlDue, now, Math.max(24e4, UNUSED_INVITE_UPKEEP_MS, this.options.firstControlAfterMs ?? 0));
|
|
@@ -14087,19 +14099,26 @@ var DhtDelivery = class DhtDelivery {
|
|
|
14087
14099
|
* A text of mine (or an edit of it) deleted here while it waits on the floor leaves it: the state no longer holds it
|
|
14088
14100
|
* (nor as `confirmed`: no receipt came), and, while its envelope was still in effect, a new one without it takes that
|
|
14089
14101
|
* one's place on the relays, so a contact who looks later finds no text. Resolves once the state without it is saved;
|
|
14090
|
-
* the new envelope goes after.
|
|
14102
|
+
* the new envelope goes after. One that does not go (no relay reachable) is tried again within seconds (`withdrawal`):
|
|
14103
|
+
* a reader takes the withdrawn envelope until its expiry and the clock skew allowed past it (`DHT_EXPIRY_SKEW_MS`).
|
|
14091
14104
|
*/
|
|
14092
14105
|
async withdraw(wireId) {
|
|
14093
|
-
|
|
14106
|
+
const expires = await this.serialize(async () => {
|
|
14094
14107
|
const pending = this.state.pending;
|
|
14095
|
-
if (!pending || pending.message[0] !== wireId && pending.edit?.[0] !== wireId) return
|
|
14108
|
+
if (!pending || pending.message[0] !== wireId && pending.edit?.[0] !== wireId) return 0;
|
|
14096
14109
|
await this.persist({
|
|
14097
14110
|
...this.state,
|
|
14098
14111
|
pending: void 0
|
|
14099
14112
|
});
|
|
14100
14113
|
this.changed();
|
|
14101
|
-
return pending.attempts > 0 && pending.expires > this.clock();
|
|
14102
|
-
})
|
|
14114
|
+
return pending.attempts > 0 && pending.expires > this.clock() ? pending.expires : 0;
|
|
14115
|
+
});
|
|
14116
|
+
if (expires) this.serialize(async () => {
|
|
14117
|
+
this.withdrawal = {
|
|
14118
|
+
until: expires + DHT_EXPIRY_SKEW_MS,
|
|
14119
|
+
attempts: 0,
|
|
14120
|
+
next: 0
|
|
14121
|
+
};
|
|
14103
14122
|
try {
|
|
14104
14123
|
await this.publish(true);
|
|
14105
14124
|
} catch {}
|
|
@@ -14221,7 +14240,9 @@ var DhtDelivery = class DhtDelivery {
|
|
|
14221
14240
|
const receipt = this.state.receipt && this.state.receipt.expires > now && this.state.receipt.attempts < MAX_ATTEMPTS ? this.state.receipt : void 0;
|
|
14222
14241
|
const receiptDue = !!receipt && !receipt.settled && (receipt.next ?? 0) <= now;
|
|
14223
14242
|
const reseal = this.resealDue;
|
|
14224
|
-
const
|
|
14243
|
+
const withdrawal = this.withdrawal && this.withdrawal.until > now && this.withdrawal.attempts < MAX_ATTEMPTS ? this.withdrawal : void 0;
|
|
14244
|
+
if (!withdrawal) this.withdrawal = void 0;
|
|
14245
|
+
const keepAlive = !force && (!pending || pending.next > now) && !receiptDue && !this.reactionsDue && !reseal && !(withdrawal && withdrawal.next <= now);
|
|
14225
14246
|
if (keepAlive && (this.controlDue > now || this.state.inviteTaken)) return;
|
|
14226
14247
|
const expires = pending?.expires ?? now - 12e4 + CONTROL_TTL;
|
|
14227
14248
|
const issued = Math.min(now, Math.max(now - DHT_ISSUED_BACK_MS, expires - (pending ? DHT_MESSAGE_TTL : CONTROL_TTL), (pending?.message[1] ?? 0) - 3e4));
|
|
@@ -14271,13 +14292,22 @@ var DhtDelivery = class DhtDelivery {
|
|
|
14271
14292
|
...records[0]?.label === "_dr" && { ratchet: true }
|
|
14272
14293
|
});
|
|
14273
14294
|
if (pending) this.lastPublished = DhtDelivery.facts(body, records, identity.pubKeyZ32);
|
|
14295
|
+
if (withdrawal) this.withdrawal = {
|
|
14296
|
+
...withdrawal,
|
|
14297
|
+
attempts: withdrawal.attempts + 1,
|
|
14298
|
+
next: now + backoff(withdrawal.attempts)
|
|
14299
|
+
};
|
|
14274
14300
|
try {
|
|
14275
14301
|
await this.options.transport.publish(identity, records, options);
|
|
14276
14302
|
} catch (error) {
|
|
14277
14303
|
this.reactionsDue ||= reactionsWereDue;
|
|
14278
|
-
if (isDiscoveryBudgetError(error))
|
|
14304
|
+
if (isDiscoveryBudgetError(error)) {
|
|
14305
|
+
if (withdrawal) this.withdrawal = withdrawal;
|
|
14306
|
+
await this.heldBack(error, now, before, pending, receipt);
|
|
14307
|
+
}
|
|
14279
14308
|
throw error;
|
|
14280
14309
|
}
|
|
14310
|
+
this.withdrawal = void 0;
|
|
14281
14311
|
this.namedRev = body[8] ?? void 0;
|
|
14282
14312
|
if (options?.signal) this.leavingOut = false;
|
|
14283
14313
|
if (identity === this.identity) this.unsealedOut = !this.options.credentials.peerKey;
|
|
@@ -14747,8 +14777,10 @@ var DhtDelivery = class DhtDelivery {
|
|
|
14747
14777
|
if (this.timer) clearTimeout(this.timer);
|
|
14748
14778
|
const held = this.budgetUntil - this.clock();
|
|
14749
14779
|
const due = this.reactionsDue || this.resealDue && !this.errors.publish ? Math.max(0, this.lastPublish + 4e3 - Date.now(), held) : Infinity;
|
|
14780
|
+
const withdrawal = this.withdrawal, now = Date.now();
|
|
14781
|
+
const retry = withdrawal && withdrawal.until > now && withdrawal.attempts < MAX_ATTEMPTS ? Math.max(0, withdrawal.next - now, this.lastPublish + 4e3 - now, held) : Infinity;
|
|
14750
14782
|
const readHeld = this.readHeldUntil > 0 ? Math.max(1e3, this.readHeldUntil - Date.now()) : Infinity;
|
|
14751
|
-
this.timer = setTimeout(() => void this.tick(), Math.min(held > 0 ? Math.min(this.pollMs, held) : this.pollMs, due, readHeld));
|
|
14783
|
+
this.timer = setTimeout(() => void this.tick(), Math.min(held > 0 ? Math.min(this.pollMs, held) : this.pollMs, due, retry, readHeld));
|
|
14752
14784
|
}
|
|
14753
14785
|
};
|
|
14754
14786
|
var DHT_TEXT_REFUSED = "Your contact's app does not accept text over the DHT. It is sent when you are live.";
|
|
@@ -22055,8 +22087,6 @@ var QUIET_FRAMES = /* @__PURE__ */ new Set([
|
|
|
22055
22087
|
"paired-payments",
|
|
22056
22088
|
"paired-groups",
|
|
22057
22089
|
"paired-services",
|
|
22058
|
-
"paired-reconnect",
|
|
22059
|
-
"paired-reconnect-ack",
|
|
22060
22090
|
CONTACT_ASKER_FRAME
|
|
22061
22091
|
]);
|
|
22062
22092
|
/**
|
|
@@ -22268,8 +22298,6 @@ var GhostLink = class {
|
|
|
22268
22298
|
nativeFailures = /* @__PURE__ */ new Map();
|
|
22269
22299
|
demotedUntil = /* @__PURE__ */ new Map();
|
|
22270
22300
|
connectionEpoch = 0;
|
|
22271
|
-
switchAllowedUntil = 0;
|
|
22272
|
-
switchAck = null;
|
|
22273
22301
|
switcher;
|
|
22274
22302
|
/** `plan`: a switch both sides agreed; without one, a replacement the contact dialled (`attachReplacement`). */
|
|
22275
22303
|
candidate = null;
|
|
@@ -23909,10 +23937,6 @@ var GhostLink = class {
|
|
|
23909
23937
|
this.attachCandidate(channel, binding, plan).catch(() => {});
|
|
23910
23938
|
return;
|
|
23911
23939
|
}
|
|
23912
|
-
if (this.channel && Date.now() < this.switchAllowedUntil) {
|
|
23913
|
-
this.switchAllowedUntil = 0;
|
|
23914
|
-
this.disconnect();
|
|
23915
|
-
}
|
|
23916
23940
|
if (this.stopped || this.leaving || this.yielding || !this.transportOffer().includes(binding.transport)) {
|
|
23917
23941
|
channel.close();
|
|
23918
23942
|
return;
|
|
@@ -26865,15 +26889,6 @@ var GhostLink = class {
|
|
|
26865
26889
|
});
|
|
26866
26890
|
return;
|
|
26867
26891
|
}
|
|
26868
|
-
if (frame?.t === "paired-reconnect") {
|
|
26869
|
-
this.switchAllowedUntil = Date.now() + 3e4;
|
|
26870
|
-
channel.send(JSON.stringify({ t: "paired-reconnect-ack" }));
|
|
26871
|
-
return;
|
|
26872
|
-
}
|
|
26873
|
-
if (frame?.t === "paired-reconnect-ack") {
|
|
26874
|
-
this.switchAck?.();
|
|
26875
|
-
return;
|
|
26876
|
-
}
|
|
26877
26892
|
if (frame?.t === "paired-adapters") {
|
|
26878
26893
|
if (!frame.descriptors || typeof frame.descriptors !== "object" || JSON.stringify(frame.descriptors).length > 4096) return;
|
|
26879
26894
|
const descriptors = checkedDescriptors(frame.descriptors);
|
|
@@ -29046,7 +29061,12 @@ async function videoMetadataPatches(file, mime, audio = false) {
|
|
|
29046
29061
|
* (its `info` strings, a marker's names in `strg`, `edct` comments, `uuid` chunks).
|
|
29047
29062
|
* - WavPack: its APEv2 and ID3v1 tags at the end as an MP3's, and the source file's header and trailer each block may
|
|
29048
29063
|
* keep for a lossless restore (a WAV's INFO list, an AIFF's NAME) made a sub-block that says nothing, zeroed.
|
|
29049
|
-
* - TTA:
|
|
29064
|
+
* - TTA, Monkey's Audio, Musepack (SV7 and SV8) and OptimFROG: their tags at the end (and an ID3v2 before them) as an MP3's.
|
|
29065
|
+
* - DSF: the ID3v2 tag its header points at emptied as an MP3's; any other byte after its sound, zeros.
|
|
29066
|
+
* - DSDIFF: every chunk but its sound's (`FVER`, `PROP`, `DSD `, `DST `, `DSTI`) becomes `JUNK`, zeroed (COMT, DIIN
|
|
29067
|
+
* with its artist and title, MANF, an `ID3 ` chunk), and any byte after its form.
|
|
29068
|
+
* - MIDI: the text of its meta events (a copyright, a track's name, lyrics, markers) and a sequencer's own data become
|
|
29069
|
+
* zeros, their lengths kept; its notes and SysEx as they are.
|
|
29050
29070
|
* - Sun AU: its annotation, zeros.
|
|
29051
29071
|
* - WebM and Matroska, audio or video: `Tags`, `Attachments`, `Chapters`, the title, the date, the file names and each
|
|
29052
29072
|
* track's name become `Void` elements (and the SeekHead's entries for them); the muxer's and the writing app's names
|
|
@@ -29540,6 +29560,160 @@ async function wavpack(read, size, at, patches) {
|
|
|
29540
29560
|
}
|
|
29541
29561
|
return at;
|
|
29542
29562
|
}
|
|
29563
|
+
/** A 64-bit size at `at` of `b`, little- or big-endian: one past what a file can hold is refused. */
|
|
29564
|
+
function u64$1(b, at, little) {
|
|
29565
|
+
const n = little ? u32le(b, at) + u32le(b, at + 4) * 2 ** 32 : u32be(b, at) * 2 ** 32 + u32be(b, at + 4);
|
|
29566
|
+
check(Number.isSafeInteger(n));
|
|
29567
|
+
return n;
|
|
29568
|
+
}
|
|
29569
|
+
/**
|
|
29570
|
+
* A DSF: its `DSD `, `fmt ` and `data` chunks kept, the ID3v2 tag its header's metadata pointer names emptied where it
|
|
29571
|
+
* is, and any byte after its data that is not that tag zeroed.
|
|
29572
|
+
*/
|
|
29573
|
+
async function dsf(read, size, patches) {
|
|
29574
|
+
const head = await read(0, 28);
|
|
29575
|
+
check(u64$1(head, 4, true) === 28);
|
|
29576
|
+
const fmt = await read(28, 12);
|
|
29577
|
+
check(text(fmt, 0, 4) === "fmt ");
|
|
29578
|
+
const dataAt = 28 + u64$1(fmt, 4, true);
|
|
29579
|
+
const data = await read(dataAt, 12);
|
|
29580
|
+
check(text(data, 0, 4) === "data");
|
|
29581
|
+
let end = dataAt + u64$1(data, 4, true);
|
|
29582
|
+
check(end <= size);
|
|
29583
|
+
const pointer = u64$1(head, 20, true);
|
|
29584
|
+
if (pointer) {
|
|
29585
|
+
check(pointer >= end);
|
|
29586
|
+
const tag = await read(pointer, 10);
|
|
29587
|
+
check(isId3(tag));
|
|
29588
|
+
if (pointer > end) patches.push({
|
|
29589
|
+
start: end,
|
|
29590
|
+
end: pointer
|
|
29591
|
+
});
|
|
29592
|
+
end = await emptyId3(read, size, pointer, tag, patches);
|
|
29593
|
+
}
|
|
29594
|
+
if (end < size) patches.push({
|
|
29595
|
+
start: end,
|
|
29596
|
+
end: size
|
|
29597
|
+
});
|
|
29598
|
+
}
|
|
29599
|
+
/** The chunks a DSDIFF's sound is made of, kept; any other (COMT, DIIN with its artist and title, MANF, an `ID3 `) becomes `JUNK`, zeroed. */
|
|
29600
|
+
var DSDIFF_KEEPS = /* @__PURE__ */ new Set([
|
|
29601
|
+
"FVER",
|
|
29602
|
+
"PROP",
|
|
29603
|
+
"DSD ",
|
|
29604
|
+
"DST ",
|
|
29605
|
+
"DSTI"
|
|
29606
|
+
]);
|
|
29607
|
+
/** A DSDIFF's chunks within its `FRM8`: big-endian 64-bit sizes, each padded to an even length; any byte after the form zeroed. */
|
|
29608
|
+
async function dsdiff(read, size, patches) {
|
|
29609
|
+
const formEnd = 12 + u64$1(await read(4, 8), 0, false);
|
|
29610
|
+
check(formEnd >= 16 && formEnd <= size);
|
|
29611
|
+
const count = counter();
|
|
29612
|
+
for (let at = 16; at < formEnd;) {
|
|
29613
|
+
count();
|
|
29614
|
+
const head = await read(at, 12);
|
|
29615
|
+
const id = text(head, 0, 4), length = u64$1(head, 4, false), end = at + 12 + length;
|
|
29616
|
+
check(end <= formEnd);
|
|
29617
|
+
if (!DSDIFF_KEEPS.has(id)) {
|
|
29618
|
+
patches.push({
|
|
29619
|
+
start: at,
|
|
29620
|
+
end: at + 4,
|
|
29621
|
+
bytes: latin("JUNK")
|
|
29622
|
+
});
|
|
29623
|
+
if (length) patches.push({
|
|
29624
|
+
start: at + 12,
|
|
29625
|
+
end
|
|
29626
|
+
});
|
|
29627
|
+
}
|
|
29628
|
+
at = Math.min(end + length % 2, formEnd);
|
|
29629
|
+
}
|
|
29630
|
+
if (formEnd < size) patches.push({
|
|
29631
|
+
start: formEnd,
|
|
29632
|
+
end: size
|
|
29633
|
+
});
|
|
29634
|
+
}
|
|
29635
|
+
/** The meta events whose data is text (a text, a copyright, a track's or an instrument's name, a lyric, a marker, a cue point, a program's or a device's name) or a sequencer's own. */
|
|
29636
|
+
var MIDI_TEXT = /* @__PURE__ */ new Set([
|
|
29637
|
+
1,
|
|
29638
|
+
2,
|
|
29639
|
+
3,
|
|
29640
|
+
4,
|
|
29641
|
+
5,
|
|
29642
|
+
6,
|
|
29643
|
+
7,
|
|
29644
|
+
8,
|
|
29645
|
+
9,
|
|
29646
|
+
127
|
|
29647
|
+
]);
|
|
29648
|
+
/**
|
|
29649
|
+
* A Standard MIDI File's chunks: each track's events walked, the data of its text meta events zeroed (their lengths
|
|
29650
|
+
* kept, so every delta time and event stays where it was), any byte after its end of track zeroed; a chunk that is
|
|
29651
|
+
* neither a header nor a track zeroed.
|
|
29652
|
+
*/
|
|
29653
|
+
async function midi(read, size, patches) {
|
|
29654
|
+
const count = counter();
|
|
29655
|
+
let at = 0;
|
|
29656
|
+
for (; at + 8 <= size;) {
|
|
29657
|
+
count();
|
|
29658
|
+
const head = await read(at, 8);
|
|
29659
|
+
const id = text(head, 0, 4), start = at + 8, end = start + u32be(head, 4);
|
|
29660
|
+
check(end <= size);
|
|
29661
|
+
if (id === "MTrk") {
|
|
29662
|
+
const b = await read(start, end - start);
|
|
29663
|
+
let i = 0, running = 0;
|
|
29664
|
+
const varlen = () => {
|
|
29665
|
+
let value = 0;
|
|
29666
|
+
for (let n = 0;; n++) {
|
|
29667
|
+
check(i < b.length && n < 4);
|
|
29668
|
+
const byte = b[i++];
|
|
29669
|
+
value = value * 128 + (byte & 127);
|
|
29670
|
+
if (!(byte & 128)) return value;
|
|
29671
|
+
}
|
|
29672
|
+
};
|
|
29673
|
+
while (i < b.length) {
|
|
29674
|
+
count();
|
|
29675
|
+
varlen();
|
|
29676
|
+
check(i < b.length);
|
|
29677
|
+
const status = b[i];
|
|
29678
|
+
if (status === 255 || status === 240 || status === 247) {
|
|
29679
|
+
const type = status === 255 ? b[++i] : void 0;
|
|
29680
|
+
i++;
|
|
29681
|
+
const length = varlen();
|
|
29682
|
+
check(i + length <= b.length);
|
|
29683
|
+
if (type !== void 0 && MIDI_TEXT.has(type) && length) patches.push({
|
|
29684
|
+
start: start + i,
|
|
29685
|
+
end: start + i + length
|
|
29686
|
+
});
|
|
29687
|
+
i += length;
|
|
29688
|
+
running = 0;
|
|
29689
|
+
if (type === 47) {
|
|
29690
|
+
if (i < b.length) patches.push({
|
|
29691
|
+
start: start + i,
|
|
29692
|
+
end
|
|
29693
|
+
});
|
|
29694
|
+
break;
|
|
29695
|
+
}
|
|
29696
|
+
} else {
|
|
29697
|
+
if (status & 128) {
|
|
29698
|
+
running = status;
|
|
29699
|
+
i++;
|
|
29700
|
+
}
|
|
29701
|
+
check(running >= 128 && running < 240);
|
|
29702
|
+
i += (running & 224) === 192 ? 1 : 2;
|
|
29703
|
+
check(i <= b.length);
|
|
29704
|
+
}
|
|
29705
|
+
}
|
|
29706
|
+
} else if (id !== "MThd" && end > start) patches.push({
|
|
29707
|
+
start,
|
|
29708
|
+
end
|
|
29709
|
+
});
|
|
29710
|
+
at = end;
|
|
29711
|
+
}
|
|
29712
|
+
if (at < size) patches.push({
|
|
29713
|
+
start: at,
|
|
29714
|
+
end: size
|
|
29715
|
+
});
|
|
29716
|
+
}
|
|
29543
29717
|
/** A Sun AU's annotation: from its 24-byte header to its sound. */
|
|
29544
29718
|
async function au(read, size, patches) {
|
|
29545
29719
|
const offset = u32be(await read(4, 4), 0);
|
|
@@ -29807,7 +29981,14 @@ async function audioMetadataPatches(file, mime) {
|
|
|
29807
29981
|
else if (head.length >= 8 && text(head, 0, 4) === "caff") await caf(read, size, patches);
|
|
29808
29982
|
else if (head.length >= 24 && text(head, 0, 4) === ".snd") await au(read, size, patches);
|
|
29809
29983
|
else if (text(head, 0, 4) === "wvpk") await trailingTags(read, size, await wavpack(read, size, 0, patches), patches);
|
|
29810
|
-
else if (text(head, 0, 4) === "TTA1"
|
|
29984
|
+
else if (text(head, 0, 4) === "TTA1" || [
|
|
29985
|
+
"MAC ",
|
|
29986
|
+
"MPCK",
|
|
29987
|
+
"OFR "
|
|
29988
|
+
].includes(text(head, 0, 4)) || text(head, 0, 3) === "MP+") await trailingTags(read, size, 0, patches);
|
|
29989
|
+
else if (text(head, 0, 4) === "DSD ") await dsf(read, size, patches);
|
|
29990
|
+
else if (head.length >= 16 && text(head, 0, 4) === "FRM8" && text(head, 12, 4) === "DSD ") await dsdiff(read, size, patches);
|
|
29991
|
+
else if (head.length >= 14 && text(head, 0, 4) === "MThd") await midi(read, size, patches);
|
|
29811
29992
|
else if (isAsf(head)) check(false);
|
|
29812
29993
|
else if (text(head, 0, 4) === "fLaC") await trailingTags(read, size, await flac(read, size, 0, patches), patches);
|
|
29813
29994
|
else if (isId3(head) || isFrame(head, 0)) {
|
|
@@ -33971,6 +34152,11 @@ var ANSWER_WINDOW_MS$1 = 5e3;
|
|
|
33971
34152
|
*/
|
|
33972
34153
|
var UNNAMED_KEPT_MS = 6e4;
|
|
33973
34154
|
/**
|
|
34155
|
+
* After the admin role moved to me: how long I still take the statement of the admin I took it from (WISP 902
|
|
34156
|
+
* § Metadata), one that was on its way while the commit reached me first. Past it, only the admin's is taken, as for anyone.
|
|
34157
|
+
*/
|
|
34158
|
+
var GROUP_TAKEOVER_META_MS = 6e5;
|
|
34159
|
+
/**
|
|
33974
34160
|
* One member's messages (or edits) taken: its whole log handed back at once twice over (`AUTHOR_BURST`: an edge opening
|
|
33975
34161
|
* hears it, with what the member says live beside it, and the edits its app says again), then
|
|
33976
34162
|
* `GROUP_LIMITS.messagesPerAuthor` and `messageBytesPerAuthor` per `messageWindowMs`, as a community's `MessagePace`.
|
|
@@ -34420,6 +34606,13 @@ var GroupSession = class {
|
|
|
34420
34606
|
queue = Promise.resolve();
|
|
34421
34607
|
/** Metadata frames that name a commit or an epoch I do not have yet, one signed by the admin and one by anyone else (`waitMeta`): tried again when the chain moves. */
|
|
34422
34608
|
pendingMeta = {};
|
|
34609
|
+
/** The admin as of the last `metaFollowsChain`. In memory only. */
|
|
34610
|
+
adminSeen;
|
|
34611
|
+
/**
|
|
34612
|
+
* After the admin role moved to me (`metaFollowsChain`): whom from, until when I take their statement, and the last
|
|
34613
|
+
* one of theirs I signed again (what I held then, until one of theirs comes). In memory only.
|
|
34614
|
+
*/
|
|
34615
|
+
takeover;
|
|
34423
34616
|
/** While `handle` runs: the frames it took that a hub passes on (`handle`'s result). */
|
|
34424
34617
|
passOn = null;
|
|
34425
34618
|
/** The frames kept to hand on that the app holds with its messages, oldest first; undefined when the state holds them all. */
|
|
@@ -34497,6 +34690,7 @@ var GroupSession = class {
|
|
|
34497
34690
|
this.provisional = new Set((state.provisional ?? []).slice(-GROUP_LIMITS.provisional));
|
|
34498
34691
|
for (const [key, record] of Object.entries(state.names ?? {})) this.nickAt.set(key, record.v);
|
|
34499
34692
|
this.chainMovedAt = this.clock();
|
|
34693
|
+
this.adminSeen = this.admin;
|
|
34500
34694
|
}
|
|
34501
34695
|
clock() {
|
|
34502
34696
|
return this.hooks.clock?.() ?? Date.now();
|
|
@@ -34914,6 +35108,7 @@ var GroupSession = class {
|
|
|
34914
35108
|
this.requireAdmin();
|
|
34915
35109
|
if (!rosterHas(this.roster, memberKey) || memberKey === this.myKey) throw new Error("Not a member");
|
|
34916
35110
|
await this.commit("remove", memberKey, now, left);
|
|
35111
|
+
if (!left && memberKey === this.takeover?.from) this.takeover = void 0;
|
|
34917
35112
|
});
|
|
34918
35113
|
}
|
|
34919
35114
|
transferAdmin(memberKey, now = Date.now()) {
|
|
@@ -36508,8 +36703,10 @@ var GroupSession = class {
|
|
|
36508
36703
|
/**
|
|
36509
36704
|
* Signs a body under my current commit, keeps it and sends it to every member. Inside `serialize`. Like a commit, only
|
|
36510
36705
|
* with admin work on and a good turn read (WISP 06 § Forced takeover): refused otherwise, or, `quiet`, not made.
|
|
36706
|
+
* `taken`: a former admin's statement signed again (`signAgainTaken`): the line credits them, and the one held is not
|
|
36707
|
+
* kept to hand on when it was no change (an older statement signed again).
|
|
36511
36708
|
*/
|
|
36512
|
-
async publishMeta(body, now, quiet = false) {
|
|
36709
|
+
async publishMeta(body, now, quiet = false, taken) {
|
|
36513
36710
|
const refused = this.hooks.adminWork?.() === false ? new Error(GROUP_ADMIN_OFF_ERROR) : this.hooks.adminTurn && !await this.hooks.adminTurn() ? engineError("groupTurnUnconfirmed") : void 0;
|
|
36514
36711
|
if (refused) {
|
|
36515
36712
|
if (quiet) return;
|
|
@@ -36524,7 +36721,7 @@ var GroupSession = class {
|
|
|
36524
36721
|
ts: now
|
|
36525
36722
|
}, body, this.identity.seed, this.myKey);
|
|
36526
36723
|
this.state.meta = meta;
|
|
36527
|
-
this.state.metaPast = keepPastGroupMeta(this.state.metaPast, before, meta);
|
|
36724
|
+
if (!taken?.replaces) this.state.metaPast = keepPastGroupMeta(this.state.metaPast, before, meta);
|
|
36528
36725
|
await this.persist();
|
|
36529
36726
|
const secret = this.secret(this.epoch);
|
|
36530
36727
|
if (secret) {
|
|
@@ -36532,7 +36729,7 @@ var GroupSession = class {
|
|
|
36532
36729
|
for (const key of this.others) this.hooks.send(key, frame);
|
|
36533
36730
|
}
|
|
36534
36731
|
const change = groupMetaChange(before, meta, this.state.name);
|
|
36535
|
-
if (change) this.hooks.metaChanged?.(this.myKey, change, meta.ts);
|
|
36732
|
+
if (change) this.hooks.metaChanged?.(taken?.by ?? this.myKey, change, meta.ts);
|
|
36536
36733
|
this.hooks.changed();
|
|
36537
36734
|
}
|
|
36538
36735
|
/** My statement, to a member whose sync says it holds an older one (or none); nothing to an app that says nothing. */
|
|
@@ -36552,19 +36749,20 @@ var GroupSession = class {
|
|
|
36552
36749
|
/**
|
|
36553
36750
|
* A metadata statement: kept when it is newer than mine, its commit is on my chain, its signer was
|
|
36554
36751
|
* the admin of that commit and is the admin now, its signature holds, and it opens under the epoch
|
|
36555
|
-
* it names into metadata Ghostly shows. One naming what I do not have yet waits for the chain.
|
|
36752
|
+
* it names into metadata Ghostly shows. One naming what I do not have yet waits for the chain. Just after the admin
|
|
36753
|
+
* role moved to me, the former admin's is signed again as mine (`takesOver`).
|
|
36556
36754
|
*/
|
|
36557
36755
|
async receiveMeta(from, raw) {
|
|
36558
36756
|
const frame = parseGroupMetaFrame(raw);
|
|
36559
36757
|
if (!frame || frame.statement.g !== this.id || typeof frame.k !== "number" || !rosterHas(this.roster, from)) return;
|
|
36560
|
-
const s = frame.statement;
|
|
36561
|
-
if (!groupMetaNewer(s, this.state.meta)) return;
|
|
36758
|
+
const s = frame.statement, taking = this.takesOver(s);
|
|
36759
|
+
if (!taking && !groupMetaNewer(s, this.state.meta)) return;
|
|
36562
36760
|
if (s.e > this.epoch || frame.k > this.epoch) {
|
|
36563
36761
|
this.waitMeta(from, raw, s);
|
|
36564
36762
|
return;
|
|
36565
36763
|
}
|
|
36566
36764
|
const commit = this.state.chain[s.e];
|
|
36567
|
-
if (commitHash(commit) !== s.h || rosterAdmin(commit.m) !== s.by || this.admin !== s.by || !verifyGroupMetaSignature(s)) return;
|
|
36765
|
+
if (commitHash(commit) !== s.h || rosterAdmin(commit.m) !== s.by || !taking && this.admin !== s.by || !verifyGroupMetaSignature(s)) return;
|
|
36568
36766
|
const secret = this.secret(frame.k);
|
|
36569
36767
|
if (!secret) {
|
|
36570
36768
|
this.waitMeta(from, raw, s);
|
|
@@ -36572,6 +36770,10 @@ var GroupSession = class {
|
|
|
36572
36770
|
}
|
|
36573
36771
|
const opened = openGroupMeta(frame, epochKeys(secret, this.id, frame.k).message);
|
|
36574
36772
|
if (!opened) return;
|
|
36773
|
+
if (taking) {
|
|
36774
|
+
await this.signAgainTaken(opened.meta, opened.body);
|
|
36775
|
+
return;
|
|
36776
|
+
}
|
|
36575
36777
|
const before = this.state.meta;
|
|
36576
36778
|
this.state.meta = opened.meta;
|
|
36577
36779
|
this.state.metaPast = keepPastGroupMeta(this.state.metaPast, before, opened.meta);
|
|
@@ -36588,6 +36790,37 @@ var GroupSession = class {
|
|
|
36588
36790
|
});
|
|
36589
36791
|
}
|
|
36590
36792
|
/**
|
|
36793
|
+
* Whether I take a statement though its signer is no longer the admin (WISP 902 § Metadata): I am the admin since
|
|
36794
|
+
* moments ago, they were the admin before me, and it is later than the one of theirs I signed again. A member who had
|
|
36795
|
+
* not synced when the role moved to them signed again what they held (or nothing), and the statement on its way would
|
|
36796
|
+
* be refused for good: their next rename, picture or hubs change would then be built on the older body.
|
|
36797
|
+
*/
|
|
36798
|
+
takesOver(s) {
|
|
36799
|
+
const t = this.takeover;
|
|
36800
|
+
return !!t && this.isAdmin && s.by === t.from && this.clock() <= t.until && groupMetaNewer(s, t.base);
|
|
36801
|
+
}
|
|
36802
|
+
/**
|
|
36803
|
+
* The former admin's statement, taken (`takesOver`): signed again as mine, each field I changed since keeping my
|
|
36804
|
+
* value. Dated as theirs, and credited to them, when I changed nothing; what I held was then no change to hand on.
|
|
36805
|
+
*/
|
|
36806
|
+
async signAgainTaken(meta, theirs) {
|
|
36807
|
+
const t = this.takeover, base = groupMetaBody(t.base), mine = groupMetaBody(this.state.meta);
|
|
36808
|
+
t.base = meta;
|
|
36809
|
+
const pick = (k) => JSON.stringify(mine[k]) === JSON.stringify(base[k]) ? theirs[k] : mine[k];
|
|
36810
|
+
const body = encodeGroupMetaBody({
|
|
36811
|
+
name: pick("name"),
|
|
36812
|
+
pic: pick("pic"),
|
|
36813
|
+
hubs: pick("hubs"),
|
|
36814
|
+
call: pick("call")
|
|
36815
|
+
});
|
|
36816
|
+
if (body === this.state.meta?.body) return;
|
|
36817
|
+
const changed = encodeGroupMetaBody(mine) !== encodeGroupMetaBody(base);
|
|
36818
|
+
await this.publishMeta(body, changed ? this.clock() : meta.ts, true, {
|
|
36819
|
+
by: meta.by,
|
|
36820
|
+
replaces: !changed
|
|
36821
|
+
});
|
|
36822
|
+
}
|
|
36823
|
+
/**
|
|
36591
36824
|
* A statement that waits for the chain: only one its signer signed, so an altered copy cannot push out the one
|
|
36592
36825
|
* waiting. The admin I know has a place of their own, which another member's statement cannot take, and in each
|
|
36593
36826
|
* place only a later statement takes the one waiting.
|
|
@@ -36619,6 +36852,15 @@ var GroupSession = class {
|
|
|
36619
36852
|
}
|
|
36620
36853
|
/** After the chain or my secrets moved: the waiting statement, and, if I became the admin, the name and picture signed again as mine. */
|
|
36621
36854
|
async metaFollowsChain() {
|
|
36855
|
+
if (this.admin !== this.adminSeen) {
|
|
36856
|
+
const from = this.adminSeen;
|
|
36857
|
+
this.takeover = this.isAdmin && from && from !== this.myKey ? {
|
|
36858
|
+
from,
|
|
36859
|
+
until: this.clock() + GROUP_TAKEOVER_META_MS,
|
|
36860
|
+
base: this.state.meta
|
|
36861
|
+
} : void 0;
|
|
36862
|
+
this.adminSeen = this.admin;
|
|
36863
|
+
}
|
|
36622
36864
|
const { admin, other } = this.pendingMeta;
|
|
36623
36865
|
this.pendingMeta = {};
|
|
36624
36866
|
for (const pending of [admin, other]) if (pending) await this.receiveMeta(pending.from, pending.frame);
|
|
@@ -36903,6 +37145,8 @@ var COMMUNITY_LIMITS = {
|
|
|
36903
37145
|
chainPiece: 100,
|
|
36904
37146
|
/** Admissions members other than the admin may commit in a row while the admin is away (`memberAdmissions`). */
|
|
36905
37147
|
memberAdmissions: 32,
|
|
37148
|
+
/** Commits back in which a leave of a key a member let in counts against `memberAdmissions`, the admin there or not. */
|
|
37149
|
+
memberLeaves: 256,
|
|
36906
37150
|
pendingLeaves: 64,
|
|
36907
37151
|
/** Leaves whose mark (`group-left`) is kept, and the epochs one names. */
|
|
36908
37152
|
leftMarks: 64,
|
|
@@ -36941,6 +37185,11 @@ var COMMUNITY_LIMITS = {
|
|
|
36941
37185
|
* frame of the answer keeps it open, since it goes a slice at a time. As a private group's.
|
|
36942
37186
|
*/
|
|
36943
37187
|
var ANSWER_WINDOW_MS = 5e3;
|
|
37188
|
+
/**
|
|
37189
|
+
* After the admin role moved to me: how long I still take the statement of the admin I took it from (WISP 903
|
|
37190
|
+
* § Metadata), one that was on its way while the commit reached me first. Past it, condition 4 holds as for anyone.
|
|
37191
|
+
*/
|
|
37192
|
+
var COMMUNITY_TAKEOVER_META_MS = 6e5;
|
|
36944
37193
|
/** What every member should know about who can read what, and what the link does, in the words the apps show. */
|
|
36945
37194
|
var GROUP_READ_NOTE_COMMUNITY = `Anyone with the group's link can join, and any member can let people in. Everyone in the group can read everything sent while they are a member; someone removed cannot read what comes after, someone who joins later cannot read what came before. Members who were away get the last ${COMMUNITY_LIMITS.store} messages from whoever is there when they return.`;
|
|
36946
37195
|
/** A community group's link: `group2/<group id>/<entry key>` (web: `#/join/group2/…`). */
|
|
@@ -37013,12 +37262,21 @@ var ADMIN_ONLY = /* @__PURE__ */ new Set([
|
|
|
37013
37262
|
* the admin clears keys let in would otherwise make room for as many more each time. An admission is a member's
|
|
37014
37263
|
* right, and costs nothing: a key nobody holds is as good as anyone's, so without a bound one member could fill the
|
|
37015
37264
|
* group to its cap in seconds. `COMMUNITY_LIMITS.memberAdmissions` in a row, then the admin's turn.
|
|
37265
|
+
* A leave among the last `COMMUNITY_LIMITS.memberLeaves` commits that ends an admission a member other than the admin
|
|
37266
|
+
* signed counts as one more, whether or not the admin was there since: the key leaves the roster as it was, and a
|
|
37267
|
+
* member that lets in keys it made up and commits their own leaves would otherwise fill the history with two commits
|
|
37268
|
+
* for each one the admin lets in at the door.
|
|
37016
37269
|
*/
|
|
37017
37270
|
function memberAdmissions(admin, before) {
|
|
37018
|
-
let n = 0;
|
|
37271
|
+
let n = 0, run = true, seen = 0;
|
|
37272
|
+
const leavers = /* @__PURE__ */ new Set();
|
|
37019
37273
|
for (const c of before) {
|
|
37020
|
-
if (c.k === "create" || c.k === "role" || c.by === admin && c.k !== "remove" && c.k !== "leave")
|
|
37021
|
-
if (c.k === "add") n++;
|
|
37274
|
+
if (run && (c.k === "create" || c.k === "role" || c.by === admin && c.k !== "remove" && c.k !== "leave")) run = false;
|
|
37275
|
+
if (run && c.k === "add") n++;
|
|
37276
|
+
const recent = ++seen <= COMMUNITY_LIMITS.memberLeaves;
|
|
37277
|
+
if (c.k === "add" && c.s && leavers.delete(c.s) && c.by !== admin) n++;
|
|
37278
|
+
if (recent && c.k === "leave" && c.s) leavers.add(c.s);
|
|
37279
|
+
if (!run && !recent && !leavers.size) break;
|
|
37022
37280
|
}
|
|
37023
37281
|
return n;
|
|
37024
37282
|
}
|
|
@@ -37490,6 +37748,13 @@ var CommunitySession = class CommunitySession {
|
|
|
37490
37748
|
saveTimer;
|
|
37491
37749
|
/** Metadata frames naming a commit or a secret I do not have yet, one signed by the admin and one by anyone else (`waitMeta`): tried again when the chain or my secrets move. */
|
|
37492
37750
|
pendingMeta = {};
|
|
37751
|
+
/** The admin as of the last `metaFollowsChain`. In memory only. */
|
|
37752
|
+
adminSeen;
|
|
37753
|
+
/**
|
|
37754
|
+
* After the admin role moved to me (`metaFollowsChain`): whom from, until when I take their statement, and the last
|
|
37755
|
+
* one of theirs I signed again (what I held then, until one of theirs comes). In memory only.
|
|
37756
|
+
*/
|
|
37757
|
+
takeover;
|
|
37493
37758
|
/** The store's frames the app holds with their messages (`storeKey` → message id): in memory here, not in what is saved. */
|
|
37494
37759
|
onRows = /* @__PURE__ */ new Map();
|
|
37495
37760
|
/** The oldest epoch whose seen marks are kept, as of the last `pruneSeen`. In memory only. */
|
|
@@ -37513,6 +37778,7 @@ var CommunitySession = class CommunitySession {
|
|
|
37513
37778
|
});
|
|
37514
37779
|
this.rebuild();
|
|
37515
37780
|
this.pruneSeen();
|
|
37781
|
+
this.adminSeen = this.admin;
|
|
37516
37782
|
if ((state.status === "active" || state.status === "lost") && this.bestBranch().tip !== this.topHash) this.serialize(() => this.chooseBranch());
|
|
37517
37783
|
}
|
|
37518
37784
|
static create(name, now = Date.now()) {
|
|
@@ -38657,6 +38923,7 @@ var CommunitySession = class CommunitySession {
|
|
|
38657
38923
|
return true;
|
|
38658
38924
|
}
|
|
38659
38925
|
await this.commit("remove", { s: next }, now);
|
|
38926
|
+
if (next === this.takeover?.from) this.takeover = void 0;
|
|
38660
38927
|
return false;
|
|
38661
38928
|
})) return;
|
|
38662
38929
|
}
|
|
@@ -40025,8 +40292,10 @@ var CommunitySession = class CommunitySession {
|
|
|
40025
40292
|
* Signs a body under my current commit, keeps it and sends it to everyone (hubs relay it). Inside `serialize`. Like a
|
|
40026
40293
|
* commit, only with admin work on and a good turn read (WISP 06 § Forced takeover): refused otherwise, or, `quiet`,
|
|
40027
40294
|
* not made. Its revision is never under the floor (WISP 06 § Raised counters).
|
|
40295
|
+
* `taken`: a former admin's statement signed again (`signAgainTaken`): the line credits them, and the one held is not
|
|
40296
|
+
* kept to hand on when it was no change (an older statement signed again).
|
|
40028
40297
|
*/
|
|
40029
|
-
async publishMeta(body, now, quiet = false) {
|
|
40298
|
+
async publishMeta(body, now, quiet = false, taken) {
|
|
40030
40299
|
const refused = !this.adminWork ? new Error(GROUP_ADMIN_OFF_ERROR) : this.hooks.adminTurn && !await this.hooks.adminTurn() ? engineError("groupTurnUnconfirmed") : void 0;
|
|
40031
40300
|
if (refused) {
|
|
40032
40301
|
if (quiet) return;
|
|
@@ -40041,12 +40310,12 @@ var CommunitySession = class CommunitySession {
|
|
|
40041
40310
|
ts: now
|
|
40042
40311
|
}, body, this.identity.seed, this.myKey);
|
|
40043
40312
|
this.state.meta = meta;
|
|
40044
|
-
this.state.metaPast = keepPastGroupMeta(this.state.metaPast, before, meta);
|
|
40313
|
+
if (!taken?.replaces) this.state.metaPast = keepPastGroupMeta(this.state.metaPast, before, meta);
|
|
40045
40314
|
await this.persist();
|
|
40046
40315
|
const frame = this.metaFrame(meta);
|
|
40047
40316
|
if (frame) this.hooks.broadcast(frame);
|
|
40048
40317
|
const change = groupMetaChange(before, meta, this.state.name);
|
|
40049
|
-
if (change) this.hooks.metaChanged?.(this.myKey, change, meta.ts);
|
|
40318
|
+
if (change) this.hooks.metaChanged?.(taken?.by ?? this.myKey, change, meta.ts);
|
|
40050
40319
|
this.hooks.changed();
|
|
40051
40320
|
}
|
|
40052
40321
|
/** A statement sealed under my current epoch, when I hold its secret. */
|
|
@@ -40070,19 +40339,20 @@ var CommunitySession = class CommunitySession {
|
|
|
40070
40339
|
* A metadata statement (from its author's edge or a hub's): kept when it is newer than mine, its
|
|
40071
40340
|
* commit is on my main branch, its signer was the admin after that commit and is the admin now,
|
|
40072
40341
|
* its signature holds, and it opens under the epoch it names into metadata Ghostly shows. Returns
|
|
40073
|
-
* whether it was new, so a hub relays it. One naming what I do not have yet waits for the chain.
|
|
40342
|
+
* whether it was new, so a hub relays it. One naming what I do not have yet waits for the chain. Just after the admin
|
|
40343
|
+
* role moved to me, the former admin's is signed again as mine (`takesOver`).
|
|
40074
40344
|
*/
|
|
40075
40345
|
async receiveMeta(from, raw) {
|
|
40076
40346
|
const frame = parseGroupMetaFrame(raw);
|
|
40077
40347
|
if (!frame || frame.statement.g !== this.id || typeof frame.k !== "string" || !this.isRecentMember(from)) return false;
|
|
40078
|
-
const s = frame.statement;
|
|
40079
|
-
if (!groupMetaNewer(s, this.state.meta)) return false;
|
|
40348
|
+
const s = frame.statement, taking = this.takesOver(s);
|
|
40349
|
+
if (!taking && !groupMetaNewer(s, this.state.meta)) return false;
|
|
40080
40350
|
const at = this.mainIndex.get(s.h);
|
|
40081
40351
|
if (at === void 0) {
|
|
40082
40352
|
if (s.e >= this.epoch - COMMUNITY_LIMITS.window) this.waitMeta(from, raw, s);
|
|
40083
40353
|
return false;
|
|
40084
40354
|
}
|
|
40085
|
-
if (at !== s.e || rosterAdmin(this.rosterAt(s.h) ?? []) !== s.by || this.admin !== s.by || !verifyGroupMetaSignature(s)) return false;
|
|
40355
|
+
if (at !== s.e || rosterAdmin(this.rosterAt(s.h) ?? []) !== s.by || !taking && this.admin !== s.by || !verifyGroupMetaSignature(s)) return false;
|
|
40086
40356
|
const secret = this.state.secrets[frame.k], sealedUnder = this.known.get(frame.k);
|
|
40087
40357
|
if (!secret || !sealedUnder) {
|
|
40088
40358
|
this.waitMeta(from, raw, s);
|
|
@@ -40090,6 +40360,10 @@ var CommunitySession = class CommunitySession {
|
|
|
40090
40360
|
}
|
|
40091
40361
|
const opened = openGroupMeta(frame, epochKeys(fromBase64Url(secret), this.id, sealedUnder.e).message);
|
|
40092
40362
|
if (!opened) return false;
|
|
40363
|
+
if (taking) {
|
|
40364
|
+
await this.signAgainTaken(opened.meta, opened.body);
|
|
40365
|
+
return false;
|
|
40366
|
+
}
|
|
40093
40367
|
const before = this.state.meta;
|
|
40094
40368
|
this.state.meta = opened.meta;
|
|
40095
40369
|
this.state.metaPast = keepPastGroupMeta(this.state.metaPast, before, opened.meta);
|
|
@@ -40100,6 +40374,37 @@ var CommunitySession = class CommunitySession {
|
|
|
40100
40374
|
return true;
|
|
40101
40375
|
}
|
|
40102
40376
|
/**
|
|
40377
|
+
* Whether I take a statement though its signer is no longer the admin (WISP 903 § Metadata): I am the admin since
|
|
40378
|
+
* moments ago, they were the admin before me, and it is later than the one of theirs I signed again. A member who had
|
|
40379
|
+
* not synced when the role moved to them signed again what they held (or nothing), and the statement on its way would
|
|
40380
|
+
* be refused for good: a rename of theirs, or a member back from away, would then lose the group's call node.
|
|
40381
|
+
*/
|
|
40382
|
+
takesOver(s) {
|
|
40383
|
+
const t = this.takeover;
|
|
40384
|
+
return !!t && this.isAdmin && s.by === t.from && (this.hooks.clock?.() ?? Date.now()) <= t.until && groupMetaNewer(s, t.base);
|
|
40385
|
+
}
|
|
40386
|
+
/**
|
|
40387
|
+
* The former admin's statement, taken (`takesOver`): signed again as mine, each field I changed since keeping my
|
|
40388
|
+
* value. Dated as theirs, and credited to them, when I changed nothing; what I held was then no change to hand on.
|
|
40389
|
+
*/
|
|
40390
|
+
async signAgainTaken(meta, theirs) {
|
|
40391
|
+
const t = this.takeover, base = groupMetaBody(t.base), mine = groupMetaBody(this.state.meta);
|
|
40392
|
+
t.base = meta;
|
|
40393
|
+
const pick = (k) => JSON.stringify(mine[k]) === JSON.stringify(base[k]) ? theirs[k] : mine[k];
|
|
40394
|
+
const body = encodeGroupMetaBody({
|
|
40395
|
+
name: pick("name"),
|
|
40396
|
+
pic: pick("pic"),
|
|
40397
|
+
hubs: pick("hubs"),
|
|
40398
|
+
call: pick("call")
|
|
40399
|
+
});
|
|
40400
|
+
if (body === this.state.meta?.body) return;
|
|
40401
|
+
const changed = encodeGroupMetaBody(mine) !== encodeGroupMetaBody(base);
|
|
40402
|
+
await this.publishMeta(body, changed ? this.hooks.clock?.() ?? Date.now() : meta.ts, true, {
|
|
40403
|
+
by: meta.by,
|
|
40404
|
+
replaces: !changed
|
|
40405
|
+
});
|
|
40406
|
+
}
|
|
40407
|
+
/**
|
|
40103
40408
|
* A statement that waits for the chain: only one its signer signed, so an altered copy cannot push out the one
|
|
40104
40409
|
* waiting. The admin I know has a place of their own, which another member's statement cannot take, and in each
|
|
40105
40410
|
* place only a later statement takes the one waiting.
|
|
@@ -40139,6 +40444,15 @@ var CommunitySession = class CommunitySession {
|
|
|
40139
40444
|
* went with a branch that lost a fork, the name and picture signed again as mine under the main branch.
|
|
40140
40445
|
*/
|
|
40141
40446
|
async metaFollowsChain() {
|
|
40447
|
+
if (this.admin !== this.adminSeen) {
|
|
40448
|
+
const from = this.adminSeen;
|
|
40449
|
+
this.takeover = this.isAdmin && from && from !== this.myKey ? {
|
|
40450
|
+
from,
|
|
40451
|
+
until: (this.hooks.clock?.() ?? Date.now()) + COMMUNITY_TAKEOVER_META_MS,
|
|
40452
|
+
base: this.state.meta
|
|
40453
|
+
} : void 0;
|
|
40454
|
+
this.adminSeen = this.admin;
|
|
40455
|
+
}
|
|
40142
40456
|
const { admin, other } = this.pendingMeta;
|
|
40143
40457
|
this.pendingMeta = {};
|
|
40144
40458
|
for (const pending of [admin, other]) if (pending && await this.receiveMeta(pending.from, pending.frame)) this.hooks.relay?.(pending.frame);
|
|
@@ -41682,6 +41996,6 @@ function x401ApprovalDigest(subject) {
|
|
|
41682
41996
|
]);
|
|
41683
41997
|
return toBase64Url(sha256(utf8Encode(canonical)));
|
|
41684
41998
|
}
|
|
41685
|
-
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_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_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_NONCE_S, GROUP_CALL_SKEW_S, 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_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_RECEIVE_LIMITS, 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, 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, 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, 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, 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, withoutAudioMetadata, withoutPictureMetadata, withoutVideoMetadata, wrapDataChannel, wrapGroupMeta, x401AnswerableRequests, x401ApprovalDigest, x401HolderJwk, x401VpToken, yieldThread };
|
|
41999
|
+
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_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_NONCE_S, GROUP_CALL_SKEW_S, 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_RECEIVE_LIMITS, 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, 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, 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, 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, withoutAudioMetadata, withoutPictureMetadata, withoutVideoMetadata, wrapDataChannel, wrapGroupMeta, x401AnswerableRequests, x401ApprovalDigest, x401HolderJwk, x401VpToken, yieldThread };
|
|
41686
42000
|
|
|
41687
42001
|
//# sourceMappingURL=core.js.map
|