@honeybadger-io/react-native 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +3 -0
- package/example/package-lock.json +1575 -2021
- package/example/package.json +1 -1
- package/example/yarn.lock +1017 -1075
- package/index.d.ts +4 -2
- package/index.js +8 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [0.0.9] - 2022-02-23
|
|
8
|
+
### Added
|
|
9
|
+
- Add support for the `reportErrors` configuration option.
|
|
10
|
+
|
|
7
11
|
## [0.0.8] - 2021-08-12
|
|
8
12
|
### Added
|
|
9
13
|
- Add support for `revision` and `projectRoot` configuration options.
|
package/README.md
CHANGED
|
@@ -37,6 +37,7 @@ The configure method takes additional configuration options.
|
|
|
37
37
|
| Name | Type | Required | Default | Example |
|
|
38
38
|
| ----- | ---- | ------- | ------- | ------- |
|
|
39
39
|
| apiKey | String | YES | `""` | `"hb-api-key-1234"` |
|
|
40
|
+
| reportErrors | Boolean | NO | true |
|
|
40
41
|
| revision | String | NO | `""` | `"8afb34a"` |
|
|
41
42
|
| projectRoot | String | NO | `""` | `"/path/to/project"` |
|
|
42
43
|
|
|
@@ -48,6 +49,8 @@ The configure method takes additional configuration options.
|
|
|
48
49
|
);
|
|
49
50
|
```
|
|
50
51
|
|
|
52
|
+
The **reportErrors** parameter determines if errors are to be sent to Honeybadger. This is set to **true** by default. In certain environments, say, during development, it could be useful to set **reportErrors** to **false** to prevent errors from being posted to your Honeybadger account.
|
|
53
|
+
|
|
51
54
|
|
|
52
55
|
## Usage Examples
|
|
53
56
|
|