@heycar/heycars-map 0.9.20-timeout1 → 0.9.20-timeout2

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/index.cjs CHANGED
@@ -19,7 +19,7 @@ if (typeof GeolocationPositionError === "undefined") {
19
19
  };
20
20
  }
21
21
  const name = "@heycar/heycars-map";
22
- const version = "0.9.20-timeout1";
22
+ const version = "0.9.20-timeout2";
23
23
  const type = "module";
24
24
  const bin = {
25
25
  checkVersion: "./bin/checkVersion.js"
@@ -1441,6 +1441,7 @@ const ZINDEX_GREEN_ZONE = 10;
1441
1441
  const TRACKS_MATCH_MAX_LENGTH = 3;
1442
1442
  const REGEO_TIMEOUT = 5e3;
1443
1443
  const GET_RECOMMEND_PLACE_TIMEOUT = 5e3;
1444
+ const GET_DEFAULT_CENTER_PLACE_TIMEOUT = 5e3;
1444
1445
  const IS_ENABLE_AUXILIARY_GRASP_ROAD = location.search.includes("enableAuxiliaryGraspRoad");
1445
1446
  const AMAP_DEFAULT_MARKER_ICON_URL = "https://webapi.amap.com/theme/v1.3/markers/b/mark_bs.png";
1446
1447
  var BRWOSER_PLATFORM = /* @__PURE__ */ ((BRWOSER_PLATFORM2) => {
@@ -7768,7 +7769,7 @@ const BusinessRecomendPlaceMap = defineLagecySetup(function BusinessRecomendPlac
7768
7769
  });
7769
7770
  };
7770
7771
  const defaultCenterPlacePromise = new Promise((resolve) => {
7771
- getDefaultCenterPlace().then(resolve).catch(() => resolve(void 0));
7772
+ pipeTimeout(getDefaultCenterPlace, void 0, GET_DEFAULT_CENTER_PLACE_TIMEOUT)().then(resolve).catch(() => resolve(void 0));
7772
7773
  });
7773
7774
  const {
7774
7775
  orientation
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@ if (typeof GeolocationPositionError === "undefined") {
17
17
  };
18
18
  }
19
19
  const name = "@heycar/heycars-map";
20
- const version = "0.9.20-timeout1";
20
+ const version = "0.9.20-timeout2";
21
21
  const type = "module";
22
22
  const bin = {
23
23
  checkVersion: "./bin/checkVersion.js"
@@ -1439,6 +1439,7 @@ const ZINDEX_GREEN_ZONE = 10;
1439
1439
  const TRACKS_MATCH_MAX_LENGTH = 3;
1440
1440
  const REGEO_TIMEOUT = 5e3;
1441
1441
  const GET_RECOMMEND_PLACE_TIMEOUT = 5e3;
1442
+ const GET_DEFAULT_CENTER_PLACE_TIMEOUT = 5e3;
1442
1443
  const IS_ENABLE_AUXILIARY_GRASP_ROAD = location.search.includes("enableAuxiliaryGraspRoad");
1443
1444
  const AMAP_DEFAULT_MARKER_ICON_URL = "https://webapi.amap.com/theme/v1.3/markers/b/mark_bs.png";
1444
1445
  var BRWOSER_PLATFORM = /* @__PURE__ */ ((BRWOSER_PLATFORM2) => {
@@ -7766,7 +7767,7 @@ const BusinessRecomendPlaceMap = defineLagecySetup(function BusinessRecomendPlac
7766
7767
  });
7767
7768
  };
7768
7769
  const defaultCenterPlacePromise = new Promise((resolve) => {
7769
- getDefaultCenterPlace().then(resolve).catch(() => resolve(void 0));
7770
+ pipeTimeout(getDefaultCenterPlace, void 0, GET_DEFAULT_CENTER_PLACE_TIMEOUT)().then(resolve).catch(() => resolve(void 0));
7770
7771
  });
7771
7772
  const {
7772
7773
  orientation
@@ -17,5 +17,6 @@ export declare const ZINDEX_GREEN_ZONE = 10;
17
17
  export declare const TRACKS_MATCH_MAX_LENGTH = 3;
18
18
  export declare const REGEO_TIMEOUT = 5000;
19
19
  export declare const GET_RECOMMEND_PLACE_TIMEOUT = 5000;
20
+ export declare const GET_DEFAULT_CENTER_PLACE_TIMEOUT = 5000;
20
21
  export declare const IS_ENABLE_AUXILIARY_GRASP_ROAD: boolean;
21
22
  export declare const AMAP_DEFAULT_MARKER_ICON_URL = "https://webapi.amap.com/theme/v1.3/markers/b/mark_bs.png";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heycar/heycars-map",
3
- "version": "0.9.20-timeout1",
3
+ "version": "0.9.20-timeout2",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "checkVersion": "./bin/checkVersion.js"