authscape 1.0.652 → 1.0.654

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/index.js CHANGED
@@ -2283,7 +2283,8 @@ var GoogleMapsHeatmap = function GoogleMapsHeatmap(_ref2) {
2283
2283
  var apiKey = _ref2.apiKey,
2284
2284
  _ref2$data = _ref2.data,
2285
2285
  data = _ref2$data === void 0 ? [] : _ref2$data,
2286
- gradient = _ref2.gradient,
2286
+ _ref2$gradient = _ref2.gradient,
2287
+ gradient = _ref2$gradient === void 0 ? null : _ref2$gradient,
2287
2288
  _ref2$radius = _ref2.radius,
2288
2289
  radius = _ref2$radius === void 0 ? 50 : _ref2$radius,
2289
2290
  _ref2$opacity = _ref2.opacity,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "authscape",
3
- "version": "1.0.652",
3
+ "version": "1.0.654",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -30,7 +30,7 @@ export const GoogleMaps = ({apiKey, hasLoaded, children}) => {
30
30
  }
31
31
 
32
32
 
33
- export const GoogleMapsHeatmap = ({apiKey, data = [], gradient, radius = 50, opacity = 0.6, overlay}) => {
33
+ export const GoogleMapsHeatmap = ({apiKey, data = [], gradient = null, radius = 50, opacity = 0.6, overlay}) => {
34
34
  const [heatmapData, setHeatmapData] = useState(null);
35
35
  const [hasLoaded, setHasLoaded] = useState(false);
36
36