@osimatic/helpers-js 1.4.17 → 1.4.18

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.
Files changed (2) hide show
  1. package/location.js +1 -1
  2. package/package.json +1 -1
package/location.js CHANGED
@@ -625,7 +625,7 @@ class GeographicCoordinates {
625
625
  }
626
626
 
627
627
  static formatPoint(geoJsonPoint, fractionDigit=6) {
628
- const [long, lat] = GeographicCoordinates.parseFromGeoJson(geoJsonPoint);
628
+ const [lat, long] = GeographicCoordinates.parseFromGeoJson(geoJsonPoint);
629
629
  if (typeof long == 'undefined' || typeof lat == 'undefined') {
630
630
  return '';
631
631
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osimatic/helpers-js",
3
- "version": "1.4.17",
3
+ "version": "1.4.18",
4
4
  "main": "main.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"