mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-09 08:38:50 +00:00
fix getBlankEvent.
This commit is contained in:
6
event.js
6
event.js
@@ -2,13 +2,13 @@ import * as secp256k1 from 'noble-secp256k1'
|
||||
|
||||
import {sha256} from './utils'
|
||||
|
||||
export function getBlankEvent(evt) {
|
||||
export function getBlankEvent() {
|
||||
return {
|
||||
kind: -1,
|
||||
kind: 255,
|
||||
pubkey: null,
|
||||
content: '',
|
||||
tags: [],
|
||||
created_at: Math.round(Date.now() / 1000)
|
||||
created_at: 0
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "nostr-tools",
|
||||
"version": "0.4.5",
|
||||
"version": "0.4.6",
|
||||
"description": "Tools for making a Nostr client.",
|
||||
"main": "index.js",
|
||||
"repository": {
|
||||
|
||||
Reference in New Issue
Block a user