(messages: SDKMessage[])
| 797 | void transport.writeBatch(events) |
| 798 | }, |
| 799 | writeSdkMessages(messages: SDKMessage[]) { |
| 800 | const filtered = messages.filter( |
| 801 | m => !m.uuid || !recentPostedUUIDs.has(m.uuid), |
| 802 | ) |
| 803 | if (filtered.length === 0) return |
| 804 | for (const msg of filtered) { |
| 805 | if (msg.uuid) recentPostedUUIDs.add(msg.uuid) |
| 806 | } |
| 807 | const events = filtered.map(m => ({ ...m, session_id: sessionId })) |
| 808 | void transport.writeBatch(events) |
| 809 | }, |
| 810 | sendControlRequest(request: SDKControlRequest) { |
| 811 | if (authRecoveryInFlight) { |
| 812 | logForDebugging( |
nothing calls this directly
no test coverage detected