@awarevue/agent-sdk 1.1.3 → 1.1.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.
package/dist/agent-app.js CHANGED
@@ -155,7 +155,9 @@ class AgentApp {
155
155
  provider: message.provider,
156
156
  config: message.config,
157
157
  lastEventForeignRef: message.lastEventForeignRef,
158
- lastEventTimestamp: message.lastEventTimestamp,
158
+ lastEventTimestamp: message.lastEventTimestamp === null
159
+ ? null
160
+ : Math.min(Date.now(), message.lastEventTimestamp),
159
161
  deviceCatalog,
160
162
  })), (0, rxjs_1.mergeMap)((context) => this.runProvider$(context)))
161
163
  : (0, rxjs_1.of)(message).pipe((0, rxjs_1.tap)(() => this.options.transport.send(this.addEnvelope({
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awarevue/agent-sdk",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "SDK for building Agent implementations that speak the Aware protocol.",
5
5
  "author": "Yaser Awajan",
6
6
  "license": "MIT",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awarevue/agent-sdk",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "SDK for building Agent implementations that speak the Aware protocol.",
5
5
  "author": "Yaser Awajan",
6
6
  "license": "MIT",