idmission-web-sdk 2.2.133 → 2.2.134
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/customer_flows/DocumentCapture.d.ts +4 -0
- package/dist/components/customer_flows/DocumentCapture.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +5 -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 +5 -1
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +5 -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
|
@@ -18,6 +18,10 @@ export interface DocumentCaptureProps extends PropsWithChildren {
|
|
|
18
18
|
authUrl?: string;
|
|
19
19
|
/** URL to upload captured documents to via Tus. */
|
|
20
20
|
documentServiceUrl?: string;
|
|
21
|
+
/** The ID of the job to associate with the submission. */
|
|
22
|
+
jobId?: string;
|
|
23
|
+
/** The ID of the task to associate with the submission. */
|
|
24
|
+
taskId?: string;
|
|
21
25
|
/** Boolean flag to enable download and replace behavior for documents in the Swagger Proxy API. Defaults to false. */
|
|
22
26
|
sendBase64DocumentsInSwaggerProxy?: boolean;
|
|
23
27
|
/** Boolean flag to indicate whether the liveness check photos should be uploaded to the document service, rather than sent as base64. Defaults to false. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentCapture.d.ts","sourceRoot":"","sources":["../../../src/components/customer_flows/DocumentCapture.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAC/D,OAAO,EAAE,UAAU,EAAiB,MAAM,cAAc,CAAA;AACxD,OAAO,EAAE,UAAU,EAAe,MAAM,mBAA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AAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,gOAAgO;IAChO,YAAY,CAAC,EAAE,MAAM,IAAI,CAAA;IACzB,qEAAqE;IACrE,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAA;IAEjC,SAAS,CAAC,EAAE,gBAAgB,EAAE,CAAA;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,YAAY,CAAC,EAAE,SAAS,CAAA;IAExB,wEAAwE;IACxE,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,8DAA8D;IAC9D,UAAU,CAAC,EAAE,yBAAyB,CAAA;IACtC,gDAAgD;IAChD,QAAQ,CAAC,EAAE,uBAAuB,CAAA;IAElC,4GAA4G;IAC5G,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,kIAAkI;IAClI,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAE7B,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,
|
|
1
|
+
{"version":3,"file":"DocumentCapture.d.ts","sourceRoot":"","sources":["../../../src/components/customer_flows/DocumentCapture.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAC/D,OAAO,EAAE,UAAU,EAAiB,MAAM,cAAc,CAAA;AACxD,OAAO,EAAE,UAAU,EAAe,MAAM,mBAAmB,CAAA;AAC3D,OAAO,EACL,sBAAsB,EACtB,kBAAkB,EAClB,sBAAsB,EACtB,wBAAwB,EAEzB,MAAM,kCAAkC,CAAA;AACzC,OAAO,EAEL,+BAA+B,EAC/B,6BAA6B,EAC9B,MAAM,2CAA2C,CAAA;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAA;AAEnE,OAAO,EACL,gBAAgB,EAChB,sBAAsB,EACvB,MAAM,kDAA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,EAAE,CAAA;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,YAAY,CAAC,EAAE,SAAS,CAAA;IAExB,wEAAwE;IACxE,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,8DAA8D;IAC9D,UAAU,CAAC,EAAE,yBAAyB,CAAA;IACtC,gDAAgD;IAChD,QAAQ,CAAC,EAAE,uBAAuB,CAAA;IAElC,4GAA4G;IAC5G,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,kIAAkI;IAClI,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAE7B,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAgFpD,CAAA"}
|
|
@@ -233,7 +233,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
233
233
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
234
234
|
};
|
|
235
235
|
|
|
236
|
-
var webSdkVersion = '2.2.
|
|
236
|
+
var webSdkVersion = '2.2.134';
|
|
237
237
|
|
|
238
238
|
function getPlatform() {
|
|
239
239
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -17712,6 +17712,8 @@ var DocumentCapture = function DocumentCapture(_a) {
|
|
|
17712
17712
|
var _b = _a.lang,
|
|
17713
17713
|
lang = _b === void 0 ? 'auto' : _b,
|
|
17714
17714
|
sessionId = _a.sessionId,
|
|
17715
|
+
jobId = _a.jobId,
|
|
17716
|
+
taskId = _a.taskId,
|
|
17715
17717
|
authUrl = _a.authUrl,
|
|
17716
17718
|
submissionUrl = _a.submissionUrl,
|
|
17717
17719
|
documentServiceUrl = _a.documentServiceUrl,
|
|
@@ -17754,6 +17756,8 @@ var DocumentCapture = function DocumentCapture(_a) {
|
|
|
17754
17756
|
action: SubmissionAction.NONE,
|
|
17755
17757
|
submissionUrl: submissionUrl,
|
|
17756
17758
|
documentServiceUrl: documentServiceUrl,
|
|
17759
|
+
jobId: jobId,
|
|
17760
|
+
taskId: taskId,
|
|
17757
17761
|
sendBase64DocumentsInSwaggerProxy: sendBase64DocumentsInSwaggerProxy,
|
|
17758
17762
|
onBeforeDocumentUpload: onBeforeDocumentUpload,
|
|
17759
17763
|
onDocumentUploadProgress: onDocumentUploadProgress,
|