@ttoss/google-maps 2.1.14 → 2.1.15

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/esm/index.js CHANGED
@@ -169,7 +169,7 @@ var useMap = /* @__PURE__ */__name((options = {}) => {
169
169
  if (!isReady) {
170
170
  return;
171
171
  }
172
- if (!google.maps) {
172
+ if (!google.maps?.Map) {
173
173
  return;
174
174
  }
175
175
  setMap(new google.maps.Map(ref.current, options));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/google-maps",
3
- "version": "2.1.14",
3
+ "version": "2.1.15",
4
4
  "license": "MIT",
5
5
  "author": "ttoss",
6
6
  "contributors": [