diff --git a/src/module/index.ts b/src/module/index.ts index e8df786..363d7f0 100644 --- a/src/module/index.ts +++ b/src/module/index.ts @@ -72,7 +72,7 @@ export { getOwnableExecutorOwners, getExecuteOnOwnedAccountAction, getExecuteBatchOnOwnedAccountAction, -} from './ownable-executer' +} from './ownable-executor' export { AUTO_SAVINGS_ADDRESS, diff --git a/src/module/ownable-executer/abi.ts b/src/module/ownable-executor/abi.ts similarity index 100% rename from src/module/ownable-executer/abi.ts rename to src/module/ownable-executor/abi.ts diff --git a/src/module/ownable-executer/constants.ts b/src/module/ownable-executor/constants.ts similarity index 100% rename from src/module/ownable-executer/constants.ts rename to src/module/ownable-executor/constants.ts diff --git a/src/module/ownable-executer/index.ts b/src/module/ownable-executor/index.ts similarity index 100% rename from src/module/ownable-executer/index.ts rename to src/module/ownable-executor/index.ts diff --git a/src/module/ownable-executer/installation.ts b/src/module/ownable-executor/installation.ts similarity index 100% rename from src/module/ownable-executer/installation.ts rename to src/module/ownable-executor/installation.ts diff --git a/src/module/ownable-executer/usage.ts b/src/module/ownable-executor/usage.ts similarity index 100% rename from src/module/ownable-executer/usage.ts rename to src/module/ownable-executor/usage.ts diff --git a/test/e2e/infra/installModuleActions.ts b/test/e2e/infra/installModuleActions.ts index fd0b7d2..7c96019 100644 --- a/test/e2e/infra/installModuleActions.ts +++ b/test/e2e/infra/installModuleActions.ts @@ -25,7 +25,7 @@ import { SafeHookType } from 'src/account/safe/types' import { encodeValidationData } from 'src/module/ownable-validator/usage' import { getSudoPolicy } from 'src/module/smart-sessions/policies/sudo-policy' import { privateKeyToAccount } from 'viem/accounts' -import { getOwnableExecutor } from 'src/module/ownable-executer' +import { getOwnableExecutor } from 'src/module/ownable-executor' import { getSocialRecoveryValidator } from 'src/module/social-recovery/installation' import { getAutoSavingsExecutor } from 'src/module/auto-savings' import { diff --git a/test/e2e/infra/unInstallModuleActions.ts b/test/e2e/infra/unInstallModuleActions.ts index b9758fd..1fe6ccf 100644 --- a/test/e2e/infra/unInstallModuleActions.ts +++ b/test/e2e/infra/unInstallModuleActions.ts @@ -8,7 +8,7 @@ import { } from 'src/module' import { Account } from 'src/account' import { Hex, PublicClient } from 'viem' -import { OWNABLE_EXECUTER_ADDRESS } from 'src/module/ownable-executer' +import { OWNABLE_EXECUTER_ADDRESS } from 'src/module/ownable-executor' import { SOCIAL_RECOVERY_ADDRESS } from 'src/module/social-recovery/constants' import { AUTO_SAVINGS_ADDRESS } from 'src/module/auto-savings' import { diff --git a/test/e2e/modules/ownableExecutor.ts b/test/e2e/modules/ownableExecutor.ts index 673ccd2..e1b2fd6 100644 --- a/test/e2e/modules/ownableExecutor.ts +++ b/test/e2e/modules/ownableExecutor.ts @@ -5,13 +5,13 @@ import { getOwnableExecutorOwners, getRemoveOwnableExecutorOwnerAction, OWNABLE_EXECUTER_ADDRESS, -} from 'src/module/ownable-executer' +} from 'src/module/ownable-executor' import { Address, getAddress, Hex, PublicClient, TestClient } from 'viem' import { getInstallModuleData, sendUserOp } from '../infra' import { getExecuteBatchOnOwnedAccountAction, getExecuteOnOwnedAccountAction, -} from 'src/module/ownable-executer/usage' +} from 'src/module/ownable-executor/usage' type Params = { account: Account @@ -23,7 +23,7 @@ export const testOwnableExecutor = async ({ account, publicClient, }: Params) => { - it('should return true when checking ownable executer isInstalled', async () => { + it('should return true when checking ownable executor isInstalled', async () => { const isOwnableValidatorInstalled = await isModuleInstalled({ account, client: publicClient, @@ -47,7 +47,7 @@ export const testOwnableExecutor = async ({ expect(getAddress(owners[0])).toEqual(getAddress(ownableExecutor.owner)) }, 20000) - it('should add new owner to ownable executer', async () => { + it('should add new owner to ownable executor', async () => { const newOwner = '0x206f270A1eBB6Dd3Bc97581376168014FD6eE57c' as Address const oldOwners = await getOwnableExecutorOwners({ diff --git a/test/unit/module/ownableExecuter/ownableExecuter.test.ts b/test/unit/module/ownableExecuter/ownableExecutor.test.ts similarity index 96% rename from test/unit/module/ownableExecuter/ownableExecuter.test.ts rename to test/unit/module/ownableExecuter/ownableExecutor.test.ts index 320b67f..cc045be 100644 --- a/test/unit/module/ownableExecuter/ownableExecuter.test.ts +++ b/test/unit/module/ownableExecuter/ownableExecutor.test.ts @@ -13,7 +13,7 @@ import { MockClient } from 'test/utils/mocks/client' import { getAccount } from 'src' import { MockAccountDeployed } from 'test/utils/mocks/account' -describe('Ownable Executer Module', () => { +describe('Ownable Executor Module', () => { // Setup const client = getClient(MockClient) const account = getAccount(MockAccountDeployed) @@ -23,7 +23,7 @@ describe('Ownable Executer Module', () => { '0x9FF36a253C70b65122B47c70F2AfaF65F2957118', ] as Address[] - it('should get install ownable executer module', async () => { + it('should get install ownable executor module', async () => { const installOwnableExecutorModule = getOwnableExecutor({ owner: owners[0], })