@jinglescode/nostr-chat-plugin
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -84,3 +84,3 @@ import { jsx } from 'react/jsx-runtime'; | ||
generateNsec: function () { | ||
return { nsec: "", pk: "" }; | ||
return { nsec: "", pubkey: "" }; | ||
}, | ||
@@ -165,3 +165,3 @@ setUser: function (_a) { | ||
var pk = getPublicKey(sk); | ||
return { nsec: nsec, pk: pk }; | ||
return { nsec: nsec, pubkey: pk }; | ||
} | ||
@@ -168,0 +168,0 @@ function resolveSk(nsec) { |
@@ -14,5 +14,5 @@ import { ReactNode } from "react"; | ||
nsec: string; | ||
pk: string; | ||
pubkey: string; | ||
}; | ||
setUser: ({ nsec, pubkey }: User) => void; | ||
}; |
{ | ||
"name": "@jinglescode/nostr-chat-plugin", | ||
"version": "0.0.7", | ||
"description": "A NOSTR React chatroom component", | ||
"version": "0.0.8", | ||
"description": "React chatroom component powered by NOSTR.", | ||
"author": "jinglescode", | ||
@@ -6,0 +6,0 @@ "license": "Apache-2.0", |
{ | ||
"name": "@jinglescode/nostr-chat-plugin", | ||
"version": "0.0.7", | ||
"description": "A NOSTR React chatroom component", | ||
"version": "0.0.8", | ||
"description": "React chatroom component powered by NOSTR.", | ||
"author": "jinglescode", | ||
@@ -6,0 +6,0 @@ "license": "Apache-2.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
47439