@fairfox/polly 0.36.0 → 0.37.0

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.
@@ -2609,6 +2609,13 @@ class HandlerExtractor {
2609
2609
  assignments.push({ field, value });
2610
2610
  return;
2611
2611
  }
2612
+ if (Node4.isIdentifier(initializer)) {
2613
+ const paramName2 = initializer.getText();
2614
+ if (this.currentFunctionParams.includes(paramName2)) {
2615
+ assignments.push({ field, value: `param:${paramName2}` });
2616
+ return;
2617
+ }
2618
+ }
2612
2619
  const paramName = this.extractPayloadPropertyParam(initializer);
2613
2620
  if (paramName !== null) {
2614
2621
  assignments.push({ field, value: `param:${paramName}` });
@@ -6237,4 +6244,4 @@ main().catch((_error) => {
6237
6244
  process.exit(1);
6238
6245
  });
6239
6246
 
6240
- //# debugId=06FFF8A43205986564756E2164756E21
6247
+ //# debugId=D8A50515F91A187B64756E2164756E21