add nip49 key encryption and decryption.

This commit is contained in:
fiatjaf
2024-01-25 12:14:51 -03:00
parent 744a930ccf
commit 7a9d432686
4 changed files with 141 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
{
"type": "module",
"name": "nostr-tools",
"version": "2.1.5",
"version": "2.1.6",
"description": "Tools for making a Nostr client.",
"repository": {
"type": "git",
@@ -150,6 +150,11 @@
"require": "./lib/cjs/nip44.js",
"types": "./lib/types/nip44.d.ts"
},
"./nip49": {
"import": "./lib/esm/nip49.js",
"require": "./lib/cjs/nip49.js",
"types": "./lib/types/nip49.d.ts"
},
"./nip57": {
"import": "./lib/esm/nip57.js",
"require": "./lib/cjs/nip57.js",