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

@akiflow/ergon

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@akiflow/ergon - npm Package Compare versions

Comparing version 1.0.8 to 1.3.1

3

dist/ergon.d.ts

@@ -23,4 +23,5 @@ import { AxiosInstance } from 'axios';

triggerSchedule(id: string): Promise<void>;
deleteJobs(key: string): Promise<void>;
deleteJobs(id: string): Promise<void>;
deleteJobsWithKey(key: string): Promise<void>;
deleteSchedules(key: string): Promise<void>;
}

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

};
ErgonQueue.prototype.deleteJobs = function (key) {
ErgonQueue.prototype.deleteJobs = function (id) {
return __awaiter(this, void 0, void 0, function () {

@@ -445,3 +445,3 @@ var e_11;

_a.trys.push([0, 2, , 3]);
return [4 /*yield*/, this.cli.delete("/jobs/".concat(key))];
return [4 /*yield*/, this.cli.delete("/jobs/".concat(id))];
case 1:

@@ -459,3 +459,3 @@ _a.sent();

};
ErgonQueue.prototype.deleteSchedules = function (key) {
ErgonQueue.prototype.deleteJobsWithKey = function (key) {
return __awaiter(this, void 0, void 0, function () {

@@ -467,3 +467,3 @@ var e_12;

_a.trys.push([0, 2, , 3]);
return [4 /*yield*/, this.cli.delete("/schedules/".concat(key))];
return [4 /*yield*/, this.cli.delete("/jobs/keys/".concat(key))];
case 1:

@@ -481,4 +481,24 @@ _a.sent();

};
ErgonQueue.prototype.deleteSchedules = function (key) {
return __awaiter(this, void 0, void 0, function () {
var e_13;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
_a.trys.push([0, 2, , 3]);
return [4 /*yield*/, this.cli.delete("/schedules/".concat(key))];
case 1:
_a.sent();
return [2 /*return*/];
case 2:
e_13 = _a.sent();
console.error(e_13);
throw e_13;
case 3: return [2 /*return*/];
}
});
});
};
return ErgonQueue;
}());
exports.ErgonQueue = ErgonQueue;
{
"name": "@akiflow/ergon",
"version": "1.0.8",
"version": "1.3.1",
"description": "Client for Ergon job queue",

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

Sorry, the diff of this file is too big to display

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