@gjzq/sdk 1.4.0-beta.4 → 1.4.0-beta.6

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.
@@ -9215,6 +9215,10 @@ var trackInitAuto = function trackInitAuto() {
9215
9215
  if (window.location.origin.includes('.yjbtest.com')) {
9216
9216
  COLLECTENV = Env.FZ;
9217
9217
  }
9218
+ if (window.location.origin.includes('localhost') || window.location.origin.includes('172.28')) {
9219
+ COLLECTENV = Env.FZ;
9220
+ console.log('本地测试用仿真');
9221
+ }
9218
9222
  // CHANGELOG:开户项目使用全新的collectID
9219
9223
  // 兼容部分项目有新的collectId + 走新火山埋点方案;需要初始化此全局变量
9220
9224
  // 避免由于init的异步、导致finder.ts中initFinder自定义传参不执行
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CvWGodSd.js');
3
+ var index = require('./index-DJCYNF_A.js');
4
4
  require('ts-md5');
5
5
  require('weixin-js-sdk');
6
6
  require('clipboard');
package/dist/pure.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CvWGodSd.js');
3
+ var index = require('./index-DJCYNF_A.js');
4
4
  require('ts-md5');
5
5
  require('weixin-js-sdk');
6
6
  require('clipboard');
@@ -26,6 +26,10 @@ var trackInitAuto = function trackInitAuto() {
26
26
  if (window.location.origin.includes('.yjbtest.com')) {
27
27
  COLLECTENV = Env.FZ;
28
28
  }
29
+ if (window.location.origin.includes('localhost') || window.location.origin.includes('172.28')) {
30
+ COLLECTENV = Env.FZ;
31
+ console.log('本地测试用仿真');
32
+ }
29
33
  // CHANGELOG:开户项目使用全新的collectID
30
34
  // 兼容部分项目有新的collectId + 走新火山埋点方案;需要初始化此全局变量
31
35
  // 避免由于init的异步、导致finder.ts中initFinder自定义传参不执行
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjzq/sdk",
3
- "version": "1.4.0-beta.4",
3
+ "version": "1.4.0-beta.6",
4
4
  "main": "dist/index.js",
5
5
  "module": "es/index.mjs",
6
6
  "types": "./dist/index.d.ts",