@unicitylabs/sphere-sdk 0.6.8-dev.3 → 0.6.9

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.
@@ -1954,9 +1954,7 @@ var NostrTransportProvider = class _NostrTransportProvider {
1954
1954
  }
1955
1955
  try {
1956
1956
  const pm = NIP17.unwrap(event, this.keyManager);
1957
- if (event.created_at) {
1958
- this.updateLastDmEventTimestamp(event.created_at);
1959
- }
1957
+ this.updateLastDmEventTimestamp(Math.floor(Date.now() / 1e3));
1960
1958
  logger.debug("Nostr", "Gift wrap unwrapped, sender:", pm.senderPubkey?.slice(0, 16), "kind:", pm.kind);
1961
1959
  if (pm.senderPubkey === this.keyManager.getPublicKeyHex()) {
1962
1960
  try {