chore: update dependencies

This commit is contained in:
DIYgod 2022-09-27 16:30:24 +01:00
parent 56093d642e
commit 2b39f0c2a4
No known key found for this signature in database
GPG Key ID: D159328F47A80DCA
4 changed files with 261 additions and 248 deletions

View File

@ -21,21 +21,21 @@
"@codemirror/lang-markdown": "^6.0.1",
"@codemirror/language": "^6.2.1",
"@codemirror/state": "^6.1.2",
"@codemirror/view": "^6.2.4",
"@crossbell/ipfs-gateway": "0.0.14",
"@crossbell/ipfs-react": "0.0.14",
"@codemirror/view": "^6.2.5",
"@crossbell/ipfs-gateway": "0.0.15",
"@crossbell/ipfs-react": "0.0.15",
"@emoji-mart/data": "^1.0.6",
"@emoji-mart/react": "^1.0.1",
"@floating-ui/react-dom-interactions": "^0.10.1",
"@headlessui/react": "^1.7.2",
"@heroicons/react": "^2.0.11",
"@iconify-json/tabler": "^1.1.35",
"@monaco-editor/react": "^4.4.5",
"@iconify-json/tabler": "^1.1.36",
"@monaco-editor/react": "^4.4.6",
"@proselog/jwt": "^0.1.1",
"@rainbow-me/rainbowkit": "^0.6.1",
"@tanstack/react-query": "^4.3.9",
"@tanstack/react-query-devtools": "^4.3.9",
"@tanstack/react-query-persist-client": "^4.3.9",
"@tanstack/react-query": "^4.6.1",
"@tanstack/react-query-devtools": "^4.6.1",
"@tanstack/react-query-persist-client": "^4.6.1",
"@trpc/client": "^9.27.2",
"@trpc/next": "^9.27.2",
"@trpc/react": "^9.27.2",
@ -46,7 +46,7 @@
"busboy": "^1.6.0",
"clsx": "^1.2.1",
"cookie": "^0.5.0",
"crossbell.js": "^0.10.30",
"crossbell.js": "^0.10.34",
"dayjs": "^1.11.5",
"dotenv": "^16.0.2",
"emoji-mart": "^5.2.2",
@ -66,7 +66,7 @@
"react": "^18.1.0",
"react-avatar-editor": "^13.0.0",
"react-dom": "^18.1.0",
"react-hook-form": "^7.36.0",
"react-hook-form": "^7.36.1",
"react-hot-toast": "^2.4.0",
"react-infinite-scroller": "^1.2.6",
"react-scroll": "^1.8.7",
@ -97,7 +97,7 @@
"zustand": "4.1.1"
},
"devDependencies": {
"@crossbell/ipfs-gateway-next": "0.0.14",
"@crossbell/ipfs-gateway-next": "0.0.15",
"@iconify-json/bi": "^1.1.8",
"@iconify-json/bxs": "^1.1.4",
"@iconify-json/carbon": "^1.1.8",
@ -110,7 +110,7 @@
"@types/cookie": "^0.5.1",
"@types/js-yaml": "^4.0.5",
"@types/mjml": "^4.7.0",
"@types/node": "^18.7.18",
"@types/node": "^18.7.23",
"@types/pica": "^9.0.0",
"@types/prismjs": "^1.26.0",
"@types/react": "^18.0.21",
@ -121,13 +121,13 @@
"@types/sortablejs": "^1.15.0",
"@types/ua-parser-js": "^0.7.36",
"@types/uuid": "^8.3.4",
"@unocss/cli": "^0.45.22",
"@unocss/preset-icons": "^0.45.22",
"@unocss/cli": "^0.45.25",
"@unocss/preset-icons": "^0.45.25",
"autoprefixer": "^10.4.12",
"cross-spawn": "^7.0.3",
"esbuild": "^0.15.9",
"esbuild-register": "^3.3.2",
"eslint": "^8.23.1",
"eslint": "^8.24.0",
"eslint-config-next": "^12.3.1",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
@ -135,7 +135,7 @@
"prettier": "^2.7.1",
"tailwindcss": "^3.1.8",
"typescript": "^4.8.3",
"unocss": "^0.45.22",
"unocss": "^0.45.25",
"vitest": "^0.23.4"
},
"engines": {

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,6 @@
import React from "react"
import { default as NextImage, ImageProps } from "next/image"
import { toGateway, toIPFS } from "~/lib/ipfs-parser"
import { isIpfsUrl } from "@crossbell/ipfs-gateway"
import clsx from "clsx"
export const Image: React.FC<
@ -15,7 +14,7 @@ export const Image: React.FC<
> = ({ layout, className, alt, src, width, height, ...props }) => {
src = toIPFS(src)
const [paddingTop, setPaddingTop] = React.useState("0")
const autoSize = !width && !width && !layout
const autoSize = !width && !height && !layout
return (
<span

View File

@ -41,6 +41,9 @@ const { chains, provider } = configureChains(
} as any,
],
[jsonRpcProvider({ rpc: (chain) => ({ http: chain.rpcUrls.default }) })],
{
pollingInterval: 1000,
},
)
const connectors = connectorsForWallets([