New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@liquid-state/iwa-desktop

Package Overview
Dependencies
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@liquid-state/iwa-desktop

A set of functions and utilities to make it easy to run IWAs in a desktop environment.

  • 0.2.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14
increased by250%
Maintainers
3
Weekly downloads
 
Created
Source

IWA Desktop Environment

A set of functions and utilities to make it easy to run IWAs in a desktop environment. This can be used to run a full desktop version of an application in production or to make developing IWAs simpler by modelling native behaviours in a browser.

Basics

To get a simple working environment quickly you'll need to follow a few quick steps.

  1. Replace the communicator with the noopCommunicator from this package
import Desktop from '@liquid-state/iwa-desktop'

const app = createApp(definition, Desktop.createNoopCommunicator());
  1. Wrap the resulting communicator in the default middleware
Desktop.injectDefaultMiddleware(app.communicator);
  1. Add any additional middleware you need (eg config)
import { middleware } from '@liquid-state/iwa-desktop';
app.communicator.addOnSendMiddleware(middleware.config({
    AWS_REGION: 'us-east-2',
    AWS_USERPOOL_ID: 'abc123'
}));

Available middleware

OnSend

  • navigation (included in default)
  • config

OnRecieve

None

FAQs

Package last updated on 01 Nov 2019

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