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