Skip to content

Commit

Permalink
Change debug key to camelCase (#47)
Browse files Browse the repository at this point in the history
Fixes #46.
  • Loading branch information
alexmturner committed May 22, 2023
1 parent f4b1c9d commit ba34d92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ The following is an example report showing the JSON format
],

// Optional debugging information if debugging is enabled and debug key specified
"debug_key": "[64 bit unsigned integer]"
"debugKey": "[64 bit unsigned integer]"
}
```

Expand Down Expand Up @@ -313,7 +313,7 @@ To allow sites to associate reports with the contexts that triggered them, we
also allow setting 64-bit unsigned integer debug keys. These keys are passed as
an optional field to the javascript call, for example:
```
privateAggregation.enableDebugMode({debug_key: 1234n});
privateAggregation.enableDebugMode({debugKey: 1234n});
```

This javascript function can only be called once per context. Any subsequent
Expand Down

0 comments on commit ba34d92

Please sign in to comment.