@0dotxyz/p0-ts-sdk 1.1.0-alpha.7 → 1.1.0-alpha.8

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.cts CHANGED
@@ -5,7 +5,7 @@ import { VersionedTransaction, Transaction, PublicKey, TransactionError, Transac
5
5
  import { Idl, Instruction, AnchorProvider, Address, Program as Program$1 } from '@coral-xyz/anchor';
6
6
  import BigNumber$1 from 'bignumber.js';
7
7
  import BN from 'bn.js';
8
- import { F as FeedResponse, R as ReserveRaw, D as DriftSpotMarket, a as DriftRewards, O as ObligationRaw, b as FarmStateRaw, c as DriftUser, d as DriftUserStats, e as ReserveJSON, f as ObligationJSON, g as FarmStateJSON, h as DriftSpotMarketJSON, i as DriftUserJSON, j as DriftRewardsJSON, k as DriftUserStatsJSON } from './rewards.types-CkNaNeJE.cjs';
8
+ import { F as FeedResponse, R as ReserveRaw, D as DriftSpotMarket, a as DriftRewards, O as ObligationRaw, b as FarmStateRaw, c as DriftUser, d as DriftUserStats, e as ReserveJSON, f as ObligationJSON, g as FarmStateJSON, h as DriftSpotMarketJSON, i as DriftUserJSON, j as DriftRewardsJSON, k as DriftUserStatsJSON } from './rewards.types-C0f0ZwWk.cjs';
9
9
  import { QuoteGetRequest, QuoteResponse } from '@jup-ag/api';
10
10
 
11
11
  /**
package/dist/index.d.ts CHANGED
@@ -5,7 +5,7 @@ import { VersionedTransaction, Transaction, PublicKey, TransactionError, Transac
5
5
  import { Idl, Instruction, AnchorProvider, Address, Program as Program$1 } from '@coral-xyz/anchor';
6
6
  import BigNumber$1 from 'bignumber.js';
7
7
  import BN from 'bn.js';
8
- import { F as FeedResponse, R as ReserveRaw, D as DriftSpotMarket, a as DriftRewards, O as ObligationRaw, b as FarmStateRaw, c as DriftUser, d as DriftUserStats, e as ReserveJSON, f as ObligationJSON, g as FarmStateJSON, h as DriftSpotMarketJSON, i as DriftUserJSON, j as DriftRewardsJSON, k as DriftUserStatsJSON } from './rewards.types-CkNaNeJE.js';
8
+ import { F as FeedResponse, R as ReserveRaw, D as DriftSpotMarket, a as DriftRewards, O as ObligationRaw, b as FarmStateRaw, c as DriftUser, d as DriftUserStats, e as ReserveJSON, f as ObligationJSON, g as FarmStateJSON, h as DriftSpotMarketJSON, i as DriftUserJSON, j as DriftRewardsJSON, k as DriftUserStatsJSON } from './rewards.types-C0f0ZwWk.js';
9
9
  import { QuoteGetRequest, QuoteResponse } from '@jup-ag/api';
10
10
 
11
11
  /**
package/dist/index.js CHANGED
@@ -32831,7 +32831,8 @@ function driftSpotMarketRawToDto(spotMarketRaw) {
32831
32831
  minBorrowRate: spotMarketRaw.minBorrowRate,
32832
32832
  insuranceFund: {
32833
32833
  totalFactor: spotMarketRaw.insuranceFund.totalFactor
32834
- }
32834
+ },
32835
+ poolId: spotMarketRaw.poolId
32835
32836
  };
32836
32837
  }
32837
32838
  function driftRewardsRawToDto(rewardsRaw) {
@@ -32972,7 +32973,8 @@ function dtoToDriftSpotMarketRaw(spotMarketDto) {
32972
32973
  optimalBorrowRate: spotMarketDto.optimalBorrowRate,
32973
32974
  maxBorrowRate: spotMarketDto.maxBorrowRate,
32974
32975
  minBorrowRate: spotMarketDto.minBorrowRate,
32975
- insuranceFund: spotMarketDto.insuranceFund
32976
+ insuranceFund: spotMarketDto.insuranceFund,
32977
+ poolId: spotMarketDto.poolId
32976
32978
  };
32977
32979
  }
32978
32980
  var DRIFT_PROGRAM_ID = new PublicKey(