use latest client

This commit is contained in:
Tyler Shipe 2021-08-19 13:49:44 -04:00
parent d0abf9be6a
commit b7a6a5086d
2 changed files with 5 additions and 5 deletions

View File

@ -30,9 +30,9 @@ import { LAST_ACCOUNT_KEY } from '../components/AccountsModal'
export const ENDPOINTS: EndpointInfo[] = [
{
name: 'mainnet-beta',
url: 'https://mango.rpcpool.com/',
websocket: 'https://mango.rpcpool.com/',
name: 'mainnet',
url: process.env.NEXT_PUBLIC_ENDPOINT,
websocket: process.env.NEXT_PUBLIC_ENDPOINT,
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 ENDPOINT = ENDPOINTS.find((e) => e.name === CLUSTER)

View File

@ -995,7 +995,7 @@
"@blockworks-foundation/mango-client@git+https://github.com/blockworks-foundation/mango-client-v3.git":
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:
"@project-serum/serum" "0.13.55"
"@project-serum/sol-wallet-adapter" "^0.2.0"