@drift-labs/sdk 2.43.0-beta.0 → 2.43.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/constants/spotMarkets.js +1 -1
- package/lib/dlob/DLOB.js +1 -1
- package/package.json +1 -1
- package/src/constants/spotMarkets.ts +1 -1
- package/src/dlob/DLOB.ts +1 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.43.0-beta.
|
|
1
|
+
2.43.0-beta.2
|
|
@@ -107,7 +107,7 @@ exports.MainnetSpotMarkets = [
|
|
|
107
107
|
mint: new web3_js_1.PublicKey('J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn'),
|
|
108
108
|
precision: new __1.BN(10).pow(numericConstants_1.NINE),
|
|
109
109
|
precisionExp: numericConstants_1.NINE,
|
|
110
|
-
serumMarket: new web3_js_1.PublicKey('
|
|
110
|
+
serumMarket: new web3_js_1.PublicKey('DkbVbMhFxswS32xnn1K2UY4aoBugXooBTxdzkWWDWRkH'),
|
|
111
111
|
},
|
|
112
112
|
];
|
|
113
113
|
exports.SpotMarkets = {
|
package/lib/dlob/DLOB.js
CHANGED
|
@@ -600,7 +600,7 @@ class DLOB {
|
|
|
600
600
|
bestGenerator.next = bestGenerator.generator.next();
|
|
601
601
|
continue;
|
|
602
602
|
}
|
|
603
|
-
if (filterFcn && filterFcn(bestGenerator.next.value)) {
|
|
603
|
+
if (filterFcn && !filterFcn(bestGenerator.next.value)) {
|
|
604
604
|
bestGenerator.next = bestGenerator.generator.next();
|
|
605
605
|
continue;
|
|
606
606
|
}
|
package/package.json
CHANGED
|
@@ -135,7 +135,7 @@ export const MainnetSpotMarkets: SpotMarketConfig[] = [
|
|
|
135
135
|
mint: new PublicKey('J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn'),
|
|
136
136
|
precision: new BN(10).pow(NINE),
|
|
137
137
|
precisionExp: NINE,
|
|
138
|
-
serumMarket: new PublicKey('
|
|
138
|
+
serumMarket: new PublicKey('DkbVbMhFxswS32xnn1K2UY4aoBugXooBTxdzkWWDWRkH'),
|
|
139
139
|
},
|
|
140
140
|
];
|
|
141
141
|
|
package/src/dlob/DLOB.ts
CHANGED
|
@@ -1111,7 +1111,7 @@ export class DLOB {
|
|
|
1111
1111
|
continue;
|
|
1112
1112
|
}
|
|
1113
1113
|
|
|
1114
|
-
if (filterFcn && filterFcn(bestGenerator.next.value)) {
|
|
1114
|
+
if (filterFcn && !filterFcn(bestGenerator.next.value)) {
|
|
1115
1115
|
bestGenerator.next = bestGenerator.generator.next();
|
|
1116
1116
|
continue;
|
|
1117
1117
|
}
|