@drift-labs/sdk 2.60.0-beta.1 → 2.60.0-beta.2
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/VERSION +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/tests/amm/test.ts +6 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.60.0-beta.
|
|
1
|
+
2.60.0-beta.2
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -119,3 +119,4 @@ __exportStar(require("./orderSubscriber/types"), exports);
|
|
|
119
119
|
__exportStar(require("./auctionSubscriber"), exports);
|
|
120
120
|
__exportStar(require("./auctionSubscriber/types"), exports);
|
|
121
121
|
__exportStar(require("./memcmp"), exports);
|
|
122
|
+
__exportStar(require("./decode/user"), exports);
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
package/tests/amm/test.ts
CHANGED
|
@@ -1140,7 +1140,12 @@ describe('AMM Tests', () => {
|
|
|
1140
1140
|
|
|
1141
1141
|
mockAmm.lastOracleConfPct = new BN(150000);
|
|
1142
1142
|
const reservePrice = new BN(13.553 * PRICE_PRECISION.toNumber());
|
|
1143
|
-
const newConfPct = getNewOracleConfPct(
|
|
1143
|
+
const newConfPct = getNewOracleConfPct(
|
|
1144
|
+
mockAmm,
|
|
1145
|
+
oraclePriceData,
|
|
1146
|
+
reservePrice,
|
|
1147
|
+
now
|
|
1148
|
+
);
|
|
1144
1149
|
console.log('newConfPct:', newConfPct.toString());
|
|
1145
1150
|
|
|
1146
1151
|
assert(
|