Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@arms/js-sdk

Package Overview
Dependencies
Maintainers
5
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arms/js-sdk - npm Package Compare versions

Comparing version 1.8.36-beta.12 to 1.8.36-beta.13

dist/modules/attribution.d.ts

38

lib/biz.uniapp/index.js

@@ -1,2 +0,2 @@

var global = require("../global"), util = require("../util"), UniApp = require("./uniapp"), uni = global.get("uni"), storage = global.get("storage"), ARMS_STORAGE_MINIPROGRAM_UID_KEY = "ARMS_STORAGE_MINIPROGRAM_UID_KEY", MiniLogger = function(t) {
var global = require("../global"), util = require("../util"), UniApp = require("./uniapp"), uni = global.get("uni"), ARMS_STORAGE_MINIPROGRAM_UID_KEY = "ARMS_STORAGE_MINIPROGRAM_UID_KEY", MiniLogger = function(t) {
return UniApp.call(this, t), this;

@@ -14,24 +14,16 @@ };

autoSetUid: function() {
var t = this;
if (t._conf && t._conf.uid) t.setCommonInfo({
uid: t._conf.uid
}); else if (storage) try {
storage.get({
key: ARMS_STORAGE_MINIPROGRAM_UID_KEY,
success: function(e) {
if (e && "string" == typeof e) t.setCommonInfo({
uid: e
}); else {
var o = util.uu();
storage.set({
key: ARMS_STORAGE_MINIPROGRAM_UID_KEY,
value: o
}), t.setCommonInfo({
uid: o
});
}
}
});
} catch (e) {
util.warn("[arms] error in autoSetUid", e);
if (this._conf && this._conf.uid) this.setCommonInfo({
uid: this._conf.uid
}); else try {
var t = uni.getStorageSync(ARMS_STORAGE_MINIPROGRAM_UID_KEY);
if (t && "string" == typeof t) this.setCommonInfo({
uid: t
}); else if ("function" == typeof uni.setStorageSync) {
var e = util.uu();
uni.setStorageSync(ARMS_STORAGE_MINIPROGRAM_UID_KEY, e), this.setCommonInfo({
uid: e
});
}
} catch (i) {
util.warn("[arms] error in autoSetUid", i);
}

@@ -38,0 +30,0 @@ },

{
"name": "@arms/js-sdk",
"version": "1.8.36-beta.12",
"version": "1.8.36-beta.13",
"description": "arms rum javascript sdk",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc