Socket
Socket
Sign inDemoInstall

firebase-uptime

Package Overview
Dependencies
302
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.6 to 1.0.7

firebase-uptime-1.0.7.tgz

2

cleanup.ts

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

export function reportingCleanup() {
functions.pubsub.schedule('every 1 day').onRun(apiStatusCleanUp);
return functions.pubsub.schedule('every 1 day').onRun(apiStatusCleanUp);
}

@@ -16,3 +16,3 @@ const admin = require('firebase-admin');

export function apiCurrentStatus(data: { api: string}) {
functions.https.onCall(currentStatus(data.api));
return functions.https.onCall(currentStatus(data.api));
}

@@ -1,1 +0,1 @@

export declare function reportingCleanup(): void;
export declare function reportingCleanup(): any;

@@ -35,5 +35,5 @@ "use strict";

function reportingCleanup() {
functions.pubsub.schedule('every 1 day').onRun(apiStatusCleanUp);
return functions.pubsub.schedule('every 1 day').onRun(apiStatusCleanUp);
}
exports.reportingCleanup = reportingCleanup;
//# sourceMappingURL=cleanup.js.map
export declare function apiCurrentStatus(data: {
api: string;
}): void;
}): any;

@@ -27,5 +27,5 @@ "use strict";

function apiCurrentStatus(data) {
functions.https.onCall(currentStatus(data.api));
return functions.https.onCall(currentStatus(data.api));
}
exports.apiCurrentStatus = apiCurrentStatus;
//# sourceMappingURL=currentStatus.js.map

@@ -1,1 +0,1 @@

export declare function apiReports(): void;
export declare function apiReports(): any;

@@ -43,3 +43,3 @@ "use strict";

function apiReports() {
functions.pubsub.schedule('every 5 minutes').onRun(() => __awaiter(this, void 0, void 0, function* () {
return functions.pubsub.schedule('every 5 minutes').onRun(() => __awaiter(this, void 0, void 0, function* () {
const apiList = (yield getApiData()) || [];

@@ -46,0 +46,0 @@ if (apiList.length === 0) {

export declare function apiUptimeStatus(data: {
api: string;
days: number;
}): void;
}): any;

@@ -32,5 +32,5 @@ "use strict";

function apiUptimeStatus(data) {
functions.https.onCall(UptimeStatusHistory(data.api, data.days));
return functions.https.onCall(UptimeStatusHistory(data.api, data.days));
}
exports.apiUptimeStatus = apiUptimeStatus;
//# sourceMappingURL=statusHistory.js.map
{
"name": "firebase-uptime",
"version": "1.0.6",
"version": "1.0.7",
"description": "Monitoring tool for external APIs used in your project.",

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

@@ -38,3 +38,3 @@ const admin = require('firebase-admin');

export function apiReports() {
functions.pubsub.schedule('every 5 minutes').onRun(async () => {
return functions.pubsub.schedule('every 5 minutes').onRun(async () => {
const apiList = await getApiData() || []

@@ -41,0 +41,0 @@ if (apiList.length === 0) {

@@ -21,3 +21,3 @@ const admin = require('firebase-admin');

export function apiUptimeStatus(data: { api: string, days: number }) {
functions.https.onCall(UptimeStatusHistory(data.api, data.days));
return functions.https.onCall(UptimeStatusHistory(data.api, data.days));
}

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc