Skip to content

Commit

Permalink
Merge pull request #65 from pyth-network/guibescos/import-pythconnect…
Browse files Browse the repository at this point in the history
…ion-from-package

Make import consistent
  • Loading branch information
guibescos authored Feb 6, 2023
2 parents f827e04 + c18f726 commit a84f41f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/example_ws_usage.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Connection } from '@solana/web3.js'
import { PythConnection } from './PythConnection'
import { getPythClusterApiUrl, getPythProgramKeyForCluster, PythCluster, PriceStatus } from '.'
import { getPythClusterApiUrl, getPythProgramKeyForCluster, PythCluster, PriceStatus, PythConnection } from '.'

const PYTHNET_CLUSTER_NAME: PythCluster = 'pythnet'
const connection = new Connection(getPythClusterApiUrl(PYTHNET_CLUSTER_NAME))
Expand Down

0 comments on commit a84f41f

Please sign in to comment.