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

safe-global / safe-core-sdk / 9742471451
78%
main: 78%

Build:
Build:
LAST BUILD BRANCH: feat/add-duplicate-shortname-check
DEFAULT BRANCH: main
Ran 01 Jul 2024 10:23AM UTC
Jobs 1
Files 35
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Jul 2024 10:20AM UTC coverage: 77.417% (-0.3%) from 77.708%
9742471451

push

github

web-flow
feat(api-kit): Support for SafeOperation confirmations endpoints (#876)

* Add confirmSafeOperation function

Calls the transaction-service's `POST /v1/safe-operations/{safe_operation_hash}/confirmations/` endpoint.

* Add getSafeOperationConfirmations function

Calls the transaction-service's `GET /v1/safe-operations/{safe_operation_hash}/confirmations/` endpoint.

* Small import fixes

* Reset sinon history after each api-kit endpoint test

Fix endpoint test for `confirmTransaction`

* Add endpoint tests for SafeOperation confirmations endpoints

* Add e2e tests for `getSafeOperationConfirmations`

* Add e2e tests for `confirmSafeOperation`

* Small fix in test description

* Small fix

* Use generic type `ListResponse` for safe-transaction-service related types

* Add `chainId` to SafeOperation type

* Change signature of function `getSafeOperationConfirmations`

* Change limit + offset type to number for `getSafeOperationConfirmations`

* Use ListOptions type also for other api-kit functions

This changes the type for `limit` + `offset` from string to number for the functions:
* getSafeDelegates
* getMessages
* getSafeOperationsByAddress

---------

Co-authored-by: Daniel <25051234+dasanra@users.noreply.github.com>

227 of 364 branches covered (62.36%)

Branch coverage included in aggregate %.

18 of 31 new or added lines in 3 files covered. (58.06%)

774 of 929 relevant lines covered (83.32%)

3.21 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/145714223 9742471451.1 01 Jul 2024 10:23AM UTC 0
77.42
GitHub Action Run
Source Files on build 9742471451
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #9742471451
  • 0c27b5b8 on github
  • Prev Build on development (#9659157719)
  • Next Build on development (#9807507022)
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

© 2026 Coveralls, Inc