zet-lib 3.0.2 → 3.0.3

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.
Files changed (2) hide show
  1. package/lib/moduleLib.js +1 -2
  2. package/package.json +1 -1
package/lib/moduleLib.js CHANGED
@@ -147,9 +147,8 @@ m.location = function (req, res, key) {
147
147
  let script = ``;
148
148
  let head = ``;
149
149
  let end = ``;
150
- end =+ `<script src="https://maps.googleapis.com/maps/api/js?key=${process.env.GOOGLE_KEY}&callback=initAutocompleteZmap&libraries=places,marker&language=ID&loading=async" defer></script>`
150
+ end += `<script src="https://maps.googleapis.com/maps/api/js?key=${process.env.GOOGLE_KEY}&callback=initAutocompleteZmap&libraries=places,marker&language=ID&loading=async" defer></script>`
151
151
  script += `let searchAddressMap, autocompleteMap, marker, map;
152
-
153
152
  function initAutocompleteZmap() {
154
153
  if (mapLocationJSON && mapLocationJSON.lat) {
155
154
  $("#search_map_location").val(mapLocationJSON.address1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zet-lib",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "zet is a library that part of zet generator.",
5
5
  "engines": {
6
6
  "node": ">=18"