idmission-web-sdk 2.3.169 → 2.3.170
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/components/submission/SubmissionProvider.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +9 -7
- package/dist/sdk2.cjs.development.js.map +1 -1
- package/dist/sdk2.cjs.production.js +1 -1
- package/dist/sdk2.cjs.production.js.map +1 -1
- package/dist/sdk2.esm.js +9 -7
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +9 -7
- package/dist/sdk2.umd.development.js.map +1 -1
- package/dist/sdk2.umd.production.js +1 -1
- package/dist/sdk2.umd.production.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
212
212
|
};
|
|
213
213
|
|
|
214
|
-
var webSdkVersion = '2.3.
|
|
214
|
+
var webSdkVersion = '2.3.170';
|
|
215
215
|
|
|
216
216
|
function getPlatform() {
|
|
217
217
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -3295,6 +3295,10 @@
|
|
|
3295
3295
|
endpoint: endpoint,
|
|
3296
3296
|
retryDelays: [0, 1000, 1000, 1000, 3000, 5000, 10000, 20000],
|
|
3297
3297
|
headers: headers,
|
|
3298
|
+
// Disable tus's URL storage to prevent cross-session resume.
|
|
3299
|
+
// This is critical for PII safety: tus's default fingerprint is based on
|
|
3300
|
+
// file size/type, which can match unrelated documents on shared devices.
|
|
3301
|
+
storeFingerprintForResuming: false,
|
|
3298
3302
|
metadata: _assign({
|
|
3299
3303
|
filetype: blob.type,
|
|
3300
3304
|
contentType: blob.type,
|
|
@@ -3339,12 +3343,10 @@
|
|
|
3339
3343
|
return shouldRetryChunkRequest(error);
|
|
3340
3344
|
}
|
|
3341
3345
|
});
|
|
3342
|
-
upload
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
upload.start();
|
|
3347
|
-
})["catch"](reject);
|
|
3346
|
+
// Start upload immediately without checking for previous uploads.
|
|
3347
|
+
// Resume is disabled via storeFingerprintForResuming: false to prevent
|
|
3348
|
+
// PII cross-contamination on shared devices.
|
|
3349
|
+
upload.start();
|
|
3348
3350
|
});
|
|
3349
3351
|
}
|
|
3350
3352
|
function waitFor(ms) {
|