@xyo-network/location-certainty-plugin 2.82.2 → 2.84.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/dist/browser/Plugin.d.cts +443 -8
- package/dist/browser/Plugin.d.cts.map +1 -1
- package/dist/browser/Plugin.d.mts +443 -8
- package/dist/browser/Plugin.d.mts.map +1 -1
- package/dist/browser/Plugin.d.ts +443 -8
- package/dist/browser/Plugin.d.ts.map +1 -1
- package/dist/browser/index.cjs +1 -1
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/node/Plugin.d.cts +443 -8
- package/dist/node/Plugin.d.cts.map +1 -1
- package/dist/node/Plugin.d.mts +443 -8
- package/dist/node/Plugin.d.mts.map +1 -1
- package/dist/node/Plugin.d.ts +443 -8
- package/dist/node/Plugin.d.ts.map +1 -1
- package/dist/node/index.cjs +1 -1
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.js +1 -1
- package/dist/node/index.js.map +1 -1
- package/package.json +14 -14
- package/src/Diviner/Diviner.ts +1 -1
package/src/Diviner/Diviner.ts
CHANGED
|
@@ -75,7 +75,7 @@ export class LocationCertaintyDiviner<TParam extends LocationCertaintyDivinerPar
|
|
|
75
75
|
|
|
76
76
|
const heuristics = LocationCertaintyDiviner.locationsToHeuristics(elevations, locations)
|
|
77
77
|
|
|
78
|
-
const result = new PayloadBuilder<LocationCertaintyPayload>({ schema: LocationCertaintySchema })
|
|
78
|
+
const result = await new PayloadBuilder<LocationCertaintyPayload>({ schema: LocationCertaintySchema })
|
|
79
79
|
.fields({
|
|
80
80
|
altitude: LocationCertaintyDiviner.calcHeuristic(heuristics.altitude),
|
|
81
81
|
elevation: LocationCertaintyDiviner.calcHeuristic(heuristics.elevation),
|