idmission-web-sdk 2.1.105 → 2.1.106
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/lib/models/DocumentDetection.d.ts +1 -0
- package/dist/sdk2.cjs.development.js +2 -1
- 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 +2 -1
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +2 -1
- 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
|
@@ -44,6 +44,7 @@ export declare function useLoadDocumentDetector({ modelPath, modelLoadTimeoutMs,
|
|
|
44
44
|
setModelError: import("react").Dispatch<import("react").SetStateAction<Error | null>>;
|
|
45
45
|
};
|
|
46
46
|
export type DocumentDetectionPrediction = {
|
|
47
|
+
prediction: ObjectDetectorPrediction;
|
|
47
48
|
detectedObjects: DetectedObject[];
|
|
48
49
|
detectionTime: number;
|
|
49
50
|
detectionScore: number;
|
|
@@ -234,7 +234,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
234
234
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
235
235
|
};
|
|
236
236
|
|
|
237
|
-
var webSdkVersion = '2.1.
|
|
237
|
+
var webSdkVersion = '2.1.106';
|
|
238
238
|
|
|
239
239
|
function getPlatform() {
|
|
240
240
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -5841,6 +5841,7 @@ function processDocumentDetectorPrediction(prediction, thresholds, boundaries) {
|
|
|
5841
5841
|
}
|
|
5842
5842
|
}
|
|
5843
5843
|
return {
|
|
5844
|
+
prediction: prediction,
|
|
5844
5845
|
detectedObjects: detectedObjects,
|
|
5845
5846
|
detectionScore: detectionScore,
|
|
5846
5847
|
detectionTime: time,
|