Socket
Socket
Sign inDemoInstall

@bugsnag/plugin-electron-client-state-manager

Package Overview
Dependencies
7
Maintainers
9
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @bugsnag/plugin-electron-client-state-manager

@bugsnag/electron plugin to sync state between various processes


Version published
Weekly downloads
1.2K
decreased by-37.9%
Maintainers
9
Created
Weekly downloads
 

Changelog

Source

v7.22.7 (2024-04-17)

Changed

  • (metadata-delegate) Preventing prototype pollution vulnerabilities #2115
  • (plugin-interaction-breadcrumbs) Improved performance of click event breadcrumbs #2094
  • (react-native) Rename Bugsnag.framework to BugsnagReactNative.framework #2117
  • (browser) Export BrowserBugsnagStatic #2112

Fixed

  • (react-native) Move BugsnagReactNative from objective-c to objective c++ #2113

Readme

Source

@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.

FAQs

Last updated on 17 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc