Socket
Socket
Sign inDemoInstall

@outreach/launchdarkly-js-extension-sdk

Package Overview
Dependencies
0
Maintainers
324
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @outreach/launchdarkly-js-extension-sdk

LaunchDarkly browser extension background service worker sdk


Version published
Maintainers
324
Install size
305 kB
Created

Readme

Source

@outreach/launchdarkly-js-extension-sdk

LaunchDarkly SDK for browser extension background service workers.

The SDK is built on top of js-sdk-common which is not an official API provided by LaunchDarkly. This SDK can break with feature releases of js-sdk-common.

The implementation of the SDK is similar to browser SDK with following differences:

  • It uses fetch instead of XMLHttpRequest for network requests
  • It uses chrome.storage.local for flag caching instead of localStorage
  • It hooks to chrome.runtime.onSuspend for cleanup (flushing analytic events) instead of unload event listener

FAQs

Last updated on 16 Oct 2022

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