-
Notifications
You must be signed in to change notification settings - Fork 25
Update open api client to latest open api spec #412
Conversation
Signed-off-by: Frank Li <[email protected]>
Signed-off-by: Frank Li <[email protected]>
Signed-off-by: Frank Li <[email protected]>
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.
Majority of the changes was just adding Immutable X API
as a description on auto-generated files! Wish that could have been moved to a separate PR 😅
/** | ||
* Create a Project | ||
* @param ethSigner - the L1 signer | ||
* @param request - the request object containing the parameters to be provided in the API request | ||
* @returns a promise that resolves with the created Project | ||
* @throws {@link index.IMXError} | ||
*/ | ||
public async createProject( | ||
ethSigner: EthSigner, | ||
request: CreateProjectRequest, | ||
) { | ||
return this.workflows | ||
.createProject(ethSigner, request) | ||
.then(res => res.data) | ||
.catch(err => { |
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.
@frankisawesome this feels like a potentially very small breaking change? Could we get away with a minor version bump because project creation has moved to Hub? cc: @wdinau
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.
Note, this would affect Unified SDK too since Core SDK is a dependency and requests are proxied through to Core SDK.
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.
Discussed offline - these changes are OK'd by the hub team and we've confirmed these are intentional deletions
Summary
Why the changes
Things worth calling out
Before merging
N/A
):