File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,7 +62,8 @@ var constructor = function () {
6262 self . userAttributes = filteredUserAttributes ;
6363 self . onboardingExpProvider = settings . onboardingExpProvider ;
6464
65- var customIntegrationName = customFlags && customFlags [ 'Rokt.integrationName' ] ;
65+ var customIntegrationName =
66+ customFlags && customFlags [ 'Rokt.integrationName' ] ;
6667 self . integrationName = generateIntegrationName ( customIntegrationName ) ;
6768
6869 if ( testMode ) {
@@ -279,12 +280,9 @@ var constructor = function () {
279280} ;
280281
281282function generateIntegrationName ( customIntegrationName ) {
282- var name =
283- 'mParticle_' +
284- 'wsdkv_' +
285- window . mParticle . getVersion ( ) +
286- '_kitv_' +
287- process . env . PACKAGE_VERSION ;
283+ var coreSdkVersion = window . mParticle . getVersion ( ) ;
284+ var kitVersion = process . env . PACKAGE_VERSION ;
285+ var name = 'mParticle_' + 'wsdkv_' + coreSdkVersion + '_kitv_' + kitVersion ;
288286
289287 if ( customIntegrationName ) {
290288 name += '_' + customIntegrationName ;
You can’t perform that action at this time.
0 commit comments