@optimex-xyz/market-maker-sdk 0.9.0-dev-cb35949 → 0.9.0-dev-3e9bb0c

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.d.mts CHANGED
@@ -37,7 +37,8 @@ declare class Config {
37
37
  get(): AppConfig;
38
38
  getBackendUrl(): string;
39
39
  getRpcUrl(): string;
40
- getPaymentAddress(networkId: string): string | undefined;
40
+ getPaymentAddress(networkId: string): string;
41
+ getLiquidationAddress(networkId: string): string;
41
42
  getProtocolFetcherAddress(): string;
42
43
  }
43
44
  declare const config: Config;
package/dist/index.d.ts CHANGED
@@ -37,7 +37,8 @@ declare class Config {
37
37
  get(): AppConfig;
38
38
  getBackendUrl(): string;
39
39
  getRpcUrl(): string;
40
- getPaymentAddress(networkId: string): string | undefined;
40
+ getPaymentAddress(networkId: string): string;
41
+ getLiquidationAddress(networkId: string): string;
41
42
  getProtocolFetcherAddress(): string;
42
43
  }
43
44
  declare const config: Config;
package/dist/index.js CHANGED
@@ -166,6 +166,9 @@ var Config = class {
166
166
  getPaymentAddress(networkId) {
167
167
  return this.config.paymentAddressMap[networkId];
168
168
  }
169
+ getLiquidationAddress(networkId) {
170
+ return this.config.liquidationAddressMap[networkId];
171
+ }
169
172
  getProtocolFetcherAddress() {
170
173
  return this.config.protocolFetcherProxyAddress;
171
174
  }
package/dist/index.mjs CHANGED
@@ -97,6 +97,9 @@ var Config = class {
97
97
  getPaymentAddress(networkId) {
98
98
  return this.config.paymentAddressMap[networkId];
99
99
  }
100
+ getLiquidationAddress(networkId) {
101
+ return this.config.liquidationAddressMap[networkId];
102
+ }
100
103
  getProtocolFetcherAddress() {
101
104
  return this.config.protocolFetcherProxyAddress;
102
105
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optimex-xyz/market-maker-sdk",
3
- "version": "0.9.0-dev-cb35949",
3
+ "version": "0.9.0-dev-3e9bb0c",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"