@wemap/routers 11.0.0-alpha.7 → 11.0.0-alpha.8

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/index.js CHANGED
@@ -1093,10 +1093,10 @@ class IdfmRemoteRouter extends RemoteRouter {
1093
1093
  newCoords = last(result);
1094
1094
  coords[_idCoordsInLeg] = newCoords;
1095
1095
  }
1096
- outputSteps.push({
1096
+ outputSteps.push(new StepInfo({
1097
1097
  ...step,
1098
1098
  coords: newCoords
1099
- });
1099
+ }));
1100
1100
  previousStep = step;
1101
1101
  }
1102
1102
  return outputSteps;