@sodax/sdk 0.0.1-rc.46 → 0.0.1-rc.47
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.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -17833,7 +17833,7 @@ var Sodax = class {
|
|
|
17833
17833
|
this.relayerApiEndpoint = config?.relayerApiEndpoint ?? DEFAULT_RELAYER_API_ENDPOINT;
|
|
17834
17834
|
this.hubProvider = new EvmHubProvider(config?.hubProviderConfig);
|
|
17835
17835
|
this.solver = config && config.solver ? new SolverService(config.solver, this.hubProvider, this.relayerApiEndpoint) : new SolverService(void 0, this.hubProvider, this.relayerApiEndpoint);
|
|
17836
|
-
this.moneyMarket = config && config.moneyMarket ? new
|
|
17836
|
+
this.moneyMarket = config && config.moneyMarket ? new MoneyMarketService(config.moneyMarket, this.hubProvider, this.relayerApiEndpoint) : new MoneyMarketService(void 0, this.hubProvider, this.relayerApiEndpoint);
|
|
17837
17837
|
this.migration = config && config.migration ? new MigrationService(this.hubProvider, config.migration) : new MigrationService(this.hubProvider);
|
|
17838
17838
|
this.bridge = config && config.bridge ? new BridgeService(this.hubProvider, this.relayerApiEndpoint, config.bridge) : new BridgeService(this.hubProvider, this.relayerApiEndpoint);
|
|
17839
17839
|
this.backendApiService = new BackendApiService(config?.backendApiConfig);
|
|
@@ -19443,7 +19443,7 @@ function formatBasisPoints(value) {
|
|
|
19443
19443
|
}
|
|
19444
19444
|
|
|
19445
19445
|
// src/moneyMarket/MoneyMarketService.ts
|
|
19446
|
-
var
|
|
19446
|
+
var MoneyMarketService = class _MoneyMarketService {
|
|
19447
19447
|
config;
|
|
19448
19448
|
hubProvider;
|
|
19449
19449
|
data;
|
|
@@ -20768,7 +20768,7 @@ exports.LockupPeriod = LockupPeriod;
|
|
|
20768
20768
|
exports.MAX_UINT256 = MAX_UINT256;
|
|
20769
20769
|
exports.MigrationService = MigrationService;
|
|
20770
20770
|
exports.MoneyMarketDataService = MoneyMarketDataService;
|
|
20771
|
-
exports.MoneyMarketService =
|
|
20771
|
+
exports.MoneyMarketService = MoneyMarketService;
|
|
20772
20772
|
exports.RAY = RAY;
|
|
20773
20773
|
exports.RAY_DECIMALS = RAY_DECIMALS;
|
|
20774
20774
|
exports.SECONDS_PER_YEAR = SECONDS_PER_YEAR;
|