@unicitylabs/sphere-sdk 0.6.8 → 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.
- package/dist/core/index.cjs +2 -6
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.js +2 -6
- package/dist/core/index.js.map +1 -1
- package/dist/impl/browser/index.cjs +1 -3
- package/dist/impl/browser/index.cjs.map +1 -1
- package/dist/impl/browser/index.js +1 -3
- package/dist/impl/browser/index.js.map +1 -1
- package/dist/impl/nodejs/index.cjs +1 -3
- package/dist/impl/nodejs/index.cjs.map +1 -1
- package/dist/impl/nodejs/index.js +1 -3
- package/dist/impl/nodejs/index.js.map +1 -1
- package/dist/index.cjs +2 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1991,9 +1991,7 @@ var NostrTransportProvider = class _NostrTransportProvider {
|
|
|
1991
1991
|
}
|
|
1992
1992
|
try {
|
|
1993
1993
|
const pm = import_nostr_js_sdk.NIP17.unwrap(event, this.keyManager);
|
|
1994
|
-
|
|
1995
|
-
this.updateLastDmEventTimestamp(event.created_at);
|
|
1996
|
-
}
|
|
1994
|
+
this.updateLastDmEventTimestamp(Math.floor(Date.now() / 1e3));
|
|
1997
1995
|
logger.debug("Nostr", "Gift wrap unwrapped, sender:", pm.senderPubkey?.slice(0, 16), "kind:", pm.kind);
|
|
1998
1996
|
if (pm.senderPubkey === this.keyManager.getPublicKeyHex()) {
|
|
1999
1997
|
try {
|