lib-task-scheduler
Advanced tools
Comparing version 2.0.62 to 2.0.65
@@ -20,7 +20,7 @@ import * as AWS from 'aws-sdk'; | ||
publishEvent(topicName: string, message: Object): Promise<void>; | ||
createTopic(topicName: string): Promise<string>; | ||
createTopic(topicName: string): Promise<string | undefined>; | ||
findTopicArnOrThrow(topicName: string): Promise<string>; | ||
listAllTopics(): Promise<AWS.SNS.Topic[]>; | ||
listTopics(nextToken?: string): Promise<AWS.SNS.ListTopicsResponse>; | ||
subscribeQueueToTopic(topicName: string, queueArn: string): Promise<string>; | ||
listTopics(nextToken?: string | undefined): Promise<AWS.SNS.ListTopicsResponse>; | ||
subscribeQueueToTopic(topicName: string, queueArn: string): Promise<string | undefined>; | ||
} |
@@ -89,3 +89,5 @@ "use strict"; | ||
nextToken = response.NextToken; | ||
allTopics = _.concat(allTopics, response.Topics); | ||
if (response.Topics) { | ||
allTopics = _.concat(allTopics, response.Topics); | ||
} | ||
} while (nextToken); | ||
@@ -92,0 +94,0 @@ this.log.debug(`Found topics: ${JSON.stringify(allTopics)}`); |
{ | ||
"name": "lib-task-scheduler", | ||
"version": "2.0.62", | ||
"version": "2.0.65", | ||
"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
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
135822
2018