🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@channel.io/channel-web-sdk-loader

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@channel.io/channel-web-sdk-loader

Official Channel Web SDK Loader

2.0.0
latest
Source
npm
Version published
Weekly downloads
6.3K
-61.66%
Maintainers
0
Weekly downloads
 
Created
Source
Channel Talk

channel-web-sdk-loader

npm NPM npm minzip

The Official Channel SDK Loader for Web

Installation

NPM

npm install @channel.io/channel-web-sdk-loader

Yarn

yarn add @channel.io/channel-web-sdk-loader

PNPM

pnpm install @channel.io/channel-web-sdk-loader

Usage

⚠️ Note: This SDK is designed for client-side use only and should not be invoked on the server-side.

Step1: Import the ChannelService Module

import * as ChannelService from '@channel.io/channel-web-sdk-loader';

Step2: Load the Channel Web SDK

ChannelService.loadScript()

Step3: Initialize the Channel Web SDK

ChannelService.boot({
  pluginKey: 'YOUR_PLUGIN_KEY'
})

API Documentation

Playground

Keywords

crm

FAQs

Package last updated on 05 Aug 2024

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