playov2-js-utilities 0.3.14 → 0.3.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,6 +25,7 @@ if (!PROJECT || !LOCATION) {
25
25
  * url: String,
26
26
  * headers: Object,
27
27
  * body: Object, // not needed if GET request
28
+ * ttl: Optional, date in utc format, consumer will check if the ttl has been exceeded or not and then will respond accordingly
28
29
  * ...
29
30
  *
30
31
  * }
@@ -32,10 +33,9 @@ if (!PROJECT || !LOCATION) {
32
33
  * delay
33
34
  * }
34
35
  * @param {String} taskId -used as de-duplication key
35
- * @param {Date} ttl - utc date format
36
36
  * @param {String} requestId
37
37
  */
38
- async function createHttpTask(queueId, payload, messageProcessingProperties, taskId, ttl, requestId) {
38
+ async function createHttpTask(queueId, payload, messageProcessingProperties, taskId, requestId) {
39
39
 
40
40
  try {
41
41
  const project = PROJECT;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "playov2-js-utilities",
3
- "version": "0.3.14",
3
+ "version": "0.3.15",
4
4
  "description": "Private package for JS utility functions",
5
5
  "main": "index.js",
6
6
  "scripts": {