-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
chore(ctb): Remove TS Utils #6151
Conversation
|
✅ Deploy Preview for opstack-docs canceled.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See it closed but submitting review in case it reopens
@@ -3,3 +3,4 @@ export * from './utils' | |||
export * from './cross-chain-messenger' | |||
export * from './adapters' | |||
export * from './l2-provider' | |||
export * from './contract-defs' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not export it for now and isntead plan on removing it completely in a future pr. This abstraction is a bad abstraction for a bunch of reasons
- Hardcoded to only work on CJS doesn't work on any project using the more modern and recommended ESM
- Not typesafe
- Not code splittable, biggest tech debt the sdk has for frontend
Description
Removes
contract-defs.ts
utilities and moves them into the sdk.