From 4624d7e00ee9d9f57824b3a93adcb1f145b4bd9d Mon Sep 17 00:00:00 2001 From: Ren Amamiya <123083837+reyamir@users.noreply.github.com> Date: Fri, 7 Apr 2023 15:26:41 +0700 Subject: [PATCH] minor updates --- package.json | 8 +- pnpm-lock.yaml | 217 ++++++++---------- .../multiAccounts/activeAccount.tsx | 2 +- src/components/note/connector.tsx | 3 +- src/pages/chats/[pubkey].tsx | 2 - 5 files changed, 103 insertions(+), 129 deletions(-) diff --git a/package.json b/package.json index 074be1fa..5ff1829c 100644 --- a/package.json +++ b/package.json @@ -21,14 +21,14 @@ "@radix-ui/react-icons": "^1.3.0", "@radix-ui/react-popover": "^1.0.5", "@radix-ui/react-tabs": "^1.0.3", - "@supabase/supabase-js": "^2.14.0", + "@supabase/supabase-js": "^2.15.0", "@tauri-apps/api": "^1.2.0", "dayjs": "^1.11.7", "destr": "^1.2.2", "emoji-mart": "^5.5.2", "framer-motion": "^9.1.7", "jotai": "^2.0.3", - "next": "^13.2.4", + "next": "^13.3.0", "nostr-relaypool": "^0.5.18", "nostr-tools": "^1.8.2", "react": "^18.2.0", @@ -52,7 +52,7 @@ "autoprefixer": "^10.4.14", "csstype": "^3.1.2", "eslint": "^8.37.0", - "eslint-config-next": "^13.2.4", + "eslint-config-next": "^13.3.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", @@ -60,7 +60,7 @@ "lint-staged": "^13.2.0", "postcss": "^8.4.21", "prettier": "^2.8.7", - "prettier-plugin-tailwindcss": "^0.2.6", + "prettier-plugin-tailwindcss": "^0.2.7", "prop-types": "^15.8.1", "tailwindcss": "^3.3.1", "typescript": "^4.9.5" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fbd5daab..e899822a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,7 +9,7 @@ specifiers: '@radix-ui/react-icons': ^1.3.0 '@radix-ui/react-popover': ^1.0.5 '@radix-ui/react-tabs': ^1.0.3 - '@supabase/supabase-js': ^2.14.0 + '@supabase/supabase-js': ^2.15.0 '@tailwindcss/typography': ^0.5.9 '@tauri-apps/api': ^1.2.0 '@tauri-apps/cli': ^1.2.3 @@ -25,7 +25,7 @@ specifiers: destr: ^1.2.2 emoji-mart: ^5.5.2 eslint: ^8.37.0 - eslint-config-next: ^13.2.4 + eslint-config-next: ^13.3.0 eslint-config-prettier: ^8.8.0 eslint-plugin-react: ^7.32.2 eslint-plugin-react-hooks: ^4.6.0 @@ -33,12 +33,12 @@ specifiers: husky: ^8.0.3 jotai: ^2.0.3 lint-staged: ^13.2.0 - next: ^13.2.4 + next: ^13.3.0 nostr-relaypool: ^0.5.18 nostr-tools: ^1.8.2 postcss: ^8.4.21 prettier: ^2.8.7 - prettier-plugin-tailwindcss: ^0.2.6 + prettier-plugin-tailwindcss: ^0.2.7 prop-types: ^15.8.1 react: ^18.2.0 react-dom: ^18.2.0 @@ -60,14 +60,14 @@ dependencies: '@radix-ui/react-icons': 1.3.0_react@18.2.0 '@radix-ui/react-popover': 1.0.5_zn3vyfk3tbnwebg5ldvieekjaq '@radix-ui/react-tabs': 1.0.3_biqbaboplfbrettd7655fr4n2y - '@supabase/supabase-js': 2.14.0 + '@supabase/supabase-js': 2.15.0 '@tauri-apps/api': 1.2.0 dayjs: 1.11.7 destr: 1.2.2 emoji-mart: 5.5.2 framer-motion: 9.1.7_biqbaboplfbrettd7655fr4n2y jotai: 2.0.3_react@18.2.0 - next: 13.2.4_biqbaboplfbrettd7655fr4n2y + next: 13.3.0_biqbaboplfbrettd7655fr4n2y nostr-relaypool: 0.5.18_ws@8.13.0 nostr-tools: 1.8.2 react: 18.2.0 @@ -91,7 +91,7 @@ devDependencies: autoprefixer: 10.4.14_postcss@8.4.21 csstype: 3.1.2 eslint: 8.37.0 - eslint-config-next: 13.2.4_ip5up2nocltd47wbnuyybe5dxu + eslint-config-next: 13.3.0_ip5up2nocltd47wbnuyybe5dxu eslint-config-prettier: 8.8.0_eslint@8.37.0 eslint-plugin-react: 7.32.2_eslint@8.37.0 eslint-plugin-react-hooks: 4.6.0_eslint@8.37.0 @@ -99,7 +99,7 @@ devDependencies: lint-staged: 13.2.0 postcss: 8.4.21 prettier: 2.8.7 - prettier-plugin-tailwindcss: 0.2.6_yk5p2qt6yzw3zyyilt4azle7eu + prettier-plugin-tailwindcss: 0.2.7_yk5p2qt6yzw3zyyilt4azle7eu prop-types: 15.8.1 tailwindcss: 3.3.1_postcss@8.4.21 typescript: 4.9.5 @@ -367,7 +367,7 @@ packages: { integrity: sha512-qyt/mb6rLyd9j1jUts4EQncvS6Yy3PM9HghnNv86QBlV+zdL2inCdK1tuVlL+J+lpiw2BI67qXOrX3UurBqQ1w== } engines: { node: ^14.15.0 || ^16.10.0 || >=18.0.0 } dependencies: - '@jridgewell/trace-mapping': 0.3.17 + '@jridgewell/trace-mapping': 0.3.18 callsites: 3.1.0 graceful-fs: 4.2.11 dev: false @@ -383,49 +383,29 @@ packages: { integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== } dev: false - /@jridgewell/trace-mapping/0.3.17: + /@jridgewell/trace-mapping/0.3.18: resolution: - { integrity: sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g== } + { integrity: sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA== } dependencies: '@jridgewell/resolve-uri': 3.1.0 '@jridgewell/sourcemap-codec': 1.4.14 dev: false - /@next/env/13.2.4: + /@next/env/13.3.0: resolution: - { integrity: sha512-+Mq3TtpkeeKFZanPturjcXt+KHfKYnLlX6jMLyCrmpq6OOs4i1GqBOAauSkii9QeKCMTYzGppar21JU57b/GEA== } + { integrity: sha512-AjppRV4uG3No7L1plinoTQETH+j2F10TEnrMfzbTUYwze5sBUPveeeBAPZPm8OkJZ1epq9OyYKhZrvbD6/9HCQ== } dev: false - /@next/eslint-plugin-next/13.2.4: + /@next/eslint-plugin-next/13.3.0: resolution: - { integrity: sha512-ck1lI+7r1mMJpqLNa3LJ5pxCfOB1lfJncKmRJeJxcJqcngaFwylreLP7da6Rrjr6u2gVRTfmnkSkjc80IiQCwQ== } + { integrity: sha512-wuGN5qSEjSgcq9fVkH0Y/qIPFjnZtW3ZPwfjJOn7l/rrf6y8J24h/lo61kwqunTyzZJm/ETGfGVU9PUs8cnzEA== } dependencies: glob: 7.1.7 dev: true - /@next/swc-android-arm-eabi/13.2.4: + /@next/swc-darwin-arm64/13.3.0: resolution: - { integrity: sha512-DWlalTSkLjDU11MY11jg17O1gGQzpRccM9Oes2yTqj2DpHndajrXHGxj9HGtJ+idq2k7ImUdJVWS2h2l/EDJOw== } - engines: { node: '>= 10' } - cpu: [arm] - os: [android] - requiresBuild: true - dev: false - optional: true - - /@next/swc-android-arm64/13.2.4: - resolution: - { integrity: sha512-sRavmUImUCf332Gy+PjIfLkMhiRX1Ez4SI+3vFDRs1N5eXp+uNzjFUK/oLMMOzk6KFSkbiK/3Wt8+dHQR/flNg== } - engines: { node: '>= 10' } - cpu: [arm64] - os: [android] - requiresBuild: true - dev: false - optional: true - - /@next/swc-darwin-arm64/13.2.4: - resolution: - { integrity: sha512-S6vBl+OrInP47TM3LlYx65betocKUUlTZDDKzTiRDbsRESeyIkBtZ6Qi5uT2zQs4imqllJznVjFd1bXLx3Aa6A== } + { integrity: sha512-DmIQCNq6JtccLPPBzf0dgh2vzMWt5wjxbP71pCi5EWpWYE3MsP6FcRXi4MlAmFNDQOfcFXR2r7kBeG1LpZUh1w== } engines: { node: '>= 10' } cpu: [arm64] os: [darwin] @@ -433,9 +413,9 @@ packages: dev: false optional: true - /@next/swc-darwin-x64/13.2.4: + /@next/swc-darwin-x64/13.3.0: resolution: - { integrity: sha512-a6LBuoYGcFOPGd4o8TPo7wmv5FnMr+Prz+vYHopEDuhDoMSHOnC+v+Ab4D7F0NMZkvQjEJQdJS3rqgFhlZmKlw== } + { integrity: sha512-oQoqFa88OGgwnYlnAGHVct618FRI/749se0N3S8t9Bzdv5CRbscnO0RcX901+YnNK4Q6yeiizfgO3b7kogtsZg== } engines: { node: '>= 10' } cpu: [x64] os: [darwin] @@ -443,29 +423,9 @@ packages: dev: false optional: true - /@next/swc-freebsd-x64/13.2.4: + /@next/swc-linux-arm64-gnu/13.3.0: resolution: - { integrity: sha512-kkbzKVZGPaXRBPisoAQkh3xh22r+TD+5HwoC5bOkALraJ0dsOQgSMAvzMXKsN3tMzJUPS0tjtRf1cTzrQ0I5vQ== } - engines: { node: '>= 10' } - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: false - optional: true - - /@next/swc-linux-arm-gnueabihf/13.2.4: - resolution: - { integrity: sha512-7qA1++UY0fjprqtjBZaOA6cas/7GekpjVsZn/0uHvquuITFCdKGFCsKNBx3S0Rpxmx6WYo0GcmhNRM9ru08BGg== } - engines: { node: '>= 10' } - cpu: [arm] - os: [linux] - requiresBuild: true - dev: false - optional: true - - /@next/swc-linux-arm64-gnu/13.2.4: - resolution: - { integrity: sha512-xzYZdAeq883MwXgcwc72hqo/F/dwUxCukpDOkx/j1HTq/J0wJthMGjinN9wH5bPR98Mfeh1MZJ91WWPnZOedOg== } + { integrity: sha512-Wzz2p/WqAJUqTVoLo6H18WMeAXo3i+9DkPDae4oQG8LMloJ3if4NEZTnOnTUlro6cq+S/W4pTGa97nWTrOjbGw== } engines: { node: '>= 10' } cpu: [arm64] os: [linux] @@ -473,9 +433,9 @@ packages: dev: false optional: true - /@next/swc-linux-arm64-musl/13.2.4: + /@next/swc-linux-arm64-musl/13.3.0: resolution: - { integrity: sha512-8rXr3WfmqSiYkb71qzuDP6I6R2T2tpkmf83elDN8z783N9nvTJf2E7eLx86wu2OJCi4T05nuxCsh4IOU3LQ5xw== } + { integrity: sha512-xPVrIQOQo9WXJYgmoTlMnAD/HlR/1e1ZIWGbwIzEirXBVBqMARUulBEIKdC19zuvoJ477qZJgBDCKtKEykCpyQ== } engines: { node: '>= 10' } cpu: [arm64] os: [linux] @@ -483,9 +443,9 @@ packages: dev: false optional: true - /@next/swc-linux-x64-gnu/13.2.4: + /@next/swc-linux-x64-gnu/13.3.0: resolution: - { integrity: sha512-Ngxh51zGSlYJ4EfpKG4LI6WfquulNdtmHg1yuOYlaAr33KyPJp4HeN/tivBnAHcZkoNy0hh/SbwDyCnz5PFJQQ== } + { integrity: sha512-jOFlpGuPD7W2tuXVJP4wt9a3cpNxWAPcloq5EfMJRiXsBBOjLVFZA7boXYxEBzSVgUiVVr1V9T0HFM7pULJ1qA== } engines: { node: '>= 10' } cpu: [x64] os: [linux] @@ -493,9 +453,9 @@ packages: dev: false optional: true - /@next/swc-linux-x64-musl/13.2.4: + /@next/swc-linux-x64-musl/13.3.0: resolution: - { integrity: sha512-gOvwIYoSxd+j14LOcvJr+ekd9fwYT1RyMAHOp7znA10+l40wkFiMONPLWiZuHxfRk+Dy7YdNdDh3ImumvL6VwA== } + { integrity: sha512-2OwKlzaBgmuet9XYHc3KwsEilzb04F540rlRXkAcjMHL7eCxB7uZIGtsVvKOnQLvC/elrUegwSw1+5f7WmfyOw== } engines: { node: '>= 10' } cpu: [x64] os: [linux] @@ -503,9 +463,9 @@ packages: dev: false optional: true - /@next/swc-win32-arm64-msvc/13.2.4: + /@next/swc-win32-arm64-msvc/13.3.0: resolution: - { integrity: sha512-q3NJzcfClgBm4HvdcnoEncmztxrA5GXqKeiZ/hADvC56pwNALt3ngDC6t6qr1YW9V/EPDxCYeaX4zYxHciW4Dw== } + { integrity: sha512-OeHiA6YEvndxT46g+rzFK/MQTfftKxJmzslERMu9LDdC6Kez0bdrgEYed5eXFK2Z1viKZJCGRlhd06rBusyztA== } engines: { node: '>= 10' } cpu: [arm64] os: [win32] @@ -513,9 +473,9 @@ packages: dev: false optional: true - /@next/swc-win32-ia32-msvc/13.2.4: + /@next/swc-win32-ia32-msvc/13.3.0: resolution: - { integrity: sha512-/eZ5ncmHUYtD2fc6EUmAIZlAJnVT2YmxDsKs1Ourx0ttTtvtma/WKlMV5NoUsyOez0f9ExLyOpeCoz5aj+MPXw== } + { integrity: sha512-4aB7K9mcVK1lYEzpOpqWrXHEZympU3oK65fnNcY1Qc4HLJFLJj8AViuqQd4jjjPNuV4sl8jAwTz3gN5VNGWB7w== } engines: { node: '>= 10' } cpu: [ia32] os: [win32] @@ -523,9 +483,9 @@ packages: dev: false optional: true - /@next/swc-win32-x64-msvc/13.2.4: + /@next/swc-win32-x64-msvc/13.3.0: resolution: - { integrity: sha512-0MffFmyv7tBLlji01qc0IaPP/LVExzvj7/R5x1Jph1bTAIj4Vu81yFQWHHQAP6r4ff9Ukj1mBK6MDNVXm7Tcvw== } + { integrity: sha512-Reer6rkLLcoOvB0dd66+Y7WrWVFH7sEEkF/4bJCIfsSKnTStTYaHtwIJAwbqnt9I392Tqvku0KkoqZOryWV9LQ== } engines: { node: '>= 10' } cpu: [x64] os: [win32] @@ -1073,9 +1033,9 @@ packages: - encoding dev: false - /@supabase/gotrue-js/2.20.0: + /@supabase/gotrue-js/2.20.1: resolution: - { integrity: sha512-dbbEXrzb6OdWeYJQ8VYnJj2sMiZYw8XGj1B5rZlbcjDxkW0Za04x+wWn6g6T5/6RwNm2kReqgAR5ufYeCPuCDA== } + { integrity: sha512-TvXAhLpB/ghLAMNRX5Du3EAc9t0W1w9OFKFn9FNgX3mCAvyhJOni2DVdeSYas4xKbUuyMt4Mp3NDSculLtD0DA== } dependencies: cross-fetch: 3.1.5 transitivePeerDependencies: @@ -1102,24 +1062,24 @@ packages: - supports-color dev: false - /@supabase/storage-js/2.3.1: + /@supabase/storage-js/2.4.0: resolution: - { integrity: sha512-BaPIvyvjuZW1V0CnfGKUZyzpBUXnsh0XD8eqTOYd+MdiGPmIPI0vtwnT4fAoK8mipp1vpcN62EVQaqeUnWXPtQ== } + { integrity: sha512-uCT6WjeZsyxH/Br1MnXieJnXrYxS3DpIkdNxEFTKCoaPX/KZ2t62v++R2IMNB/XGI1LMuJfN5wM28uuK6DMpfw== } dependencies: cross-fetch: 3.1.5 transitivePeerDependencies: - encoding dev: false - /@supabase/supabase-js/2.14.0: + /@supabase/supabase-js/2.15.0: resolution: - { integrity: sha512-pdcYDaxTUqv5A8NqDnLn731rTP0Wm469H+0ag6Jb8YpWR95rmusfpGY7vrykWXvdnvCMxoG6eEwSF9vQtxVrow== } + { integrity: sha512-gtgq8Tyb4AJoTGeUH3EISOiobdSYwUPcjV+mqL8zGMND+mfqh6l90fnxVPxepnIFXeppJh67YIFTu2bZhr6AMA== } dependencies: '@supabase/functions-js': 2.1.0 - '@supabase/gotrue-js': 2.20.0 + '@supabase/gotrue-js': 2.20.1 '@supabase/postgrest-js': 1.5.0 '@supabase/realtime-js': 2.7.1 - '@supabase/storage-js': 2.3.1 + '@supabase/storage-js': 2.4.0 cross-fetch: 3.1.5 transitivePeerDependencies: - encoding @@ -1728,7 +1688,7 @@ packages: hasBin: true dependencies: caniuse-lite: 1.0.30001474 - electron-to-chromium: 1.4.352 + electron-to-chromium: 1.4.355 node-releases: 2.0.10 update-browserslist-db: 1.0.10_browserslist@4.21.5 dev: true @@ -1742,6 +1702,14 @@ packages: node-gyp-build: 4.6.0 dev: false + /busboy/1.6.0: + resolution: + { integrity: sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA== } + engines: { node: '>=10.16.0' } + dependencies: + streamsearch: 1.1.0 + dev: false + /call-bind/1.0.2: resolution: { integrity: sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== } @@ -2073,9 +2041,9 @@ packages: { integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== } dev: true - /electron-to-chromium/1.4.352: + /electron-to-chromium/1.4.355: resolution: - { integrity: sha512-ikFUEyu5/q+wJpMOxWxTaEVk2M1qKqTGKKyfJmod1CPZxKfYnxVS41/GCBQg21ItBpZybyN8sNpRqCUGm+Zc4Q== } + { integrity: sha512-056hxzEE4l667YeOccgjhRr5fTiwZ6EIJ4FpzGps4k3YcS8iAhiaBYUBrv5E2LDQJsussscv9EEUwAYKnv+ZKg== } dev: true /emoji-mart/5.5.2: @@ -2231,9 +2199,9 @@ packages: engines: { node: '>=10' } dev: true - /eslint-config-next/13.2.4_ip5up2nocltd47wbnuyybe5dxu: + /eslint-config-next/13.3.0_ip5up2nocltd47wbnuyybe5dxu: resolution: - { integrity: sha512-lunIBhsoeqw6/Lfkd6zPt25w1bn0znLA/JCL+au1HoEpSb4/PpsOYsYtgV/q+YPsoKIOzFyU5xnb04iZnXjUvg== } + { integrity: sha512-6YEwmFBX0VjBd3ODGW9df0Is0FLaRFdMN8eAahQG9CN6LjQ28J8AFr19ngxqMSg7Qv6Uca/3VeeBosJh1bzu0w== } peerDependencies: eslint: ^7.23.0 || ^8.0.0 typescript: '>=3.3.1' @@ -2241,13 +2209,13 @@ packages: typescript: optional: true dependencies: - '@next/eslint-plugin-next': 13.2.4 + '@next/eslint-plugin-next': 13.3.0 '@rushstack/eslint-patch': 1.2.0 '@typescript-eslint/parser': 5.57.1_ip5up2nocltd47wbnuyybe5dxu eslint: 8.37.0 eslint-import-resolver-node: 0.3.7 - eslint-import-resolver-typescript: 3.5.4_rbts4wm34tb3x7owcp777e4f4y - eslint-plugin-import: 2.27.5_7soxczgm5ptvp6hrqgvvlsfewi + eslint-import-resolver-typescript: 3.5.5_u7atknl6eku5bjfaby3se6aesi + eslint-plugin-import: 2.27.5_lzketmck77f3sl4imublpv5fl4 eslint-plugin-jsx-a11y: 6.7.1_eslint@8.37.0 eslint-plugin-react: 7.32.2_eslint@8.37.0 eslint-plugin-react-hooks: 4.6.0_eslint@8.37.0 @@ -2273,14 +2241,14 @@ packages: dependencies: debug: 3.2.7 is-core-module: 2.11.0 - resolve: 1.22.1 + resolve: 1.22.2 transitivePeerDependencies: - supports-color dev: true - /eslint-import-resolver-typescript/3.5.4_rbts4wm34tb3x7owcp777e4f4y: + /eslint-import-resolver-typescript/3.5.5_u7atknl6eku5bjfaby3se6aesi: resolution: - { integrity: sha512-9xUpnedEmSfG57sN1UvWPiEhfJ8bPt0Wg2XysA7Mlc79iFGhmJtRUg9LxtkK81FhMUui0YuR2E8iUsVhePkh4A== } + { integrity: sha512-TdJqPHs2lW5J9Zpe17DZNQuDnox4xo2o+0tE7Pggain9Rbc19ik8kFtXdxZ250FVx2kF4vlt2RSf4qlUpG7bhw== } engines: { node: ^14.18.0 || >=16.0.0 } peerDependencies: eslint: '*' @@ -2289,17 +2257,21 @@ packages: debug: 4.3.4 enhanced-resolve: 5.12.0 eslint: 8.37.0 - eslint-plugin-import: 2.27.5_7soxczgm5ptvp6hrqgvvlsfewi + eslint-module-utils: 2.7.4_5iihppue53jnqu3izaqooslrtm + eslint-plugin-import: 2.27.5_lzketmck77f3sl4imublpv5fl4 get-tsconfig: 4.5.0 globby: 13.1.3 is-core-module: 2.11.0 is-glob: 4.0.3 synckit: 0.8.5 transitivePeerDependencies: + - '@typescript-eslint/parser' + - eslint-import-resolver-node + - eslint-import-resolver-webpack - supports-color dev: true - /eslint-module-utils/2.7.4_kjku44dhmtuergedsk2nvqsxum: + /eslint-module-utils/2.7.4_5iihppue53jnqu3izaqooslrtm: resolution: { integrity: sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA== } engines: { node: '>=4' } @@ -2325,12 +2297,12 @@ packages: debug: 3.2.7 eslint: 8.37.0 eslint-import-resolver-node: 0.3.7 - eslint-import-resolver-typescript: 3.5.4_rbts4wm34tb3x7owcp777e4f4y + eslint-import-resolver-typescript: 3.5.5_u7atknl6eku5bjfaby3se6aesi transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-import/2.27.5_7soxczgm5ptvp6hrqgvvlsfewi: + /eslint-plugin-import/2.27.5_lzketmck77f3sl4imublpv5fl4: resolution: { integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow== } engines: { node: '>=4' } @@ -2349,13 +2321,13 @@ packages: doctrine: 2.1.0 eslint: 8.37.0 eslint-import-resolver-node: 0.3.7 - eslint-module-utils: 2.7.4_kjku44dhmtuergedsk2nvqsxum + eslint-module-utils: 2.7.4_5iihppue53jnqu3izaqooslrtm has: 1.0.3 is-core-module: 2.11.0 is-glob: 4.0.3 minimatch: 3.1.2 object.values: 1.1.6 - resolve: 1.22.1 + resolve: 1.22.2 semver: 6.3.0 tsconfig-paths: 3.14.2 transitivePeerDependencies: @@ -3520,13 +3492,13 @@ packages: { integrity: sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ== } dev: false - /next/13.2.4_biqbaboplfbrettd7655fr4n2y: + /next/13.3.0_biqbaboplfbrettd7655fr4n2y: resolution: - { integrity: sha512-g1I30317cThkEpvzfXujf0O4wtaQHtDCLhlivwlTJ885Ld+eOgcz7r3TGQzeU+cSRoNHtD8tsJgzxVdYojFssw== } + { integrity: sha512-OVTw8MpIPa12+DCUkPqRGPS3thlJPcwae2ZL4xti3iBff27goH024xy4q2lhlsdoYiKOi8Kz6uJoLW/GXwgfOA== } engines: { node: '>=14.6.0' } hasBin: true peerDependencies: - '@opentelemetry/api': ^1.4.0 + '@opentelemetry/api': ^1.1.0 fibers: '>= 3.1.0' node-sass: ^6.0.0 || ^7.0.0 react: ^18.2.0 @@ -3542,27 +3514,24 @@ packages: sass: optional: true dependencies: - '@next/env': 13.2.4 + '@next/env': 13.3.0 '@swc/helpers': 0.4.14 + busboy: 1.6.0 caniuse-lite: 1.0.30001474 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.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 + '@next/swc-darwin-arm64': 13.3.0 + '@next/swc-darwin-x64': 13.3.0 + '@next/swc-linux-arm64-gnu': 13.3.0 + '@next/swc-linux-arm64-musl': 13.3.0 + '@next/swc-linux-x64-gnu': 13.3.0 + '@next/swc-linux-x64-musl': 13.3.0 + '@next/swc-win32-arm64-msvc': 13.3.0 + '@next/swc-win32-ia32-msvc': 13.3.0 + '@next/swc-win32-x64-msvc': 13.3.0 transitivePeerDependencies: - '@babel/core' - babel-plugin-macros @@ -3868,7 +3837,7 @@ packages: postcss: 8.4.21 postcss-value-parser: 4.2.0 read-cache: 1.0.0 - resolve: 1.22.1 + resolve: 1.22.2 dev: true /postcss-js/4.0.1_postcss@8.4.21: @@ -3960,9 +3929,9 @@ packages: engines: { node: '>= 0.8.0' } dev: true - /prettier-plugin-tailwindcss/0.2.6_yk5p2qt6yzw3zyyilt4azle7eu: + /prettier-plugin-tailwindcss/0.2.7_yk5p2qt6yzw3zyyilt4azle7eu: resolution: - { integrity: sha512-F+7XCl9RLF/LPrGdUMHWpsT6TM31JraonAUyE6eBmpqymFvDwyl0ETHsKFHP1NG+sEfv8bmKqnTxEbWQbHPlBA== } + { integrity: sha512-jQopIOgjLpX+y8HeD56XZw7onupRTC0cw7eKKUimI7vhjkPF5/1ltW5LyqaPtSyc8HvEpvNZsvvsGFa2qpa59w== } engines: { node: '>=12.17.0' } peerDependencies: '@ianvs/prettier-plugin-sort-imports': '*' @@ -4208,9 +4177,9 @@ packages: engines: { node: '>=4' } dev: true - /resolve/1.22.1: + /resolve/1.22.2: resolution: - { integrity: sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== } + { integrity: sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g== } hasBin: true dependencies: is-core-module: 2.11.0 @@ -4395,6 +4364,12 @@ packages: internal-slot: 1.0.5 dev: true + /streamsearch/1.1.0: + resolution: + { integrity: sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg== } + engines: { node: '>=10.0.0' } + dev: false + /string-argv/0.3.1: resolution: { integrity: sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg== } @@ -4590,7 +4565,7 @@ packages: postcss-selector-parser: 6.0.11 postcss-value-parser: 4.2.0 quick-lru: 5.1.1 - resolve: 1.22.1 + resolve: 1.22.2 sucrase: 3.31.0 transitivePeerDependencies: - ts-node diff --git a/src/components/multiAccounts/activeAccount.tsx b/src/components/multiAccounts/activeAccount.tsx index 46a8926a..623b2642 100644 --- a/src/components/multiAccounts/activeAccount.tsx +++ b/src/components/multiAccounts/activeAccount.tsx @@ -59,7 +59,7 @@ export const ActiveAccount = memo(function ActiveAccount({ user }: { user: any } insertFollowsToStorage(event.tags); } }, - undefined, + 20000, undefined, { unsubscribeOnEose: true, diff --git a/src/components/note/connector.tsx b/src/components/note/connector.tsx index 0c0020b0..36b140f3 100644 --- a/src/components/note/connector.tsx +++ b/src/components/note/connector.tsx @@ -55,7 +55,8 @@ export default function NoteConnector() { setHasNewerNote(true) ) .catch(console.error); - } + }, + 10000 ); }, [pool, relays, setHasNewerNote]); diff --git a/src/pages/chats/[pubkey].tsx b/src/pages/chats/[pubkey].tsx index fe863c63..2de0b458 100644 --- a/src/pages/chats/[pubkey].tsx +++ b/src/pages/chats/[pubkey].tsx @@ -35,13 +35,11 @@ export default function Page() { kinds: [4], authors: [pubkey], '#p': [activeAccount.pubkey], - since: 0, }, { kinds: [4], authors: [activeAccount.pubkey], '#p': [pubkey], - since: 0, }, ], relays,