-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: upload appData, get data, surplus, version, and solver competit…
…ion (#131) * Update SDK with the latest methods * Add total surplus tests * Create RC0 * Fix surplus endpoint * Make a test RC * fix tests * 2.3.0-rc.3 * 2.3.0-rc.4 * Update version * Improve fetch implementation to allow you to serialise the JSON yourself * chore: update upload appData to new swagger * chore: update to latest api implementation for app-data * RC9 * Fix lint error * Set version
- Loading branch information
Showing
11 changed files
with
419 additions
and
6 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* istanbul ignore file */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
|
||
/** | ||
* An `appData` document that is registered with the API. | ||
*/ | ||
export type AppDataDocument = { | ||
/** | ||
* The string encoding of a JSON object representing some `appData`. The | ||
* format of the JSON expected in the `appData` field is defined | ||
* [here](https://github.com/cowprotocol/app-data). | ||
* | ||
*/ | ||
fullAppData?: string; | ||
}; | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,6 @@ | |
/* tslint:disable */ | ||
/* eslint-disable */ | ||
|
||
export type BackendAppData = { | ||
export type ProtocolAppData = { | ||
}; | ||
|
Oops, something went wrong.