Skip to content

Commit

Permalink
package dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pablof7z committed Sep 24, 2024
1 parent 5ac3ce8 commit 4de471f
Show file tree
Hide file tree
Showing 3 changed files with 975 additions and 332 deletions.
18 changes: 9 additions & 9 deletions ndk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,25 +56,25 @@
"devDependencies": {
"@nostr-dev-kit/eslint-config-custom": "workspace:*",
"@nostr-dev-kit/tsconfig": "workspace:*",
"@types/debug": "^4.1.7",
"@types/debug": "^4.1.12",
"@types/jest": "^29.5.5",
"@types/node": "^14.11.2",
"esbuild": "^0.23.1",
"@types/node": "^22.6.1",
"esbuild": "^0.24.0",
"esbuild-plugin-alias": "^0.2.1",
"esm-loader-typescript": "^1.0.6",
"jest": "^29.7.0",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tsd": "^0.28.1",
"tsd": "^0.31.2",
"tsup": "^8.3.0",
"typedoc": "^0.25.1",
"typedoc": "^0.26.7",
"typedoc-plugin-rename-defaults": "^0.6.6"
},
"dependencies": {
"@noble/curves": "^1.4.0",
"@noble/hashes": "^1.3.1",
"@noble/secp256k1": "^2.0.0",
"@scure/base": "^1.1.1",
"@noble/curves": "^1.6.0",
"@noble/hashes": "^1.5.0",
"@noble/secp256k1": "^2.1.0",
"@scure/base": "^1.1.9",
"debug": "^4.3.6",
"light-bolt11-decoder": "^3.2.0",
"nostr-tools": "^2.7.1",
Expand Down
2 changes: 1 addition & 1 deletion ndk/src/zapper/ln.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export async function getNip57ZapSpecFromLud(
const [name, domain] = lud16.split("@");
zapEndpoint = `https://${domain}/.well-known/lnurlp/${name}`;
} else if (lud06) {
const { words } = bech32.decode(lud06, 1000);
const { words } = bech32.decode(lud06 as `${string}1${string}`, 1000);
const data = bech32.fromWords(words);
const utf8Decoder = new TextDecoder("utf-8");
zapEndpoint = utf8Decoder.decode(data);
Expand Down
Loading

0 comments on commit 4de471f

Please sign in to comment.