@pusher/chatkit-server
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -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 @@ |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
54950
0
31
+ Added@pusher/platform-node@0.15.5(transitive)
- Removedpusher-platform-node@^0.15.0
- Removedextend@2.0.2(transitive)
- Removedpusher-platform-node@0.15.0(transitive)