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

hermes-channel

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hermes-channel - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

2

dist/index.d.ts
declare function on(topic: string, callback: (data: any) => void): void;
declare function off(topic: string, callback: any): void;
declare function off(topic: string, callback?: (data: any) => void): void;
declare const hermes: {

@@ -4,0 +4,0 @@ on: typeof on;

{
"name": "hermes-channel",
"version": "0.0.5",
"version": "0.0.6",
"description": "Messaging channel between tabs",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -12,3 +12,3 @@ const callbacks: {

function off(topic: string, callback: any) {
function off(topic: string, callback?: (data: any) => void) {
if (topic in callbacks) {

@@ -15,0 +15,0 @@ if (typeof callback === "function") {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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