We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4187d2 commit ea81a7fCopy full SHA for ea81a7f
src/amplitude-client.js
@@ -39,7 +39,13 @@ var AmplitudeClient = function AmplitudeClient(instanceName) {
39
this._instanceName = utils.isEmptyString(instanceName) ? Constants.DEFAULT_INSTANCE : instanceName.toLowerCase();
40
this._unsentEvents = [];
41
this._unsentIdentifys = [];
42
- this.options = { ...DEFAULT_OPTIONS, trackingOptions: { ...DEFAULT_OPTIONS.trackingOptions } };
+ this.options = {
43
+ ...DEFAULT_OPTIONS,
44
+ headers: { ...DEFAULT_OPTIONS.headers },
45
+ library: { ...DEFAULT_OPTIONS.library },
46
+ plan: { ...DEFAULT_OPTIONS.plan },
47
+ trackingOptions: { ...DEFAULT_OPTIONS.trackingOptions },
48
+ };
49
this.cookieStorage = new cookieStorage().getStorage();
50
this._q = []; // queue for proxied functions before script load
51
this._sending = false;
0 commit comments