(messages: SDKMessage[])
| 813 | void transport.writeBatch(events) |
| 814 | }, |
| 815 | writeSdkMessages(messages: SDKMessage[]) { |
| 816 | const filtered = messages.filter( |
| 817 | m => !m.uuid || !recentPostedUUIDs.has(m.uuid), |
| 818 | ) |
| 819 | if (filtered.length === 0) return |
| 820 | for (const msg of filtered) { |
| 821 | if (msg.uuid) recentPostedUUIDs.add(msg.uuid) |
| 822 | } |
| 823 | const events = filtered.map(m => ({ ...m, session_id: sessionId })) |
| 824 | void transport.writeBatch(events) |
| 825 | }, |
| 826 | sendControlRequest(request: SDKControlRequest) { |
| 827 | if (authRecoveryInFlight) { |
| 828 | logForDebugging( |
nothing calls this directly
no test coverage detected