Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
pusher-chatkit-server
Advanced tools
The Node.js server SDK for Pusher Chatkit.
yarn:
$ yarn add pusher-chatkit-server
npm:
$ npm install pusher-chatkit-server --save
src/ - library code
examples/ - demonstration app. Also useful for testing during development
scripts/ - scripts for tagging, building, test, releasing package
0.12.0 - 2018-04-23
authenticate
now returns an object like this:{
"status": 200,
"headers": {
"Some-Header": "some-value"
},
"body": {
"access_token": "an.access.token",
"token_type": "bearer",
"expires_in": 86400
}
}
where:
status
is the suggested HTTP response status code,headers
are the suggested response headers,body
holds the token payload.If there's an error with the authentication process then the return value will be the same but with a different body
. For example:
{
"status": 422,
"headers": {
"Some-Header": "some-value"
},
"body": {
"error": "token_provider/invalid_grant_type",
"error_description": "The grant_type provided, some-invalid-grant-type, is unsupported"
}
}
If your client devices are running the:
>= 0.8.0
of chatkit-swift.FAQs
Pusher Chatkit server library
The npm package pusher-chatkit-server receives a total of 102 weekly downloads. As such, pusher-chatkit-server popularity was classified as not popular.
We found that pusher-chatkit-server demonstrated a not healthy version release cadence and project activity because the last version was released 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.