@docmana/sdk 0.44.0 → 0.45.0

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/types.d.ts CHANGED
@@ -90,6 +90,10 @@ export interface FraudDetectionFileParams extends FraudDetectionBaseParams {
90
90
  filename?: never;
91
91
  }
92
92
  export type FraudDetectionParams = FraudDetectionUrlParams | FraudDetectionFileParams;
93
+ export type FraudDetectionAsyncParams = FraudDetectionParams & {
94
+ /** Receives a terminal FraudDetectionResult by HTTP POST. */
95
+ callbackUrl?: string;
96
+ };
93
97
  export interface FraudDetectionAsyncOptions {
94
98
  signal?: AbortSignal;
95
99
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docmana/sdk",
3
- "version": "0.44.0",
3
+ "version": "0.45.0",
4
4
  "description": "Official Docmana SDK — run document-analysis flows with a single call.",
5
5
  "license": "MIT",
6
6
  "type": "module",