@zxhy-npm/send-sls-logger 1.1.9 → 1.1.10

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.
Files changed (2) hide show
  1. package/lib/trace.js +5 -0
  2. package/package.json +1 -1
package/lib/trace.js CHANGED
@@ -187,6 +187,11 @@ export const mobileInfo = (() => {
187
187
  const match = ua.match(/Weibo\/([\d.]+)/);
188
188
  browserVersion = match ? match[1] : '';
189
189
  }
190
+ else if (ua.indexOf('ZHUBOBAO') > -1) {
191
+ browserName = 'ZHUBOBAO';
192
+ const match = ua.match(/ZHUBOBAO\/([\d.]+)/);
193
+ browserVersion = match ? match[1] : '';
194
+ }
190
195
  else if (ua.indexOf('UCBrowser') > -1) {
191
196
  browserName = 'UC';
192
197
  const match = ua.match(/UCBrowser\/([\d.]+)/);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zxhy-npm/send-sls-logger",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "description": "阿里云sls的logger发送",
5
5
  "scripts": {
6
6
  "build": "rm -rf lib && tsc"