Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some comments #558

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/modules/sessions/sessionSmartAccountClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export type SendSessionTransactionFunction = (
* paymasterUrl,
* chainId
* },
* "DEFAULT_STORE" // Can be ommitted if using default session storage (localStorage in browser, fileStorage in node backend)
* "DEFAULT_STORE" // Can be omitted if using default session storage (localStorage in browser, fileStorage in node backend)
* )
*
* // The smartAccountWithSession instance can now be used to interact with the blockchain on behalf of the user in the same manner as a regular smart account instance.
Expand Down
2 changes: 1 addition & 1 deletion src/paymaster/BiconomyPaymaster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ export class BiconomyPaymaster
paymasterServiceData?.smartAccountInfo ?? smartAccountInfo
expiryDuration = paymasterServiceData?.expiryDuration ?? expiryDuration

// Note: The idea is before calling this below rpc, userOp values presense and types should be in accordance with how we call eth_estimateUseropGas on the bundler
// Note: The idea is before calling this below rpc, userOp values presence and types should be in accordance with how we call eth_estimateUseropGas on the bundler

try {
const response: JsonRpcResponse = await sendRequest(
Expand Down
4 changes: 2 additions & 2 deletions src/paymaster/utils/Types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ export type FeeQuotesOrDataDto = {
expiryDuration?: number
/** Always recommended, especially when using token paymaster */
calculateGasLimits?: boolean
/** List of tokens to be used for fee quotes, if ommitted fees for all supported will be returned */
/** List of tokens to be used for fee quotes, if omitted fees for all supported will be returned */
tokenList?: string[]
/** preferredToken: Can be ommitted to return all quotes */
/** preferredToken: Can be omitted to return all quotes */
preferredToken?: string
/** Webhooks to be fired after user op is sent */
// biome-ignore lint/suspicious/noExplicitAny: <explanation>
Expand Down
2 changes: 1 addition & 1 deletion tests/paymaster/read.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ describe("Paymaster:Read", () => {
})

test.concurrent(
"should expect several feeQuotes in resonse to empty tokenInfo fields",
"should expect several feeQuotes in response to empty tokenInfo fields",
async () => {
const encodedCall = encodeFunctionData({
abi: parseAbi(["function safeMint(address _to)"]),
Expand Down
Loading