chore: update dependencies

This commit is contained in:
DIYgod
2023-04-06 23:24:06 +01:00
parent 7121450577
commit 6a0ba9c87f
4 changed files with 144 additions and 241 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
import { ExpandedNote } from "~/lib/types"
import { indexer } from "@crossbell/indexer"
import { toCid } from "~/lib/ipfs-parser"
import { createClient } from "@urql/core"
import { createClient, cacheExchange, fetchExchange } from "@urql/core"
import { SITE_URL, SCORE_API_DOMAIN } from "~/lib/env"
const expandPage = async (
@@ -136,7 +136,7 @@ export async function getFeed({
}
const client = createClient({
url: "https://indexer.crossbell.io/v1/graphql",
exchanges: [],
exchanges: [cacheExchange, fetchExchange],
})
const orString = noteIds
+2 -3
View File
@@ -4,8 +4,7 @@ import unidata from "~/queries/unidata.server"
import { toGateway } from "~/lib/ipfs-parser"
import type Unidata from "unidata.js"
import type { Profiles as UniProfiles } from "unidata.js"
import { createClient } from "@urql/core"
import axios from "axios"
import { createClient, cacheExchange, fetchExchange } from "@urql/core"
import { Indexer } from "crossbell.js"
import { CharacterOperatorPermission } from "crossbell.js"
import type { useContract } from "@crossbell/contract"
@@ -134,7 +133,7 @@ export const getSite = async (input: string, customUnidata?: Unidata) => {
export const getSites = async (input: number[]) => {
const client = createClient({
url: "https://indexer.crossbell.io/v1/graphql",
exchanges: [],
exchanges: [cacheExchange, fetchExchange],
})
const result = await client
.query(