-
Notifications
You must be signed in to change notification settings - Fork 760
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
Util: Static Constructors for Withdrawals & Requests (Tree Shaking) #3589
Conversation
In-between feedback: this looks good so far |
Ran out of time before the weekend. Will finish this up today |
17cf69d
to
86c2463
Compare
packages/util/src/request.ts
Outdated
@@ -1,3 +1,4 @@ | |||
/* eslint-disable @typescript-eslint/no-use-before-define */ |
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.
Could disabling no-use-before-define be avoided?
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.
✔️
packages/util/src/withdrawal.ts
Outdated
@@ -1,3 +1,4 @@ | |||
/* eslint-disable @typescript-eslint/no-use-before-define */ |
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.
Same thing here, could disabling no-use-before-define be avoided?
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.
✔️
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.
Some basic structural things to discuss respectively adjust.
Please update the example embeddings in the |
Can this be finalized so that we can merge? |
c11d5b3
to
109670f
Compare
109670f
to
2c368ea
Compare
changes addressed. ready for re-review |
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.
LGTM
Nice, looks good! 🙂 |
Util treeshaking task cleanup from #3560
withdrawal.ts
Withdrawal
static constructors extracted to functionsrequests.ts
renamedrequest.ts
WithdrawalRequest
ConsolidationRequest
DepositRequest