@dash0/sdk-web 0.16.2 → 0.16.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dash0.iife.js +1 -1
- package/dist/dash0.iife.js.map +1 -1
- package/dist/dash0.js +1 -1
- package/dist/dash0.js.map +1 -1
- package/dist/dash0.umd.cjs +1 -1
- package/dist/dash0.umd.cjs.map +1 -1
- package/dist/modules/api/init.js +1 -0
- package/dist/modules/instrumentations/http/fetch.js +3 -1
- package/dist/modules/transport/fetch.js +1 -1
- package/dist/modules/utils/wrap.js +1 -0
- package/dist/modules/vars.js +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/types/options.d.ts +1 -1
- package/dist/types/vars.d.ts +5 -0
- package/package.json +1 -1
- package/src/api/init.ts +1 -0
- package/src/instrumentations/http/fetch.ts +13 -1
- package/src/transport/fetch.ts +1 -1
- package/src/types/options.ts +1 -0
- package/src/utils/wrap.ts +1 -0
- package/src/vars.ts +7 -0
package/src/vars.ts
CHANGED
|
@@ -165,6 +165,12 @@ export type Vars = {
|
|
|
165
165
|
urlAttributeScrubber: UrlAttributeScrubber;
|
|
166
166
|
|
|
167
167
|
pageViewInstrumentation: PageViewInstrumentationSettings;
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Enables telemetry transport compression using gzip.
|
|
171
|
+
* experimental - in rare cases causes Chrome to crash to use at your own risk.
|
|
172
|
+
*/
|
|
173
|
+
enableTransportCompression: boolean;
|
|
168
174
|
};
|
|
169
175
|
|
|
170
176
|
export const vars: Vars = {
|
|
@@ -191,4 +197,5 @@ export const vars: Vars = {
|
|
|
191
197
|
trackVirtualPageViews: true,
|
|
192
198
|
includeParts: [],
|
|
193
199
|
},
|
|
200
|
+
enableTransportCompression: false,
|
|
194
201
|
};
|