@1delta/margin-fetcher 0.0.21 → 0.0.22

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1delta/margin-fetcher",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -16,8 +16,8 @@ import { prettyPrint } from './utils'
16
16
  describe(
17
17
  'find lending data',
18
18
  () => {
19
- it('should return lender data', async () => {
20
- const chainId = Chain.HYPEREVM
19
+ it.only('should return lender data', async () => {
20
+ const chainId = Chain.ARBITRUM_ONE
21
21
 
22
22
  const ps = [
23
23
  fetchMainPrices([chainId], getEvmClient),
@@ -29,7 +29,7 @@ describe(
29
29
  // console.log("yields", yields)
30
30
  // console.log("prices", prices)
31
31
 
32
- const lenders = [Lender.HYPERLEND] // getLendersForChain(chainId) as any
32
+ const lenders = getLendersForChain(chainId) as any
33
33
  console.log('lenders', lenders)
34
34
  const lendingData = await getLenderPublicData(
35
35
  chainId,