Skip to content

Commit 5ac44ad

Browse files
authored
Merge pull request #8 from pyth-network/export
Add default exports
2 parents 8c6e2fe + 78228c1 commit 5ac44ad

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pythnetwork/client",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "Client for consuming Pyth price data",
55
"homepage": "https://pyth.network",
66
"main": "lib/index.js",

src/index.ts

+3
Original file line numberDiff line numberDiff line change
@@ -305,3 +305,6 @@ export const parsePriceData = (data: Buffer): PriceData => {
305305
priceComponents,
306306
}
307307
}
308+
309+
export { PythConnection } from './PythConnection';
310+
export { getPythProgramKeyForCluster } from './cluster';

0 commit comments

Comments
 (0)