@elastic/ems-client
Advanced tools
Comparing version 7.9.0 to 7.9.1
@@ -6,2 +6,6 @@ # Changelog | ||
## [7.9.1] - 2020-06-01 | ||
### Fixed | ||
- Fixed regression of missing source type on vector tile styles | ||
## [7.9.0] - 2020-05-29 | ||
@@ -8,0 +12,0 @@ ### Changed |
{ | ||
"name": "@elastic/ems-client", | ||
"version": "7.9.0", | ||
"version": "7.9.1", | ||
"description": "JavaScript client library for the Elastic Maps Service", | ||
@@ -5,0 +5,0 @@ "main": "target/node/index.js", |
@@ -117,2 +117,3 @@ /* | ||
...sourceJson, | ||
type: 'vector', | ||
attribution: htmlAttribution, | ||
@@ -119,0 +120,0 @@ tiles: extendedTileUrls, |
@@ -75,2 +75,3 @@ "use strict"; | ||
inlinedSources[sourceName] = { ...sourceJson, | ||
type: 'vector', | ||
attribution: htmlAttribution, | ||
@@ -77,0 +78,0 @@ tiles: extendedTileUrls |
@@ -184,2 +184,3 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } | ||
inlinedSources[_sourceName] = _objectSpread({}, sourceJson, { | ||
type: 'vector', | ||
attribution: htmlAttribution, | ||
@@ -186,0 +187,0 @@ tiles: extendedTileUrls |
@@ -291,2 +291,3 @@ /* | ||
); | ||
expect(styleSheet!.sources!.openmaptiles!.type).toBe('vector'); | ||
}); | ||
@@ -313,3 +314,4 @@ | ||
); | ||
expect(styleSheet!.sources!.openmaptiles!.type).toBe('vector'); | ||
}); | ||
}); |
634597
21933