@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.
@@ -191,9 +191,10 @@ export const extractOpportunities = {
191
191
  };
192
192
  return opportunity;
193
193
  },
194
- [Campaign.ERC20 | Campaign.ERC20LOGPROCESSOR | Campaign.ERC20REBASELOGPROCESSOR]: (campaign, campaigns, prices) => {
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.service";
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();