@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.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/{rewards.types-CkNaNeJE.d.cts → rewards.types-C0f0ZwWk.d.cts} +2 -0
- package/dist/{rewards.types-CkNaNeJE.d.ts → rewards.types-C0f0ZwWk.d.ts} +2 -0
- package/dist/vendor.cjs +4 -2
- package/dist/vendor.cjs.map +1 -1
- package/dist/vendor.d.cts +2 -2
- package/dist/vendor.d.ts +2 -2
- package/dist/vendor.js +4 -2
- package/dist/vendor.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -32856,7 +32856,8 @@ function driftSpotMarketRawToDto(spotMarketRaw) {
|
|
|
32856
32856
|
minBorrowRate: spotMarketRaw.minBorrowRate,
|
|
32857
32857
|
insuranceFund: {
|
|
32858
32858
|
totalFactor: spotMarketRaw.insuranceFund.totalFactor
|
|
32859
|
-
}
|
|
32859
|
+
},
|
|
32860
|
+
poolId: spotMarketRaw.poolId
|
|
32860
32861
|
};
|
|
32861
32862
|
}
|
|
32862
32863
|
function driftRewardsRawToDto(rewardsRaw) {
|
|
@@ -32997,7 +32998,8 @@ function dtoToDriftSpotMarketRaw(spotMarketDto) {
|
|
|
32997
32998
|
optimalBorrowRate: spotMarketDto.optimalBorrowRate,
|
|
32998
32999
|
maxBorrowRate: spotMarketDto.maxBorrowRate,
|
|
32999
33000
|
minBorrowRate: spotMarketDto.minBorrowRate,
|
|
33000
|
-
insuranceFund: spotMarketDto.insuranceFund
|
|
33001
|
+
insuranceFund: spotMarketDto.insuranceFund,
|
|
33002
|
+
poolId: spotMarketDto.poolId
|
|
33001
33003
|
};
|
|
33002
33004
|
}
|
|
33003
33005
|
var DRIFT_PROGRAM_ID = new web3_js.PublicKey(
|