safe-global / safe-core-sdk

The Safe{Core} SDK allows builders to add account abstraction functionality into their apps.
https://docs.safe.global/sdk/overview
MIT License
243 stars 179 forks source link

feat: 4337 integration #693

Closed yagopv closed 2 months ago

yagopv commented 4 months ago

What it solves

4337 integration in the Safe{Core} SDK

How this PR fixes it

Adding a new Safe4337Pack enabling:

BREAKING CHANGES

It won't create inmediate breaking changes as both method signatures will be supported via overload

coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 8688623143

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
packages/relay-kit/src/packs/safe-4337/utils.ts 8 10 80.0%
packages/relay-kit/src/packs/gelato/GelatoRelayPack.ts 6 11 54.55%
packages/relay-kit/src/packs/safe-4337/Safe4337Pack.ts 146 157 92.99%
<!-- Total: 230 248 92.74% -->
Totals Coverage Status
Change from base Build 8686829311: 4.3%
Covered Lines: 704
Relevant Lines: 838

💛 - Coveralls