chore: update dependencies
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user