fixed some bugs

This commit is contained in:
Ren Amamiya 2023-03-10 09:30:13 +07:00
parent 42f4c8339e
commit c77c08675a
11 changed files with 269 additions and 251 deletions

View File

@ -12,27 +12,27 @@
"**/*": "prettier --write --ignore-unknown"
},
"dependencies": {
"@radix-ui/react-dialog": "^1.0.2",
"@radix-ui/react-dropdown-menu": "^2.0.3",
"@radix-ui/react-dialog": "^1.0.3",
"@radix-ui/react-dropdown-menu": "^2.0.4",
"@radix-ui/react-icons": "^1.2.0",
"@rehooks/local-storage": "^2.4.4",
"@tauri-apps/api": "^1.2.0",
"@uiw/react-markdown-preview": "^4.1.9",
"@uiw/react-markdown-preview": "^4.1.10",
"@uiw/react-md-editor": "^3.20.5",
"bitcoin-address-validation": "^2.2.1",
"boring-avatars": "^1.7.0",
"framer-motion": "^9.1.7",
"moment": "^2.29.4",
"next": "^13.2.3",
"next": "^13.2.4",
"next-remove-imports": "^1.0.10",
"nostr-relaypool": "^0.5.3",
"nostr-relaypool": "^0.5.12",
"nostr-tools": "^1.7.4",
"qrcode.react": "^3.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.43.4",
"react-hook-form": "^7.43.5",
"react-moment": "^1.1.3",
"react-player": "^2.11.2",
"react-player": "^2.12.0",
"react-virtuoso": "^4.1.0",
"tauri-plugin-sql-api": "github:tauri-apps/tauri-plugin-sql",
"unique-names-generator": "^4.7.1",
@ -42,16 +42,16 @@
"@tailwindcss/typography": "^0.5.9",
"@tauri-apps/cli": "^1.2.3",
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"@types/node": "^18.14.6",
"@types/node": "^18.15.0",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"autoprefixer": "^10.4.13",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"autoprefixer": "^10.4.14",
"csstype": "^3.1.1",
"eslint": "^8.35.0",
"eslint-config-next": "^13.2.3",
"eslint-config-prettier": "^8.6.0",
"eslint-config-next": "^13.2.4",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3",

View File

@ -1,37 +1,37 @@
lockfileVersion: 5.4
specifiers:
'@radix-ui/react-dialog': ^1.0.2
'@radix-ui/react-dropdown-menu': ^2.0.3
'@radix-ui/react-dialog': ^1.0.3
'@radix-ui/react-dropdown-menu': ^2.0.4
'@radix-ui/react-icons': ^1.2.0
'@rehooks/local-storage': ^2.4.4
'@tailwindcss/typography': ^0.5.9
'@tauri-apps/api': ^1.2.0
'@tauri-apps/cli': ^1.2.3
'@trivago/prettier-plugin-sort-imports': ^4.1.1
'@types/node': ^18.14.6
'@types/node': ^18.15.0
'@types/react': ^18.0.28
'@types/react-dom': ^18.0.11
'@typescript-eslint/eslint-plugin': ^5.54.0
'@typescript-eslint/parser': ^5.54.0
'@uiw/react-markdown-preview': ^4.1.9
'@typescript-eslint/eslint-plugin': ^5.54.1
'@typescript-eslint/parser': ^5.54.1
'@uiw/react-markdown-preview': ^4.1.10
'@uiw/react-md-editor': ^3.20.5
autoprefixer: ^10.4.13
autoprefixer: ^10.4.14
bitcoin-address-validation: ^2.2.1
boring-avatars: ^1.7.0
csstype: ^3.1.1
eslint: ^8.35.0
eslint-config-next: ^13.2.3
eslint-config-prettier: ^8.6.0
eslint-config-next: ^13.2.4
eslint-config-prettier: ^8.7.0
eslint-plugin-react: ^7.32.2
eslint-plugin-react-hooks: ^4.6.0
framer-motion: ^9.1.7
husky: ^8.0.3
lint-staged: ^13.1.2
moment: ^2.29.4
next: ^13.2.3
next: ^13.2.4
next-remove-imports: ^1.0.10
nostr-relaypool: ^0.5.3
nostr-relaypool: ^0.5.12
nostr-tools: ^1.7.4
postcss: ^8.4.21
prettier: ^2.8.4
@ -40,9 +40,9 @@ specifiers:
qrcode.react: ^3.1.0
react: ^18.2.0
react-dom: ^18.2.0
react-hook-form: ^7.43.4
react-hook-form: ^7.43.5
react-moment: ^1.1.3
react-player: ^2.11.2
react-player: ^2.12.0
react-virtuoso: ^4.1.0
tailwindcss: ^3.2.7
tauri-plugin-sql-api: github:tauri-apps/tauri-plugin-sql
@ -51,29 +51,29 @@ specifiers:
ws: ^8.12.1
dependencies:
'@radix-ui/react-dialog': 1.0.2_zula6vjvt3wdocc4mwcxqa6nzi
'@radix-ui/react-dropdown-menu': 2.0.3_zula6vjvt3wdocc4mwcxqa6nzi
'@radix-ui/react-dialog': 1.0.3_zula6vjvt3wdocc4mwcxqa6nzi
'@radix-ui/react-dropdown-menu': 2.0.4_zula6vjvt3wdocc4mwcxqa6nzi
'@radix-ui/react-icons': 1.2.0_react@18.2.0
'@rehooks/local-storage': 2.4.4_react@18.2.0
'@tauri-apps/api': 1.2.0
'@uiw/react-markdown-preview': 4.1.9_zula6vjvt3wdocc4mwcxqa6nzi
'@uiw/react-markdown-preview': 4.1.10_zula6vjvt3wdocc4mwcxqa6nzi
'@uiw/react-md-editor': 3.20.5_zula6vjvt3wdocc4mwcxqa6nzi
bitcoin-address-validation: 2.2.1
boring-avatars: 1.7.0
framer-motion: 9.1.7_biqbaboplfbrettd7655fr4n2y
moment: 2.29.4
next: 13.2.3_biqbaboplfbrettd7655fr4n2y
next: 13.2.4_biqbaboplfbrettd7655fr4n2y
next-remove-imports: 1.0.10
nostr-relaypool: 0.5.3_ws@8.12.1
nostr-relaypool: 0.5.12_ws@8.12.1
nostr-tools: 1.7.4
qrcode.react: 3.1.0_react@18.2.0
react: 18.2.0
react-dom: 18.2.0_react@18.2.0
react-hook-form: 7.43.4_react@18.2.0
react-hook-form: 7.43.5_react@18.2.0
react-moment: 1.1.3_mmavuqf6ek6upnyryxchoaliru
react-player: 2.11.2_react@18.2.0
react-player: 2.12.0_react@18.2.0
react-virtuoso: 4.1.0_biqbaboplfbrettd7655fr4n2y
tauri-plugin-sql-api: github.com/tauri-apps/tauri-plugin-sql/abd8759ef49e1ba441540a2260b453d43d86c7ee
tauri-plugin-sql-api: github.com/tauri-apps/tauri-plugin-sql/b945c7a74ed207771420f7f0809d20ba66d55f70
unique-names-generator: 4.7.1
ws: 8.12.1
@ -81,16 +81,16 @@ devDependencies:
'@tailwindcss/typography': 0.5.9_tailwindcss@3.2.7
'@tauri-apps/cli': 1.2.3
'@trivago/prettier-plugin-sort-imports': 4.1.1_prettier@2.8.4
'@types/node': 18.14.6
'@types/node': 18.15.0
'@types/react': 18.0.28
'@types/react-dom': 18.0.11
'@typescript-eslint/eslint-plugin': 5.54.0_6mj2wypvdnknez7kws2nfdgupi
'@typescript-eslint/parser': 5.54.0_ycpbpc6yetojsgtrx3mwntkhsu
autoprefixer: 10.4.13_postcss@8.4.21
'@typescript-eslint/eslint-plugin': 5.54.1_mlk7dnz565t663n4razh6a6v6i
'@typescript-eslint/parser': 5.54.1_ycpbpc6yetojsgtrx3mwntkhsu
autoprefixer: 10.4.14_postcss@8.4.21
csstype: 3.1.1
eslint: 8.35.0
eslint-config-next: 13.2.3_ycpbpc6yetojsgtrx3mwntkhsu
eslint-config-prettier: 8.6.0_eslint@8.35.0
eslint-config-next: 13.2.4_ycpbpc6yetojsgtrx3mwntkhsu
eslint-config-prettier: 8.7.0_eslint@8.35.0
eslint-plugin-react: 7.32.2_eslint@8.35.0
eslint-plugin-react-hooks: 4.6.0_eslint@8.35.0
husky: 8.0.3
@ -504,21 +504,21 @@ packages:
'@jridgewell/sourcemap-codec': 1.4.14
dev: false
/@next/env/13.2.3:
/@next/env/13.2.4:
resolution:
{ integrity: sha512-FN50r/E+b8wuqyRjmGaqvqNDuWBWYWQiigfZ50KnSFH0f+AMQQyaZl+Zm2+CIpKk0fL9QxhLxOpTVA3xFHgFow== }
{ integrity: sha512-+Mq3TtpkeeKFZanPturjcXt+KHfKYnLlX6jMLyCrmpq6OOs4i1GqBOAauSkii9QeKCMTYzGppar21JU57b/GEA== }
dev: false
/@next/eslint-plugin-next/13.2.3:
/@next/eslint-plugin-next/13.2.4:
resolution:
{ integrity: sha512-QmMPItnU7VeojI1KnuwL9SLFWEwmaNHNlnOGpoTwdLoSiP9sc8KYiAHWEc4/44L+cAdCxcZYvn7frcRNP5l84Q== }
{ integrity: sha512-ck1lI+7r1mMJpqLNa3LJ5pxCfOB1lfJncKmRJeJxcJqcngaFwylreLP7da6Rrjr6u2gVRTfmnkSkjc80IiQCwQ== }
dependencies:
glob: 7.1.7
dev: true
/@next/swc-android-arm-eabi/13.2.3:
/@next/swc-android-arm-eabi/13.2.4:
resolution:
{ integrity: sha512-mykdVaAXX/gm+eFO2kPeVjnOCKwanJ9mV2U0lsUGLrEdMUifPUjiXKc6qFAIs08PvmTMOLMNnUxqhGsJlWGKSw== }
{ integrity: sha512-DWlalTSkLjDU11MY11jg17O1gGQzpRccM9Oes2yTqj2DpHndajrXHGxj9HGtJ+idq2k7ImUdJVWS2h2l/EDJOw== }
engines: { node: '>= 10' }
cpu: [arm]
os: [android]
@ -526,9 +526,9 @@ packages:
dev: false
optional: true
/@next/swc-android-arm64/13.2.3:
/@next/swc-android-arm64/13.2.4:
resolution:
{ integrity: sha512-8XwHPpA12gdIFtope+n9xCtJZM3U4gH4vVTpUwJ2w1kfxFmCpwQ4xmeGSkR67uOg80yRMuF0h9V1ueo05sws5w== }
{ integrity: sha512-sRavmUImUCf332Gy+PjIfLkMhiRX1Ez4SI+3vFDRs1N5eXp+uNzjFUK/oLMMOzk6KFSkbiK/3Wt8+dHQR/flNg== }
engines: { node: '>= 10' }
cpu: [arm64]
os: [android]
@ -536,9 +536,9 @@ packages:
dev: false
optional: true
/@next/swc-darwin-arm64/13.2.3:
/@next/swc-darwin-arm64/13.2.4:
resolution:
{ integrity: sha512-TXOubiFdLpMfMtaRu1K5d1I9ipKbW5iS2BNbu8zJhoqrhk3Kp7aRKTxqFfWrbliAHhWVE/3fQZUYZOWSXVQi1w== }
{ integrity: sha512-S6vBl+OrInP47TM3LlYx65betocKUUlTZDDKzTiRDbsRESeyIkBtZ6Qi5uT2zQs4imqllJznVjFd1bXLx3Aa6A== }
engines: { node: '>= 10' }
cpu: [arm64]
os: [darwin]
@ -546,9 +546,9 @@ packages:
dev: false
optional: true
/@next/swc-darwin-x64/13.2.3:
/@next/swc-darwin-x64/13.2.4:
resolution:
{ integrity: sha512-GZctkN6bJbpjlFiS5pylgB2pifHvgkqLAPumJzxnxkf7kqNm6rOGuNjsROvOWVWXmKhrzQkREO/WPS2aWsr/yw== }
{ integrity: sha512-a6LBuoYGcFOPGd4o8TPo7wmv5FnMr+Prz+vYHopEDuhDoMSHOnC+v+Ab4D7F0NMZkvQjEJQdJS3rqgFhlZmKlw== }
engines: { node: '>= 10' }
cpu: [x64]
os: [darwin]
@ -556,9 +556,9 @@ packages:
dev: false
optional: true
/@next/swc-freebsd-x64/13.2.3:
/@next/swc-freebsd-x64/13.2.4:
resolution:
{ integrity: sha512-rK6GpmMt/mU6MPuav0/M7hJ/3t8HbKPCELw/Uqhi4732xoq2hJ2zbo2FkYs56y6w0KiXrIp4IOwNB9K8L/q62g== }
{ integrity: sha512-kkbzKVZGPaXRBPisoAQkh3xh22r+TD+5HwoC5bOkALraJ0dsOQgSMAvzMXKsN3tMzJUPS0tjtRf1cTzrQ0I5vQ== }
engines: { node: '>= 10' }
cpu: [x64]
os: [freebsd]
@ -566,9 +566,9 @@ packages:
dev: false
optional: true
/@next/swc-linux-arm-gnueabihf/13.2.3:
/@next/swc-linux-arm-gnueabihf/13.2.4:
resolution:
{ integrity: sha512-yeiCp/Odt1UJ4KUE89XkeaaboIDiVFqKP4esvoLKGJ0fcqJXMofj4ad3tuQxAMs3F+qqrz9MclqhAHkex1aPZA== }
{ integrity: sha512-7qA1++UY0fjprqtjBZaOA6cas/7GekpjVsZn/0uHvquuITFCdKGFCsKNBx3S0Rpxmx6WYo0GcmhNRM9ru08BGg== }
engines: { node: '>= 10' }
cpu: [arm]
os: [linux]
@ -576,9 +576,9 @@ packages:
dev: false
optional: true
/@next/swc-linux-arm64-gnu/13.2.3:
/@next/swc-linux-arm64-gnu/13.2.4:
resolution:
{ integrity: sha512-/miIopDOUsuNlvjBjTipvoyjjaxgkOuvlz+cIbbPcm1eFvzX2ltSfgMgty15GuOiR8Hub4FeTSiq3g2dmCkzGA== }
{ integrity: sha512-xzYZdAeq883MwXgcwc72hqo/F/dwUxCukpDOkx/j1HTq/J0wJthMGjinN9wH5bPR98Mfeh1MZJ91WWPnZOedOg== }
engines: { node: '>= 10' }
cpu: [arm64]
os: [linux]
@ -586,9 +586,9 @@ packages:
dev: false
optional: true
/@next/swc-linux-arm64-musl/13.2.3:
/@next/swc-linux-arm64-musl/13.2.4:
resolution:
{ integrity: sha512-sujxFDhMMDjqhruup8LLGV/y+nCPi6nm5DlFoThMJFvaaKr/imhkXuk8uCTq4YJDbtRxnjydFv2y8laBSJVC2g== }
{ integrity: sha512-8rXr3WfmqSiYkb71qzuDP6I6R2T2tpkmf83elDN8z783N9nvTJf2E7eLx86wu2OJCi4T05nuxCsh4IOU3LQ5xw== }
engines: { node: '>= 10' }
cpu: [arm64]
os: [linux]
@ -596,9 +596,9 @@ packages:
dev: false
optional: true
/@next/swc-linux-x64-gnu/13.2.3:
/@next/swc-linux-x64-gnu/13.2.4:
resolution:
{ integrity: sha512-w5MyxPknVvC9LVnMenAYMXMx4KxPwXuJRMQFvY71uXg68n7cvcas85U5zkdrbmuZ+JvsO5SIG8k36/6X3nUhmQ== }
{ integrity: sha512-Ngxh51zGSlYJ4EfpKG4LI6WfquulNdtmHg1yuOYlaAr33KyPJp4HeN/tivBnAHcZkoNy0hh/SbwDyCnz5PFJQQ== }
engines: { node: '>= 10' }
cpu: [x64]
os: [linux]
@ -606,9 +606,9 @@ packages:
dev: false
optional: true
/@next/swc-linux-x64-musl/13.2.3:
/@next/swc-linux-x64-musl/13.2.4:
resolution:
{ integrity: sha512-CTeelh8OzSOVqpzMFMFnVRJIFAFQoTsI9RmVJWW/92S4xfECGcOzgsX37CZ8K982WHRzKU7exeh7vYdG/Eh4CA== }
{ integrity: sha512-gOvwIYoSxd+j14LOcvJr+ekd9fwYT1RyMAHOp7znA10+l40wkFiMONPLWiZuHxfRk+Dy7YdNdDh3ImumvL6VwA== }
engines: { node: '>= 10' }
cpu: [x64]
os: [linux]
@ -616,9 +616,9 @@ packages:
dev: false
optional: true
/@next/swc-win32-arm64-msvc/13.2.3:
/@next/swc-win32-arm64-msvc/13.2.4:
resolution:
{ integrity: sha512-7N1KBQP5mo4xf52cFCHgMjzbc9jizIlkTepe9tMa2WFvEIlKDfdt38QYcr9mbtny17yuaIw02FXOVEytGzqdOQ== }
{ integrity: sha512-q3NJzcfClgBm4HvdcnoEncmztxrA5GXqKeiZ/hADvC56pwNALt3ngDC6t6qr1YW9V/EPDxCYeaX4zYxHciW4Dw== }
engines: { node: '>= 10' }
cpu: [arm64]
os: [win32]
@ -626,9 +626,9 @@ packages:
dev: false
optional: true
/@next/swc-win32-ia32-msvc/13.2.3:
/@next/swc-win32-ia32-msvc/13.2.4:
resolution:
{ integrity: sha512-LzWD5pTSipUXTEMRjtxES/NBYktuZdo7xExJqGDMnZU8WOI+v9mQzsmQgZS/q02eIv78JOCSemqVVKZBGCgUvA== }
{ integrity: sha512-/eZ5ncmHUYtD2fc6EUmAIZlAJnVT2YmxDsKs1Ourx0ttTtvtma/WKlMV5NoUsyOez0f9ExLyOpeCoz5aj+MPXw== }
engines: { node: '>= 10' }
cpu: [ia32]
os: [win32]
@ -636,9 +636,9 @@ packages:
dev: false
optional: true
/@next/swc-win32-x64-msvc/13.2.3:
/@next/swc-win32-x64-msvc/13.2.4:
resolution:
{ integrity: sha512-aLG2MaFs4y7IwaMTosz2r4mVbqRyCnMoFqOcmfTi7/mAS+G4IMH0vJp4oLdbshqiVoiVuKrAfqtXj55/m7Qu1Q== }
{ integrity: sha512-0MffFmyv7tBLlji01qc0IaPP/LVExzvj7/R5x1Jph1bTAIj4Vu81yFQWHHQAP6r4ff9Ukj1mBK6MDNVXm7Tcvw== }
engines: { node: '>= 10' }
cpu: [x64]
os: [win32]
@ -705,22 +705,22 @@ packages:
'@babel/runtime': 7.21.0
dev: false
/@radix-ui/react-arrow/1.0.1_biqbaboplfbrettd7655fr4n2y:
/@radix-ui/react-arrow/1.0.2_biqbaboplfbrettd7655fr4n2y:
resolution:
{ integrity: sha512-1yientwXqXcErDHEv8av9ZVNEBldH8L9scVR3is20lL+jOCfcJyMFZFEY5cgIrgexsq1qggSXqiEL/d/4f+QXA== }
{ integrity: sha512-fqYwhhI9IarZ0ll2cUSfKuXHlJK0qE4AfnRrPBbRwEH/4mGQn04/QFGomLi8TXWIdv9WJk//KgGm+aDxVIr1wA== }
peerDependencies:
react: ^16.8 || ^17.0 || ^18.0
react-dom: ^16.8 || ^17.0 || ^18.0
dependencies:
'@babel/runtime': 7.21.0
'@radix-ui/react-primitive': 1.0.1_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-primitive': 1.0.2_biqbaboplfbrettd7655fr4n2y
react: 18.2.0
react-dom: 18.2.0_react@18.2.0
dev: false
/@radix-ui/react-collection/1.0.1_biqbaboplfbrettd7655fr4n2y:
/@radix-ui/react-collection/1.0.2_biqbaboplfbrettd7655fr4n2y:
resolution:
{ integrity: sha512-uuiFbs+YCKjn3X1DTSx9G7BHApu4GHbi3kgiwsnFUbOKCrwejAJv4eE4Vc8C0Oaxt9T0aV4ox0WCOdx+39Xo+g== }
{ integrity: sha512-s8WdQQ6wNXpaxdZ308KSr8fEWGrg4un8i4r/w7fhiS4ElRNjk5rRcl0/C6TANG2LvLOGIxtzo/jAg6Qf73TEBw== }
peerDependencies:
react: ^16.8 || ^17.0 || ^18.0
react-dom: ^16.8 || ^17.0 || ^18.0
@ -728,7 +728,7 @@ packages:
'@babel/runtime': 7.21.0
'@radix-ui/react-compose-refs': 1.0.0_react@18.2.0
'@radix-ui/react-context': 1.0.0_react@18.2.0
'@radix-ui/react-primitive': 1.0.1_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-primitive': 1.0.2_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-slot': 1.0.1_react@18.2.0
react: 18.2.0
react-dom: 18.2.0_react@18.2.0
@ -754,9 +754,9 @@ packages:
react: 18.2.0
dev: false
/@radix-ui/react-dialog/1.0.2_zula6vjvt3wdocc4mwcxqa6nzi:
/@radix-ui/react-dialog/1.0.3_zula6vjvt3wdocc4mwcxqa6nzi:
resolution:
{ integrity: sha512-EKxxp2WNSmUPkx4trtWNmZ4/vAYEg7JkAfa1HKBUnaubw9eHzf1Orr9B472lJYaYz327RHDrd4R95fsw7VR8DA== }
{ integrity: sha512-owNhq36kNPqC2/a+zJRioPg6HHnTn5B/sh/NjTY8r4W9g1L5VJlrzZIVcBr7R9Mg8iLjVmh6MGgMlfoVf/WO/A== }
peerDependencies:
react: ^16.8 || ^17.0 || ^18.0
react-dom: ^16.8 || ^17.0 || ^18.0
@ -765,13 +765,13 @@ packages:
'@radix-ui/primitive': 1.0.0
'@radix-ui/react-compose-refs': 1.0.0_react@18.2.0
'@radix-ui/react-context': 1.0.0_react@18.2.0
'@radix-ui/react-dismissable-layer': 1.0.2_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-dismissable-layer': 1.0.3_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-focus-guards': 1.0.0_react@18.2.0
'@radix-ui/react-focus-scope': 1.0.1_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-focus-scope': 1.0.2_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-id': 1.0.0_react@18.2.0
'@radix-ui/react-portal': 1.0.1_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-portal': 1.0.2_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-presence': 1.0.0_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-primitive': 1.0.1_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-primitive': 1.0.2_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-slot': 1.0.1_react@18.2.0
'@radix-ui/react-use-controllable-state': 1.0.0_react@18.2.0
aria-hidden: 1.2.3
@ -792,9 +792,9 @@ packages:
react: 18.2.0
dev: false
/@radix-ui/react-dismissable-layer/1.0.2_biqbaboplfbrettd7655fr4n2y:
/@radix-ui/react-dismissable-layer/1.0.3_biqbaboplfbrettd7655fr4n2y:
resolution:
{ integrity: sha512-WjJzMrTWROozDqLB0uRWYvj4UuXsM/2L19EmQ3Au+IJWqwvwq9Bwd+P8ivo0Deg9JDPArR1I6MbWNi1CmXsskg== }
{ integrity: sha512-nXZOvFjOuHS1ovumntGV7NNoLaEp9JEvTht3MBjP44NSW5hUKj/8OnfN3+8WmB+CEhN44XaGhpHoSsUIEl5P7Q== }
peerDependencies:
react: ^16.8 || ^17.0 || ^18.0
react-dom: ^16.8 || ^17.0 || ^18.0
@ -802,16 +802,16 @@ packages:
'@babel/runtime': 7.21.0
'@radix-ui/primitive': 1.0.0
'@radix-ui/react-compose-refs': 1.0.0_react@18.2.0
'@radix-ui/react-primitive': 1.0.1_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-primitive': 1.0.2_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-use-callback-ref': 1.0.0_react@18.2.0
'@radix-ui/react-use-escape-keydown': 1.0.2_react@18.2.0
react: 18.2.0
react-dom: 18.2.0_react@18.2.0
dev: false
/@radix-ui/react-dropdown-menu/2.0.3_zula6vjvt3wdocc4mwcxqa6nzi:
/@radix-ui/react-dropdown-menu/2.0.4_zula6vjvt3wdocc4mwcxqa6nzi:
resolution:
{ integrity: sha512-ToCPPztcJMu8WW33xCoG/nGcclVsCsV90IiEdkLhrWro3DzJOR2pPUoSi/aXX7c8imRO0DsZOrfL2bmn0U9qAQ== }
{ integrity: sha512-y6AT9+MydyXcByivdK1+QpjWoKaC7MLjkS/cH1Q3keEyMvDkiY85m8o2Bi6+Z1PPUlCsMULopxagQOSfN0wahg== }
peerDependencies:
react: ^16.8 || ^17.0 || ^18.0
react-dom: ^16.8 || ^17.0 || ^18.0
@ -821,8 +821,8 @@ packages:
'@radix-ui/react-compose-refs': 1.0.0_react@18.2.0
'@radix-ui/react-context': 1.0.0_react@18.2.0
'@radix-ui/react-id': 1.0.0_react@18.2.0
'@radix-ui/react-menu': 2.0.3_zula6vjvt3wdocc4mwcxqa6nzi
'@radix-ui/react-primitive': 1.0.1_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-menu': 2.0.4_zula6vjvt3wdocc4mwcxqa6nzi
'@radix-ui/react-primitive': 1.0.2_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-use-controllable-state': 1.0.0_react@18.2.0
react: 18.2.0
react-dom: 18.2.0_react@18.2.0
@ -840,16 +840,16 @@ packages:
react: 18.2.0
dev: false
/@radix-ui/react-focus-scope/1.0.1_biqbaboplfbrettd7655fr4n2y:
/@radix-ui/react-focus-scope/1.0.2_biqbaboplfbrettd7655fr4n2y:
resolution:
{ integrity: sha512-Ej2MQTit8IWJiS2uuujGUmxXjF/y5xZptIIQnyd2JHLwtV0R2j9NRVoRj/1j/gJ7e3REdaBw4Hjf4a1ImhkZcQ== }
{ integrity: sha512-spwXlNTfeIprt+kaEWE/qYuYT3ZAqJiAGjN/JgdvgVDTu8yc+HuX+WOWXrKliKnLnwck0F6JDkqIERncnih+4A== }
peerDependencies:
react: ^16.8 || ^17.0 || ^18.0
react-dom: ^16.8 || ^17.0 || ^18.0
dependencies:
'@babel/runtime': 7.21.0
'@radix-ui/react-compose-refs': 1.0.0_react@18.2.0
'@radix-ui/react-primitive': 1.0.1_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-primitive': 1.0.2_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-use-callback-ref': 1.0.0_react@18.2.0
react: 18.2.0
react-dom: 18.2.0_react@18.2.0
@ -875,28 +875,28 @@ packages:
react: 18.2.0
dev: false
/@radix-ui/react-menu/2.0.3_zula6vjvt3wdocc4mwcxqa6nzi:
/@radix-ui/react-menu/2.0.4_zula6vjvt3wdocc4mwcxqa6nzi:
resolution:
{ integrity: sha512-JKgWMzNhWqnimRynMDtR26bKfpraGUj4e39+g9p45Fb1XTEDWepjvtBlkjhZcM068VHiwp7HALqkt7Y5qVRbyQ== }
{ integrity: sha512-mzKR47tZ1t193trEqlQoJvzY4u9vYfVH16ryBrVrCAGZzkgyWnMQYEZdUkM7y8ak9mrkKtJiqB47TlEnubeOFQ== }
peerDependencies:
react: ^16.8 || ^17.0 || ^18.0
react-dom: ^16.8 || ^17.0 || ^18.0
dependencies:
'@babel/runtime': 7.21.0
'@radix-ui/primitive': 1.0.0
'@radix-ui/react-collection': 1.0.1_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-collection': 1.0.2_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-compose-refs': 1.0.0_react@18.2.0
'@radix-ui/react-context': 1.0.0_react@18.2.0
'@radix-ui/react-direction': 1.0.0_react@18.2.0
'@radix-ui/react-dismissable-layer': 1.0.2_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-dismissable-layer': 1.0.3_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-focus-guards': 1.0.0_react@18.2.0
'@radix-ui/react-focus-scope': 1.0.1_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-focus-scope': 1.0.2_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-id': 1.0.0_react@18.2.0
'@radix-ui/react-popper': 1.1.0_zula6vjvt3wdocc4mwcxqa6nzi
'@radix-ui/react-portal': 1.0.1_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-popper': 1.1.1_zula6vjvt3wdocc4mwcxqa6nzi
'@radix-ui/react-portal': 1.0.2_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-presence': 1.0.0_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-primitive': 1.0.1_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-roving-focus': 1.0.2_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-primitive': 1.0.2_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-roving-focus': 1.0.3_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-slot': 1.0.1_react@18.2.0
'@radix-ui/react-use-callback-ref': 1.0.0_react@18.2.0
aria-hidden: 1.2.3
@ -907,19 +907,19 @@ packages:
- '@types/react'
dev: false
/@radix-ui/react-popper/1.1.0_zula6vjvt3wdocc4mwcxqa6nzi:
/@radix-ui/react-popper/1.1.1_zula6vjvt3wdocc4mwcxqa6nzi:
resolution:
{ integrity: sha512-07U7jpI0dZcLRAxT7L9qs6HecSoPhDSJybF7mEGHJDBDv+ZoGCvIlva0s+WxMXwJEav+ckX3hAlXBtnHmuvlCQ== }
{ integrity: sha512-keYDcdMPNMjSC8zTsZ8wezUMiWM9Yj14wtF3s0PTIs9srnEPC9Kt2Gny1T3T81mmSeyDjZxsD9N5WCwNNb712w== }
peerDependencies:
react: ^16.8 || ^17.0 || ^18.0
react-dom: ^16.8 || ^17.0 || ^18.0
dependencies:
'@babel/runtime': 7.21.0
'@floating-ui/react-dom': 0.7.2_zula6vjvt3wdocc4mwcxqa6nzi
'@radix-ui/react-arrow': 1.0.1_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-arrow': 1.0.2_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-compose-refs': 1.0.0_react@18.2.0
'@radix-ui/react-context': 1.0.0_react@18.2.0
'@radix-ui/react-primitive': 1.0.1_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-primitive': 1.0.2_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-use-callback-ref': 1.0.0_react@18.2.0
'@radix-ui/react-use-layout-effect': 1.0.0_react@18.2.0
'@radix-ui/react-use-rect': 1.0.0_react@18.2.0
@ -931,15 +931,15 @@ packages:
- '@types/react'
dev: false
/@radix-ui/react-portal/1.0.1_biqbaboplfbrettd7655fr4n2y:
/@radix-ui/react-portal/1.0.2_biqbaboplfbrettd7655fr4n2y:
resolution:
{ integrity: sha512-NY2vUWI5WENgAT1nfC6JS7RU5xRYBfjZVLq0HmgEN1Ezy3rk/UruMV4+Rd0F40PEaFC5SrLS1ixYvcYIQrb4Ig== }
{ integrity: sha512-swu32idoCW7KA2VEiUZGBSu9nB6qwGdV6k6HYhUoOo3M1FFpD+VgLzUqtt3mwL1ssz7r2x8MggpLSQach2Xy/Q== }
peerDependencies:
react: ^16.8 || ^17.0 || ^18.0
react-dom: ^16.8 || ^17.0 || ^18.0
dependencies:
'@babel/runtime': 7.21.0
'@radix-ui/react-primitive': 1.0.1_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-primitive': 1.0.2_biqbaboplfbrettd7655fr4n2y
react: 18.2.0
react-dom: 18.2.0_react@18.2.0
dev: false
@ -958,9 +958,9 @@ packages:
react-dom: 18.2.0_react@18.2.0
dev: false
/@radix-ui/react-primitive/1.0.1_biqbaboplfbrettd7655fr4n2y:
/@radix-ui/react-primitive/1.0.2_biqbaboplfbrettd7655fr4n2y:
resolution:
{ integrity: sha512-fHbmislWVkZaIdeF6GZxF0A/NH/3BjrGIYj+Ae6eTmTCr7EB0RQAAVEiqsXK6p3/JcRqVSBQoceZroj30Jj3XA== }
{ integrity: sha512-zY6G5Qq4R8diFPNwtyoLRZBxzu1Z+SXMlfYpChN7Dv8gvmx9X3qhDqiLWvKseKVJMuedFeU/Sa0Sy/Ia+t06Dw== }
peerDependencies:
react: ^16.8 || ^17.0 || ^18.0
react-dom: ^16.8 || ^17.0 || ^18.0
@ -971,21 +971,21 @@ packages:
react-dom: 18.2.0_react@18.2.0
dev: false
/@radix-ui/react-roving-focus/1.0.2_biqbaboplfbrettd7655fr4n2y:
/@radix-ui/react-roving-focus/1.0.3_biqbaboplfbrettd7655fr4n2y:
resolution:
{ integrity: sha512-HLK+CqD/8pN6GfJm3U+cqpqhSKYAWiOJDe+A+8MfxBnOue39QEeMa43csUn2CXCHQT0/mewh1LrrG4tfkM9DMA== }
{ integrity: sha512-stjCkIoMe6h+1fWtXlA6cRfikdBzCLp3SnVk7c48cv/uy3DTGoXhN76YaOYUJuy3aEDvDIKwKR5KSmvrtPvQPQ== }
peerDependencies:
react: ^16.8 || ^17.0 || ^18.0
react-dom: ^16.8 || ^17.0 || ^18.0
dependencies:
'@babel/runtime': 7.21.0
'@radix-ui/primitive': 1.0.0
'@radix-ui/react-collection': 1.0.1_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-collection': 1.0.2_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-compose-refs': 1.0.0_react@18.2.0
'@radix-ui/react-context': 1.0.0_react@18.2.0
'@radix-ui/react-direction': 1.0.0_react@18.2.0
'@radix-ui/react-id': 1.0.0_react@18.2.0
'@radix-ui/react-primitive': 1.0.1_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-primitive': 1.0.2_biqbaboplfbrettd7655fr4n2y
'@radix-ui/react-use-callback-ref': 1.0.0_react@18.2.0
'@radix-ui/react-use-controllable-state': 1.0.0_react@18.2.0
react: 18.2.0
@ -1299,9 +1299,9 @@ packages:
{ integrity: sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA== }
dev: false
/@types/node/18.14.6:
/@types/node/18.15.0:
resolution:
{ integrity: sha512-93+VvleD3mXwlLI/xASjw0FzKcwzl3OdTCzm1LaRfqgS21gfFtK3zDXM5Op9TeeMsJVOaJ2VRDpT9q4Y3d0AvA== }
{ integrity: sha512-z6nr0TTEOBGkzLGmbypWOGnpSpSIBorEhC4L+4HeQ2iezKCi4f77kyslRwvHeNitymGQ+oFyIWGP96l/DPSV9w== }
dev: true
/@types/parse5/6.0.3:
@ -1347,9 +1347,9 @@ packages:
{ integrity: sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ== }
dev: false
/@typescript-eslint/eslint-plugin/5.54.0_6mj2wypvdnknez7kws2nfdgupi:
/@typescript-eslint/eslint-plugin/5.54.1_mlk7dnz565t663n4razh6a6v6i:
resolution:
{ integrity: sha512-+hSN9BdSr629RF02d7mMtXhAJvDTyCbprNYJKrXETlul/Aml6YZwd90XioVbjejQeHbb3R8Dg0CkRgoJDxo8aw== }
{ integrity: sha512-a2RQAkosH3d3ZIV08s3DcL/mcGc2M/UC528VkPULFxR9VnVPT8pBu0IyBAJJmVsCmhVfwQX1v6q+QGnmSe1bew== }
engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 }
peerDependencies:
'@typescript-eslint/parser': ^5.0.0
@ -1359,10 +1359,10 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/parser': 5.54.0_ycpbpc6yetojsgtrx3mwntkhsu
'@typescript-eslint/scope-manager': 5.54.0
'@typescript-eslint/type-utils': 5.54.0_ycpbpc6yetojsgtrx3mwntkhsu
'@typescript-eslint/utils': 5.54.0_ycpbpc6yetojsgtrx3mwntkhsu
'@typescript-eslint/parser': 5.54.1_ycpbpc6yetojsgtrx3mwntkhsu
'@typescript-eslint/scope-manager': 5.54.1
'@typescript-eslint/type-utils': 5.54.1_ycpbpc6yetojsgtrx3mwntkhsu
'@typescript-eslint/utils': 5.54.1_ycpbpc6yetojsgtrx3mwntkhsu
debug: 4.3.4
eslint: 8.35.0
grapheme-splitter: 1.0.4
@ -1376,9 +1376,9 @@ packages:
- supports-color
dev: true
/@typescript-eslint/parser/5.54.0_ycpbpc6yetojsgtrx3mwntkhsu:
/@typescript-eslint/parser/5.54.1_ycpbpc6yetojsgtrx3mwntkhsu:
resolution:
{ integrity: sha512-aAVL3Mu2qTi+h/r04WI/5PfNWvO6pdhpeMRWk9R7rEV4mwJNzoWf5CCU5vDKBsPIFQFjEq1xg7XBI2rjiMXQbQ== }
{ integrity: sha512-8zaIXJp/nG9Ff9vQNh7TI+C3nA6q6iIsGJ4B4L6MhZ7mHnTMR4YP5vp2xydmFXIy8rpyIVbNAG44871LMt6ujg== }
engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 }
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
@ -1387,9 +1387,9 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/scope-manager': 5.54.0
'@typescript-eslint/types': 5.54.0
'@typescript-eslint/typescript-estree': 5.54.0_typescript@4.9.5
'@typescript-eslint/scope-manager': 5.54.1
'@typescript-eslint/types': 5.54.1
'@typescript-eslint/typescript-estree': 5.54.1_typescript@4.9.5
debug: 4.3.4
eslint: 8.35.0
typescript: 4.9.5
@ -1397,18 +1397,18 @@ packages:
- supports-color
dev: true
/@typescript-eslint/scope-manager/5.54.0:
/@typescript-eslint/scope-manager/5.54.1:
resolution:
{ integrity: sha512-VTPYNZ7vaWtYna9M4oD42zENOBrb+ZYyCNdFs949GcN8Miwn37b8b7eMj+EZaq7VK9fx0Jd+JhmkhjFhvnovhg== }
{ integrity: sha512-zWKuGliXxvuxyM71UA/EcPxaviw39dB2504LqAmFDjmkpO8qNLHcmzlh6pbHs1h/7YQ9bnsO8CCcYCSA8sykUg== }
engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 }
dependencies:
'@typescript-eslint/types': 5.54.0
'@typescript-eslint/visitor-keys': 5.54.0
'@typescript-eslint/types': 5.54.1
'@typescript-eslint/visitor-keys': 5.54.1
dev: true
/@typescript-eslint/type-utils/5.54.0_ycpbpc6yetojsgtrx3mwntkhsu:
/@typescript-eslint/type-utils/5.54.1_ycpbpc6yetojsgtrx3mwntkhsu:
resolution:
{ integrity: sha512-WI+WMJ8+oS+LyflqsD4nlXMsVdzTMYTxl16myXPaCXnSgc7LWwMsjxQFZCK/rVmTZ3FN71Ct78ehO9bRC7erYQ== }
{ integrity: sha512-WREHsTz0GqVYLIbzIZYbmUUr95DKEKIXZNH57W3s+4bVnuF1TKe2jH8ZNH8rO1CeMY3U4j4UQeqPNkHMiGem3g== }
engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 }
peerDependencies:
eslint: '*'
@ -1417,8 +1417,8 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/typescript-estree': 5.54.0_typescript@4.9.5
'@typescript-eslint/utils': 5.54.0_ycpbpc6yetojsgtrx3mwntkhsu
'@typescript-eslint/typescript-estree': 5.54.1_typescript@4.9.5
'@typescript-eslint/utils': 5.54.1_ycpbpc6yetojsgtrx3mwntkhsu
debug: 4.3.4
eslint: 8.35.0
tsutils: 3.21.0_typescript@4.9.5
@ -1427,15 +1427,15 @@ packages:
- supports-color
dev: true
/@typescript-eslint/types/5.54.0:
/@typescript-eslint/types/5.54.1:
resolution:
{ integrity: sha512-nExy+fDCBEgqblasfeE3aQ3NuafBUxZxgxXcYfzYRZFHdVvk5q60KhCSkG0noHgHRo/xQ/BOzURLZAafFpTkmQ== }
{ integrity: sha512-G9+1vVazrfAfbtmCapJX8jRo2E4MDXxgm/IMOF4oGh3kq7XuK3JRkOg6y2Qu1VsTRmWETyTkWt1wxy7X7/yLkw== }
engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 }
dev: true
/@typescript-eslint/typescript-estree/5.54.0_typescript@4.9.5:
/@typescript-eslint/typescript-estree/5.54.1_typescript@4.9.5:
resolution:
{ integrity: sha512-X2rJG97Wj/VRo5YxJ8Qx26Zqf0RRKsVHd4sav8NElhbZzhpBI8jU54i6hfo9eheumj4oO4dcRN1B/zIVEqR/MQ== }
{ integrity: sha512-bjK5t+S6ffHnVwA0qRPTZrxKSaFYocwFIkZx5k7pvWfsB1I57pO/0M0Skatzzw1sCkjJ83AfGTL0oFIFiDX3bg== }
engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 }
peerDependencies:
typescript: '*'
@ -1443,8 +1443,8 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/types': 5.54.0
'@typescript-eslint/visitor-keys': 5.54.0
'@typescript-eslint/types': 5.54.1
'@typescript-eslint/visitor-keys': 5.54.1
debug: 4.3.4
globby: 11.1.0
is-glob: 4.0.3
@ -1455,18 +1455,18 @@ packages:
- supports-color
dev: true
/@typescript-eslint/utils/5.54.0_ycpbpc6yetojsgtrx3mwntkhsu:
/@typescript-eslint/utils/5.54.1_ycpbpc6yetojsgtrx3mwntkhsu:
resolution:
{ integrity: sha512-cuwm8D/Z/7AuyAeJ+T0r4WZmlnlxQ8wt7C7fLpFlKMR+dY6QO79Cq1WpJhvZbMA4ZeZGHiRWnht7ZJ8qkdAunw== }
{ integrity: sha512-IY5dyQM8XD1zfDe5X8jegX6r2EVU5o/WJnLu/znLPWCBF7KNGC+adacXnt5jEYS9JixDcoccI6CvE4RCjHMzCQ== }
engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 }
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
dependencies:
'@types/json-schema': 7.0.11
'@types/semver': 7.3.13
'@typescript-eslint/scope-manager': 5.54.0
'@typescript-eslint/types': 5.54.0
'@typescript-eslint/typescript-estree': 5.54.0_typescript@4.9.5
'@typescript-eslint/scope-manager': 5.54.1
'@typescript-eslint/types': 5.54.1
'@typescript-eslint/typescript-estree': 5.54.1_typescript@4.9.5
eslint: 8.35.0
eslint-scope: 5.1.1
eslint-utils: 3.0.0_eslint@8.35.0
@ -1476,12 +1476,12 @@ packages:
- typescript
dev: true
/@typescript-eslint/visitor-keys/5.54.0:
/@typescript-eslint/visitor-keys/5.54.1:
resolution:
{ integrity: sha512-xu4wT7aRCakGINTLGeyGqDn+78BwFlggwBjnHa1ar/KaGagnmwLYmlrXIrgAaQ3AE1Vd6nLfKASm7LrFHNbKGA== }
{ integrity: sha512-q8iSoHTgwCfgcRJ2l2x+xCbu8nBlRAlsQ33k24Adj8eoVBE0f8dUeI+bAa8F84Mv05UGbAx57g2zrRsYIooqQg== }
engines: { node: ^12.22.0 || ^14.17.0 || >=16.0.0 }
dependencies:
'@typescript-eslint/types': 5.54.0
'@typescript-eslint/types': 5.54.1
eslint-visitor-keys: 3.3.0
dev: true
@ -1490,9 +1490,9 @@ packages:
{ integrity: sha512-3tt7FVSbjtBCNBhffy7k26rpnEmk8GQj9QkTGZBIfpHU7mG3Buryt69u6xooYM7/gmv7GIqD4QxxIauIp2HHKg== }
dev: false
/@uiw/react-markdown-preview/4.1.9_zula6vjvt3wdocc4mwcxqa6nzi:
/@uiw/react-markdown-preview/4.1.10_zula6vjvt3wdocc4mwcxqa6nzi:
resolution:
{ integrity: sha512-NhiXw5TXx71FxlXGLNgLtF+iD1sL971aRNBBkYEBQE3w7ynLDHjLVl9w1Y69339dtanfFYhYv45jqY5CLN5L1w== }
{ integrity: sha512-PtjKQi1BhejVfFp/DpMCQ1QlugkjzPGXIDH/oYnpvoqdDvXB8yjfQYLCFFqLPyywXV3BVk0HkAgMGOjUHp08pw== }
peerDependencies:
react: '>=16.8.0'
react-dom: '>=16.8.0'
@ -1524,7 +1524,7 @@ packages:
react-dom: '>=16.8.0'
dependencies:
'@babel/runtime': 7.21.0
'@uiw/react-markdown-preview': 4.1.9_zula6vjvt3wdocc4mwcxqa6nzi
'@uiw/react-markdown-preview': 4.1.10_zula6vjvt3wdocc4mwcxqa6nzi
react: 18.2.0
react-dom: 18.2.0_react@18.2.0
rehype: 12.0.1
@ -1757,16 +1757,16 @@ packages:
engines: { node: '>=8' }
dev: true
/autoprefixer/10.4.13_postcss@8.4.21:
/autoprefixer/10.4.14_postcss@8.4.21:
resolution:
{ integrity: sha512-49vKpMqcZYsJjwotvt4+h/BCjJVnhGwcLpDt5xkcaOG3eLrG/HUYLagrihYsQ+qrIBgIzX1Rw7a6L8I/ZA1Atg== }
{ integrity: sha512-FQzyfOsTlwVzjHxKEqRIAdJx9niO6VCBCoEwax/VLSoQF29ggECcPuBqUMZ+u8jCZOPSy8b8/8KnuFbp0SaFZQ== }
engines: { node: ^10 || ^12 || >=14 }
hasBin: true
peerDependencies:
postcss: ^8.1.0
dependencies:
browserslist: 4.21.5
caniuse-lite: 1.0.30001460
caniuse-lite: 1.0.30001464
fraction.js: 4.2.0
normalize-range: 0.1.2
picocolors: 1.0.0
@ -1888,8 +1888,8 @@ packages:
engines: { node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7 }
hasBin: true
dependencies:
caniuse-lite: 1.0.30001460
electron-to-chromium: 1.4.320
caniuse-lite: 1.0.30001464
electron-to-chromium: 1.4.327
node-releases: 2.0.10
update-browserslist-db: 1.0.10_browserslist@4.21.5
@ -1912,9 +1912,9 @@ packages:
engines: { node: '>= 6' }
dev: true
/caniuse-lite/1.0.30001460:
/caniuse-lite/1.0.30001464:
resolution:
{ integrity: sha512-Bud7abqjvEjipUkpLs4D7gR0l8hBYBHoa+tGtKJHvT2AYzLp1z7EmVkUT4ERpVUfca8S2HGIVs883D8pUH1ZzQ== }
{ integrity: sha512-oww27MtUmusatpRpCGSOneQk2/l5czXANDSFvsc7VuOQ86s3ANhZetpwXNf1zY/zdfP63Xvjz325DAdAoES13g== }
/ccount/2.0.1:
resolution:
@ -2255,9 +2255,9 @@ packages:
{ integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== }
dev: true
/electron-to-chromium/1.4.320:
/electron-to-chromium/1.4.327:
resolution:
{ integrity: sha512-h70iRscrNluMZPVICXYl5SSB+rBKo22XfuIS1ER0OQxQZpKTnFpuS6coj7wY9M/3trv7OR88rRMOlKmRvDty7Q== }
{ integrity: sha512-DIk2H4g/3ZhjgiABJjVdQvUdMlSABOsjeCm6gmUzIdKxAuFrGiJ8QXMm3i09grZdDBMC/d8MELMrdwYRC0+YHg== }
/emoji-regex/8.0.0:
resolution:
@ -2382,9 +2382,9 @@ packages:
engines: { node: '>=12' }
dev: false
/eslint-config-next/13.2.3_ycpbpc6yetojsgtrx3mwntkhsu:
/eslint-config-next/13.2.4_ycpbpc6yetojsgtrx3mwntkhsu:
resolution:
{ integrity: sha512-kPulHiQEHGei9hIaaNGygHRc0UzlWM+3euOmYbxNkd2Nbhci5rrCDeMBMPSV8xgUssphDGmwDHWbk4VZz3rlZQ== }
{ integrity: sha512-lunIBhsoeqw6/Lfkd6zPt25w1bn0znLA/JCL+au1HoEpSb4/PpsOYsYtgV/q+YPsoKIOzFyU5xnb04iZnXjUvg== }
peerDependencies:
eslint: ^7.23.0 || ^8.0.0
typescript: '>=3.3.1'
@ -2392,13 +2392,13 @@ packages:
typescript:
optional: true
dependencies:
'@next/eslint-plugin-next': 13.2.3
'@next/eslint-plugin-next': 13.2.4
'@rushstack/eslint-patch': 1.2.0
'@typescript-eslint/parser': 5.54.0_ycpbpc6yetojsgtrx3mwntkhsu
'@typescript-eslint/parser': 5.54.1_ycpbpc6yetojsgtrx3mwntkhsu
eslint: 8.35.0
eslint-import-resolver-node: 0.3.7
eslint-import-resolver-typescript: 3.5.3_yckic57kx266ph64dhq6ozvb54
eslint-plugin-import: 2.27.5_tqrcrxlenpngfto46ddarus52y
eslint-plugin-import: 2.27.5_yiggpkcwtyhpwcphetqfqiayhm
eslint-plugin-jsx-a11y: 6.7.1_eslint@8.35.0
eslint-plugin-react: 7.32.2_eslint@8.35.0
eslint-plugin-react-hooks: 4.6.0_eslint@8.35.0
@ -2408,9 +2408,9 @@ packages:
- supports-color
dev: true
/eslint-config-prettier/8.6.0_eslint@8.35.0:
/eslint-config-prettier/8.7.0_eslint@8.35.0:
resolution:
{ integrity: sha512-bAF0eLpLVqP5oEVUFKpMA+NnRFICwn9X8B5jrR9FcqnYBuPbqWEjTEspPWMj5ye6czoSLDweCzSo3Ko7gGrZaA== }
{ integrity: sha512-HHVXLSlVUhMSmyW4ZzEuvjpwqamgmlfkutD53cYXLikh4pt/modINRcCIApJ84czDxM4GZInwUrromsDdTImTA== }
hasBin: true
peerDependencies:
eslint: '>=7.0.0'
@ -2440,7 +2440,7 @@ packages:
debug: 4.3.4
enhanced-resolve: 5.12.0
eslint: 8.35.0
eslint-plugin-import: 2.27.5_tqrcrxlenpngfto46ddarus52y
eslint-plugin-import: 2.27.5_yiggpkcwtyhpwcphetqfqiayhm
get-tsconfig: 4.4.0
globby: 13.1.3
is-core-module: 2.11.0
@ -2450,7 +2450,7 @@ packages:
- supports-color
dev: true
/eslint-module-utils/2.7.4_igrub7c6rucg6hjc3uqgumd66y:
/eslint-module-utils/2.7.4_4ew7aeh2ovxxbkkqgt5g5mz23a:
resolution:
{ integrity: sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA== }
engines: { node: '>=4' }
@ -2472,7 +2472,7 @@ packages:
eslint-import-resolver-webpack:
optional: true
dependencies:
'@typescript-eslint/parser': 5.54.0_ycpbpc6yetojsgtrx3mwntkhsu
'@typescript-eslint/parser': 5.54.1_ycpbpc6yetojsgtrx3mwntkhsu
debug: 3.2.7
eslint: 8.35.0
eslint-import-resolver-node: 0.3.7
@ -2481,7 +2481,7 @@ packages:
- supports-color
dev: true
/eslint-plugin-import/2.27.5_tqrcrxlenpngfto46ddarus52y:
/eslint-plugin-import/2.27.5_yiggpkcwtyhpwcphetqfqiayhm:
resolution:
{ integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow== }
engines: { node: '>=4' }
@ -2492,7 +2492,7 @@ packages:
'@typescript-eslint/parser':
optional: true
dependencies:
'@typescript-eslint/parser': 5.54.0_ycpbpc6yetojsgtrx3mwntkhsu
'@typescript-eslint/parser': 5.54.1_ycpbpc6yetojsgtrx3mwntkhsu
array-includes: 3.1.6
array.prototype.flat: 1.3.1
array.prototype.flatmap: 1.3.1
@ -2500,7 +2500,7 @@ packages:
doctrine: 2.1.0
eslint: 8.35.0
eslint-import-resolver-node: 0.3.7
eslint-module-utils: 2.7.4_igrub7c6rucg6hjc3uqgumd66y
eslint-module-utils: 2.7.4_4ew7aeh2ovxxbkkqgt5g5mz23a
has: 1.0.3
is-core-module: 2.11.0
is-glob: 4.0.3
@ -4327,9 +4327,9 @@ packages:
- webpack
dev: false
/next/13.2.3_biqbaboplfbrettd7655fr4n2y:
/next/13.2.4_biqbaboplfbrettd7655fr4n2y:
resolution:
{ integrity: sha512-nKFJC6upCPN7DWRx4+0S/1PIOT7vNlCT157w9AzbXEgKy6zkiPKEt5YyRUsRZkmpEqBVrGgOqNfwecTociyg+w== }
{ integrity: sha512-g1I30317cThkEpvzfXujf0O4wtaQHtDCLhlivwlTJ885Ld+eOgcz7r3TGQzeU+cSRoNHtD8tsJgzxVdYojFssw== }
engines: { node: '>=14.6.0' }
hasBin: true
peerDependencies:
@ -4349,27 +4349,27 @@ packages:
sass:
optional: true
dependencies:
'@next/env': 13.2.3
'@next/env': 13.2.4
'@swc/helpers': 0.4.14
caniuse-lite: 1.0.30001460
caniuse-lite: 1.0.30001464
postcss: 8.4.14
react: 18.2.0
react-dom: 18.2.0_react@18.2.0
styled-jsx: 5.1.1_react@18.2.0
optionalDependencies:
'@next/swc-android-arm-eabi': 13.2.3
'@next/swc-android-arm64': 13.2.3
'@next/swc-darwin-arm64': 13.2.3
'@next/swc-darwin-x64': 13.2.3
'@next/swc-freebsd-x64': 13.2.3
'@next/swc-linux-arm-gnueabihf': 13.2.3
'@next/swc-linux-arm64-gnu': 13.2.3
'@next/swc-linux-arm64-musl': 13.2.3
'@next/swc-linux-x64-gnu': 13.2.3
'@next/swc-linux-x64-musl': 13.2.3
'@next/swc-win32-arm64-msvc': 13.2.3
'@next/swc-win32-ia32-msvc': 13.2.3
'@next/swc-win32-x64-msvc': 13.2.3
'@next/swc-android-arm-eabi': 13.2.4
'@next/swc-android-arm64': 13.2.4
'@next/swc-darwin-arm64': 13.2.4
'@next/swc-darwin-x64': 13.2.4
'@next/swc-freebsd-x64': 13.2.4
'@next/swc-linux-arm-gnueabihf': 13.2.4
'@next/swc-linux-arm64-gnu': 13.2.4
'@next/swc-linux-arm64-musl': 13.2.4
'@next/swc-linux-x64-gnu': 13.2.4
'@next/swc-linux-x64-musl': 13.2.4
'@next/swc-win32-arm64-msvc': 13.2.4
'@next/swc-win32-ia32-msvc': 13.2.4
'@next/swc-win32-x64-msvc': 13.2.4
transitivePeerDependencies:
- '@babel/core'
- babel-plugin-macros
@ -4391,9 +4391,9 @@ packages:
engines: { node: '>=0.10.0' }
dev: true
/nostr-relaypool/0.5.3_ws@8.12.1:
/nostr-relaypool/0.5.12_ws@8.12.1:
resolution:
{ integrity: sha512-1INGKleOTuUTFUs3RnnZrew4+G/idLUewh44WBtmTTJ9g+kRiQtMMaBGTVUpf9621nBNleEVOB8p3XSNcaX3FQ== }
{ integrity: sha512-bWf3ESxPGWaLu8pY2fjz8GhQcBNXBUmY0HV935apvfD9GMSIctvTPib+R8w5mo/+tSEOLKwFLc2D/DuJjefMiA== }
dependencies:
'@jest/source-map': 29.4.3
isomorphic-ws: 5.0.0_ws@8.12.1
@ -4923,9 +4923,9 @@ packages:
{ integrity: sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA== }
dev: false
/react-hook-form/7.43.4_react@18.2.0:
/react-hook-form/7.43.5_react@18.2.0:
resolution:
{ integrity: sha512-JZp05wvmuV8qr3NNDWwyhiQL05sh9E8x/2NoWtkdiyyiezmwOr5pKexlvbCEfBMa7ZYrvzk88G/uhLl47T9b7Q== }
{ integrity: sha512-YcaXhuFHoOPipu5pC7ckxrLrialiOcU91pKu8P+isAcXZyMgByUK9PkI9j5fENO4+6XU5PwWXRGMIFlk9u9UBQ== }
engines: { node: '>=12.22.0' }
peerDependencies:
react: ^16.8.0 || ^17 || ^18
@ -4983,9 +4983,9 @@ packages:
react: 18.2.0
dev: false
/react-player/2.11.2_react@18.2.0:
/react-player/2.12.0_react@18.2.0:
resolution:
{ integrity: sha512-V5bf3g6lIpOjfKPUw18Og+qfizmlv6PQfJojlFiGpkfn/e21w5U4nSXE8vSIrFkfllgCrLM35nNGR1/jYQ8KIw== }
{ integrity: sha512-rymLRz/2GJJD+Wc01S7S+i9pGMFYnNmQibR2gVE3KmHJCBNN8BhPAlOPTGZtn1uKpJ6p4RPLlzPQ1OLreXd8gw== }
peerDependencies:
react: '>=16.6.0'
dependencies:
@ -6105,10 +6105,10 @@ packages:
{ integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A== }
dev: false
github.com/tauri-apps/tauri-plugin-sql/abd8759ef49e1ba441540a2260b453d43d86c7ee:
github.com/tauri-apps/tauri-plugin-sql/b945c7a74ed207771420f7f0809d20ba66d55f70:
resolution:
{
tarball: https://codeload.github.com/tauri-apps/tauri-plugin-sql/tar.gz/abd8759ef49e1ba441540a2260b453d43d86c7ee,
tarball: https://codeload.github.com/tauri-apps/tauri-plugin-sql/tar.gz/b945c7a74ed207771420f7f0809d20ba66d55f70,
}
name: tauri-plugin-sql-api
version: 0.0.0

View File

@ -26,7 +26,7 @@ export default function AccountColumn() {
<div className="flex h-full flex-col items-center justify-between px-2 pt-12 pb-4">
<div className="flex flex-col gap-4">
{users.map((user, index) => (
<Account key={index} user={user} current={currentUser.pubkey} />
<Account key={index} user={user} current={currentUser.id} />
))}
<Link
href="/onboarding"

View File

@ -20,7 +20,7 @@ export default function CreatePost() {
const [value, setValue] = useState('');
const [currentUser]: any = useLocalStorage('current-user');
const pubkey = currentUser.pubkey;
const pubkey = currentUser.id;
const privkey = currentUser.privkey;
const postButton = {

View File

@ -17,7 +17,7 @@ export default function NavigatorColumn() {
<div className="flex flex-col p-2">
<div className="flex items-center justify-between">
<h5 className="font-semibold leading-tight text-zinc-100">{profile.display_name || ''}</h5>
<UserDropdownMenu pubkey={currentUser.pubkey} />
<UserDropdownMenu pubkey={currentUser.id} />
</div>
<span className="text-sm leading-tight text-zinc-500">@{profile.username || ''}</span>
</div>

View File

@ -1,5 +1,5 @@
import { writeStorage } from '@rehooks/local-storage';
import { createContext, useEffect, useState } from 'react';
import { deleteFromStorage, writeStorage } from '@rehooks/local-storage';
import { createContext, useCallback, useEffect, useState } from 'react';
import Database from 'tauri-plugin-sql-api';
export const DatabaseContext = createContext({});
@ -9,36 +9,46 @@ const db = typeof window !== 'undefined' ? await Database.load('sqlite:lume.db')
export default function DatabaseProvider({ children }: { children: React.ReactNode }) {
const [done, setDone] = useState(false);
useEffect(() => {
const getRelays = async () => {
const arr = [];
const result: any[] = await db.select('SELECT relay_url FROM relays WHERE relay_status = "1"');
const getRelays = useCallback(async () => {
const result: any[] = await db.select('SELECT relay_url FROM relays WHERE relay_status = "1"');
const arr = [];
result.forEach((item: { relay_url: string }) => {
arr.push(item.relay_url);
});
// delete old item then save new item to local storage
deleteFromStorage('relays');
writeStorage('relays', arr);
// return
return;
}, []);
result.forEach((item: { relay_url: string }) => {
arr.push(item.relay_url);
});
writeStorage('relays', arr);
};
const getAccount = async () => {
const result = await db.select(`SELECT * FROM accounts LIMIT 1`);
const getAccount = useCallback(async () => {
const result = await db.select(`SELECT * FROM accounts LIMIT 1`);
// delete old item then save new item to local storage
deleteFromStorage('current-user');
if (result[0]) {
writeStorage('current-user', result[0]);
} else {
writeStorage('current-user', null);
}
// return first record
return result[0];
}, []);
return result[0];
};
const getFollows = async (id: string) => {
const arr = [];
const result: any[] = await db.select(`SELECT pubkey FROM follows WHERE account = "${id}"`);
result.forEach((item: { pubkey: string }) => {
arr.push(item.pubkey);
});
writeStorage('follows', arr);
};
const getFollows = useCallback(async (id: string) => {
const result: any[] = await db.select(`SELECT pubkey FROM follows WHERE account = "${id}"`);
const arr = [];
result.forEach((item: { pubkey: string }) => {
arr.push(item.pubkey);
});
// delete old item then save new item to local storage
deleteFromStorage('follows');
writeStorage('follows', arr);
// return
return;
}, []);
useEffect(() => {
getRelays().catch(console.error);
getAccount()
.then((res) => {
@ -48,9 +58,11 @@ export default function DatabaseProvider({ children }: { children: React.ReactNo
setDone(true);
})
.catch(console.error);
}, []);
}, [getAccount, getFollows, getRelays]);
if (done === true) {
return <DatabaseContext.Provider value={{ db }}>{children}</DatabaseContext.Provider>;
if (!done) {
return <></>;
}
return <DatabaseContext.Provider value={{ db }}>{children}</DatabaseContext.Provider>;
}

View File

@ -15,7 +15,7 @@ export default function Reaction({ eventID, eventPubkey }: { eventID: string; ev
const [isReact, setIsReact] = useState(false);
const [currentUser]: any = useLocalStorage('current-user');
const pubkey = currentUser.pubkey;
const pubkey = currentUser.id;
const privkey = currentUser.privkey;
/*

View File

@ -24,14 +24,14 @@ export default function UserLayout({ children }: { children: React.ReactNode })
</div>
<div className="flex flex-col gap-1 text-zinc-500">
<ActiveLink
href={`/profile/${currentUser.pubkey}`}
href={`/profile/${currentUser.id}`}
activeClassName="ring-1 ring-white/10 dark:bg-zinc-900 dark:text-white"
className="flex h-10 items-center gap-1 rounded-lg px-2.5 text-sm font-medium hover:bg-zinc-900"
>
<span>Personal Page</span>
</ActiveLink>
<ActiveLink
href={`/profile/update?pubkey=${currentUser.pubkey}`}
href={`/profile/update?pubkey=${currentUser.id}`}
activeClassName="ring-1 ring-white/10 dark:bg-zinc-900 dark:text-white"
className="flex h-10 items-center gap-1 rounded-lg px-2.5 text-sm font-medium hover:bg-zinc-900"
>

View File

@ -5,26 +5,32 @@ import LumeSymbol from '@assets/icons/Lume';
import { useLocalStorage } from '@rehooks/local-storage';
import { motion } from 'framer-motion';
import { useRouter } from 'next/router';
import { JSXElementConstructor, ReactElement, ReactFragment, ReactPortal, useEffect, useState } from 'react';
import { JSXElementConstructor, ReactElement, ReactFragment, ReactPortal, useEffect, useRef, useState } from 'react';
export default function Page() {
const router = useRouter();
const [currentUser]: any = useLocalStorage('current-user');
const [loading, setLoading] = useState(true);
const timer = useRef(null);
useEffect(() => {
if (!currentUser) {
setTimeout(() => {
setLoading(false);
router.push('/onboarding');
}, 1500);
} else {
setTimeout(() => {
if (currentUser) {
timer.current = setTimeout(() => {
setLoading(false);
router.push('/newsfeed/following');
}, 1500);
}, 1000);
} else {
timer.current = setTimeout(() => {
setLoading(false);
router.push('/onboarding');
}, 1000);
}
// clean up
return () => {
clearTimeout(timer.current);
};
}, [currentUser, router]);
return (

View File

@ -17,7 +17,7 @@ import { JSXElementConstructor, ReactElement, ReactFragment, ReactPortal, useCon
const shuffle = (arr: { name: string; avatar: string; npub: string }[]) => [...arr].sort(() => Math.random() - 0.5);
export default function Page() {
const db: any = useContext(DatabaseContext);
const { db }: any = useContext(DatabaseContext);
const router = useRouter();
const [follow, setFollow] = useState([]);
@ -33,12 +33,12 @@ export default function Page() {
const insertDB = async () => {
// self follow
await db.execute(
`INSERT INTO follows (pubkey, account, kind) VALUES ("${currentUser.pubkey}", "${currentUser.pubkey}", "0")`
`INSERT INTO follows (pubkey, account, kind) VALUES ("${currentUser.id}", "${currentUser.id}", "0")`
);
// follow selected
follow.forEach(async (npub) => {
const { data } = nip19.decode(npub);
await db.execute(`INSERT INTO follows (pubkey, account, kind) VALUES ("${data}", "${currentUser.pubkey}", "0")`);
await db.execute(`INSERT INTO follows (pubkey, account, kind) VALUES ("${data}", "${currentUser.id}", "0")`);
});
};

View File

@ -48,7 +48,7 @@ export default function Page() {
content: JSON.stringify(data),
created_at: dateToUnix(),
kind: 0,
pubkey: currentUser.pubkey,
pubkey: currentUser.id,
tags: [],
};
@ -59,14 +59,14 @@ export default function Page() {
// save account to database
const db = await Database.load('sqlite:lume.db');
await db.execute(`UPDATE accounts SET metadata = '${JSON.stringify(data)}' WHERE pubkey = "${currentUser.pubkey}"`);
await db.execute(`UPDATE accounts SET metadata = '${JSON.stringify(data)}' WHERE pubkey = "${currentUser.id}"`);
// set currentUser in global state
currentUser.set({
metadata: JSON.stringify(data),
npub: currentUser.npub,
privkey: currentUser.privkey,
pubkey: currentUser.pubkey,
pubkey: currentUser.id,
});
// redirect to newsfeed