Skip to content

Commit

Permalink
Extract constant
Browse files Browse the repository at this point in the history
  • Loading branch information
yagopv committed Feb 12, 2025
1 parent e3f3e0e commit e848b5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/sdk-starter-kit/src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { DeploymentType } from '@safe-global/protocol-kit'

export const DEFAULT_SAFE_MODULES_VERSION = '0.2.0'

export const DEFAULT_DEPLOYMENT_TYPE: DeploymentType = 'canonical'

export enum SafeClientTxStatus {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
SafeClientResult,
SendSafeOperationProps
} from '@safe-global/sdk-starter-kit/types'
import { DEFAULT_SAFE_MODULES_VERSION } from '@safe-global/sdk-starter-kit/constants'

export type BundlerOptions = {
bundlerUrl: string
Expand Down Expand Up @@ -56,7 +57,7 @@ export function safeOperations(
const safe4337Pack = await Safe4337Pack.init({
provider,
signer,
safeModulesVersion: '0.2.0',
safeModulesVersion: DEFAULT_SAFE_MODULES_VERSION,
bundlerUrl,
options,
paymasterOptions
Expand Down

0 comments on commit e848b5e

Please sign in to comment.