Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nostr-tools

Package Overview
Dependencies
Maintainers
1
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nostr-tools - npm Package Compare versions

Comparing version 0.4.5 to 0.4.6

6

event.js

@@ -5,9 +5,9 @@ import * as secp256k1 from 'noble-secp256k1'

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
}

@@ -14,0 +14,0 @@ }

{
"name": "nostr-tools",
"version": "0.4.5",
"version": "0.4.6",
"description": "Tools for making a Nostr client.",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc