Split the session, gate optional parameters on the peer version, own the SMPP version in defs

This commit is contained in:
2026-08-26 22:41:28 +02:00
parent 1e5807f647
commit 6d842a8539
23 changed files with 1381 additions and 803 deletions
+2 -2
View File
@@ -61,8 +61,8 @@ describe('parseReceipt()', () => {
describe('dlrFromPdu()', () => {
test('prefers the TLVs when the peer sends them', () => {
const dlr = dlrFromPdu(deliverSm(receiptText, {
message_state: { tagId: 0x0427, tagValue: 5 },
receipted_message_id: { tagId: 0x001E, tagValue: 'from-the-tlv' },
message_state: { tagValue: 5 },
receipted_message_id: { tagValue: 'from-the-tlv' },
}));
assert.ok(dlr);