@optimex-xyz/market-maker-sdk 0.4.3 → 0.4.5

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 CHANGED
@@ -80,7 +80,7 @@ var environments = {
80
80
  }
81
81
  },
82
82
  production: {
83
- backendUrl: "https://api.petafi.xyz",
83
+ backendUrl: "https://api.optimex.cc",
84
84
  rpcUrl: "https://bitfi-ledger-testnet.alt.technology",
85
85
  routerAddress: "0x272599CE3602A49B580A5C4a4d3C1067E30248D2",
86
86
  paymentAddressMap: {
@@ -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}/v1/solver/submit-settlement-tx`,
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}/v1/tokens`, {
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
@@ -15,7 +15,7 @@ var environments = {
15
15
  }
16
16
  },
17
17
  production: {
18
- backendUrl: "https://api.petafi.xyz",
18
+ backendUrl: "https://api.optimex.cc",
19
19
  rpcUrl: "https://bitfi-ledger-testnet.alt.technology",
20
20
  routerAddress: "0x272599CE3602A49B580A5C4a4d3C1067E30248D2",
21
21
  paymentAddressMap: {
@@ -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}/v1/solver/submit-settlement-tx`,
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}/v1/tokens`, {
3703
+ const response = await axios2.get(`${this.baseURL}/market-maker/tokens`, {
3704
3704
  headers: {
3705
3705
  Accept: "application/json"
3706
3706
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optimex-xyz/market-maker-sdk",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"