From 02d3beed2d2dc40159c705e97a91cef4bc4304a8 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Tue, 14 Oct 2025 19:20:16 +0000 Subject: [PATCH 1/2] Fix pre-commit formatting issues in pyth-token.mdx, starknet.mdx, and ton.mdx - Fix trailing whitespace in starknet.mdx and ton.mdx - Apply prettier formatting to all three files - Update import quotes to use double quotes in pyth-token.mdx - Reformat code block formatting in starknet.mdx and ton.mdx tabs Co-Authored-By: Jayant --- pages/home/pyth-token.mdx | 2 +- .../use-real-time-data/pull-integration/starknet.mdx | 10 ++-------- .../use-real-time-data/pull-integration/ton.mdx | 12 ++++-------- 3 files changed, 7 insertions(+), 17 deletions(-) diff --git a/pages/home/pyth-token.mdx b/pages/home/pyth-token.mdx index a1f1109d..875f9ce8 100644 --- a/pages/home/pyth-token.mdx +++ b/pages/home/pyth-token.mdx @@ -1,4 +1,4 @@ -import { Steps } from 'nextra/components'; +import { Steps } from "nextra/components"; # PYTH Token diff --git a/pages/price-feeds/use-real-time-data/pull-integration/starknet.mdx b/pages/price-feeds/use-real-time-data/pull-integration/starknet.mdx index 587cdf14..8d2fe277 100644 --- a/pages/price-feeds/use-real-time-data/pull-integration/starknet.mdx +++ b/pages/price-feeds/use-real-time-data/pull-integration/starknet.mdx @@ -21,15 +21,9 @@ Pyth also provides a javascript SDK to interact with the Pyth contract on Starkn - ```sh copy - npm install --save @pythnetwork/pyth-starknet-js - ``` - - - ```sh copy - yarn add @pythnetwork/pyth-starknet-js - ``` + ```sh copy npm install --save @pythnetwork/pyth-starknet-js ``` + ```sh copy yarn add @pythnetwork/pyth-starknet-js ``` ## Write Contract Code diff --git a/pages/price-feeds/use-real-time-data/pull-integration/ton.mdx b/pages/price-feeds/use-real-time-data/pull-integration/ton.mdx index f80319ef..9c45b6f5 100644 --- a/pages/price-feeds/use-real-time-data/pull-integration/ton.mdx +++ b/pages/price-feeds/use-real-time-data/pull-integration/ton.mdx @@ -14,16 +14,12 @@ Install the Pyth TON SDK and other necessary dependencies using npm: - ```sh copy - npm install @pythnetwork/pyth-ton-js @pythnetwork/hermes-client - @ton/core @ton/ton @ton/crypto - ``` + ```sh copy npm install @pythnetwork/pyth-ton-js @pythnetwork/hermes-client + @ton/core @ton/ton @ton/crypto ``` - ```sh copy - yarn add @pythnetwork/pyth-ton-js @pythnetwork/hermes-client - @ton/core @ton/ton @ton/crypto - ``` + ```sh copy yarn add @pythnetwork/pyth-ton-js @pythnetwork/hermes-client + @ton/core @ton/ton @ton/crypto ``` From a5d837aced4dc4753f3e4c38d282cb0f94c19921 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Tue, 14 Oct 2025 19:26:18 +0000 Subject: [PATCH 2/2] Fix MDX syntax errors in code block formatting The previous prettier formatting put code blocks on a single line with the opening tag, which broke MDX parsing. This commit fixes the issue by ensuring code blocks are on separate lines within Tabs.Tab components, following the pattern used elsewhere in the codebase. Co-Authored-By: Jayant --- .../pull-integration/starknet.mdx | 14 ++++++++++++-- .../use-real-time-data/pull-integration/ton.mdx | 14 ++++++++++---- 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/pages/price-feeds/use-real-time-data/pull-integration/starknet.mdx b/pages/price-feeds/use-real-time-data/pull-integration/starknet.mdx index 8d2fe277..30d7eb27 100644 --- a/pages/price-feeds/use-real-time-data/pull-integration/starknet.mdx +++ b/pages/price-feeds/use-real-time-data/pull-integration/starknet.mdx @@ -21,9 +21,19 @@ Pyth also provides a javascript SDK to interact with the Pyth contract on Starkn - ```sh copy npm install --save @pythnetwork/pyth-starknet-js ``` + +```sh copy +npm install --save @pythnetwork/pyth-starknet-js +``` + + + + +```sh copy +yarn add @pythnetwork/pyth-starknet-js +``` + - ```sh copy yarn add @pythnetwork/pyth-starknet-js ``` ## Write Contract Code diff --git a/pages/price-feeds/use-real-time-data/pull-integration/ton.mdx b/pages/price-feeds/use-real-time-data/pull-integration/ton.mdx index 9c45b6f5..8211defd 100644 --- a/pages/price-feeds/use-real-time-data/pull-integration/ton.mdx +++ b/pages/price-feeds/use-real-time-data/pull-integration/ton.mdx @@ -14,12 +14,18 @@ Install the Pyth TON SDK and other necessary dependencies using npm: - ```sh copy npm install @pythnetwork/pyth-ton-js @pythnetwork/hermes-client - @ton/core @ton/ton @ton/crypto ``` + +```sh copy +npm install @pythnetwork/pyth-ton-js @pythnetwork/hermes-client @ton/core @ton/ton @ton/crypto +``` + - ```sh copy yarn add @pythnetwork/pyth-ton-js @pythnetwork/hermes-client - @ton/core @ton/ton @ton/crypto ``` + +```sh copy +yarn add @pythnetwork/pyth-ton-js @pythnetwork/hermes-client @ton/core @ton/ton @ton/crypto +``` +