@ttoss/google-maps 2.1.15 → 2.1.17

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
@@ -173,7 +173,7 @@ var useMap = /* @__PURE__ */__name((options = {}) => {
173
173
  return;
174
174
  }
175
175
  setMap(new google.maps.Map(ref.current, options));
176
- }, [map, isReady, ref, google.maps, options]);
176
+ }, [map, isReady, ref, google.maps?.Map, options]);
177
177
  const optionsStringify = JSON.stringify(options);
178
178
  React5.useEffect(() => {
179
179
  if (map) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/google-maps",
3
- "version": "2.1.15",
3
+ "version": "2.1.17",
4
4
  "license": "MIT",
5
5
  "author": "ttoss",
6
6
  "contributors": [
@@ -15,8 +15,8 @@
15
15
  "type": "module",
16
16
  "exports": {
17
17
  ".": {
18
- "import": "./dist/esm/index.js",
19
- "types": "./dist/index.d.ts"
18
+ "types": "./dist/index.d.ts",
19
+ "default": "./dist/esm/index.js"
20
20
  }
21
21
  },
22
22
  "files": [
@@ -24,7 +24,7 @@
24
24
  ],
25
25
  "dependencies": {
26
26
  "use-callback-ref": "^1.3.2",
27
- "@ttoss/react-hooks": "^2.1.4"
27
+ "@ttoss/react-hooks": "^2.1.5"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "react": ">=16.8.0",
@@ -32,12 +32,12 @@
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/google.maps": "^3.58.1",
35
- "@types/react": "^19.1.8",
36
- "jest": "^30.0.4",
37
- "react": "^19.1.0",
35
+ "@types/react": "^19.2.2",
36
+ "jest": "^30.2.0",
37
+ "react": "^19.2.0",
38
38
  "tsup": "^8.5.0",
39
- "@ttoss/config": "^1.35.8",
40
- "@ttoss/test-utils": "^2.1.28"
39
+ "@ttoss/test-utils": "^3.0.1",
40
+ "@ttoss/config": "^1.35.9"
41
41
  },
42
42
  "keywords": [
43
43
  "Google",