Skip to content

Commit

Permalink
fix linting issue (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
anihamde authored Jan 7, 2025
1 parent 98e7a51 commit 698624a
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 59 deletions.
2 changes: 1 addition & 1 deletion sdk/js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pythnetwork/express-relay-js",
"version": "0.17.0",
"version": "0.17.1",
"description": "Utilities for interacting with the express relay protocol",
"homepage": "https://github.com/pyth-network/per/tree/main/sdk/js",
"author": "Douro Labs",
Expand Down
6 changes: 3 additions & 3 deletions sdk/js/src/examples/simpleSearcherLimo.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import yargs from "yargs";
import { hideBin } from "yargs/helpers";
import fs from "fs";
import {
Client,
ExpressRelaySvmConfig,
Expand Down Expand Up @@ -308,9 +309,8 @@ export function getKeypair(
} else {
if (privateKeyJsonFile) {
return Keypair.fromSecretKey(
Buffer.from(
// eslint-disable-next-line @typescript-eslint/no-require-imports
JSON.parse(require("fs").readFileSync(privateKeyJsonFile))
Uint8Array.from(
JSON.parse(fs.readFileSync(privateKeyJsonFile, "utf-8"))
)
);
} else {
Expand Down
113 changes: 59 additions & 54 deletions tilt-scripts/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tilt-scripts/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ web3 = "6.14.0"
websockets = "11.0.3"
yarl = "1.9.4"
solders = "^0.21.0"
solana = "^0.34.3"
solana = "0.34.3"


[tool.poetry.group.dev.dependencies]
Expand Down

0 comments on commit 698624a

Please sign in to comment.