
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
sendbird-desk
Advanced tools
This project provides SendBird Desk SDK for JavaScript which includes SendBird messaging SDK for JavaScript, SendBird Desk SDK Core, and SendBird Desk Widget sample
Note: Make sure you have node-js 18 and npm v9 or higher installed
npm install
npm run build
Note: We use dts-bundle-generator
because we need a single
d.ts
file for the SDK. rollup-plugin-typescript2
errors out
when we try to use declaration: true
in tsconfig.json
.
Copy .env.example
to .env
and fill in the values.
These variables should be setup in circle-ci as well. https://app.circleci.com/settings/project/github/sendbird/desk-js/environment-variables
Note: env variables can be found in 1password - engineering/desk_staging_e2e_test To login as admin in dashboard use
E2E Admin - Dev
in 1password
We use jest with js-dom for testing
Test cases are located in test/cases
directory and are named `*.test.ts
Note: Try not to run tests in auto-watch mode. We would be connecting and disconnecting to the server for each test case
npm run test
release/v#.#.##
.package.json
file.npm run build; npm publish --tag beta
npm run build; npm publish
CHANGELOG
, LICENSE
, dist
& package.json
to https://github.com/sendbird/SendBird-Desk-SDK-JavaScript
repo main branch.npm run format
or
(in Visual Studio Code)
Install Prettier - Code formatter
plugin.
Open file to adjust prettier, select all(cmd+a
), and cmd+k, cmd+f
.
npm run lint
FAQs
SendBird Desk SDK for JavaScript
The npm package sendbird-desk receives a total of 2,959 weekly downloads. As such, sendbird-desk popularity was classified as popular.
We found that sendbird-desk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.