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

innogy-smarthome-lib

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

innogy-smarthome-lib - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

5

lib/config/index.js
// Set the configuration settings
var createConfig = function (config) {
const apiHost = 'api.services-smarthome.de';
const authHost = 'auth.services-smarthome.de';
const apiUri = 'https://' + apiHost;
const authUri = 'https://' + authHost;

@@ -19,3 +21,4 @@ const baseConfig = {

auth: {
tokenHost: apiUri,
host: authHost,
tokenHost: authUri,
authorizePath: '/AUTH/authorize',

@@ -22,0 +25,0 @@ tokenPath: '/AUTH/token'

4

lib/oauth2/index.js

@@ -25,3 +25,3 @@ const jsonfile = require('jsonfile');

var postOptions = {
host: 'auth.services-smarthome.de',
host: oAuthConfig.auth.host,
path: oAuthConfig.auth.tokenPath,

@@ -88,3 +88,3 @@ method: 'POST',

var postOptions = {
host: 'auth.services-smarthome.de',
host: oAuthConfig.auth.host,
path: oAuthConfig.auth.tokenPath,

@@ -91,0 +91,0 @@ method: 'POST',

{
"name": "innogy-smarthome-lib",
"version": "0.5.2",
"version": "0.5.3",
"description": "JavaScript library for the Innogy SmartHome system",

@@ -5,0 +5,0 @@ "main": "./lib/smarthome",

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