Skip to content

Commit 74bc5d2

Browse files
authored
Merge pull request #70 from pyth-network/rename-set-exponent
Rename initPrice to setExponent for clarity
2 parents f8976cd + aa7456e commit 74bc5d2

File tree

5 files changed

+13
-5
lines changed

5 files changed

+13
-5
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 2.17.0
4+
5+
- Rename initPrice to `setExponent` for clarity
6+
7+
## 2.16.0
8+
9+
- Remove `pythtest` and add `pythtest-crosschain` and `pythtest-conformance`. There are now two oracle instances.
10+
311
## 2.15.1
412

513
- Fix import of `@coral-xyz/borsh`

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

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

src/anchor/idl.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@
354354
]
355355
},
356356
{
357-
"name": "initPrice",
357+
"name": "setExponent",
358358
"discriminant": { "value": [2, 0, 0, 0, 9, 0, 0, 0] },
359359
"accounts": [
360360
{

src/anchor/program.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ export type PythOracle = {
374374
]
375375
},
376376
{
377-
name: 'initPrice'
377+
name: 'setExponent'
378378
discriminant: { value: [2, 0, 0, 0, 9, 0, 0, 0] }
379379
accounts: [
380380
{

0 commit comments

Comments
 (0)