@0dotxyz/p0-ts-sdk 1.1.0-alpha.6 → 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.
@@ -1320,6 +1320,7 @@ interface DriftSpotMarketJSON {
1320
1320
  insuranceFund: {
1321
1321
  totalFactor: number;
1322
1322
  };
1323
+ poolId: number;
1323
1324
  }
1324
1325
 
1325
1326
  interface FeeStructure {
@@ -1570,6 +1571,7 @@ interface DriftSpotMarket {
1570
1571
  insuranceFund: {
1571
1572
  totalFactor: number;
1572
1573
  };
1574
+ poolId: number;
1573
1575
  }
1574
1576
  declare enum DriftSpotBalanceType {
1575
1577
  DEPOSIT = "deposit",
@@ -1320,6 +1320,7 @@ interface DriftSpotMarketJSON {
1320
1320
  insuranceFund: {
1321
1321
  totalFactor: number;
1322
1322
  };
1323
+ poolId: number;
1323
1324
  }
1324
1325
 
1325
1326
  interface FeeStructure {
@@ -1570,6 +1571,7 @@ interface DriftSpotMarket {
1570
1571
  insuranceFund: {
1571
1572
  totalFactor: number;
1572
1573
  };
1574
+ poolId: number;
1573
1575
  }
1574
1576
  declare enum DriftSpotBalanceType {
1575
1577
  DEPOSIT = "deposit",
package/dist/vendor.cjs CHANGED
@@ -27547,7 +27547,8 @@ function driftSpotMarketRawToDto(spotMarketRaw) {
27547
27547
  minBorrowRate: spotMarketRaw.minBorrowRate,
27548
27548
  insuranceFund: {
27549
27549
  totalFactor: spotMarketRaw.insuranceFund.totalFactor
27550
- }
27550
+ },
27551
+ poolId: spotMarketRaw.poolId
27551
27552
  };
27552
27553
  }
27553
27554
  function driftRewardsRawToDto(rewardsRaw) {
@@ -27717,7 +27718,8 @@ function dtoToDriftSpotMarketRaw(spotMarketDto) {
27717
27718
  optimalBorrowRate: spotMarketDto.optimalBorrowRate,
27718
27719
  maxBorrowRate: spotMarketDto.maxBorrowRate,
27719
27720
  minBorrowRate: spotMarketDto.minBorrowRate,
27720
- insuranceFund: spotMarketDto.insuranceFund
27721
+ insuranceFund: spotMarketDto.insuranceFund,
27722
+ poolId: spotMarketDto.poolId
27721
27723
  };
27722
27724
  }
27723
27725
  function decodeDriftSpotMarketData(data) {