@merkl/api 0.10.396 → 0.10.398
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.
@@ -58,7 +58,7 @@ export const campaignsCacheUpdater = new Elysia().get("/v3/update", async ({ que
|
|
58
58
|
log.local(`Data length after filtering: ${staticData.length}`);
|
59
59
|
if (!!staticData) {
|
60
60
|
// Build list of existing campaign types for this chain
|
61
|
-
const campaignTypes = !!query
|
61
|
+
const campaignTypes = !!query?.campaignTypes?.length
|
62
62
|
? query.campaignTypes
|
63
63
|
: !staticData
|
64
64
|
? []
|
@@ -822,7 +822,14 @@ export const extractOpportunities = {
|
|
822
822
|
"syncswap",
|
823
823
|
"rfx",
|
824
824
|
],
|
825
|
-
borrow: [
|
825
|
+
borrow: [
|
826
|
+
"radiant_borrow",
|
827
|
+
"aave_borrowing",
|
828
|
+
"euler_borrow",
|
829
|
+
"zerolend_borrowing",
|
830
|
+
"takotako_borrowing",
|
831
|
+
"lendle_borrowing",
|
832
|
+
],
|
826
833
|
lend: [
|
827
834
|
"gearbox",
|
828
835
|
"compound",
|
@@ -841,6 +848,8 @@ export const extractOpportunities = {
|
|
841
848
|
"venus",
|
842
849
|
"reactor_fusion",
|
843
850
|
"woofi",
|
851
|
+
"takotako_lending",
|
852
|
+
"lendle_lending",
|
844
853
|
],
|
845
854
|
},
|
846
855
|
icons: {
|