@jaak.ai/stamps 2.0.0-dev.44 → 2.0.0-dev.45
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/README.md +2 -2
- package/dist/cjs/jaak-stamps.cjs.entry.js +4 -4
- 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 +6 -6
- package/dist/collection/components/my-component/my-component.js.map +1 -1
- package/dist/components/jaak-stamps.js +4 -4
- package/dist/components/jaak-stamps.js.map +1 -1
- package/dist/esm/jaak-stamps.entry.js +4 -4
- 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-3074405d.entry.js → p-10ee2dab.entry.js} +2 -2
- package/dist/jaak-stamps-webcomponent/{p-3074405d.entry.js.map → p-10ee2dab.entry.js.map} +1 -1
- package/dist/types/components.d.ts +4 -4
- package/package.json +1 -1
|
@@ -1151,12 +1151,12 @@ const JaakStamps = class {
|
|
|
1151
1151
|
}
|
|
1152
1152
|
get el() { return getElement(this); }
|
|
1153
1153
|
debug = false;
|
|
1154
|
-
alignmentTolerance =
|
|
1154
|
+
alignmentTolerance = 15;
|
|
1155
1155
|
maskSize = 80;
|
|
1156
1156
|
cropMargin = 20;
|
|
1157
1157
|
useDocumentClassification = false;
|
|
1158
1158
|
preferredCamera = 'auto';
|
|
1159
|
-
captureDelay =
|
|
1159
|
+
captureDelay = 1500;
|
|
1160
1160
|
captureCompleted;
|
|
1161
1161
|
isReady;
|
|
1162
1162
|
// State derived from services
|
|
@@ -1300,8 +1300,8 @@ const JaakStamps = class {
|
|
|
1300
1300
|
this.preferredCamera = 'auto';
|
|
1301
1301
|
}
|
|
1302
1302
|
if (this.captureDelay < 0 || this.captureDelay > 10000) {
|
|
1303
|
-
this.logger.warn(`Propiedad captureDelay inválida. Valor: ${this.captureDelay}, esperado: 0-10000. Usando valor por defecto:
|
|
1304
|
-
this.captureDelay =
|
|
1303
|
+
this.logger.warn(`Propiedad captureDelay inválida. Valor: ${this.captureDelay}, esperado: 0-10000. Usando valor por defecto: 1500`);
|
|
1304
|
+
this.captureDelay = 1500;
|
|
1305
1305
|
}
|
|
1306
1306
|
}
|
|
1307
1307
|
async loadOnnxRuntime() {
|