wobs-js 0.1.1 → 0.1.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wobs-js",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Wuying Observer SDK for JavaScript",
5
5
  "main": "src/observer.js",
6
6
  "scripts": {
package/src/userInfo.js CHANGED
@@ -281,8 +281,8 @@ function getUserInfoFromIni(userInfo) {
281
281
  if (fs.existsSync(runtimeIniPath)) {
282
282
  try {
283
283
  const cfg = readRuntimeIni(runtimeIniPath);
284
- if (cfg.AliUID) {
285
- userInfo.AliUID = cfg.AliUID;
284
+ if (cfg.AliUid) {
285
+ userInfo.AliUID = cfg.AliUid;
286
286
  }
287
287
  if (cfg.DesktopId) {
288
288
  userInfo.desktopID = cfg.DesktopId;
@@ -1,2 +1,3 @@
1
- {"time":"2026-01-21T20:49:13.687+0800","eventName":"test","module":"builder","InstanceID":"i-123","osVersion":"macOS 25.1.0","userName":"panxiangpeng","properties":{"args":["/usr/local/bin/node","/Users/panxiangpeng/Work/code/wuying-guestos-observer-js/examples/demo.js"]}}
2
- {"time":"2026-01-21T20:49:37.619+0800","eventName":"test","module":"builder","InstanceID":"i-123","aliUid":"12345","osVersion":"macOS 25.1.0","userName":"panxiangpeng","properties":{"args":["/usr/local/bin/node","/Users/panxiangpeng/Work/code/wuying-guestos-observer-js/examples/demo.js"]}}
1
+ {"time":"2026-01-22T11:04:47.765+0800","eventName":"test","module":"builder","InstanceID":"i-123","osVersion":"macOS 25.1.0","userName":"panxiangpeng","properties":{"args":["/usr/local/bin/node","/Users/panxiangpeng/Work/code/wuying-guestos-observer-js/examples/demo.js"]}}
2
+ {"time":"2026-01-22T11:05:21.515+0800","eventName":"test","module":"builder","InstanceID":"i-123","aliUid":"123","osVersion":"macOS 25.1.0","userName":"panxiangpeng","properties":{"args":["/usr/local/bin/node","/Users/panxiangpeng/Work/code/wuying-guestos-observer-js/examples/demo.js"]}}
3
+ {"time":"2026-01-22T11:06:17.391+0800","eventName":"test","module":"builder","InstanceID":"i-123","aliUid":"abc","osVersion":"macOS 25.1.0","userName":"panxiangpeng","properties":{"args":["/usr/local/bin/node","/Users/panxiangpeng/Work/code/wuying-guestos-observer-js/examples/demo.js"]}}