idmission-web-sdk 0.0.73 → 0.0.74

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.
@@ -98,7 +98,7 @@ export type SubmissionMetadata = {
98
98
  selfie: CaptureAttemptMetadata[];
99
99
  back: CaptureAttemptMetadata[];
100
100
  front: CaptureAttemptMetadata[];
101
- sdkVersion: 'WebSDK_9.5.13.2.0';
101
+ sdkVersion: string;
102
102
  isRealIDCheckRequired: 'true' | 'false';
103
103
  os?: string;
104
104
  osVersion?: string;
package/dist/index.d.ts CHANGED
@@ -25,6 +25,7 @@ export type IDmissionSDK = {
25
25
  renderCustomerIdentification: typeof renderCustomerIdentification;
26
26
  renderSignatureKYC: typeof renderSignatureKYC;
27
27
  preloadModels: typeof preloadModels;
28
+ version: string;
28
29
  ready: boolean;
29
30
  };
30
31
  declare global {
@@ -387,6 +387,8 @@ var SubmissionError = function (_super) {
387
387
  return SubmissionError;
388
388
  }(Error);
389
389
 
390
+ var webSdkVersion = '0.0.74';
391
+
390
392
  var SubmissionProvider = function SubmissionProvider(_a) {
391
393
  var action = _a.action,
392
394
  children = _a.children,
@@ -594,7 +596,7 @@ var SubmissionProvider = function SubmissionProvider(_a) {
594
596
  front: idFrontCaptureAttempts,
595
597
  back: idBackCaptureAttempts,
596
598
  isRealIDCheckRequired: 'false',
597
- sdkVersion: 'WebSDK_9.5.13.2.0',
599
+ sdkVersion: "WebSDK_".concat(webSdkVersion),
598
600
  Resolution: "".concat(window.innerWidth, " x ").concat(window.innerHeight)
599
601
  };
600
602
  platform = getPlatform();
@@ -13946,6 +13948,7 @@ globalThis.IDmissionSDK = {
13946
13948
  renderCustomerIdentification: renderCustomerIdentification,
13947
13949
  renderSignatureKYC: renderSignatureKYC,
13948
13950
  preloadModels: preloadModels,
13951
+ version: webSdkVersion,
13949
13952
  ready: true
13950
13953
  };
13951
13954