From 5e58972a947a1e172b652944069b34710c1c0514 Mon Sep 17 00:00:00 2001 From: Ben Smith Date: Mon, 16 Sep 2024 14:36:58 +0200 Subject: [PATCH] update yarn fmt --- package.json | 4 ++-- src/lib/bundler.ts | 4 ++-- src/util.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 85958fd..2ebb99f 100644 --- a/package.json +++ b/package.json @@ -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": { @@ -64,4 +64,4 @@ "typescript": "^5.5.2", "yargs": "^17.7.2" } -} +} \ No newline at end of file diff --git a/src/lib/bundler.ts b/src/lib/bundler.ts index e3ab0c2..a0a73f3 100644 --- a/src/lib/bundler.ts +++ b/src/lib/bundler.ts @@ -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}`; diff --git a/src/util.ts b/src/util.ts index 39049aa..c081d2a 100644 --- a/src/util.ts +++ b/src/util.ts @@ -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]);