update docs to reflect parameter method change

This commit is contained in:
Shelley Vohr 2017-11-01 21:21:41 -04:00
parent a106956cfe
commit 33092e6324
No known key found for this signature in database
GPG key ID: F13993A75599653C

View file

@ -120,8 +120,6 @@ called before `start` is called.
* `key` String - Parameter key, must be less than 64 characters long.
* `value` String - Parameter value, must be less than 64 characters long.
Specifying `null` or `undefined` will remove the key from the extra
parameters.
Set an extra parameter to be sent with the crash report. The values
specified here will be sent in addition to any values set via the `extra` option
@ -129,6 +127,16 @@ when `start` was called. This API is only available on macOS, if you need to
add/update extra parameters on Linux and Windows after your first call to
`start` you can call `start` again with the updated `extra` options.
### `crashReporter.removeExtraParameter(key)` _macOS_
* `key` String - Parameter key, must be less than 64 characters long.
Remove a extra parameter from the current set of parameters so that it will not be sent with the crash report.
### `crashReporter.getParameters()`
See all of the current parameters being passed to the crash reporter.
## Crash Report Payload
The crash reporter will send the following data to the `submitURL` as