@finos_sdk/sdk-ekyc 0.0.32 → 0.0.33

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/App.js CHANGED
@@ -54,8 +54,8 @@ const App = () => {
54
54
  const handleInitSDK = async () => {
55
55
  try {
56
56
  setIsLoading(true);
57
- const result = await FinosEKYCModule_1.finosEKYC.initialize();
58
- const sdkInfo = await FinosEKYCModule_1.finosEKYC.getSDKInfo();
57
+ const result = await FinosEKYCModule_1.FinosEKYC.initialize();
58
+ const sdkInfo = await FinosEKYCModule_1.FinosEKYC.getSDKInfo();
59
59
  showAlert('SDK Initialized', `Result: ${result}\nVersion: ${sdkInfo.version}\nPlatform: ${sdkInfo.platform}`);
60
60
  }
61
61
  catch (error) {
@@ -86,7 +86,7 @@ const App = () => {
86
86
  }
87
87
  });
88
88
  // Call the actual SdkEkycUI.startEkyc
89
- const result = await FinosEKYCModule_1.finosEKYC.startEkycUI(AppKey.appKey, finalFlow, currentLanguage, transactionId, {
89
+ const result = await FinosEKYCModule_1.FinosEKYC.startEkycUI(AppKey.appKey, finalFlow, currentLanguage, transactionId, {
90
90
  appKey: AppKey.appKey,
91
91
  appKeyNfc: AppKey.appKeyNfc,
92
92
  appKeyOcr: AppKey.appKeyOcr,
@@ -195,7 +195,7 @@ export declare class FinosEKYCModule {
195
195
  private validateSDKReady;
196
196
  private validatePlatform;
197
197
  }
198
- export declare const finosEKYC: FinosEKYCModule;
198
+ export declare const FinosEKYC: FinosEKYCModule;
199
199
  export type { NfcConfig, NfcError } from '../types/ekycNFCType';
200
200
  export type { C06Config } from '../types/ekycC06Type';
201
201
  export type { OcrConfig } from '../types/ekycOCRType';
@@ -203,4 +203,4 @@ export type { LivenessConfig } from '../types/ekycLivenessType';
203
203
  export type { FaceServiceConfig } from '../types/ekycFaceType';
204
204
  export type { SDKEkycResultWithEvent, SDKEkycResultStringWithEvent } from '../types/ekycType';
205
205
  export { SDK_VERSION, SDK_NAME };
206
- export default finosEKYC;
206
+ export default FinosEKYC;
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.SDK_NAME = exports.SDK_VERSION = exports.finosEKYC = exports.FinosEKYCModule = void 0;
26
+ exports.SDK_NAME = exports.SDK_VERSION = exports.FinosEKYC = exports.FinosEKYCModule = void 0;
27
27
  const react_native_1 = require("react-native");
28
28
  const EKYCModule_1 = __importStar(require("../../EKYCModule"));
29
29
  Object.defineProperty(exports, "SDK_VERSION", { enumerable: true, get: function () { return EKYCModule_1.SDK_VERSION; } });
@@ -347,6 +347,6 @@ class FinosEKYCModule {
347
347
  }
348
348
  exports.FinosEKYCModule = FinosEKYCModule;
349
349
  // Export singleton instance
350
- exports.finosEKYC = FinosEKYCModule.getInstance();
350
+ exports.FinosEKYC = FinosEKYCModule.getInstance();
351
351
  // Default export
352
- exports.default = exports.finosEKYC;
352
+ exports.default = exports.FinosEKYC;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos_sdk/sdk-ekyc",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "description": "React Native SDK for eKYC (electronic Know Your Customer) - Vietnamese CCCD NFC reading, OCR, Liveness detection, Face matching, and C06 residence verification",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -433,7 +433,7 @@ export class FinosEKYCModule {
433
433
  }
434
434
 
435
435
  // Export singleton instance
436
- export const finosEKYC = FinosEKYCModule.getInstance();
436
+ export const FinosEKYC = FinosEKYCModule.getInstance();
437
437
 
438
438
  // Export types
439
439
  export type { NfcConfig, NfcError } from '../types/ekycNFCType';
@@ -447,4 +447,4 @@ export type { SDKEkycResultWithEvent, SDKEkycResultStringWithEvent } from '../ty
447
447
  export { SDK_VERSION, SDK_NAME };
448
448
 
449
449
  // Default export
450
- export default finosEKYC;
450
+ export default FinosEKYC;