@hexar/biometric-identity-sdk-react-native 1.1.19 → 1.1.21

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.
@@ -1 +1 @@
1
- {"version":3,"file":"ProfilePictureCapture.d.ts","sourceRoot":"","sources":["../../src/components/ProfilePictureCapture.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AASxE,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAmC,cAAc,EAAsB,MAAM,oCAAoC,CAAC;AAGzJ,MAAM,WAAW,8BAA8B;IAC7C,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,0BAA0B;IACzC,UAAU,EAAE,CAAC,MAAM,EAAE,8BAA8B,KAAK,IAAI,CAAC;IAC7D,OAAO,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IACzC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CAC9B;AAED,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAiPtE,CAAC;AAuBF,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"ProfilePictureCapture.d.ts","sourceRoot":"","sources":["../../src/components/ProfilePictureCapture.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AASxE,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAmC,cAAc,EAAsB,MAAM,oCAAoC,CAAC;AAGzJ,MAAM,WAAW,8BAA8B;IAC7C,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,0BAA0B;IACzC,UAAU,EAAE,CAAC,MAAM,EAAE,8BAA8B,KAAK,IAAI,CAAC;IAC7D,OAAO,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IACzC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CAC9B;AAED,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAqOtE,CAAC;AAuBF,eAAe,qBAAqB,CAAC"}
@@ -105,17 +105,6 @@ const ProfilePictureCapture = ({ onComplete, onError, onCancel, theme, language,
105
105
  biometric_identity_sdk_core_1.logger.error('Session ID not available after attempting to generate');
106
106
  throw new Error('VALIDATION_ERROR');
107
107
  }
108
- biometric_identity_sdk_core_1.logger.info('Validating profile picture with backend', {
109
- sessionId,
110
- framesCount: videoResult.frames.length,
111
- duration: videoResult.duration,
112
- isUsingBackend,
113
- hasVideoFrames: !!videoResult.frames,
114
- videoFramesType: typeof videoResult.frames,
115
- firstFrameLength: videoResult.frames?.[0]?.length || 0,
116
- challengesCompleted: videoResult.challengesCompleted || [],
117
- challengesCompletedCount: videoResult.challengesCompleted?.length || 0,
118
- });
119
108
  if (!videoResult.frames || videoResult.frames.length === 0) {
120
109
  throw new Error('No video frames available for validation');
121
110
  }
@@ -1 +1 @@
1
- {"version":3,"file":"VideoRecorder.d.ts","sourceRoot":"","sources":["../../src/components/VideoRecorder.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAmD,MAAM,OAAO,CAAC;AAaxE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,iBAAiB,EAAmC,MAAM,oCAAoC,CAAC;AAE1I,MAAM,WAAW,eAAe;IAC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 theme, language, duration, instructions, challenges: pr
159
159
  let challengeList;
160
160
  const currentStrings = (0, biometric_identity_sdk_core_1.getStrings)();
161
161
  const instructionMap = getInstructionMap(currentStrings);
162
- biometric_identity_sdk_core_1.logger.info('Initializing challenges', {
163
- language,
164
- hasStrings: !!currentStrings,
165
- hasInstructions: !!currentStrings?.liveness?.instructions,
166
- instructionMapKeys: Object.keys(instructionMap),
167
- turnLeftTranslation: instructionMap['turn_left']?.text,
168
- turnRightTranslation: instructionMap['turn_right']?.text
169
- });
170
162
  if (propChallenges && propChallenges.length > 0) {
171
163
  challengeList = propChallenges.map(challenge => ({
172
164
  ...challenge,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hexar/biometric-identity-sdk-react-native",
3
- "version": "1.1.19",
3
+ "version": "1.1.21",
4
4
  "description": "React Native wrapper for Biometric Identity SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,7 +11,7 @@
11
11
  "clean": "rm -rf dist"
12
12
  },
13
13
  "peerDependencies": {
14
- "@hexar/biometric-identity-sdk-core": ">=1.1.3",
14
+ "@hexar/biometric-identity-sdk-core": ">=1.1.4",
15
15
  "react": ">=18.0.0",
16
16
  "react-native": ">=0.70.0",
17
17
  "react-native-permissions": ">=4.0.0",
@@ -112,18 +112,6 @@ export const ProfilePictureCapture: React.FC<ProfilePictureCaptureProps> = ({
112
112
  throw new Error('VALIDATION_ERROR');
113
113
  }
114
114
 
115
- logger.info('Validating profile picture with backend', {
116
- sessionId,
117
- framesCount: videoResult.frames.length,
118
- duration: videoResult.duration,
119
- isUsingBackend,
120
- hasVideoFrames: !!videoResult.frames,
121
- videoFramesType: typeof videoResult.frames,
122
- firstFrameLength: videoResult.frames?.[0]?.length || 0,
123
- challengesCompleted: videoResult.challengesCompleted || [],
124
- challengesCompletedCount: videoResult.challengesCompleted?.length || 0,
125
- });
126
-
127
115
  if (!videoResult.frames || videoResult.frames.length === 0) {
128
116
  throw new Error('No video frames available for validation');
129
117
  }
@@ -198,15 +198,7 @@ export const VideoRecorder: React.FC<VideoRecorderProps> = ({
198
198
  let challengeList: ChallengeAction[];
199
199
  const currentStrings = getStrings();
200
200
  const instructionMap = getInstructionMap(currentStrings);
201
- logger.info('Initializing challenges', {
202
- language,
203
- hasStrings: !!currentStrings,
204
- hasInstructions: !!currentStrings?.liveness?.instructions,
205
- instructionMapKeys: Object.keys(instructionMap),
206
- turnLeftTranslation: instructionMap['turn_left']?.text,
207
- turnRightTranslation: instructionMap['turn_right']?.text
208
- });
209
-
201
+
210
202
  if (propChallenges && propChallenges.length > 0) {
211
203
  challengeList = propChallenges.map(challenge => ({
212
204
  ...challenge,