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

@sebastianboehler/philipshue

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sebastianboehler/philipshue - npm Package Compare versions

Comparing version 1.0.51 to 1.0.52

38

index.ts

@@ -150,3 +150,3 @@ import { Config, Group, GroupedLightV2, HueError, LightStateV1, LightV2, Scene, Smart_scene } from './types'

data,
}
} as {success: true, data: {success: {[key: string]: string | boolean | number}}[]}
}

@@ -157,3 +157,3 @@

data: await response.json(),
}
} as {success: false, data: {error: {type: number, address: string, description: string}}[]}
}

@@ -169,3 +169,3 @@

const json: {[id: string]: Group} = await resp.json()
const json: {[id: string]: Group} | {[id: string]: HueError} = await resp.json()

@@ -176,3 +176,3 @@ if (resp.status === 200) {

data: json,
}
} as {success: true, data: {[id: string]: Group}}
}

@@ -183,3 +183,3 @@

errors: json,
}
} as {success: false, errors: {[id: string]: HueError}}
}

@@ -205,3 +205,3 @@

data: json.data,
}
} as {success: true, data: LightV2[]}
}

@@ -212,3 +212,3 @@

errors: json.errors,
}
} as {success: false, errors: HueError[]}
}

@@ -234,3 +234,3 @@

data: json.data,
}
} as {success: true, data: GroupedLightV2[]}
}

@@ -241,3 +241,3 @@

errors: json.errors,
}
} as {success: false, errors: HueError[]}
}

@@ -263,3 +263,3 @@

data: json.data,
}
} as {success: true, data: Scene[]}
}

@@ -270,3 +270,3 @@

errors: json.errors,
}
} as {success: false, errors: HueError[]}
}

@@ -292,3 +292,3 @@

data: json.data,
}
} as {success: true, data: Scene}
}

@@ -299,3 +299,3 @@

errors: json.errors,
}
} as {success: false, errors: HueError[]}
}

@@ -321,3 +321,3 @@

data: json.data,
}
} as {success: true, data: Smart_scene[]}
}

@@ -328,3 +328,3 @@

errors: json.errors,
}
} as {success: false, errors: HueError[]}
}

@@ -358,3 +358,3 @@

data: json.data,
}
} as {success: true, data: {rid: string, rtype: string}[]}
}

@@ -365,3 +365,3 @@

errors: json.errors,
}
} as {success: false, errors: HueError[]}
}

@@ -394,3 +394,3 @@

data: json.data,
}
} as {success: true, data: {rid: string, rtype: string}[]}
}

@@ -401,4 +401,4 @@

errors: json.errors,
}
} as {success: false, errors: HueError[]}
}
}
{
"name": "@sebastianboehler/philipshue",
"version": "1.0.51",
"version": "1.0.52",
"description": "Wrapper around the PhilipsHue REST API",

@@ -5,0 +5,0 @@ "main": "index.js",

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