use latest client
This commit is contained in:
parent
d0abf9be6a
commit
b7a6a5086d
|
@ -30,9 +30,9 @@ import { LAST_ACCOUNT_KEY } from '../components/AccountsModal'
|
||||||
|
|
||||||
export const ENDPOINTS: EndpointInfo[] = [
|
export const ENDPOINTS: EndpointInfo[] = [
|
||||||
{
|
{
|
||||||
name: 'mainnet-beta',
|
name: 'mainnet',
|
||||||
url: 'https://mango.rpcpool.com/',
|
url: process.env.NEXT_PUBLIC_ENDPOINT,
|
||||||
websocket: 'https://mango.rpcpool.com/',
|
websocket: process.env.NEXT_PUBLIC_ENDPOINT,
|
||||||
custom: false,
|
custom: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -45,7 +45,7 @@ export const ENDPOINTS: EndpointInfo[] = [
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
type ClusterType = 'mainnet-beta' | 'devnet'
|
type ClusterType = 'mainnet' | 'devnet'
|
||||||
|
|
||||||
const CLUSTER = (process.env.NEXT_PUBLIC_CLUSTER as ClusterType) || 'devnet'
|
const CLUSTER = (process.env.NEXT_PUBLIC_CLUSTER as ClusterType) || 'devnet'
|
||||||
const ENDPOINT = ENDPOINTS.find((e) => e.name === CLUSTER)
|
const ENDPOINT = ENDPOINTS.find((e) => e.name === CLUSTER)
|
||||||
|
|
|
@ -995,7 +995,7 @@
|
||||||
|
|
||||||
"@blockworks-foundation/mango-client@git+https://github.com/blockworks-foundation/mango-client-v3.git":
|
"@blockworks-foundation/mango-client@git+https://github.com/blockworks-foundation/mango-client-v3.git":
|
||||||
version "3.0.4"
|
version "3.0.4"
|
||||||
resolved "git+https://github.com/blockworks-foundation/mango-client-v3.git#780e8d5b209fd484fc965cd9a2725de39e12c948"
|
resolved "git+https://github.com/blockworks-foundation/mango-client-v3.git#e9289af247337bed35fbd3a0b3c91c065e14f155"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@project-serum/serum" "0.13.55"
|
"@project-serum/serum" "0.13.55"
|
||||||
"@project-serum/sol-wallet-adapter" "^0.2.0"
|
"@project-serum/sol-wallet-adapter" "^0.2.0"
|
||||||
|
|
Loading…
Reference in New Issue