@bugsnag/plugin-electron-client-state-manager v8.1.1
@bugsnag/plugin-electron-client-state-manager
This plugin provides a wrapper around the parts of state that need to be synchronised, providing a way for listeners to be notified of changes.
The plugin runs in the main Electron process, and patches each of the client mutators whose state we need to synchronise:
setUser()
setContext()
addMetadata()
clearMetadata()
Any call to these methods (which will be from a developer or a plugin calling Bugsnag.<method>()
in the main process) will emit an event signifying the change and updated value.
Separately, we expose a bulkUpdate
method for a new renderer to deliver a full state update in one pass.
License
This package is free software released under the MIT License. See LICENSE.txt for details.
3 months ago
3 months ago
5 months ago
7 months ago
6 months ago
6 months ago
6 months ago
5 months ago
7 months ago
8 months ago
9 months ago
9 months ago
10 months ago
10 months ago
10 months ago
10 months ago
11 months ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago