Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make error messages more helpful #20

Closed
jfschwarz opened this issue Dec 20, 2024 · 0 comments · Fixed by #30 or #29
Closed

Make error messages more helpful #20

jfschwarz opened this issue Dec 20, 2024 · 0 comments · Fixed by #30 or #29

Comments

@jfschwarz
Copy link
Collaborator

ser-kit is throwing error messages as AssertionError: false == true. Let's please throw errors with helpful messages.

cristovaoth pushed a commit that referenced this issue Jan 9, 2025
…onment (#30)

While working on gnosisguild/zodiac-pilot#469
I noticed that `ser-kit` relies on some node-specific modules. In this
case, `assert`. While I know that there are ways of getting node modules
into a browser bundle, I think for this specific case, using
`@epic-web/invariant` instead of `assert` is also a good way forward. It
eliminates the node dependency and makes `ser-kit` work more easily
across environments.

closes #20
jfschwarz pushed a commit that referenced this issue Jan 9, 2025
🤖 I have created a release *beep* *boop*
---


##
[1.1.0](v1.0.7...v1.1.0)
(2025-01-09)


### Features

* new options for Safe transaction `nonce`: override and enqueue
([#28](#28))
([2ed336c](2ed336c)),
closes [#24](#24)
* normalize routes
([#27](#27))
([173c892](173c892)),
closes [#26](#26)
* replace assert with invariant in code to not require node environment
([#30](#30))
([de85648](de85648)),
closes [#20](#20)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant