@@ -26,7 +26,7 @@ var ArrayProto = Array.prototype,
2626 slice = ArrayProto . slice ,
2727 toString = ObjProto . toString ,
2828 hasOwnProperty = ObjProto . hasOwnProperty ,
29- LIB_VERSION = '1.9.9 ' ,
29+ LIB_VERSION = '1.10.1 ' ,
3030 LIB_NAME = 'MiniProgram' ;
3131
3232var source_channel_standard = 'utm_source utm_medium utm_campaign utm_content utm_term' ;
@@ -787,8 +787,7 @@ _.setUtm = function (para, prop) {
787787_ . info = {
788788 properties : {
789789 $lib : LIB_NAME ,
790- $lib_version : String ( LIB_VERSION ) ,
791- $user_agent : 'SensorsAnalytics MP SDK'
790+ $lib_version : String ( LIB_VERSION )
792791 } ,
793792 getSystem : function ( ) {
794793 var e = this . properties ;
@@ -1124,10 +1123,9 @@ sa.init = function (obj) {
11241123} ;
11251124
11261125sa . getPresetProperties = function ( ) {
1127- if ( _ . info && _ . info . properties && _ . info . properties . $lib && _ . info . properties . $user_agent ) {
1126+ if ( _ . info && _ . info . properties && _ . info . properties . $lib ) {
11281127 var obj = _ . extend ( { $url_path : _ . getCurrentPath ( ) } , _ . info . properties , sa . store . getProps ( ) ) ;
11291128 delete obj . $lib ;
1130- delete obj . $user_agent ;
11311129 return obj ;
11321130 } else {
11331131 return { } ;
@@ -1316,7 +1314,6 @@ if(sa.para.autoTrack !== false){
13161314 } ;
13171315
13181316 function appShow ( para ) {
1319- // console.log('app_show', JSON.stringify(arguments));
13201317 var prop = { } ;
13211318
13221319 mpshow_time = ( new Date ( ) ) . getTime ( ) ;
0 commit comments