File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,14 @@ var AmplitudeClient = function AmplitudeClient(instanceName) {
39
39
this . _instanceName = utils . isEmptyString ( instanceName ) ? Constants . DEFAULT_INSTANCE : instanceName . toLowerCase ( ) ;
40
40
this . _unsentEvents = [ ] ;
41
41
this . _unsentIdentifys = [ ] ;
42
- this . options = { ...DEFAULT_OPTIONS , trackingOptions : { ...DEFAULT_OPTIONS . trackingOptions } } ;
42
+ this . options = {
43
+ ...DEFAULT_OPTIONS ,
44
+ headers : { ...DEFAULT_OPTIONS . headers } ,
45
+ ingestionMetadata : { ...DEFAULT_OPTIONS . ingestionMetadata } ,
46
+ library : { ...DEFAULT_OPTIONS . library } ,
47
+ plan : { ...DEFAULT_OPTIONS . plan } ,
48
+ trackingOptions : { ...DEFAULT_OPTIONS . trackingOptions } ,
49
+ } ;
43
50
this . cookieStorage = new cookieStorage ( ) . getStorage ( ) ;
44
51
this . _q = [ ] ; // queue for proxied functions before script load
45
52
this . _sending = false ;
You can’t perform that action at this time.
0 commit comments