Derive the notation names from one table and refuse an smsIdFormat that is not the pair

This commit is contained in:
2026-08-30 22:45:02 +02:00
parent 8e5b9bb556
commit 696e018b77
12 changed files with 111 additions and 56 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ import type { ConnectionOptions } from 'node:tls';
import type { Result, VoidResult } from './result.ts';
import type { BindType } from './session-options.ts';
import type { SmppLog } from './log.ts';
import type { SmsIdFormats } from './sms-id.ts';
import type { SmsIdFormat } from './sms-id.ts';
import type { Socket } from 'node:net';
export type { BindType };
@@ -30,7 +30,7 @@ export type ClientOptions = {
responseTimeout?: number;
shutdownTimeout?: number;
signal?: AbortSignal;
smsIdFormat?: SmsIdFormats;
smsIdFormat?: SmsIdFormat;
systemType?: string;
tls?: ConnectionOptions | boolean;
username?: string;