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

safe-global / safe-core-sdk-react-hooks / 11066699570
96%

Build:
DEFAULT BRANCH: main
Ran 27 Sep 2024 07:53AM UTC
Jobs 1
Files 44
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

27 Sep 2024 07:49AM UTC coverage: 95.724% (+0.5%) from 95.263%
11066699570

push

github

web-flow
feat: Refresh cached data when transaction is sent/confirmed (#11)

* Move SafeContext to separate file

* Add enums for query and mutation keys

* Move `isString` function to guards file

* Invalidate queries after a transaction is sent or confirmed

This is necessary to make sure that transaction lists are updated when a new one is sent. By invalidating the queries, the transactions are refetched and replace the ones in the cache.

Add `useAddress` hook and use it instead of the `useSafeInfo` when only the address is needed.

Move the queryClient and invalidateQueries functions to a new file called queryClient.ts for better organization and separation of concerns.

* Refactor `useSafeInfo` hook

Create individual hooks for each Safe Info prop

* Remove console.log statement

* Fix useWaitForTransaction if transaction type is "MULTISIG_TRANSACTION"

* Attempt to fix the unit test workflow

Yarn link the unpublished types-kit package

* Attempt #2 to fix the unit test workflow

Fix the yarn link command

* Attempt #3 to fix the unit test workflow

Checkout the safe-core-sdk at the commit hash before types-kit was introduced

* Fix transaction types + guards

* Fix test

129 of 144 branches covered (89.58%)

Branch coverage included in aggregate %.

193 of 198 new or added lines in 32 files covered. (97.47%)

453 of 464 relevant lines covered (97.63%)

17.01 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11066699570.1 27 Sep 2024 07:53AM UTC 0
95.72
GitHub Action Run
Source Files on build 11066699570
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #11066699570
  • 6f620f2f on github
  • Prev Build on main (#10848263362)
  • Next Build on main (#11255060908)
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