Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Commit

Permalink
Cleanup (#10)
Browse files Browse the repository at this point in the history
* Adding npm requirement to package.json
Jimp does not install properly with older npm...

* Cleanup dependencies for clean production environment installs
  • Loading branch information
aphex3k committed Nov 16, 2018
1 parent 4f8c3bb commit 0555480
Show file tree
Hide file tree
Showing 4 changed files with 189 additions and 195 deletions.
3 changes: 1 addition & 2 deletions lib/Bloomsky.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
};
Object.defineProperty(exports, "__esModule", { value: true });
var fs = require("fs");
var hap = require("hap-nodejs");
var http = require("http");
var Client = require("typed-rest-client");
var Ffmpeg_1 = require("./Ffmpeg");
Expand Down Expand Up @@ -150,7 +149,7 @@ var Bloomsky = /** @class */ (function () {
this.log("Add Accessory: " + station.DeviceID);
}
var uuid = Bloomsky.UUIDGen.generate(station.DeviceID);
var newAccessory = new Bloomsky.Accessory(station.DeviceName, uuid, hap.Accessory.Categories.CAMERA);
var newAccessory = new Bloomsky.Accessory(station.DeviceName, uuid, Bloomsky.Accessory.Categories.CAMERA);
var cameraSource = this.getFfmpegForStationWithUuid(uuid);
var countBefore = newAccessory.services.length;
newAccessory.configureCameraSource(cameraSource);
Expand Down
Loading

0 comments on commit 0555480

Please sign in to comment.