chore: NDK update

This commit is contained in:
florian 2024-04-23 19:52:11 +02:00
parent e91102390b
commit a9f525fb07
4 changed files with 5974 additions and 14 deletions

BIN
bun.lockb

Binary file not shown.

5956
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -12,36 +12,36 @@
"analyze": "vite-bundle-visualizer" "analyze": "vite-bundle-visualizer"
}, },
"dependencies": { "dependencies": {
"@nostr-dev-kit/ndk": "^2.7.1", "@nostr-dev-kit/ndk": "^2.8.1",
"@nostr-dev-kit/ndk-cache-dexie": "^2.3.1", "@nostr-dev-kit/ndk-cache-dexie": "^2.4.1",
"@tanstack/react-query": "^5.29.0", "@tanstack/react-query": "^5.32.0",
"bech32": "^2.0.0", "bech32": "^2.0.0",
"jotai": "^2.8.0", "jotai": "^2.8.0",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"nostr-tools": "^2.4.0", "nostr-tools": "^2.5.0",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"react-helmet": "^6.1.0", "react-helmet": "^6.1.0",
"react-lazy-load": "^4.0.1", "react-lazy-load": "^4.0.1",
"react-router-dom": "^6.22.3", "react-router-dom": "^6.23.0",
"react-swipeable": "^7.0.1" "react-swipeable": "^7.0.1"
}, },
"devDependencies": { "devDependencies": {
"@types/lodash": "^4.17.0", "@types/lodash": "^4.17.0",
"@types/react": "^18.2.74", "@types/react": "^18.2.79",
"@types/react-dom": "^18.2.24", "@types/react-dom": "^18.2.25",
"@types/react-helmet": "^6.1.11", "@types/react-helmet": "^6.1.11",
"@types/react-swipeable": "^5.2.0", "@types/react-swipeable": "^5.2.0",
"@typescript-eslint/eslint-plugin": "^7.6.0", "@typescript-eslint/eslint-plugin": "7.7.1",
"@typescript-eslint/parser": "^7.6.0", "@typescript-eslint/parser": "^7.7.1",
"@vitejs/plugin-react": "^4.2.1", "@vitejs/plugin-react": "^4.2.1",
"@webbtc/webln-types": "^3.0.0", "@webbtc/webln-types": "^3.0.0",
"eslint": "^9.0.0", "eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.6", "eslint-plugin-react-refresh": "^0.4.6",
"prettier": "^3.2.5", "prettier": "^3.2.5",
"typescript": "^5.4.4", "typescript": "^5.4.5",
"vite": "^5.2.8", "vite": "^5.2.10",
"vite-bundle-visualizer": "^1.1.0" "vite-bundle-visualizer": "^1.1.0"
} }
} }

View File

@ -337,6 +337,9 @@ export const adultNPubs = [
'npub1ylrnf0xfp9wsmqthxlqjqyqj9yy27pnchjwjq93v3mq66ts7ftjs6x7dcq', // Welcome To The Jungle 'npub1ylrnf0xfp9wsmqthxlqjqyqj9yy27pnchjwjq93v3mq66ts7ftjs6x7dcq', // Welcome To The Jungle
'npub1z0xv9t5w6evrcg860kmgqq5tfj55mz84ta40uszjnfp9uhw2clkq63yrak', // ??? 'npub1z0xv9t5w6evrcg860kmgqq5tfj55mz84ta40uszjnfp9uhw2clkq63yrak', // ???
'npub1ydss4m4s93zvzmjhv4dp69vj48wc6t8ufx8rzttv2vq330yr9geq73mv2m', 'npub1ydss4m4s93zvzmjhv4dp69vj48wc6t8ufx8rzttv2vq330yr9geq73mv2m',
'npub1mlvajfc90xjujssqzsq8q8vyjq7wt5unckvfutznm5tgej4lnh5qka7uvx', // Monica
'npub1dr79j9x35m54fpyha6dtg0c93ax57shuf4e442ls8lps3ykyjsyszvs2l3',
'npub1ksfas092cnlnpem5nn4y20yqdgc80ctqvk47vrw9l5nsd84nrewqlxhfjd',
]; ];
export const adultPublicKeys = adultNPubs.map(npub => (nip19.decode(npub).data as string).toLowerCase()); export const adultPublicKeys = adultNPubs.map(npub => (nip19.decode(npub).data as string).toLowerCase());
@ -352,6 +355,7 @@ export const blockedNPubs = [
'npub1nshq4pcyzdmnewg4h8yu6tsuh5t72whzkz5x4wj7t0c0cy7yyrfqq2cgnl', 'npub1nshq4pcyzdmnewg4h8yu6tsuh5t72whzkz5x4wj7t0c0cy7yyrfqq2cgnl',
'npub1xfu7047thly6aghl79z97kckkvwfvtcx88n6wq7c2tlng484d8xqv0kuvv', // Erandis Vol 'npub1xfu7047thly6aghl79z97kckkvwfvtcx88n6wq7c2tlng484d8xqv0kuvv', // Erandis Vol
'npub1curnt7jtq8mhl9fcswnwvuvc9ccm6lvsdv4kzydx75v92kldrvdqh7sq09', // Love AI 'npub1curnt7jtq8mhl9fcswnwvuvc9ccm6lvsdv4kzydx75v92kldrvdqh7sq09', // Love AI
'npub10xrnm6sy804cakmeew4g7kd4fl3dfvvsqfk6m3v4c6j4smrh9mlsdwpz7a', // CISAM
]; ];
export const blockedPublicKeys = blockedNPubs.map(npub => (nip19.decode(npub).data as string).toLowerCase()); export const blockedPublicKeys = blockedNPubs.map(npub => (nip19.decode(npub).data as string).toLowerCase());