Skip to content

Commit 2b2a791

Browse files
Merge branch 'main' into pyth-token
2 parents f9a5034 + c1c20a9 commit 2b2a791

File tree

9 files changed

+36
-37
lines changed

9 files changed

+36
-37
lines changed

apps/developer-hub/content/docs/entropy/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {
1111
DiceSix,
1212
MagnifyingGlass,
1313
} from "@phosphor-icons/react/dist/ssr";
14+
import { IntegrationCard } from "../../../src/components/IntegrationCard";
1415

1516
**Pyth Entropy** is an on-chain random number generator (RNG) designed for developers who need fair, unbiased, and cryptographically secure randomness.
1617
Whether you're building a blockchain game, NFT mint, lottery, or simulation, Entropy delivers randomness that is:

apps/developer-hub/content/docs/lazer/how-to-guides/index.mdx

Lines changed: 0 additions & 8 deletions
This file was deleted.

apps/developer-hub/content/docs/lazer/index.mdx

Lines changed: 0 additions & 10 deletions
This file was deleted.

apps/developer-hub/content/docs/lazer/meta.json

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"pages": ["pyth-core", "pyth-token", "lazer", "express-relay", "entropy"]
2+
"pages": ["pyth-core", "pyth-token", "express-relay", "entropy"]
33
}

apps/developer-hub/source.config.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,26 @@ export const docs = defineDocs({
2727

2828
export default defineConfig({
2929
mdxOptions: {
30+
rehypeCodeOptions: {
31+
langs: [
32+
"solidity",
33+
"ts",
34+
"bash",
35+
"js",
36+
"json",
37+
"md",
38+
"mdx",
39+
"python",
40+
"rust",
41+
"sh",
42+
"yaml",
43+
],
44+
inline: "tailing-curly-colon",
45+
themes: {
46+
light: "github-light",
47+
dark: "github-dark",
48+
},
49+
},
3050
remarkPlugins: [remarkMath],
3151
rehypePlugins: [rehypeKatex, rehypeCode],
3252
},

apps/developer-hub/src/components/Root/index.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ import "./global.css";
1414

1515
export const TABS = [
1616
{ segment: "", children: "Home" },
17-
{ segment: "pyth-core", children: "Pyth Core" },
18-
{ segment: "lazer", children: "Lazer" },
17+
{ segment: "price-feeds", children: "Price Feeds" },
1918
{ segment: "express-relay", children: "Express Relay" },
2019
{ segment: "entropy", children: "Entropy" },
2120
];
@@ -40,8 +39,8 @@ export const Root = ({ children }: Props) => (
4039
enableAccessibilityReporting={ENABLE_ACCESSIBILITY_REPORTING}
4140
extraCta={<SearchButton />}
4241
mainCta={{
43-
label: "Insights",
44-
href: "https://insights.pyth.network/",
42+
label: "Developer Forum",
43+
href: "https://dev-forum.pyth.network/",
4544
}}
4645
providers={[NuqsAdapter]}
4746
tabs={TABS}

apps/price_pusher/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pythnetwork/price-pusher",
3-
"version": "10.1.0",
3+
"version": "10.2.0",
44
"description": "Pyth Price Pusher",
55
"homepage": "https://pyth.network",
66
"main": "lib/index.js",

apps/price_pusher/src/solana/command.ts

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -274,10 +274,14 @@ export default {
274274
};
275275

276276
export const onBundleResult = (c: SearcherClient, logger: Logger) => {
277-
c.onBundleResult(
278-
() => undefined,
279-
(err) => {
280-
logger.error(err, "Error in bundle result");
281-
},
282-
);
277+
try {
278+
c.onBundleResult(
279+
() => undefined,
280+
(err) => {
281+
logger.error(err, "Error in bundle result");
282+
},
283+
);
284+
} catch (error) {
285+
logger.error(error, "Exception in bundle result");
286+
}
283287
};

0 commit comments

Comments
 (0)