@superhero/eventflow-spoke 4.0.3 → 4.0.4

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.
Files changed (2) hide show
  1. package/index.js +5 -0
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -377,6 +377,11 @@ export default class Spoke
377
377
  return await this.db.readEventsByDomainAndPid(domain, pid)
378
378
  }
379
379
 
380
+ async readEventlogByTimestamp(domain, pid, timestampMin, timestampMax)
381
+ {
382
+ return await this.db.readEventsByDomainAndPidBetweenTimestamps(domain, pid, timestampMin, timestampMax)
383
+ }
384
+
380
385
  async readEventlogFilteredByNames(domain, pid, names)
381
386
  {
382
387
  return await this.db.readEventsByDomainAndPidAndNames(domain, pid, names)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superhero/eventflow-spoke",
3
- "version": "4.0.3",
3
+ "version": "4.0.4",
4
4
  "description": "Eventflow spoke is the client component in the eventflow ecosystem.",
5
5
  "keywords": [
6
6
  "eventflow",
@@ -17,7 +17,7 @@
17
17
  "dependencies": {
18
18
  "@superhero/deep": "^4.2.0",
19
19
  "@superhero/eventflow-certificates": "^4.0.5",
20
- "@superhero/eventflow-db": "^4.2.2",
20
+ "@superhero/eventflow-db": "^4.2.3",
21
21
  "@superhero/id-name-generator": "^4.0.0",
22
22
  "@superhero/log": "^4.0.1",
23
23
  "@superhero/tcp-record-channel": "^4.2.1"