@gjzq/sdk 1.3.0-beta.5 → 1.3.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.
package/README.md CHANGED
@@ -74,12 +74,15 @@ import {getAppId} from '@gjzq/sdk';
74
74
  | 用户登录 | `import { userLogin } from '@sinolink/login'` | `import { userLoginForWeb }from '@gjzq/sdk'` |
75
75
 
76
76
 
77
+
77
78
  ## 注意事项
78
79
  1. 如果项目不需要自动初始化埋点,或者上报非佣金宝,比如开户项目,以及一些@sinolink的ui组件库,可以直接引用```@gjzq/sdk/pure```
79
80
  2. 如果项目不需要自动初始化但又引用@gjzq/sdk,可以在模版html中提前设置 ```_FINDER _COLLECTV2_INIT_``` 设置为 false 或者 配置初始化配置 ```_FINDER _COLLECTV2_CONFIG_``` 字段
80
81
  3. 使用@gjzq/sdk/pure的时候如果报错types找不到,升级到typescript5以上,检查项目中tsconfig.json 的 "compilerOptions" 改成bundler或者node16
81
82
  4. ```@gjzq/sdk``` 与 ```@gjzq/sdk/pure``` 区别仅在于pure不含finder的自动初始化
82
83
 
84
+
85
+
83
86
  ## License
84
87
  [MIT](https://opensource.org/licenses/MIT)
85
88
 
@@ -9375,15 +9375,6 @@ var wechatAuth = function wechatAuth(options) {
9375
9375
  document.dispatchEvent(drEvent);
9376
9376
  };
9377
9377
  })();
9378
- // const initDeviceReady = function() {
9379
- // window.deviceReady = () => {
9380
- // const drEvent = document.createEvent('Event');
9381
- // drEvent.initEvent('deviceready', true, true);
9382
- // document.dispatchEvent(drEvent);
9383
- // };
9384
- // };
9385
- // initDeviceReady();
9386
- // export default initDeviceReady;
9387
9378
 
9388
9379
  exports.addCalendar = addCalendar;
9389
9380
  exports.addToPortfolio = addToPortfolio;
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DHSk5akV.js');
3
+ var index = require('./index-3M0DJTRB.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-DHSk5akV.js');
3
+ var index = require('./index-3M0DJTRB.js');
4
4
  require('ts-md5');
5
5
  require('weixin-js-sdk');
6
6
  require('clipboard');
@@ -6,12 +6,3 @@
6
6
  document.dispatchEvent(drEvent);
7
7
  };
8
8
  })();
9
- // const initDeviceReady = function() {
10
- // window.deviceReady = () => {
11
- // const drEvent = document.createEvent('Event');
12
- // drEvent.initEvent('deviceready', true, true);
13
- // document.dispatchEvent(drEvent);
14
- // };
15
- // };
16
- // initDeviceReady();
17
- // export default initDeviceReady;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjzq/sdk",
3
- "version": "1.3.0-beta.5",
3
+ "version": "1.3.0-beta.6",
4
4
  "main": "dist/index.js",
5
5
  "module": "es/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -106,7 +106,9 @@
106
106
  "./es/exec/index.mjs",
107
107
  "./es/nativeIOOperation/index.mjs",
108
108
  "./es/initFinder/index.mjs",
109
- "./es/autoInitFinder/index.mjs"
109
+ "./es/autoInitFinder/index.mjs",
110
+ "./es/index.mjs",
111
+ "./es/pure.mjs"
110
112
  ],
111
113
  "author": "佣金宝前端",
112
114
  "license": "MIT"