@heycar/heycars-map 0.9.21-alpha4 → 0.9.21-alpha6

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.21-alpha4";
22
+ const version = "0.9.21-alpha6";
23
23
  const type = "module";
24
24
  const bin = {
25
25
  checkVersion: "./bin/checkVersion.js"
@@ -4784,7 +4784,6 @@ function compatibleWathPosition(onSuccess, onError, option) {
4784
4784
  }
4785
4785
  const browserPlatform = detectBrowserPlatform();
4786
4786
  const osPlatform = detectOSPlatform();
4787
- console.log("osPlatform, browserPlatform = ", osPlatform, browserPlatform);
4788
4787
  if (browserPlatform === BRWOSER_PLATFORM.WECHAT || browserPlatform === BRWOSER_PLATFORM.WECHAT_MINIPROGRAM) {
4789
4788
  return wechatWatchPosition(onSuccess, onError, option);
4790
4789
  }
@@ -4800,8 +4799,10 @@ function compatibleGeoPositionTransform(position, transform2) {
4800
4799
  const os = detectOSPlatform();
4801
4800
  const platform = detectBrowserPlatform();
4802
4801
  const wallet = detectAlipayWallet();
4803
- if ((wallet === ALIPAY_WALLET.TNGD || wallet === ALIPAY_WALLET.TMN) && os === OS_PLATFORM.ANDROID)
4802
+ console.log("os, browserPlatform, wallet = ", os, platform, wallet);
4803
+ if (wallet === ALIPAY_WALLET.TNGD || wallet === ALIPAY_WALLET.TMN) {
4804
4804
  return transform2(position);
4805
+ }
4805
4806
  if (platform === BRWOSER_PLATFORM.ALIPAY || platform === BRWOSER_PLATFORM.ALIPAY_MINIPROGRAM)
4806
4807
  return position;
4807
4808
  return transform2(position);
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.21-alpha4";
20
+ const version = "0.9.21-alpha6";
21
21
  const type = "module";
22
22
  const bin = {
23
23
  checkVersion: "./bin/checkVersion.js"
@@ -4782,7 +4782,6 @@ function compatibleWathPosition(onSuccess, onError, option) {
4782
4782
  }
4783
4783
  const browserPlatform = detectBrowserPlatform();
4784
4784
  const osPlatform = detectOSPlatform();
4785
- console.log("osPlatform, browserPlatform = ", osPlatform, browserPlatform);
4786
4785
  if (browserPlatform === BRWOSER_PLATFORM.WECHAT || browserPlatform === BRWOSER_PLATFORM.WECHAT_MINIPROGRAM) {
4787
4786
  return wechatWatchPosition(onSuccess, onError, option);
4788
4787
  }
@@ -4798,8 +4797,10 @@ function compatibleGeoPositionTransform(position, transform2) {
4798
4797
  const os = detectOSPlatform();
4799
4798
  const platform = detectBrowserPlatform();
4800
4799
  const wallet = detectAlipayWallet();
4801
- if ((wallet === ALIPAY_WALLET.TNGD || wallet === ALIPAY_WALLET.TMN) && os === OS_PLATFORM.ANDROID)
4800
+ console.log("os, browserPlatform, wallet = ", os, platform, wallet);
4801
+ if (wallet === ALIPAY_WALLET.TNGD || wallet === ALIPAY_WALLET.TMN) {
4802
4802
  return transform2(position);
4803
+ }
4803
4804
  if (platform === BRWOSER_PLATFORM.ALIPAY || platform === BRWOSER_PLATFORM.ALIPAY_MINIPROGRAM)
4804
4805
  return position;
4805
4806
  return transform2(position);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heycar/heycars-map",
3
- "version": "0.9.21-alpha4",
3
+ "version": "0.9.21-alpha6",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "checkVersion": "./bin/checkVersion.js"