@rholabs/rho-sdk
Advanced tools
Comparing version 0.2.21 to 0.2.22
{ | ||
"name": "@rholabs/rho-sdk", | ||
"version": "0.2.21", | ||
"version": "0.2.22", | ||
"description": "Rho Protocol SDK", | ||
@@ -5,0 +5,0 @@ "source": "src/index.ts", |
@@ -183,4 +183,3 @@ import { RouterABI, ViewABI, QuoterABI, ERC20ABI, ACMABI } from './abi' | ||
const { offset = 0, limit = defaultLimit } = params | ||
const packages = params.oraclePackages || (await this.getMarketsOraclePackages()) | ||
return await this.view.activeMarketsInfo(offset, limit, packages) | ||
return await this.view.activeMarketsInfo(offset, limit, []) | ||
} | ||
@@ -334,4 +333,3 @@ | ||
const { marketId, userAddress, amount, settleMaturedPositions = true } = params | ||
const oraclePackages = params.oraclePackages || [await this.getOraclePackage(marketId)] | ||
const oraclePackages = params.oraclePackages || [] | ||
return await this.router.deposit(marketId, userAddress, amount, settleMaturedPositions, oraclePackages) | ||
@@ -338,0 +336,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
5463500
16663