🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@coveo/explorer-messenger

Package Overview
Dependencies
Maintainers
16
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coveo/explorer-messenger

A utility to help library developers send messages to Coveo Explorer.

latest
npmnpm
Version
0.5.0
Version published
Maintainers
16
Created
Source

Explorer Messenger

A utility to help library developers send messages to Coveo Explorer.

Usage

First, create an instance of explorer messenger in your project. This instance can then be used to send a message.

import { createExplorerMessenger } from "@coveo/explorer-messenger";

const messenger = createExplorerMessenger();
messenger.sendMessage(...);

Message

Each message's format will differ based on the kind of event it will be sent to.

Event protocol

NameTypeDescription
kind"EVENT_PROTOCOL"Kind of message, always set to "EVENT_PROTOCOL"
eventEventProtocolEventMessage's structured event
urlstringEndpoint defined to communicate with the Event API
tokenstringToken to authorize the access to the Event API's validation endpoint. A view access level to the validate event privilege is required

Interfaces

EventProtocolEvent

NameTypeDescription
metaMetaMeta object

You can set additional properties to define the event's payload.

Meta

NameTypeDescription
typestringThe type of event

FAQs

Package last updated on 23 Sep 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