Skip to content

Commit 56fa57b

Browse files
MichaelGHSegclaude
andcommitted
Document sentBatches field in README and code
Update output examples to include sentBatches, add note explaining it's always 0 since the SDK doesn't expose batch count tracking. Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 parent a12dca1 commit 56fa57b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

e2e-cli/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,13 @@ node dist/cli.js --input '{"writeKey":"...", ...}'
4444
## Output Format
4545

4646
```json
47-
{ "success": true }
47+
{ "success": true, "sentBatches": 0 }
4848
```
4949

5050
On failure:
5151

5252
```json
53-
{ "success": false, "error": "description" }
53+
{ "success": false, "error": "description", "sentBatches": 0 }
5454
```
55+
56+
Note: `sentBatches` is always 0 — the React Native SDK does not expose batch count tracking. The field is present for compatibility with the `sdk-e2e-tests` CLIOutput interface.

e2e-cli/src/cli.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ async function main() {
258258

259259
client.cleanup();
260260

261+
// sentBatches: SDK doesn't expose batch count tracking
261262
output = { success: true, sentBatches: 0 };
262263
} catch (e) {
263264
const error = e instanceof Error ? e.message : String(e);

0 commit comments

Comments
 (0)