Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pusher/chatkit-server

Package Overview
Dependencies
Maintainers
8
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pusher/chatkit-server - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

12

CHANGELOG.md

@@ -8,4 +8,14 @@ # Changelog

## [Unreleased](https://github.com/pusher/chatkit-server-node/compare/2.0.0...HEAD)
## [Unreleased](https://github.com/pusher/chatkit-server-node/compare/2.1.0...HEAD)
## [2.1.0](https://github.com/pusher/chatkit-server-node/compare/2.0.1...2.1.0)
### Additions
- Support for `PushNotificationTitleOverride` attribute in the Room model
### Changes
- Bump minimum lodash version for security concerns
## [2.0.1](https://github.com/pusher/chatkit-server-node/compare/2.0.0...2.0.1)

@@ -12,0 +22,0 @@

5

package.json
{
"name": "@pusher/chatkit-server",
"description": "Pusher Chatkit server SDK",
"version": "2.0.1",
"version": "2.1.0",
"main": "target/src/index.js",

@@ -33,2 +33,5 @@ "license": "MIT",

},
"resolutions": {
"**/**/lodash": "^4.17.13"
},
"devDependencies": {

@@ -35,0 +38,0 @@ "@types/tape": "^4.2.32",

{
"name": "@pusher/chatkit-server",
"description": "Pusher Chatkit server SDK",
"version": "2.0.1",
"version": "2.1.0",
"main": "target/src/index.js",

@@ -33,2 +33,5 @@ "license": "MIT",

},
"resolutions": {
"**/**/lodash": "^4.17.13"
},
"devDependencies": {

@@ -35,0 +38,0 @@ "@types/tape": "^4.2.32",

@@ -155,2 +155,3 @@ /// <reference types="node" />

name: string;
pushNotificationTitleOverride?: string;
isPrivate?: boolean;

@@ -163,2 +164,3 @@ userIds?: Array<string>;

name?: string;
pushNotificationTitleOverride?: string | null;
isPrivate?: boolean;

@@ -165,0 +167,0 @@ customData?: object;

@@ -343,5 +343,6 @@ "use strict";

});
const { id, name, isPrivate, userIds, customData } = options;
const { id, name, pushNotificationTitleOverride, isPrivate, userIds, customData } = options;
let roomPayload = {
name,
push_notification_title_override: pushNotificationTitleOverride,
private: isPrivate || false,

@@ -374,2 +375,5 @@ };

}
if (options.pushNotificationTitleOverride) {
body.push_notification_title_override = options.pushNotificationTitleOverride;
}
if (options.isPrivate) {

@@ -376,0 +380,0 @@ body.private = options.isPrivate;

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