bajo 1.1.18 → 1.1.19

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.
@@ -273,8 +273,9 @@ class BajoCore extends Plugin {
273
273
  if (value instanceof Date) type = 'datetime'
274
274
  }
275
275
  if (['float', 'double'].includes(type) && this.app.bajoSpatial) {
276
- if (options.latitude) return this.app.bajoSpatial.latToDms(value)
277
- if (options.longitude) return this.app.bajoSpatial.lngToDms(value)
276
+ const { latToDms, lngToDms } = this.app.bajoSpatial.lib.anekaSpatial
277
+ if (options.latitude) return latToDms(value)
278
+ if (options.longitude) return lngToDms(value)
278
279
  }
279
280
  if (['integer', 'smallint', 'float', 'double'].includes(type)) {
280
281
  value = ['integer', 'smallint'].includes(type) ? parseInt(value) : parseFloat(value)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bajo",
3
- "version": "1.1.18",
3
+ "version": "1.1.19",
4
4
  "description": "A framework to build a giant monstrous app rapidly",
5
5
  "main": "boot/index.js",
6
6
  "scripts": {