@antv/l7-component 2.7.19 → 2.7.22

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/es/index.js CHANGED
@@ -8,7 +8,7 @@ import MarkerLayer from './markerlayer';
8
8
  import Popup from './popup';
9
9
 
10
10
  function loadStyles(css, doc) {
11
- var isMiniAli = typeof my !== 'undefined' && !!my && typeof my.showToast === 'function';
11
+ var isMiniAli = typeof my !== 'undefined' && !!my && typeof my.showToast === 'function' && my.isFRM !== true;
12
12
  var isWeChatMiniProgram = typeof wx !== 'undefined' && wx !== null && (typeof wx.request !== 'undefined' || typeof wx.miniProgram !== 'undefined');
13
13
 
14
14
  if (isMiniAli || isWeChatMiniProgram) {
package/lib/index.js CHANGED
@@ -71,7 +71,7 @@ var _markerlayer = _interopRequireDefault(require("./markerlayer"));
71
71
  var _popup = _interopRequireDefault(require("./popup"));
72
72
 
73
73
  function loadStyles(css, doc) {
74
- var isMiniAli = typeof my !== 'undefined' && !!my && typeof my.showToast === 'function';
74
+ var isMiniAli = typeof my !== 'undefined' && !!my && typeof my.showToast === 'function' && my.isFRM !== true;
75
75
  var isWeChatMiniProgram = typeof wx !== 'undefined' && wx !== null && (typeof wx.request !== 'undefined' || typeof wx.miniProgram !== 'undefined');
76
76
 
77
77
  if (isMiniAli || isWeChatMiniProgram) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antv/l7-component",
3
- "version": "2.7.19",
3
+ "version": "2.7.22",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -25,14 +25,14 @@
25
25
  "author": "lzxue",
26
26
  "license": "ISC",
27
27
  "dependencies": {
28
- "@antv/l7-core": "^2.7.19",
29
- "@antv/l7-utils": "^2.7.19",
28
+ "@antv/l7-core": "2.7.22",
29
+ "@antv/l7-utils": "2.7.22",
30
30
  "@babel/runtime": "^7.7.7",
31
31
  "eventemitter3": "^4.0.0",
32
32
  "inversify": "^5.0.1",
33
33
  "reflect-metadata": "^0.1.13"
34
34
  },
35
- "gitHead": "3e2ac1692f97ac18b7600f7b9e4edf47b1dff948",
35
+ "gitHead": "e72e5b29ee5cc536f36d1fa0605957c7e8a7ee35",
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  }