Read every occurrence of a repeatable TLV, and drop the unread tlvMap #25

Merged
lilleman merged 11 commits from multiple-tlvs into main 2026-09-25 18:54:29 +02:00
2 changed files with 13 additions and 2 deletions
Showing only changes of commit f2ee8aa016 - Show all commits
+1 -2
View File
@@ -314,8 +314,7 @@ export async function submitSms(deps: SendSmsDeps, sms: SendSmsInput): Promise<S
deps.log.debug('sendSms() - sending', { encoding, segments: segments.length, to: sms.to }); deps.log.debug('sendSms() - sending', { encoding, segments: segments.length, to: sms.to });
// Segments go out together rather than one-after-a-response: a receiver that waits for every // Segments go out together: a receiver that waits for every segment before answering would otherwise deadlock.
// segment before answering — this library's own server does — would otherwise deadlock.
const sent = await Promise.all(segments.map(segment => deps.send({ const sent = await Promise.all(segments.map(segment => deps.send({
cmdName: 'submit_sm', cmdName: 'submit_sm',
params: submitSmParams(sms, segment, { params: submitSmParams(sms, segment, {
+12
View File
@@ -372,6 +372,18 @@ and is also what the panel ranked hardest — two methods, one answer.
### Doc claims this review falsified ### Doc claims this review falsified
- [ ] **Make `LinkGate.isUp()`'s doc true or its state match it.** It says a link attached but not
yet bound cannot carry a request, while `up` starts `true`, so the first link and a server
session are up before any bind. From the comprehension panel of #25.
- [ ] **Move `checkSessionOptions()`'s doc comment to what it describes.** It explains why a count
below 1 is refused, which is `checkLimits`' job, and says nothing of the function it heads.
From the comprehension panel of #25.
- [ ] **Log why `DlrMerger.expect()` registered no merge.** Ids with no common `<base>-<n>`
numbering return silently, the likeliest cause of a `messageDlr` that never fires and the one
that leaves no trace. From the comprehension panel of #25.
- [ ] **Make "every README example is executed by the suite" true, or stop claiming it.** Goal 10 and - [ ] **Make "every README example is executed by the suite" true, or stop claiming it.** Goal 10 and
the Done table both promise it; `test/readme.test.ts` transcribes the examples by hand and has the Done table both promise it; `test/readme.test.ts` transcribes the examples by hand and has
drifted — 15 fenced `javascript` blocks in the README against 10 tests, and the test named "the drifted — 15 fenced `javascript` blocks in the README against 10 tests, and the test named "the