@flatfile/listener
Advanced tools
Comparing version 0.1.1 to 0.1.2
# @flatfile/listener | ||
## 0.1.2 | ||
### Patch Changes | ||
- 22d2466: Pull last 5 seconds of events in Polling Driver | ||
## 0.1.1 | ||
@@ -4,0 +10,0 @@ |
@@ -817,3 +817,3 @@ "use strict"; | ||
}); | ||
let lastTimestamp = /* @__PURE__ */ new Date(); | ||
let lastTimestamp = new Date(Date.now() - 5e3); | ||
if (!this.environmentId) { | ||
@@ -850,3 +850,3 @@ throw new Error("environmentId is required"); | ||
}).catch(console.error); | ||
lastTimestamp = /* @__PURE__ */ new Date(); | ||
lastTimestamp = new Date(Date.now() - 5e3); | ||
}, 500); | ||
@@ -853,0 +853,0 @@ } |
{ | ||
"name": "@flatfile/listener", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "A PubSub Listener for configuring and using Flatfile", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -40,3 +40,3 @@ import c from 'ansi-colors' | ||
let lastTimestamp = new Date() | ||
let lastTimestamp = new Date(Date.now() - 5000) | ||
if (!this.environmentId) { | ||
@@ -78,3 +78,3 @@ throw new Error('environmentId is required') | ||
lastTimestamp = new Date() | ||
lastTimestamp = new Date(Date.now() - 5000) | ||
}, 500) | ||
@@ -81,0 +81,0 @@ } |
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
100338