• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

safe-global / safe-core-sdk / 10524884658

23 Aug 2024 11:24AM UTC coverage: 77.534% (+0.3%) from 77.282%
10524884658

push

github

web-flow
Passkey support (#808)

* Add passkey support

* Add support for passkeys to 4337

* verificationGasLimit adjustment

* feat(relay-kit): add dummy signature as a passkey signature (#857)

* feat(relay-kit): Tests for using passkey with 4337 (#846)

261 of 410 branches covered (63.66%)

Branch coverage included in aggregate %.

55 of 59 new or added lines in 3 files covered. (93.22%)

5 existing lines in 1 file now uncovered.

978 of 1188 relevant lines covered (82.32%)

3.49 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

25.0
/packages/api-kit/src/utils/safeOperation.ts
1
import { SafeOperation } from '@safe-global/safe-core-sdk-types'
2

3
export const getAddSafeOperationProps = async (safeOperation: SafeOperation) => {
1✔
4
  const userOperation = safeOperation.toUserOperation()
×
5
  userOperation.signature = safeOperation.encodedSignatures() // Without validity dates
×
6

7
  return {
×
8
    entryPoint: safeOperation.data.entryPoint,
9
    moduleAddress: safeOperation.moduleAddress,
10
    safeAddress: safeOperation.data.safe,
11
    userOperation,
12
    options: {
13
      validAfter: safeOperation.data.validAfter,
14
      validUntil: safeOperation.data.validUntil
15
    }
16
  }
17
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc