@jaak.ai/stamps 2.1.0-dev.12 → 2.1.0-dev.13
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/cjs/jaak-stamps.cjs.entry.js +8 -8
- package/dist/cjs/jaak-stamps.cjs.entry.js.map +1 -1
- package/dist/cjs/jaak-stamps.entry.cjs.js.map +1 -1
- package/dist/collection/components/my-component/my-component.js +8 -8
- package/dist/collection/components/my-component/my-component.js.map +1 -1
- package/dist/components/jaak-stamps.js +8 -8
- package/dist/components/jaak-stamps.js.map +1 -1
- package/dist/esm/jaak-stamps.entry.js +8 -8
- package/dist/esm/jaak-stamps.entry.js.map +1 -1
- package/dist/jaak-stamps-webcomponent/jaak-stamps-webcomponent.esm.js +1 -1
- package/dist/jaak-stamps-webcomponent/jaak-stamps.entry.esm.js.map +1 -1
- package/dist/jaak-stamps-webcomponent/{p-a76ae84d.entry.js → p-489abf08.entry.js} +2 -2
- package/dist/jaak-stamps-webcomponent/{p-a76ae84d.entry.js.map → p-489abf08.entry.js.map} +1 -1
- package/package.json +1 -1
|
@@ -1191,8 +1191,8 @@ export class JaakStamps {
|
|
|
1191
1191
|
if (captureState.step === 'front') {
|
|
1192
1192
|
this.stateManager.setCapturedImages({
|
|
1193
1193
|
front: {
|
|
1194
|
-
fullFrame: captureCanvas.toDataURL('image/
|
|
1195
|
-
cropped: croppedCanvas.toDataURL('image/
|
|
1194
|
+
fullFrame: captureCanvas.toDataURL('image/jpeg'),
|
|
1195
|
+
cropped: croppedCanvas.toDataURL('image/jpeg')
|
|
1196
1196
|
}
|
|
1197
1197
|
});
|
|
1198
1198
|
// Check if document classification is enabled (independent of detector)
|
|
@@ -1232,8 +1232,8 @@ export class JaakStamps {
|
|
|
1232
1232
|
else if (captureState.step === 'back') {
|
|
1233
1233
|
this.stateManager.setCapturedImages({
|
|
1234
1234
|
back: {
|
|
1235
|
-
fullFrame: captureCanvas.toDataURL('image/
|
|
1236
|
-
cropped: croppedCanvas.toDataURL('image/
|
|
1235
|
+
fullFrame: captureCanvas.toDataURL('image/jpeg'),
|
|
1236
|
+
cropped: croppedCanvas.toDataURL('image/jpeg')
|
|
1237
1237
|
}
|
|
1238
1238
|
});
|
|
1239
1239
|
this.completeProcess(false);
|
|
@@ -1271,8 +1271,8 @@ export class JaakStamps {
|
|
|
1271
1271
|
if (captureState.step === 'front') {
|
|
1272
1272
|
this.stateManager.setCapturedImages({
|
|
1273
1273
|
front: {
|
|
1274
|
-
fullFrame: captureCanvas.toDataURL('image/
|
|
1275
|
-
cropped: croppedCanvas.toDataURL('image/
|
|
1274
|
+
fullFrame: captureCanvas.toDataURL('image/jpeg'),
|
|
1275
|
+
cropped: croppedCanvas.toDataURL('image/jpeg')
|
|
1276
1276
|
}
|
|
1277
1277
|
});
|
|
1278
1278
|
// Check if document classification is enabled
|
|
@@ -1304,8 +1304,8 @@ export class JaakStamps {
|
|
|
1304
1304
|
else if (captureState.step === 'back') {
|
|
1305
1305
|
this.stateManager.setCapturedImages({
|
|
1306
1306
|
back: {
|
|
1307
|
-
fullFrame: captureCanvas.toDataURL('image/
|
|
1308
|
-
cropped: croppedCanvas.toDataURL('image/
|
|
1307
|
+
fullFrame: captureCanvas.toDataURL('image/jpeg'),
|
|
1308
|
+
cropped: croppedCanvas.toDataURL('image/jpeg')
|
|
1309
1309
|
}
|
|
1310
1310
|
});
|
|
1311
1311
|
this.completeProcess(false);
|