mirror of
https://github.com/oceanprotocol/ens-proxy.git
synced 2024-12-02 05:57:34 +01:00
Removing refocusExchange
This commit is contained in:
parent
df8ce6ad4a
commit
3c9c49a725
22
package-lock.json
generated
22
package-lock.json
generated
@ -11,7 +11,6 @@
|
||||
"dependencies": {
|
||||
"@ensdomains/ensjs": "^2.1.0",
|
||||
"@oceanprotocol/lib": "^1.1.8",
|
||||
"@urql/exchange-refocus": "^0.2.5",
|
||||
"next": "^12.2.5",
|
||||
"urql": "^2.2.3",
|
||||
"web3": "^1.7.5"
|
||||
@ -1559,18 +1558,6 @@
|
||||
"graphql": "^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@urql/exchange-refocus": {
|
||||
"version": "0.2.5",
|
||||
"resolved": "https://registry.npmjs.org/@urql/exchange-refocus/-/exchange-refocus-0.2.5.tgz",
|
||||
"integrity": "sha512-JlrEXlG37mK/WgyxqVrHkLZtBMVC7x3GtgGJHiiXK41AQdU2hVy3IAQ208ENMIrkFw9SHQf8d8h7Wb2EY/1zdw==",
|
||||
"dependencies": {
|
||||
"@urql/core": ">=2.3.6",
|
||||
"wonka": "^4.0.14"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"graphql": "^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/abortcontroller-polyfill": {
|
||||
"version": "1.7.3",
|
||||
"resolved": "https://registry.npmjs.org/abortcontroller-polyfill/-/abortcontroller-polyfill-1.7.3.tgz",
|
||||
@ -9766,15 +9753,6 @@
|
||||
"wonka": "^4.0.14"
|
||||
}
|
||||
},
|
||||
"@urql/exchange-refocus": {
|
||||
"version": "0.2.5",
|
||||
"resolved": "https://registry.npmjs.org/@urql/exchange-refocus/-/exchange-refocus-0.2.5.tgz",
|
||||
"integrity": "sha512-JlrEXlG37mK/WgyxqVrHkLZtBMVC7x3GtgGJHiiXK41AQdU2hVy3IAQ208ENMIrkFw9SHQf8d8h7Wb2EY/1zdw==",
|
||||
"requires": {
|
||||
"@urql/core": ">=2.3.6",
|
||||
"wonka": "^4.0.14"
|
||||
}
|
||||
},
|
||||
"abortcontroller-polyfill": {
|
||||
"version": "1.7.3",
|
||||
"resolved": "https://registry.npmjs.org/abortcontroller-polyfill/-/abortcontroller-polyfill-1.7.3.tgz",
|
||||
|
@ -17,7 +17,6 @@
|
||||
"dependencies": {
|
||||
"@ensdomains/ensjs": "^2.1.0",
|
||||
"@oceanprotocol/lib": "^1.1.8",
|
||||
"@urql/exchange-refocus": "^0.2.5",
|
||||
"next": "^12.2.5",
|
||||
"urql": "^2.2.3",
|
||||
"web3": "^1.7.5"
|
||||
|
@ -8,7 +8,6 @@ import {
|
||||
OperationContext,
|
||||
fetchExchange
|
||||
} from 'urql'
|
||||
import { refocusExchange } from '@urql/exchange-refocus'
|
||||
|
||||
let ens: any
|
||||
|
||||
@ -37,7 +36,7 @@ async function createUrqlClient() {
|
||||
const config = getOceanConfig(1)
|
||||
const client = createClient({
|
||||
url: `${config.subgraphUri}/subgraphs/name/oceanprotocol/ocean-subgraph`,
|
||||
exchanges: [dedupExchange, refocusExchange(), fetchExchange]
|
||||
exchanges: [dedupExchange, fetchExchange]
|
||||
})
|
||||
return client
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user