@quantcdn/quant-client 2.0.6 → 2.0.7
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/src/client.js +3 -0
- package/dist/src/types.d.ts +1 -0
- package/package.json +1 -1
package/dist/src/client.js
CHANGED
|
@@ -159,6 +159,9 @@ class QuantClient {
|
|
|
159
159
|
if (typeof payload.skipPurge !== 'undefined') {
|
|
160
160
|
headers['Quant-Skip-Purge'] = 'true';
|
|
161
161
|
}
|
|
162
|
+
if (typeof payload.headers !== 'undefined') {
|
|
163
|
+
headers['Quant-File-Headers'] = payload.headers;
|
|
164
|
+
}
|
|
162
165
|
const formData = {
|
|
163
166
|
file: {
|
|
164
167
|
value: payload.data,
|
package/dist/src/types.d.ts
CHANGED