@merkl/api 0.10.277 → 0.10.278
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/src/entities/opportunity.js +2 -1
- package/dist/src/libs/positions/prepareFetch.js +2 -0
- package/dist/src/modules/v4/opportunity/opportunity.service.js +1 -1
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
- /package/dist/src/modules/v4/opportunity/subservices/{getVestMetaData.service.d.ts → getVestMetaData.d.ts} +0 -0
- /package/dist/src/modules/v4/opportunity/subservices/{getVestMetaData.service.js → getVestMetaData.js} +0 -0
@@ -191,9 +191,10 @@ export const extractOpportunities = {
|
|
191
191
|
};
|
192
192
|
return opportunity;
|
193
193
|
},
|
194
|
-
[Campaign.ERC20
|
194
|
+
[Campaign.ERC20]: (campaign, campaigns, prices) => {
|
195
195
|
const { chainId, tvl, campaignParameters: params, typeInfo, computeChainId, mainParameter } = campaign;
|
196
196
|
const { active, all } = campaigns;
|
197
|
+
// DEPRECATED!!!!
|
197
198
|
const map = {
|
198
199
|
actions: {
|
199
200
|
pool: [
|
@@ -385,6 +385,8 @@ campaign //FIXME
|
|
385
385
|
return prepareCompoundFetch(previous, campaign);
|
386
386
|
case Campaign.EIGENLAYER:
|
387
387
|
return prepareEigenLayerFetch(previous, campaign);
|
388
|
+
case Campaign.VEST:
|
389
|
+
return prepareEigenLayerFetch(previous, campaign);
|
388
390
|
default:
|
389
391
|
return previous;
|
390
392
|
}
|
@@ -22,7 +22,7 @@ import { getJsonAirdropMetadata } from "./subservices/getJsonAirDropMetadata.ser
|
|
22
22
|
import { getMorphoMetadata } from "./subservices/getMorphoMetadata.service";
|
23
23
|
import { getRadiantMetadata } from "./subservices/getRadiantMetadata.service";
|
24
24
|
import { getSiloMetadata } from "./subservices/getSiloMetadata.service";
|
25
|
-
import { getVestMetaData } from "./subservices/getVestMetaData
|
25
|
+
import { getVestMetaData } from "./subservices/getVestMetaData";
|
26
26
|
export class OpportunityService {
|
27
27
|
static hashId(opportunity) {
|
28
28
|
return Bun.hash(`${opportunity.chainId}${opportunity.type}${opportunity.identifier}`).toString();
|