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

@nautical-commerce/app-bridge

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nautical-commerce/app-bridge

App bridge for Nautical Commerce dashboard embeds

  • 0.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
189
increased by10.53%
Maintainers
0
Weekly downloads
 
Created
Source

Nautical App Bridge

This repository builds the @nautical-commerce/app-bridge npm package. This package is used to provide a shared context between the Nautical Admin Dashboard and a dashboard app integration hosted in an iframe.

Events

Events are messages that are sent downwards into the app iframe from the dashboard. The possible events that can be sent are:

EventUse
EventType.CommandResponseSent in response to a Command being received by the dashboard.
EventType.InitProvides initialization data to the app bridge from the dashboard

Commands

Commands are messages that are sent upwards from the app iframe to the dashboard. The possible commands that can be sent:

CommandUse
CommandType.ReadyNotify the dashboard that the app is ready. Will result in an EventType.Init event being sent
CommandType.CloseAsk the dashboard to close the modal hosting the iframe
CommandType.NotificationSend a notification to the dashboard for display to the user

FAQs

Package last updated on 22 Jan 2025

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