@dfds-ui/google-places 2.2.0-alpha.31bb2c92 → 2.2.0-alpha.35ec63ee
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/GooglePlaces.js +1 -1
- package/cjs/GooglePlaces.js +1 -1
- package/package.json +8 -8
package/GooglePlaces.js
CHANGED
|
@@ -72,7 +72,7 @@ export var useAddressPredictions = function useAddressPredictions(input, _ref2)
|
|
|
72
72
|
setPredictions = _useState4[1];
|
|
73
73
|
var _useGooglePlacesAPI = useGooglePlacesAPI(),
|
|
74
74
|
available = _useGooglePlacesAPI.available;
|
|
75
|
-
var autocomplete = useRef();
|
|
75
|
+
var autocomplete = useRef(undefined);
|
|
76
76
|
if (!autocomplete.current && available && typeof window !== 'undefined') {
|
|
77
77
|
autocomplete.current = new google.maps.places.AutocompleteService();
|
|
78
78
|
}
|
package/cjs/GooglePlaces.js
CHANGED
|
@@ -68,7 +68,7 @@ const useAddressPredictions = (input, {
|
|
|
68
68
|
const {
|
|
69
69
|
available
|
|
70
70
|
} = useGooglePlacesAPI();
|
|
71
|
-
const autocomplete = (0, _react.useRef)();
|
|
71
|
+
const autocomplete = (0, _react.useRef)(undefined);
|
|
72
72
|
if (!autocomplete.current && available && typeof window !== 'undefined') {
|
|
73
73
|
autocomplete.current = new google.maps.places.AutocompleteService();
|
|
74
74
|
}
|
package/package.json
CHANGED
|
@@ -3,26 +3,26 @@
|
|
|
3
3
|
"description": "Components using Google places",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
|
-
"version": "2.2.0-alpha.
|
|
6
|
+
"version": "2.2.0-alpha.35ec63ee",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"main": "./cjs/index.js",
|
|
9
9
|
"module": "./index.js",
|
|
10
10
|
"esnext": "./index.js",
|
|
11
11
|
"typings": "./index.d.ts",
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"react": ">=
|
|
14
|
-
"react-dom": ">=
|
|
13
|
+
"react": ">= 19.0.0",
|
|
14
|
+
"react-dom": ">= 19.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@dfds-ui/colors": "2.2.0-alpha.
|
|
18
|
-
"@dfds-ui/hooks": "2.2.0-alpha.
|
|
19
|
-
"@dfds-ui/icons": "2.2.0-alpha.
|
|
20
|
-
"@dfds-ui/react-components": "2.2.0-alpha.
|
|
17
|
+
"@dfds-ui/colors": "2.2.0-alpha.35ec63ee",
|
|
18
|
+
"@dfds-ui/hooks": "2.2.0-alpha.35ec63ee",
|
|
19
|
+
"@dfds-ui/icons": "2.2.0-alpha.35ec63ee",
|
|
20
|
+
"@dfds-ui/react-components": "2.2.0-alpha.35ec63ee",
|
|
21
21
|
"@types/googlemaps": "3.43.3",
|
|
22
22
|
"@types/lodash.debounce": "^4.0.9",
|
|
23
23
|
"lodash.debounce": "^4.0.8"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "35ec63ee8364ec7145ae710c4f0db9e1d602b05d",
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|
|
28
28
|
}
|