@merkl/api 0.19.26 → 0.19.27

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.
@@ -70,10 +70,12 @@ export class ClammMetadata {
70
70
  }
71
71
  // Protocol id normalization
72
72
  let mainProtocolId = AMM[params.amm]
73
- ? camelToKebabCase(AMM[params.amm].replace(/\/?(V(\d+_)?\d+)/g, "").replaceAll("Algebra", ""))
73
+ ? camelToKebabCase(AMM[params.amm].replace(/\/?(V(\d+_)?\d+)/g, ""))
74
74
  : undefined;
75
75
  if (mainProtocolId?.includes("stryke"))
76
76
  mainProtocolId = "stryke";
77
+ else if (mainProtocolId?.includes("quickswap"))
78
+ mainProtocolId = "quickswap";
77
79
  // Make sure the protocol exist in the correct type
78
80
  const protocol = (await ProtocolService.findMany({ id: mainProtocolId }))?.[0];
79
81
  if (!!protocol) {