Skip to content

Commit

Permalink
update yarn fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
bh2smith committed Sep 16, 2024
1 parent 188f368 commit 5e58972
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"example": "tsx examples/send-tx.ts",
"lint": "eslint . --ignore-pattern dist/",
"test": "jest",
"fmt": "prettier --write '{src,examples,tests}/**/*.{js,jsx,ts,tsx}'",
"fmt": "prettier --write '{src,examples,tests}/**/*.{js,jsx,ts,tsx}' && yarn lint --fix",
"all": "yarn fmt && yarn lint && yarn build"
},
"dependencies": {
Expand Down Expand Up @@ -64,4 +64,4 @@
"typescript": "^5.5.2",
"yargs": "^17.7.2"
}
}
}
4 changes: 2 additions & 2 deletions src/lib/bundler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import {
UnsignedUserOperation,
UserOperation,
UserOperationReceipt,
} from "../types.js";
import { PLACEHOLDER_SIG } from "../util.js";
} from "../types";
import { PLACEHOLDER_SIG } from "../util";

function bundlerUrl(chainId: number, apikey: string): string {
return `https://api.pimlico.io/v2/${chainId}/rpc?apikey=${apikey}`;
Expand Down
2 changes: 1 addition & 1 deletion src/util.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Hex, concatHex, encodePacked, toHex } from "viem";

import { PaymasterData, MetaTransaction } from "./types.js";
import { PaymasterData, MetaTransaction } from "./types";

export const PLACEHOLDER_SIG = encodePacked(["uint48", "uint48"], [0, 0]);

Expand Down

0 comments on commit 5e58972

Please sign in to comment.