@glandais/vcyclist-engine 1.1.1 → 1.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glandais/vcyclist-engine",
3
- "version": "1.1.1",
3
+ "version": "1.2.0",
4
4
  "main": "vcyclist-engine.js",
5
5
  "types": "vcyclist-engine.d.ts",
6
6
  "devDependencies": {
@@ -13,7 +13,6 @@
13
13
  "source-map-support": "0.5.21"
14
14
  },
15
15
  "dependencies": {
16
- "@js-joda/core": "3.2.0",
17
16
  "@jsquash/webp": "1.4.0"
18
17
  },
19
18
  "peerDependencies": {},
@@ -15,5 +15,10 @@ export declare namespace io.github.glandais.engine {
15
15
  function pointAt(path: any/* io.github.glandais.engine.path.Path */, i: number): PointDto;
16
16
  function writeGpx(path: any/* io.github.glandais.engine.path.Path */): string;
17
17
  function enhance(path: any/* io.github.glandais.engine.path.Path */, options: Nullable<EnhanceOptionsDto>): Promise<any/* io.github.glandais.engine.path.Path */>;
18
+ function enhanceWithCourse(path: any/* io.github.glandais.engine.path.Path */, cyclist: Nullable<CyclistDto>, bike: Nullable<BikeDto>, wind: Nullable<WindDto>, power: Nullable<PowerProviderDto>, options: Nullable<EnhanceOptionsDto>): Promise<any/* io.github.glandais.engine.path.Path */>;
19
+ function getField(path: any/* io.github.glandais.engine.path.Path */, i: number, fieldProp: string): number;
20
+ function fieldDefinitions(): Array<FieldDefinitionDto>;
21
+ function pathLatitudeDeg(path: any/* io.github.glandais.engine.path.Path */, i: number): number;
22
+ function pathLongitudeDeg(path: any/* io.github.glandais.engine.path.Path */, i: number): number;
18
23
  }
19
24
  export as namespace io_github_glandais_engine;