Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

orca-ar-web

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

orca-ar-web

Two test React components

  • 0.1.2
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

Orca Native Library

Web Native (wn) library integrating Orca extension-to-webpage link (e2w). Abstracts integration between wn package and browser extension (be) managing connnected Orca Headsets.

  • React root component to display orca connection UI
  • hooks to expose information and functionality

Flow

  • React component initializes w/ OrcaRoot component. State is set to INACTIVE (initial state)
  • Exposed hook to initiate e2w link is called.
    • wn -> be : Initiate link.
    • be -> wn : Trigger ask permission on wn.
    • State is set to ASK_PERMISSION. wn will show UI to indicate link attemption.
  • User selection in UI.
    • if user selection = declined, state is set to DECLINED
    • if user selection = allowed:
      • state is set to LOADING
      • wn -> be: shared public key
      • be -> wn: encrypted orca information
      • state is set to ACTIVE
    • if error occurs, state is set to UNUSABLE

Keywords

FAQs

Package last updated on 05 Sep 2022

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc