Skip to content

Commit

Permalink
fix: export constants
Browse files Browse the repository at this point in the history
  • Loading branch information
bangjelkoski committed Jun 7, 2022
1 parent 93a9b33 commit 294ae7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sdk-ui-ts/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const PEGGY_DEVNET_GRAPH_URL =
export const PEGGY_DEVNET1_GRAPH_URL =
'https://api.thegraph.com/subgraphs/name/injectivelabsdev/injective-peggo-devnet'

export const PEGGY_GRAPH_URL_FOR_NETWORK = (network: Network): string => {
export const peggyGraphQlEndpointForNetwork = (network: Network): string => {
if (network === Network.Devnet) {
return PEGGY_DEVNET_GRAPH_URL
}
Expand Down
1 change: 1 addition & 0 deletions packages/sdk-ui-ts/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ export * from './utils'
export * from './classes'
export * from './services'
export * from './token'
export * from './constants'
export * from './BaseApi'

0 comments on commit 294ae7c

Please sign in to comment.