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

@pusher/chatkit-server

Package Overview
Dependencies
Maintainers
9
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 1.0.2 to 1.0.3

6

CHANGELOG.md

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

## [Unreleased](https://github.com/pusher/chatkit-server-node/compare/1.0.2...HEAD)
## [Unreleased](https://github.com/pusher/chatkit-server-node/compare/1.0.3...HEAD)
## [1.0.3](https://github.com/pusher/chatkit-server-node/compare/1.0.2...1.0.3) - 2018-11-06
- Update pusher platform node dependency for vulnerabilities in transient deps
## [1.0.2](https://github.com/pusher/chatkit-server-node/compare/1.0.1...1.0.2)

@@ -12,0 +16,0 @@

6

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

@@ -28,4 +28,4 @@ "license": "MIT",

"dependencies": {
"jsonwebtoken": "^8.3.0",
"pusher-platform-node": "^0.15.0"
"@pusher/platform-node": "^0.15.1",
"jsonwebtoken": "^8.3.0"
},

@@ -32,0 +32,0 @@ "devDependencies": {

@@ -6,2 +6,3 @@ # chatkit-server-node

[![npm version](https://badge.fury.io/js/%40pusher%2Fchatkit-server.svg)](https://badge.fury.io/js/%40pusher%2Fchatkit-server)
[![Read the docs](https://img.shields.io/badge/read_the-docs-92A8D1.svg)](https://docs.pusher.com/chatkit/reference/server-node)

@@ -24,10 +25,8 @@ The Node.js server SDK for Pusher Chatkit.

# Development/Contribution
## Getting started
<strong>src/</strong> - library code</br>
<strong>examples/</strong> - demonstration app. Also useful for testing during development</br>
<strong>scripts/</strong> - scripts for tagging, building, test, releasing package
Head over to [our documentation](https://docs.pusher.com/chatkit/reference/server-node).
# Publishing
## Publishing
Running `npm publish` will walk you through the publishing steps
Running `npm run publish-please` will walk you through the publishing steps.
{
"name": "@pusher/chatkit-server",
"description": "Pusher Chatkit server SDK",
"version": "1.0.2",
"version": "1.0.3",
"main": "target/src/index.js",

@@ -28,4 +28,4 @@ "license": "MIT",

"dependencies": {
"jsonwebtoken": "^8.3.0",
"pusher-platform-node": "^0.15.0"
"@pusher/platform-node": "^0.15.1",
"jsonwebtoken": "^8.3.0"
},

@@ -32,0 +32,0 @@ "devDependencies": {

@@ -1,2 +0,2 @@

import { AuthenticateOptions, AuthenticatePayload, AuthenticationResponse, BaseClient, Instance, TokenWithExpiry } from 'pusher-platform-node';
import { AuthenticateOptions, AuthenticatePayload, AuthenticationResponse, BaseClient, Instance, TokenWithExpiry } from '@pusher/platform-node';
export interface AuthenticationOptions {

@@ -3,0 +3,0 @@ userId: string;

@@ -15,3 +15,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const pusher_platform_node_1 = require("pusher-platform-node");
const platform_node_1 = require("@pusher/platform-node");
const utils_1 = require("./utils");

@@ -25,3 +25,3 @@ const package_json_1 = __importDefault(require("../package.json"));

const { instanceLocator, key, port, host, client } = options;
const sdkInfo = new pusher_platform_node_1.SDKInfo({
const sdkInfo = new platform_node_1.SDKInfo({
productName: 'chatkit',

@@ -42,5 +42,5 @@ version: package_json_1.default.version,

this.instanceLocator = instanceLocator;
this.apiInstance = new pusher_platform_node_1.Instance(apiInstanceOptions);
this.authorizerInstance = new pusher_platform_node_1.Instance(authorizerInstanceOptions);
this.cursorsInstance = new pusher_platform_node_1.Instance(cursorsInstanceOptions);
this.apiInstance = new platform_node_1.Instance(apiInstanceOptions);
this.authorizerInstance = new platform_node_1.Instance(authorizerInstanceOptions);
this.cursorsInstance = new platform_node_1.Instance(cursorsInstanceOptions);
}

@@ -47,0 +47,0 @@ // Token generation

export { default as default } from './chatkit';
export { AuthenticateOptions, AuthenticatePayload, AuthenticationResponse, ErrorResponse, } from 'pusher-platform-node';
export { AuthenticateOptions, AuthenticatePayload, AuthenticationResponse, ErrorResponse, } from '@pusher/platform-node';

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

exports.default = chatkit_1.default;
var pusher_platform_node_1 = require("pusher-platform-node");
exports.AuthenticationResponse = pusher_platform_node_1.AuthenticationResponse;
exports.ErrorResponse = pusher_platform_node_1.ErrorResponse;
var platform_node_1 = require("@pusher/platform-node");
exports.AuthenticationResponse = platform_node_1.AuthenticationResponse;
exports.ErrorResponse = platform_node_1.ErrorResponse;
//# sourceMappingURL=index.js.map

Sorry, the diff of this file is not supported yet

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