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

lib-task-scheduler

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lib-task-scheduler - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

3

dist/src/sqs_queue.d.ts
import { SqsQueueConfig, AwsCredentialsConfig } from './clients/sqs';
import { Logger } from './logger';
import { MessageSource, MessageSink, Message } from './';

@@ -19,3 +20,3 @@ export interface SNSMessage extends Message {

private messageMeta;
constructor(name: string, awsCreds: AwsCredentialsConfig, sqsConfig: SqsQueueConfig);
constructor(name: string, awsCreds: AwsCredentialsConfig, sqsConfig: SqsQueueConfig, log?: Logger);
getNext(): Promise<T>;

@@ -22,0 +23,0 @@ complete(message: T): Promise<void>;

@@ -16,6 +16,6 @@ "use strict";

class SQSQueue {
constructor(name, awsCreds, sqsConfig) {
constructor(name, awsCreds, sqsConfig, log) {
this.name = name;
this.messageMeta = {};
this.sqsClient = new sqs_1.default(name, sqsConfig, awsCreds);
this.sqsClient = new sqs_1.default(name, sqsConfig, awsCreds, log);
}

@@ -22,0 +22,0 @@ getNext() {

{
"name": "lib-task-scheduler",
"version": "1.0.6",
"version": "1.0.7",
"description": "A lightweight, modular task scheduler.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/convoyinc/lib-task-scheduler",

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