minor updates

This commit is contained in:
Ren Amamiya 2023-06-14 12:40:35 +07:00
parent 0147a70e8f
commit 415552301f
7 changed files with 178 additions and 157 deletions

View File

@ -15,7 +15,7 @@
"dependencies": {
"@floating-ui/react": "^0.23.1",
"@headlessui/react": "^1.7.15",
"@nostr-dev-kit/ndk": "^0.4.6",
"@nostr-dev-kit/ndk": "^0.5.1",
"@tanstack/react-virtual": "3.0.0-beta.54",
"@tauri-apps/api": "^1.3.0",
"@vidstack/react": "^0.4.5",
@ -43,9 +43,9 @@
"devDependencies": {
"@tailwindcss/typography": "^0.5.9",
"@tauri-apps/cli": "^1.3.1",
"@types/node": "^18.16.17",
"@types/react": "^18.2.11",
"@types/react-dom": "^18.2.4",
"@types/node": "^18.16.18",
"@types/react": "^18.2.12",
"@types/react-dom": "^18.2.5",
"@types/youtube-player": "^5.5.7",
"@vitejs/plugin-react-swc": "^3.3.2",
"autoprefixer": "^10.4.14",

View File

@ -8,8 +8,8 @@ dependencies:
specifier: ^1.7.15
version: 1.7.15(react-dom@18.2.0)(react@18.2.0)
'@nostr-dev-kit/ndk':
specifier: ^0.4.6
version: 0.4.6(typescript@4.9.5)
specifier: ^0.5.1
version: 0.5.1(typescript@4.9.5)
'@tanstack/react-virtual':
specifier: 3.0.0-beta.54
version: 3.0.0-beta.54(react@18.2.0)
@ -18,7 +18,7 @@ dependencies:
version: 1.3.0
'@vidstack/react':
specifier: ^0.4.5
version: 0.4.5(@types/react@18.2.11)(maverick.js@0.33.1)(media-icons@0.4.2)(react@18.2.0)(vidstack@0.4.5)
version: 0.4.5(@types/react@18.2.12)(maverick.js@0.33.1)(media-icons@0.4.2)(react@18.2.0)(vidstack@0.4.5)
dayjs:
specifier: ^1.11.8
version: 1.11.8
@ -45,7 +45,7 @@ dependencies:
version: 7.44.3(react@18.2.0)
react-markdown:
specifier: ^8.0.7
version: 8.0.7(@types/react@18.2.11)(react@18.2.0)
version: 8.0.7(@types/react@18.2.12)(react@18.2.0)
react-resizable-panels:
specifier: ^0.0.48
version: 0.0.48(react-dom@18.2.0)(react@18.2.0)
@ -72,7 +72,7 @@ dependencies:
version: 1.13.1
tauri-plugin-sql-api:
specifier: github:tauri-apps/tauri-plugin-sql
version: github.com/tauri-apps/tauri-plugin-sql/312c4d39ac5eb1c6c75e8ecee1c4bc89ed799675
version: github.com/tauri-apps/tauri-plugin-sql/45b46ee428f6c13a831d237d8b602349ad6b17a6
vidstack:
specifier: ^0.4.5
version: 0.4.5
@ -88,14 +88,14 @@ devDependencies:
specifier: ^1.3.1
version: 1.3.1
'@types/node':
specifier: ^18.16.17
version: 18.16.17
specifier: ^18.16.18
version: 18.16.18
'@types/react':
specifier: ^18.2.11
version: 18.2.11
specifier: ^18.2.12
version: 18.2.12
'@types/react-dom':
specifier: ^18.2.4
version: 18.2.4
specifier: ^18.2.5
version: 18.2.5
'@types/youtube-player':
specifier: ^5.5.7
version: 5.5.7
@ -137,7 +137,7 @@ devDependencies:
version: 4.9.5
vite:
specifier: ^4.3.9
version: 4.3.9(@types/node@18.16.17)
version: 4.3.9(@types/node@18.16.18)
vite-plugin-ssr:
specifier: ^0.4.131
version: 0.4.131(vite@4.3.9)
@ -518,8 +518,8 @@ packages:
resolution: {integrity: sha512-dfLbk+PwWvFzSxwk3n5ySL0hfBog779o8h68wK/7/APo/7cgyWp5jcXockbxdk5kFRkbeXWm4Fbi9FrdN381sA==}
dev: false
/@maverick-js/signals@5.10.3:
resolution: {integrity: sha512-5qS0v41jBRhopHmSjWTWWcn/19bDwFqOxL5oHYYYROc/L+cyos3A/qYhcmjU9bPPskc5JiUgLn0O7LV/OvGUmg==}
/@maverick-js/signals@5.10.4:
resolution: {integrity: sha512-bD5yoB4Cmx2SwAqOL8lCfMPD1mXarC6dv/ORkDw7LM/77FVmn6pj0fERwX4BEIfLipyoPcg6IPWEc5YbsaU2PQ==}
dev: false
/@noble/curves@1.0.0:
@ -559,20 +559,20 @@ packages:
'@nodelib/fs.scandir': 2.1.5
fastq: 1.15.0
/@nostr-dev-kit/ndk@0.4.6(typescript@4.9.5):
resolution: {integrity: sha512-kuv7ZNXi2TlHOEPXeeX6qCCTdhHUUCfl2JMt/zpZbZp31L8Zb9RIQLtWsM0Q90AyU0qGv9zVbSuEArPeCVsTEA==}
/@nostr-dev-kit/ndk@0.5.1(typescript@4.9.5):
resolution: {integrity: sha512-3oUUVXMHMMs6zhjVPBa5mNEErozSxILo7UqnF3RE0b35u0IxeC7muq5nDJbKi6KuEQZYa7FFBy/BVMqN8KWwgQ==}
dependencies:
'@noble/hashes': 1.3.1
'@noble/secp256k1': 2.0.0
'@scure/base': 1.1.1
'@typescript-eslint/eslint-plugin': 5.59.9(@typescript-eslint/parser@5.59.9)(eslint@8.42.0)(typescript@4.9.5)
'@typescript-eslint/parser': 5.59.9(eslint@8.42.0)(typescript@4.9.5)
'@typescript-eslint/eslint-plugin': 5.59.11(@typescript-eslint/parser@5.59.11)(eslint@8.42.0)(typescript@4.9.5)
'@typescript-eslint/parser': 5.59.11(eslint@8.42.0)(typescript@4.9.5)
debug: 4.3.4
esbuild: 0.17.19
esbuild-plugin-alias: 0.2.1
eslint: 8.42.0
eslint-config-prettier: 8.8.0(eslint@8.42.0)
eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.59.9)(eslint@8.42.0)
eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.59.11)(eslint@8.42.0)
esm-loader-typescript: 1.0.4
eventemitter3: 5.0.1
light-bolt11-decoder: 3.0.0
@ -673,8 +673,8 @@ packages:
resolution: {integrity: sha512-XJfwUVUKDHF5ugKwIcxEgc9k8b7HbznCp6eUfWgu710hMPNIO4aw4/zB5RogDQz8nd6gyCDpU9O/m6qYEWY6yQ==}
dev: false
/@swc/core-darwin-arm64@1.3.62:
resolution: {integrity: sha512-MmGilibITz68LEje6vJlKzc2gUUSgzvB3wGLSjEORikTNeM7P8jXVxE4A8fgZqDeudJUm9HVWrxCV+pHDSwXhA==}
/@swc/core-darwin-arm64@1.3.63:
resolution: {integrity: sha512-lNR0BgG0/6dGpGP+AyFZoZ3YBhZN5GzvgAUzwy4skqn5sKZ7duQD02CNq1lIy7Im5BzgMUcJ+/Z7z/YUlqBK+Q==}
engines: {node: '>=10'}
cpu: [arm64]
os: [darwin]
@ -682,8 +682,8 @@ packages:
dev: true
optional: true
/@swc/core-darwin-x64@1.3.62:
resolution: {integrity: sha512-Xl93MMB3sCWVlYWuQIB+v6EQgzoiuQYK5tNt9lsHoIEVu2zLdkQjae+5FUHZb1VYqCXIiWcULFfVz0R4Sjb7JQ==}
/@swc/core-darwin-x64@1.3.63:
resolution: {integrity: sha512-1lydnc+LgSD0gwD1axW3+Y1htKZZRn33aJF4ITd6hsA9Y2eIhdMVxgx6peXp8wWzoRBXy5GEMTnd7704oya4zw==}
engines: {node: '>=10'}
cpu: [x64]
os: [darwin]
@ -691,8 +691,8 @@ packages:
dev: true
optional: true
/@swc/core-linux-arm-gnueabihf@1.3.62:
resolution: {integrity: sha512-nJsp6O7kCtAjTTMcIjVB0g5y1JNiYAa5q630eiwrnaHUusEFoANDdORI3Z9vXeikMkng+6yIv9/V8Rb093xLjQ==}
/@swc/core-linux-arm-gnueabihf@1.3.63:
resolution: {integrity: sha512-cJT+XJ6f25QeAcz2ONy1i8WKP6olqOIbU5fHZKsoPqEZmLkK5NCTnmIolT0HZpH1SNkE/hHkPYGn620Domvn8g==}
engines: {node: '>=10'}
cpu: [arm]
os: [linux]
@ -700,8 +700,8 @@ packages:
dev: true
optional: true
/@swc/core-linux-arm64-gnu@1.3.62:
resolution: {integrity: sha512-XGsV93vpUAopDt5y6vPwbK1Nc/MlL55L77bAZUPIiosWD1cWWPHNtNSpriE6+I+JiMHe0pqtfS/SSTk6ZkFQVw==}
/@swc/core-linux-arm64-gnu@1.3.63:
resolution: {integrity: sha512-xtuk0v/86i0UR6G+5X6l3bgP1I1iWlEI23ad44L0FNrZ8wLLEvVzYuVoI6U5fKbp91LAsVpdWyyvSAo1sT7BWQ==}
engines: {node: '>=10'}
cpu: [arm64]
os: [linux]
@ -709,8 +709,8 @@ packages:
dev: true
optional: true
/@swc/core-linux-arm64-musl@1.3.62:
resolution: {integrity: sha512-ESUmJjSlTTkoBy9dMG49opcNn8BmviqStMhwyeD1G8XRnmRVCZZgoBOKdvCXmJhw8bQXDhZumeaTUB+OFUKVXg==}
/@swc/core-linux-arm64-musl@1.3.63:
resolution: {integrity: sha512-AIRqE/3659zt5hfZzj3i/xtJbJl1iz9FcYEGUsIqqrxouqZWNbFujQpIguX4qFI7uoM+m6p6pqLjMmArwErRxQ==}
engines: {node: '>=10'}
cpu: [arm64]
os: [linux]
@ -718,8 +718,8 @@ packages:
dev: true
optional: true
/@swc/core-linux-x64-gnu@1.3.62:
resolution: {integrity: sha512-wnHJkt3ZBrax3SFnUHDcncG6mrSg9ZZjMhQV9Mc3JL1x1s1Gy9rGZCoBNnV/BUZWTemxIBcQbANRSDut/WO+9A==}
/@swc/core-linux-x64-gnu@1.3.63:
resolution: {integrity: sha512-EAB5gkgDvStJofvdQU40hqEqjtSvtPs3PR0WupZtbLKWWCTWg76uTXQZEKNYx9r60Pt7sx1BAa3XnqgXjmcjDg==}
engines: {node: '>=10'}
cpu: [x64]
os: [linux]
@ -727,8 +727,8 @@ packages:
dev: true
optional: true
/@swc/core-linux-x64-musl@1.3.62:
resolution: {integrity: sha512-9oRbuTC/VshB66Rgwi3pTq3sPxSTIb8k9L1vJjES+dDMKa29DAjPtWCXG/pyZ00ufpFZgkGEuAHH5uqUcr1JQg==}
/@swc/core-linux-x64-musl@1.3.63:
resolution: {integrity: sha512-8ScbtDPd8Hr1VkpzCseI5H770YgxxjTFsxinH9UtJWJBFIkdu2rEwjgz4t+lDjsc/R3JWaKt1q8Dkgzqmj+77g==}
engines: {node: '>=10'}
cpu: [x64]
os: [linux]
@ -736,8 +736,8 @@ packages:
dev: true
optional: true
/@swc/core-win32-arm64-msvc@1.3.62:
resolution: {integrity: sha512-zv14vlF2VRrxS061XkfzGjCYnOrEo5glKJjLK5PwUKysIoVrx/L8nAbFxjkX5cObdlyoqo+ekelyBPAO+4bS0w==}
/@swc/core-win32-arm64-msvc@1.3.63:
resolution: {integrity: sha512-+41tEugXJjpK04KIb2+Xlpb1NArhIne4u0NQo+cHb6ekJoqQmgIj3uNJhQ0v+0DDMjFqbA07l0KYNMgYLBls/A==}
engines: {node: '>=10'}
cpu: [arm64]
os: [win32]
@ -745,8 +745,8 @@ packages:
dev: true
optional: true
/@swc/core-win32-ia32-msvc@1.3.62:
resolution: {integrity: sha512-8MC/PZQSsOP2iA/81tAfNRqMWyEqTS/8zKUI67vPuLvpx6NAjRn3E9qBv7iFqH79iqZNzqSMo3awnLrKZyFbcw==}
/@swc/core-win32-ia32-msvc@1.3.63:
resolution: {integrity: sha512-W6nPOD5k++rSmoAb0Jg0h7gyfjly8b5ld7cSnmrWKXfmjgxOqxcoqP2LlzNkamg320eqkGaD9n+UnPJDteLTBw==}
engines: {node: '>=10'}
cpu: [ia32]
os: [win32]
@ -754,8 +754,8 @@ packages:
dev: true
optional: true
/@swc/core-win32-x64-msvc@1.3.62:
resolution: {integrity: sha512-GJSmUJ95HKHZXAxiuPUmrcm/S3ivQvEzXhOZaIqYBIwUsm02vFZkClsV7eIKzWjso1t0+I/8MjrnUNaSWqh1rQ==}
/@swc/core-win32-x64-msvc@1.3.63:
resolution: {integrity: sha512-MHNCF3GWtlKZL3vNhMiCrtM4gBHqAv0Iw38bLoJRagh1Q/UDNVjNzWhgngCno9NUQodMtCo6G7iTQilW7YaAQQ==}
engines: {node: '>=10'}
cpu: [x64]
os: [win32]
@ -763,8 +763,8 @@ packages:
dev: true
optional: true
/@swc/core@1.3.62:
resolution: {integrity: sha512-J58hWY+/G8vOr4J6ZH9hLg0lMSijZtqIIf4HofZezGog/pVX6sJyBJ40dZ1ploFkDIlWTWvJyqtpesBKS73gkQ==}
/@swc/core@1.3.63:
resolution: {integrity: sha512-mNRMr0xcqkvnC1a/H7rpMtbIjq7KKy4XaW/+zj3+w9cH5g72eMo3ADNHE03zHoqPn+Ov3szzFOMHT6rgJlRxow==}
engines: {node: '>=10'}
requiresBuild: true
peerDependencies:
@ -773,16 +773,16 @@ packages:
'@swc/helpers':
optional: true
optionalDependencies:
'@swc/core-darwin-arm64': 1.3.62
'@swc/core-darwin-x64': 1.3.62
'@swc/core-linux-arm-gnueabihf': 1.3.62
'@swc/core-linux-arm64-gnu': 1.3.62
'@swc/core-linux-arm64-musl': 1.3.62
'@swc/core-linux-x64-gnu': 1.3.62
'@swc/core-linux-x64-musl': 1.3.62
'@swc/core-win32-arm64-msvc': 1.3.62
'@swc/core-win32-ia32-msvc': 1.3.62
'@swc/core-win32-x64-msvc': 1.3.62
'@swc/core-darwin-arm64': 1.3.63
'@swc/core-darwin-x64': 1.3.63
'@swc/core-linux-arm-gnueabihf': 1.3.63
'@swc/core-linux-arm64-gnu': 1.3.63
'@swc/core-linux-arm64-musl': 1.3.63
'@swc/core-linux-x64-gnu': 1.3.63
'@swc/core-linux-x64-musl': 1.3.63
'@swc/core-win32-arm64-msvc': 1.3.63
'@swc/core-win32-ia32-msvc': 1.3.63
'@swc/core-win32-x64-msvc': 1.3.63
dev: true
/@tailwindcss/typography@0.5.9(tailwindcss@3.3.2):
@ -969,8 +969,8 @@ packages:
resolution: {integrity: sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==}
dev: false
/@types/node@18.16.17:
resolution: {integrity: sha512-QAkjjRA1N7gPJeAP4WLXZtYv6+eMXFNviqktCDt4GLcmCugMr5BcRHfkOjCQzvCsnMp+L79a54zBkbw356xv9Q==}
/@types/node@18.16.18:
resolution: {integrity: sha512-/aNaQZD0+iSBAGnvvN2Cx92HqE5sZCPZtx2TsK+4nvV23fFe09jVDvpArXr2j9DnYlzuU9WuoykDDc6wqvpNcw==}
dev: true
/@types/normalize-package-data@2.4.1:
@ -980,14 +980,14 @@ packages:
/@types/prop-types@15.7.5:
resolution: {integrity: sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==}
/@types/react-dom@18.2.4:
resolution: {integrity: sha512-G2mHoTMTL4yoydITgOGwWdWMVd8sNgyEP85xVmMKAPUBwQWm9wBPQUmvbeF4V3WBY1P7mmL4BkjQ0SqUpf1snw==}
/@types/react-dom@18.2.5:
resolution: {integrity: sha512-sRQsOS/sCLnpQhR4DSKGTtWFE3FZjpQa86KPVbhUqdYMRZ9FEFcfAytKhR/vUG2rH1oFbOOej6cuD7MFSobDRQ==}
dependencies:
'@types/react': 18.2.11
'@types/react': 18.2.12
dev: true
/@types/react@18.2.11:
resolution: {integrity: sha512-+hsJr9hmwyDecSMQAmX7drgbDpyE+EgSF6t7+5QEBAn1tQK7kl1vWZ4iRf6SjQ8lk7dyEULxUmZOIpN0W5baZA==}
/@types/react@18.2.12:
resolution: {integrity: sha512-ndmBMLCgn38v3SntMeoJaIrO6tGHYKMEBohCUmw8HoLLQdRMOIGXfeYaBTLe2lsFaSB3MOK1VXscYFnmLtTSmw==}
dependencies:
'@types/prop-types': 15.7.5
'@types/scheduler': 0.16.3
@ -1008,8 +1008,8 @@ packages:
resolution: {integrity: sha512-W8F4eoTIvzXeNrT3JroQPimZLXnlJA8smYygHZUKFPVoYwgs/OhJkA1VBhL3iSs57OQkuINqHlY4SmMT5wtnJg==}
dev: true
/@typescript-eslint/eslint-plugin@5.59.9(@typescript-eslint/parser@5.59.9)(eslint@8.42.0)(typescript@4.9.5):
resolution: {integrity: sha512-4uQIBq1ffXd2YvF7MAvehWKW3zVv/w+mSfRAu+8cKbfj3nwzyqJLNcZJpQ/WZ1HLbJDiowwmQ6NO+63nCA+fqA==}
/@typescript-eslint/eslint-plugin@5.59.11(@typescript-eslint/parser@5.59.11)(eslint@8.42.0)(typescript@4.9.5):
resolution: {integrity: sha512-XxuOfTkCUiOSyBWIvHlUraLw/JT/6Io1365RO6ZuI88STKMavJZPNMU0lFcUTeQXEhHiv64CbxYxBNoDVSmghg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
'@typescript-eslint/parser': ^5.0.0
@ -1020,10 +1020,10 @@ packages:
optional: true
dependencies:
'@eslint-community/regexpp': 4.5.1
'@typescript-eslint/parser': 5.59.9(eslint@8.42.0)(typescript@4.9.5)
'@typescript-eslint/scope-manager': 5.59.9
'@typescript-eslint/type-utils': 5.59.9(eslint@8.42.0)(typescript@4.9.5)
'@typescript-eslint/utils': 5.59.9(eslint@8.42.0)(typescript@4.9.5)
'@typescript-eslint/parser': 5.59.11(eslint@8.42.0)(typescript@4.9.5)
'@typescript-eslint/scope-manager': 5.59.11
'@typescript-eslint/type-utils': 5.59.11(eslint@8.42.0)(typescript@4.9.5)
'@typescript-eslint/utils': 5.59.11(eslint@8.42.0)(typescript@4.9.5)
debug: 4.3.4
eslint: 8.42.0
grapheme-splitter: 1.0.4
@ -1036,8 +1036,8 @@ packages:
- supports-color
dev: false
/@typescript-eslint/parser@5.59.9(eslint@8.42.0)(typescript@4.9.5):
resolution: {integrity: sha512-FsPkRvBtcLQ/eVK1ivDiNYBjn3TGJdXy2fhXX+rc7czWl4ARwnpArwbihSOHI2Peg9WbtGHrbThfBUkZZGTtvQ==}
/@typescript-eslint/parser@5.59.11(eslint@8.42.0)(typescript@4.9.5):
resolution: {integrity: sha512-s9ZF3M+Nym6CAZEkJJeO2TFHHDsKAM3ecNkLuH4i4s8/RCPnF5JRip2GyviYkeEAcwGMJxkqG9h2dAsnA1nZpA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
@ -1046,9 +1046,9 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/scope-manager': 5.59.9
'@typescript-eslint/types': 5.59.9
'@typescript-eslint/typescript-estree': 5.59.9(typescript@4.9.5)
'@typescript-eslint/scope-manager': 5.59.11
'@typescript-eslint/types': 5.59.11
'@typescript-eslint/typescript-estree': 5.59.11(typescript@4.9.5)
debug: 4.3.4
eslint: 8.42.0
typescript: 4.9.5
@ -1056,16 +1056,16 @@ packages:
- supports-color
dev: false
/@typescript-eslint/scope-manager@5.59.9:
resolution: {integrity: sha512-8RA+E+w78z1+2dzvK/tGZ2cpGigBZ58VMEHDZtpE1v+LLjzrYGc8mMaTONSxKyEkz3IuXFM0IqYiGHlCsmlZxQ==}
/@typescript-eslint/scope-manager@5.59.11:
resolution: {integrity: sha512-dHFOsxoLFtrIcSj5h0QoBT/89hxQONwmn3FOQ0GOQcLOOXm+MIrS8zEAhs4tWl5MraxCY3ZJpaXQQdFMc2Tu+Q==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
'@typescript-eslint/types': 5.59.9
'@typescript-eslint/visitor-keys': 5.59.9
'@typescript-eslint/types': 5.59.11
'@typescript-eslint/visitor-keys': 5.59.11
dev: false
/@typescript-eslint/type-utils@5.59.9(eslint@8.42.0)(typescript@4.9.5):
resolution: {integrity: sha512-ksEsT0/mEHg9e3qZu98AlSrONAQtrSTljL3ow9CGej8eRo7pe+yaC/mvTjptp23Xo/xIf2mLZKC6KPv4Sji26Q==}
/@typescript-eslint/type-utils@5.59.11(eslint@8.42.0)(typescript@4.9.5):
resolution: {integrity: sha512-LZqVY8hMiVRF2a7/swmkStMYSoXMFlzL6sXV6U/2gL5cwnLWQgLEG8tjWPpaE4rMIdZ6VKWwcffPlo1jPfk43g==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: '*'
@ -1074,8 +1074,8 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/typescript-estree': 5.59.9(typescript@4.9.5)
'@typescript-eslint/utils': 5.59.9(eslint@8.42.0)(typescript@4.9.5)
'@typescript-eslint/typescript-estree': 5.59.11(typescript@4.9.5)
'@typescript-eslint/utils': 5.59.11(eslint@8.42.0)(typescript@4.9.5)
debug: 4.3.4
eslint: 8.42.0
tsutils: 3.21.0(typescript@4.9.5)
@ -1084,13 +1084,13 @@ packages:
- supports-color
dev: false
/@typescript-eslint/types@5.59.9:
resolution: {integrity: sha512-uW8H5NRgTVneSVTfiCVffBb8AbwWSKg7qcA4Ot3JI3MPCJGsB4Db4BhvAODIIYE5mNj7Q+VJkK7JxmRhk2Lyjw==}
/@typescript-eslint/types@5.59.11:
resolution: {integrity: sha512-epoN6R6tkvBYSc+cllrz+c2sOFWkbisJZWkOE+y3xHtvYaOE6Wk6B8e114McRJwFRjGvYdJwLXQH5c9osME/AA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: false
/@typescript-eslint/typescript-estree@5.59.9(typescript@4.9.5):
resolution: {integrity: sha512-pmM0/VQ7kUhd1QyIxgS+aRvMgw+ZljB3eDb+jYyp6d2bC0mQWLzUDF+DLwCTkQ3tlNyVsvZRXjFyV0LkU/aXjA==}
/@typescript-eslint/typescript-estree@5.59.11(typescript@4.9.5):
resolution: {integrity: sha512-YupOpot5hJO0maupJXixi6l5ETdrITxeo5eBOeuV7RSKgYdU3G5cxO49/9WRnJq9EMrB7AuTSLH/bqOsXi7wPA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
typescript: '*'
@ -1098,8 +1098,8 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/types': 5.59.9
'@typescript-eslint/visitor-keys': 5.59.9
'@typescript-eslint/types': 5.59.11
'@typescript-eslint/visitor-keys': 5.59.11
debug: 4.3.4
globby: 11.1.0
is-glob: 4.0.3
@ -1110,8 +1110,8 @@ packages:
- supports-color
dev: false
/@typescript-eslint/utils@5.59.9(eslint@8.42.0)(typescript@4.9.5):
resolution: {integrity: sha512-1PuMYsju/38I5Ggblaeb98TOoUvjhRvLpLa1DoTOFaLWqaXl/1iQ1eGurTXgBY58NUdtfTXKP5xBq7q9NDaLKg==}
/@typescript-eslint/utils@5.59.11(eslint@8.42.0)(typescript@4.9.5):
resolution: {integrity: sha512-didu2rHSOMUdJThLk4aZ1Or8IcO3HzCw/ZvEjTTIfjIrcdd5cvSIwwDy2AOlE7htSNp7QIZ10fLMyRCveesMLg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
@ -1119,9 +1119,9 @@ packages:
'@eslint-community/eslint-utils': 4.4.0(eslint@8.42.0)
'@types/json-schema': 7.0.12
'@types/semver': 7.5.0
'@typescript-eslint/scope-manager': 5.59.9
'@typescript-eslint/types': 5.59.9
'@typescript-eslint/typescript-estree': 5.59.9(typescript@4.9.5)
'@typescript-eslint/scope-manager': 5.59.11
'@typescript-eslint/types': 5.59.11
'@typescript-eslint/typescript-estree': 5.59.11(typescript@4.9.5)
eslint: 8.42.0
eslint-scope: 5.1.1
semver: 7.5.1
@ -1130,15 +1130,15 @@ packages:
- typescript
dev: false
/@typescript-eslint/visitor-keys@5.59.9:
resolution: {integrity: sha512-bT7s0td97KMaLwpEBckbzj/YohnvXtqbe2XgqNvTl6RJVakY5mvENOTPvw5u66nljfZxthESpDozs86U+oLY8Q==}
/@typescript-eslint/visitor-keys@5.59.11:
resolution: {integrity: sha512-KGYniTGG3AMTuKF9QBD7EIrvufkB6O6uX3knP73xbKLMpH+QRPcgnCxjWXSHjMRuOxFLovljqQgQpR0c7GvjoA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
'@typescript-eslint/types': 5.59.9
'@typescript-eslint/types': 5.59.11
eslint-visitor-keys: 3.4.1
dev: false
/@vidstack/react@0.4.5(@types/react@18.2.11)(maverick.js@0.33.1)(media-icons@0.4.2)(react@18.2.0)(vidstack@0.4.5):
/@vidstack/react@0.4.5(@types/react@18.2.12)(maverick.js@0.33.1)(media-icons@0.4.2)(react@18.2.0)(vidstack@0.4.5):
resolution: {integrity: sha512-spcim3+p1fMzkhHRKn5PS54YQjfThW5M3F2+R8tCT+wpsxbbCDa/TGdLBoIy2oC0LNziPkn0vlBWIZko9F5iig==}
engines: {node: '>=16'}
peerDependencies:
@ -1148,7 +1148,7 @@ packages:
react: ^18.0.0
vidstack: 0.4.5
dependencies:
'@types/react': 18.2.11
'@types/react': 18.2.12
maverick.js: 0.33.1
media-icons: 0.4.2
react: 18.2.0
@ -1160,8 +1160,8 @@ packages:
peerDependencies:
vite: ^4
dependencies:
'@swc/core': 1.3.62
vite: 4.3.9(@types/node@18.16.17)
'@swc/core': 1.3.63
vite: 4.3.9(@types/node@18.16.18)
transitivePeerDependencies:
- '@swc/helpers'
dev: true
@ -1321,8 +1321,8 @@ packages:
peerDependencies:
postcss: ^8.1.0
dependencies:
browserslist: 4.21.7
caniuse-lite: 1.0.30001500
browserslist: 4.21.8
caniuse-lite: 1.0.30001502
fraction.js: 4.2.0
normalize-range: 0.1.2
picocolors: 1.0.0
@ -1359,15 +1359,15 @@ packages:
dependencies:
fill-range: 7.0.1
/browserslist@4.21.7:
resolution: {integrity: sha512-BauCXrQ7I2ftSqd2mvKHGo85XR0u7Ru3C/Hxsy/0TkfCtjrmAbPdzLGasmoiBxplpDXlPvdjX9u7srIMfgasNA==}
/browserslist@4.21.8:
resolution: {integrity: sha512-j+7xYe+v+q2Id9qbBeCI8WX5NmZSRe8es1+0xntD/+gaWXznP8tFEkv5IgSaHf5dS1YwVMbX/4W6m937mj+wQw==}
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
hasBin: true
dependencies:
caniuse-lite: 1.0.30001500
electron-to-chromium: 1.4.427
caniuse-lite: 1.0.30001502
electron-to-chromium: 1.4.430
node-releases: 2.0.12
update-browserslist-db: 1.0.11(browserslist@4.21.7)
update-browserslist-db: 1.0.11(browserslist@4.21.8)
dev: true
/bufferutil@4.0.7:
@ -1414,8 +1414,8 @@ packages:
engines: {node: '>=6'}
dev: false
/caniuse-lite@1.0.30001500:
resolution: {integrity: sha512-wSpY0RQnEwFwVZ063ggl3M4ALRP9OSknL0enldDEydIGzuShbtuWwaedB/RfkxsGF3P0kf1Tnv/nTtJEbjzc4Q==}
/caniuse-lite@1.0.30001502:
resolution: {integrity: sha512-AZ+9tFXw1sS0o0jcpJQIXvFTOB/xGiQ4OQ2t98QX3NDn2EZTSRBC801gxrsGgViuq2ak/NLkNgSNEPtCr5lfKg==}
dev: true
/ccount@2.0.1:
@ -1617,7 +1617,7 @@ packages:
supports-color:
optional: true
dependencies:
ms: 2.1.3
ms: 2.1.2
dev: false
/debug@4.3.4:
@ -1719,8 +1719,8 @@ packages:
resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==}
dev: true
/electron-to-chromium@1.4.427:
resolution: {integrity: sha512-HK3r9l+Jm8dYAm1ctXEWIC+hV60zfcjS9UA5BDlYvnI5S7PU/yytjpvSrTNrSSRRkuu3tDyZhdkwIczh+0DWaw==}
/electron-to-chromium@1.4.430:
resolution: {integrity: sha512-FytjTbGwz///F+ToZ5XSeXbbSaXalsVRXsz2mHityI5gfxft7ieW3HqFLkU5V1aIrY42aflICqbmFoDxW10etg==}
dev: true
/emoji-regex@8.0.0:
@ -1921,7 +1921,7 @@ packages:
- supports-color
dev: false
/eslint-module-utils@2.8.0(@typescript-eslint/parser@5.59.9)(eslint-import-resolver-node@0.3.7)(eslint@8.42.0):
/eslint-module-utils@2.8.0(@typescript-eslint/parser@5.59.11)(eslint-import-resolver-node@0.3.7)(eslint@8.42.0):
resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==}
engines: {node: '>=4'}
peerDependencies:
@ -1942,7 +1942,7 @@ packages:
eslint-import-resolver-webpack:
optional: true
dependencies:
'@typescript-eslint/parser': 5.59.9(eslint@8.42.0)(typescript@4.9.5)
'@typescript-eslint/parser': 5.59.11(eslint@8.42.0)(typescript@4.9.5)
debug: 3.2.7
eslint: 8.42.0
eslint-import-resolver-node: 0.3.7
@ -1950,7 +1950,7 @@ packages:
- supports-color
dev: false
/eslint-plugin-import@2.27.5(@typescript-eslint/parser@5.59.9)(eslint@8.42.0):
/eslint-plugin-import@2.27.5(@typescript-eslint/parser@5.59.11)(eslint@8.42.0):
resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==}
engines: {node: '>=4'}
peerDependencies:
@ -1960,7 +1960,7 @@ packages:
'@typescript-eslint/parser':
optional: true
dependencies:
'@typescript-eslint/parser': 5.59.9(eslint@8.42.0)(typescript@4.9.5)
'@typescript-eslint/parser': 5.59.11(eslint@8.42.0)(typescript@4.9.5)
array-includes: 3.1.6
array.prototype.flat: 1.3.1
array.prototype.flatmap: 1.3.1
@ -1968,7 +1968,7 @@ packages:
doctrine: 2.1.0
eslint: 8.42.0
eslint-import-resolver-node: 0.3.7
eslint-module-utils: 2.8.0(@typescript-eslint/parser@5.59.9)(eslint-import-resolver-node@0.3.7)(eslint@8.42.0)
eslint-module-utils: 2.8.0(@typescript-eslint/parser@5.59.11)(eslint-import-resolver-node@0.3.7)(eslint@8.42.0)
has: 1.0.3
is-core-module: 2.12.1
is-glob: 4.0.3
@ -2296,18 +2296,6 @@ packages:
minimatch: 3.1.2
once: 1.4.0
path-is-absolute: 1.0.1
dev: true
/glob@7.2.3:
resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}
dependencies:
fs.realpath: 1.0.0
inflight: 1.0.6
inherits: 2.0.4
minimatch: 3.1.2
once: 1.4.0
path-is-absolute: 1.0.1
dev: false
/globals@13.20.0:
resolution: {integrity: sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==}
@ -2890,7 +2878,7 @@ packages:
resolution: {integrity: sha512-p8L5V62CV6TmHAngmRAopp231oJKeH77mJja5SsKOfvzrPRoThT/Jo9U0jMRB5iMykqkvyg2J5V5Agn6FPXDWQ==}
engines: {node: '>=16'}
dependencies:
'@maverick-js/signals': 5.10.3
'@maverick-js/signals': 5.10.4
type-fest: 3.11.1
dev: false
@ -3370,10 +3358,6 @@ packages:
/ms@2.1.2:
resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==}
/ms@2.1.3:
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
dev: false
/mz@2.7.0:
resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==}
dependencies:
@ -3843,7 +3827,7 @@ packages:
resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==}
dev: false
/react-markdown@8.0.7(@types/react@18.2.11)(react@18.2.0):
/react-markdown@8.0.7(@types/react@18.2.12)(react@18.2.0):
resolution: {integrity: sha512-bvWbzG4MtOU62XqBx3Xx+zB2raaFFsq4mYiAzfjXJMEz2sixgeAfraA3tvzULF02ZdOMUOKTBFFaZJDDrq+BJQ==}
peerDependencies:
'@types/react': '>=16'
@ -3851,7 +3835,7 @@ packages:
dependencies:
'@types/hast': 2.3.4
'@types/prop-types': 15.7.5
'@types/react': 18.2.11
'@types/react': 18.2.12
'@types/unist': 2.0.6
comma-separated-tokens: 2.0.3
hast-util-whitespace: 2.0.1
@ -4019,7 +4003,7 @@ packages:
resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==}
hasBin: true
dependencies:
glob: 7.2.3
glob: 7.1.6
dev: false
/rollup@3.25.1:
@ -4678,13 +4662,13 @@ packages:
unist-util-visit-parents: 5.1.3
dev: false
/update-browserslist-db@1.0.11(browserslist@4.21.7):
/update-browserslist-db@1.0.11(browserslist@4.21.8):
resolution: {integrity: sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==}
hasBin: true
peerDependencies:
browserslist: '>= 4.21.0'
dependencies:
browserslist: 4.21.7
browserslist: 4.21.8
escalade: 3.1.1
picocolors: 1.0.0
dev: true
@ -4790,7 +4774,7 @@ packages:
esbuild: 0.17.19
fast-glob: 3.2.12
sirv: 2.0.3
vite: 4.3.9(@types/node@18.16.17)
vite: 4.3.9(@types/node@18.16.18)
dev: true
/vite-plugin-top-level-await@1.3.1(vite@4.3.9):
@ -4799,9 +4783,9 @@ packages:
vite: '>=2.8'
dependencies:
'@rollup/plugin-virtual': 3.0.1
'@swc/core': 1.3.62
'@swc/core': 1.3.63
uuid: 9.0.0
vite: 4.3.9(@types/node@18.16.17)
vite: 4.3.9(@types/node@18.16.18)
transitivePeerDependencies:
- '@swc/helpers'
- rollup
@ -4818,13 +4802,13 @@ packages:
debug: 4.3.4
globrex: 0.1.2
tsconfck: 2.1.1(typescript@4.9.5)
vite: 4.3.9(@types/node@18.16.17)
vite: 4.3.9(@types/node@18.16.18)
transitivePeerDependencies:
- supports-color
- typescript
dev: true
/vite@4.3.9(@types/node@18.16.17):
/vite@4.3.9(@types/node@18.16.18):
resolution: {integrity: sha512-qsTNZjO9NoJNW7KnOrgYwczm0WctJ8m/yqYAMAK9Lxt4SoySUfS5S8ia9K7JHpa3KEeMfyF8LoJ3c5NeBJy6pg==}
engines: {node: ^14.18.0 || >=16.0.0}
hasBin: true
@ -4849,7 +4833,7 @@ packages:
terser:
optional: true
dependencies:
'@types/node': 18.16.17
'@types/node': 18.16.18
esbuild: 0.17.19
postcss: 8.4.24
rollup: 3.25.1
@ -4992,8 +4976,8 @@ packages:
resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==}
dev: false
github.com/tauri-apps/tauri-plugin-sql/312c4d39ac5eb1c6c75e8ecee1c4bc89ed799675:
resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-sql/tar.gz/312c4d39ac5eb1c6c75e8ecee1c4bc89ed799675}
github.com/tauri-apps/tauri-plugin-sql/45b46ee428f6c13a831d237d8b602349ad6b17a6:
resolution: {tarball: https://codeload.github.com/tauri-apps/tauri-plugin-sql/tar.gz/45b46ee428f6c13a831d237d8b602349ad6b17a6}
name: tauri-plugin-sql-api
version: 0.0.0
dependencies:

View File

@ -3,7 +3,7 @@ import { NoteRepost } from "@app/space/components/notes/metadata/repost";
import { NoteZap } from "@app/space/components/notes/metadata/zap";
import { createReplyNote } from "@libs/storage";
import { NDKEvent, NDKFilter } from "@nostr-dev-kit/ndk";
import { LoaderIcon, ReplyIcon, RepostIcon } from "@shared/icons";
import { LoaderIcon, ReplyIcon, RepostIcon, ZapIcon } from "@shared/icons";
import { RelayContext } from "@shared/relayProvider";
import { decode } from "light-bolt11-decoder";
import { useContext } from "react";
@ -99,17 +99,24 @@ export function NoteMetadata({
className="animate-spin text-black dark:text-white"
/>
</div>
<div className="ml-auto">
<div className="w-10 h-4 bg-zinc-800 rounded animate-pulse" />
<div className="w-20 group inline-flex items-center gap-1.5">
<ZapIcon
width={16}
height={16}
className="text-zinc-400 group-hover:text-green-400"
/>
<LoaderIcon
width={16}
height={16}
className="animate-spin text-black dark:text-white"
/>
</div>
</>
) : (
<>
<NoteReply id={id} replies={data.replies} />
<NoteRepost id={id} pubkey={eventPubkey} reposts={data.reposts} />
<div className="ml-auto">
<NoteZap zaps={data.zap} />
</div>
<NoteZap zaps={data.zap} />
</>
)}
</div>

View File

@ -50,7 +50,7 @@ export function NoteReply({ id, replies }: { id: string; replies: number }) {
<button
type="button"
onClick={() => openModal()}
className="w-20 group inline-flex items-center gap-1.5"
className="w-14 group inline-flex items-center gap-1.5"
>
<ReplyIcon
width={16}

View File

@ -44,7 +44,7 @@ export function NoteRepost({
<button
type="button"
onClick={(e) => submitEvent(e)}
className="w-20 group inline-flex items-center gap-1.5"
className="w-14 group inline-flex items-center gap-1.5"
>
<RepostIcon
width={16}

View File

@ -1,13 +1,22 @@
import { ZapIcon } from "@shared/icons";
import { compactNumber } from "@utils/number";
import { useState } from "react";
export function NoteZap({ zaps }: { zaps: number }) {
const [count, setCount] = useState(zaps);
const [count] = useState(zaps);
return (
<button type="button" className="group inline-flex items-center gap-1.5">
<button
type="button"
className="w-14 group inline-flex items-center gap-1.5"
>
<ZapIcon
width={16}
height={16}
className="text-zinc-400 group-hover:text-blue-400"
/>
<span className="text-base leading-none text-zinc-400 group-hover:text-white">
{compactNumber.format(count)} sats zapped
{compactNumber.format(count)}
</span>
</button>
);

View File

@ -0,0 +1,21 @@
import { SVGProps } from "react";
export function ThreadIcon(
props: JSX.IntrinsicAttributes & SVGProps<SVGSVGElement>,
) {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
fill="none"
viewBox="0 0 24 24"
{...props}
>
<path
fill="currentColor"
d="M7.5 5.75a1.75 1.75 0 113.5 0 1.75 1.75 0 01-3.5 0zM13 5.75a1.75 1.75 0 113.5 0 1.75 1.75 0 01-3.5 0zM7.5 18.25a1.75 1.75 0 113.5 0 1.75 1.75 0 01-3.5 0zM13 18.25a1.75 1.75 0 113.5 0 1.75 1.75 0 01-3.5 0zM7.5 11.9a1.75 1.75 0 113.5 0v.1a1.75 1.75 0 11-3.5 0v-.1zM13 11.9a1.75 1.75 0 113.5 0v.1a1.75 1.75 0 11-3.5 0v-.1z"
/>
</svg>
);
}