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

@caseywebb/growhaus

Package Overview
Dependencies
Maintainers
1
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@caseywebb/growhaus - npm Package Compare versions

Comparing version 0.0.0-89f30812e1931e98bff8c32f795db0d742c22302.20190731T053616Z.89f3081 to 0.0.0-b0f4cd99103be33d61b4719ec6bd7e4ea58bffa9.20190731T080814Z.b0f4cd9

dist/browser/subscribable.js

2

dist/browser/index.js

@@ -0,5 +1,7 @@

export * from './subscribable';
export var WebApiEvents;
(function (WebApiEvents) {
WebApiEvents["AgentData"] = "agents";
WebApiEvents["WeatherData"] = "weather";
})(WebApiEvents || (WebApiEvents = {}));
//# sourceMappingURL=index.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./subscribable"), exports);
var WebApiEvents;
(function (WebApiEvents) {
WebApiEvents["AgentData"] = "agents";
WebApiEvents["WeatherData"] = "weather";
})(WebApiEvents = exports.WebApiEvents || (exports.WebApiEvents = {}));
//# sourceMappingURL=index.js.map

25

dist/types/index.d.ts

@@ -1,14 +0,4 @@

export interface DarkSkyResponse {
code: number;
currently: {
uvIndex: number;
};
hourly: {
data: {
time: number;
uvIndex: number;
}[];
};
}
export * from './subscribable';
export declare enum WebApiEvents {
AgentData = "agents",
WeatherData = "weather"

@@ -20,2 +10,13 @@ }

}
export interface AgentDataMessage extends WebApiMessage {
event: WebApiEvents.AgentData;
data: {
agents: {
[k: string]: AgentData;
};
};
}
export interface AgentData {
brightness: number;
}
export interface WeatherDataMessage extends WebApiMessage {

@@ -22,0 +23,0 @@ event: WebApiEvents.WeatherData;

{
"name": "@caseywebb/growhaus",
"version": "0.0.0-89f30812e1931e98bff8c32f795db0d742c22302.20190731T053616Z.89f3081",
"version": "0.0.0-b0f4cd99103be33d61b4719ec6bd7e4ea58bffa9.20190731T080814Z.b0f4cd9",
"author": "Casey Webb (https://caseyWebb.xyz)",

@@ -19,4 +19,6 @@ "main": "dist/node/index.js",

"dependencies": {
"autobind-decorator": "^2.4.0",
"nonenumerable": "^1.1.1",
"tslib": "^1.10.0"
}
}

@@ -1,15 +0,5 @@

export interface DarkSkyResponse {
code: number // HTTP response code
currently: {
uvIndex: number
}
hourly: {
data: {
time: number
uvIndex: number
}[]
}
}
export * from './subscribable'
export enum WebApiEvents {
AgentData = 'agents',
WeatherData = 'weather'

@@ -23,2 +13,13 @@ }

export interface AgentDataMessage extends WebApiMessage {
event: WebApiEvents.AgentData
data: {
agents: { [k: string]: AgentData }
}
}
export interface AgentData {
brightness: number
}
export interface WeatherDataMessage extends WebApiMessage {

@@ -25,0 +26,0 @@ event: WebApiEvents.WeatherData

@@ -11,4 +11,5 @@ {

"moduleResolution": "node",
"esModuleInterop": true
"esModuleInterop": true,
"experimentalDecorators": true
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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