New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pusher-platform-node

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pusher-platform-node - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

2

package.json
{
"name": "pusher-platform-node",
"version": "0.6.0",
"version": "0.6.1",
"main": "./target/index.js",

@@ -5,0 +5,0 @@ "types": "./target/index.d.ts",

@@ -31,3 +31,3 @@ import {Readable} from "stream";

userId?: string;
serviceClaims: any;
serviceClaims?: any;
}

@@ -34,0 +34,0 @@

@@ -65,17 +65,8 @@ import extend = require("extend");

let host = `${this.cluster}.${HOST_BASE}`
if(options.host) {
host = options.host;
}
let port = HTTPS_PORT;
if(options.port){
port = options.port;
}
this.client = options.client || new BaseClient({
host: host,
host: options.host || `${this.cluster}.${HOST_BASE}`,
instanceId: this.instanceId,
serviceName: this.serviceName,
serviceVersion: this.serviceVersion,
port: port
port: options.port || HTTPS_PORT
});

@@ -82,0 +73,0 @@

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

userId?: string;
serviceClaims: any;
serviceClaims?: any;
}

@@ -28,0 +28,0 @@ export interface AuthenticatePayload {

@@ -33,16 +33,8 @@ "use strict";

this.keySecret = keyParts[2];
var host = this.cluster + "." + HOST_BASE;
if (options.host) {
host = options.host;
}
var port = HTTPS_PORT;
if (options.port) {
port = options.port;
}
this.client = options.client || new base_client_1.default({
host: host,
host: options.host || this.cluster + "." + HOST_BASE,
instanceId: this.instanceId,
serviceName: this.serviceName,
serviceVersion: this.serviceVersion,
port: port
port: options.port || HTTPS_PORT
});

@@ -49,0 +41,0 @@ this.authenticator = new authenticator_1.default(this.instanceId, this.keyId, this.keySecret);

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