-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: replace assert with invariant in code to not require node envir…
…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
- Loading branch information
1 parent
2ed336c
commit de85648
Showing
4 changed files
with
73 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters