chore: Updated packages

This commit is contained in:
florian 2023-08-12 11:52:58 +02:00
parent de6febd957
commit 58ace2cb11
3 changed files with 14 additions and 9 deletions

View File

@ -12,32 +12,32 @@
"analyze": "vite-bundle-visualizer"
},
"dependencies": {
"@nostr-dev-kit/ndk": "^0.8.3",
"@nostr-dev-kit/ndk": "^0.8.12",
"@nostr-dev-kit/ndk-react": "^0.1.1",
"lodash": "^4.17.21",
"nostr-tools": "^1.14.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-helmet": "^6.1.0",
"react-router-dom": "^6.14.2",
"react-router-dom": "^6.15.0",
"react-swipeable": "^7.0.1"
},
"devDependencies": {
"@types/lodash": "^4.14.196",
"@types/react": "^18.2.18",
"@types/lodash": "^4.14.197",
"@types/react": "^18.2.20",
"@types/react-dom": "^18.2.7",
"@types/react-helmet": "^6.1.6",
"@types/react-swipeable": "^5.2.0",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"@typescript-eslint/eslint-plugin": "^6.3.0",
"@typescript-eslint/parser": "^6.3.0",
"@vitejs/plugin-react": "^4.0.4",
"@webbtc/webln-types": "^1.0.13",
"eslint": "^8.46.0",
"@webbtc/webln-types": "^1.0.14",
"eslint": "^8.47.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"prettier": "^3.0.1",
"typescript": "^5.1.6",
"vite": "^4.4.8",
"vite": "^4.4.9",
"vite-bundle-visualizer": "^0.10.0"
}
}

View File

@ -29,6 +29,9 @@ import { useGlobalState } from '../utils/globalState';
/*
FEATURES:
- When one relay is not available the whole app stops working
- Login automatically / Save log in user
- the image grid div is updated constantly, why?
- Improve login (show login dialog, show login status)
- Detect if user/post does not have zap capability and show warning
- Retrieve reactions (likes, zaps) for all posts iteratively (pagination)

View File

@ -146,6 +146,8 @@ export const adultNPubs = [
'npub1hpxzg0p4hrmfvqmrusa4lkyx0ay53k2gwkjr50qe2cedj3vkufhs030ff0', // Spankingbot
'npub1p4j4zfxvdgjrs26wx5dh9uvsvqfv8xa7ew89vv60nxang8cn0sxshyj28r', // Porn search bot
'npub1tsrs6ptjnq5hluxawfme5sfxalfscapequm3ej0yfw65scwu8lys8q7y7l', // 💜 🔞EUPHORIA 🔞💜
'npub1fh8e9pnm8rfln0k7c6uh8wrvmva8enkdzsgzsc7v9jk97up23ewqs6kuue', // nostrporn
'npub1apr6dy5z4f0qs4cnswxj0gf37g46jxvh7xgwgs4wvzm6stu8f0asd4996r', // Anime Girl
];
export const adultPublicKeys = adultNPubs.map(npub => (nip19.decode(npub).data as string).toLowerCase());