@optimex-xyz/market-maker-sdk 0.4.3 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3696,7 +3696,7 @@ var SolverService = class {
|
|
|
3696
3696
|
SubmitSettlementRequestSchema.parse(params);
|
|
3697
3697
|
const snakeCaseParams = convertToSnakeCase(params);
|
|
3698
3698
|
const response = await import_axios.default.post(
|
|
3699
|
-
`${this.baseURL}/
|
|
3699
|
+
`${this.baseURL}/market-maker/submit-settlement-tx`,
|
|
3700
3700
|
snakeCaseParams,
|
|
3701
3701
|
{
|
|
3702
3702
|
headers: {
|
|
@@ -3765,7 +3765,7 @@ var TokenService = class {
|
|
|
3765
3765
|
*/
|
|
3766
3766
|
async getTokens() {
|
|
3767
3767
|
try {
|
|
3768
|
-
const response = await import_axios2.default.get(`${this.baseURL}/
|
|
3768
|
+
const response = await import_axios2.default.get(`${this.baseURL}/market-maker/tokens`, {
|
|
3769
3769
|
headers: {
|
|
3770
3770
|
Accept: "application/json"
|
|
3771
3771
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -3631,7 +3631,7 @@ var SolverService = class {
|
|
|
3631
3631
|
SubmitSettlementRequestSchema.parse(params);
|
|
3632
3632
|
const snakeCaseParams = convertToSnakeCase(params);
|
|
3633
3633
|
const response = await axios.post(
|
|
3634
|
-
`${this.baseURL}/
|
|
3634
|
+
`${this.baseURL}/market-maker/submit-settlement-tx`,
|
|
3635
3635
|
snakeCaseParams,
|
|
3636
3636
|
{
|
|
3637
3637
|
headers: {
|
|
@@ -3700,7 +3700,7 @@ var TokenService = class {
|
|
|
3700
3700
|
*/
|
|
3701
3701
|
async getTokens() {
|
|
3702
3702
|
try {
|
|
3703
|
-
const response = await axios2.get(`${this.baseURL}/
|
|
3703
|
+
const response = await axios2.get(`${this.baseURL}/market-maker/tokens`, {
|
|
3704
3704
|
headers: {
|
|
3705
3705
|
Accept: "application/json"
|
|
3706
3706
|
}
|