From 1e559e2e249734727d7b63fdf2db3f1250ca35b4 Mon Sep 17 00:00:00 2001 From: Tejas Badadare Date: Mon, 7 Apr 2025 13:56:38 -0700 Subject: [PATCH 1/3] doc: fix treasury id --- .../sdk/js/pyth_solana_receiver/examples/post_price_update.ts | 2 +- .../sdk/js/pyth_solana_receiver/examples/update_price_feed.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target_chains/solana/sdk/js/pyth_solana_receiver/examples/post_price_update.ts b/target_chains/solana/sdk/js/pyth_solana_receiver/examples/post_price_update.ts index 474f8389dc..189eb73a67 100644 --- a/target_chains/solana/sdk/js/pyth_solana_receiver/examples/post_price_update.ts +++ b/target_chains/solana/sdk/js/pyth_solana_receiver/examples/post_price_update.ts @@ -32,7 +32,7 @@ async function main() { ); // Use a stable treasury ID of 0, since its address is indexed in the address lookup table. // This is a tx size optimization and is optional. If not provided, a random treasury account will be used. - const treasuryId = 1; + const treasuryId = 0; const pythSolanaReceiver = new PythSolanaReceiver({ connection, wallet, diff --git a/target_chains/solana/sdk/js/pyth_solana_receiver/examples/update_price_feed.ts b/target_chains/solana/sdk/js/pyth_solana_receiver/examples/update_price_feed.ts index 5012f41960..370f15f5a0 100644 --- a/target_chains/solana/sdk/js/pyth_solana_receiver/examples/update_price_feed.ts +++ b/target_chains/solana/sdk/js/pyth_solana_receiver/examples/update_price_feed.ts @@ -34,7 +34,7 @@ async function main() { ); // Use a stable treasury ID of 0, since its address is indexed in the address lookup table. // This is a tx size optimization and is optional. If not provided, a random treasury account will be used. - const treasuryId = 1; + const treasuryId = 0; const pythSolanaReceiver = new PythSolanaReceiver({ connection, wallet, From 17815d6a27654363e831e7db71a723cbb799c1e8 Mon Sep 17 00:00:00 2001 From: Tejas Badadare Date: Mon, 7 Apr 2025 13:58:52 -0700 Subject: [PATCH 2/3] doc: bump ver --- target_chains/solana/sdk/js/pyth_solana_receiver/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target_chains/solana/sdk/js/pyth_solana_receiver/package.json b/target_chains/solana/sdk/js/pyth_solana_receiver/package.json index de3883b589..c9ffea8b7b 100644 --- a/target_chains/solana/sdk/js/pyth_solana_receiver/package.json +++ b/target_chains/solana/sdk/js/pyth_solana_receiver/package.json @@ -1,6 +1,6 @@ { "name": "@pythnetwork/pyth-solana-receiver", - "version": "0.10.0", + "version": "0.10.1", "description": "Pyth solana receiver SDK", "homepage": "https://pyth.network", "main": "lib/index.js", @@ -51,4 +51,4 @@ "@pythnetwork/solana-utils": "workspace:*", "@solana/web3.js": "^1.90.0" } -} +} \ No newline at end of file From c312fc3c32178f18ad2eda3ca8a91975f6dd3df5 Mon Sep 17 00:00:00 2001 From: Tejas Badadare Date: Mon, 7 Apr 2025 14:32:26 -0700 Subject: [PATCH 3/3] ci: add newline --- target_chains/solana/sdk/js/pyth_solana_receiver/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target_chains/solana/sdk/js/pyth_solana_receiver/package.json b/target_chains/solana/sdk/js/pyth_solana_receiver/package.json index c9ffea8b7b..729458449d 100644 --- a/target_chains/solana/sdk/js/pyth_solana_receiver/package.json +++ b/target_chains/solana/sdk/js/pyth_solana_receiver/package.json @@ -51,4 +51,4 @@ "@pythnetwork/solana-utils": "workspace:*", "@solana/web3.js": "^1.90.0" } -} \ No newline at end of file +}