@forgerock/recognize 0.0.1 → 2.3.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.
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  *
3
- * Copyright © 2026 Ping Identity Corporation. All right reserved.
3
+ * Copyright (c) 2026 Ping Identity Corporation. All right reserved.
4
4
  *
5
5
  * This software may be modified and distributed under the terms
6
6
  * of the MIT license. See the LICENSE file for details.
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  *
3
- * Copyright © 2026 Ping Identity Corporation. All right reserved.
3
+ * Copyright (c) 2026 Ping Identity Corporation. All right reserved.
4
4
  *
5
5
  * This software may be modified and distributed under the terms
6
6
  * of the MIT license. See the LICENSE file for details.
@@ -1 +1 @@
1
- {"version":3,"file":"recognize-sdk-to-recognize-proxy-error-map.d.ts","sourceRoot":"","sources":["../../../../src/lib/defs/recognize-sdk-to-recognize-proxy-error-map.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAGrE,eAAO,MAAM,0CAA0C,EAAE,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAgD3F,CAAC"}
1
+ {"version":3,"file":"recognize-sdk-to-recognize-proxy-error-map.d.ts","sourceRoot":"","sources":["../../../../src/lib/defs/recognize-sdk-to-recognize-proxy-error-map.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAErE,eAAO,MAAM,0CAA0C,EAAE,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAgD3F,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  *
3
- * Copyright © 2026 Ping Identity Corporation. All right reserved.
3
+ * Copyright (c) 2026 Ping Identity Corporation. All right reserved.
4
4
  *
5
5
  * This software may be modified and distributed under the terms
6
6
  * of the MIT license. See the LICENSE file for details.
@@ -1 +1 @@
1
- {"version":3,"file":"create-recognize-error.d.ts","sourceRoot":"","sources":["../../../../src/lib/functions/create-recognize-error.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,2BAA2B,EAC3B,cAAc,EACd,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAG/B,cAAc;AACd,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,2BAA2B,GACpC,cAAc,CAQhB"}
1
+ {"version":3,"file":"create-recognize-error.d.ts","sourceRoot":"","sources":["../../../../src/lib/functions/create-recognize-error.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EACV,2BAA2B,EAC3B,cAAc,EACd,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAE/B,cAAc;AACd,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,2BAA2B,GACpC,cAAc,CAQhB"}
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  *
3
- * Copyright © 2026 Ping Identity Corporation. All right reserved.
3
+ * Copyright (c) 2026 Ping Identity Corporation. All right reserved.
4
4
  *
5
5
  * This software may be modified and distributed under the terms
6
6
  * of the MIT license. See the LICENSE file for details.
@@ -1 +1 @@
1
- {"version":3,"file":"get-recognize-error-code-key.d.ts","sourceRoot":"","sources":["../../../../src/lib/functions/get-recognize-error-code-key.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAE5F,cAAc;AACd,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,uBAAuB,GAAG,qBAAqB,CAS7F"}
1
+ {"version":3,"file":"get-recognize-error-code-key.d.ts","sourceRoot":"","sources":["../../../../src/lib/functions/get-recognize-error-code-key.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAE5F,cAAc;AACd,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,uBAAuB,GAAG,qBAAqB,CAS7F"}
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  *
3
- * Copyright © 2026 Ping Identity Corporation. All right reserved.
3
+ * Copyright (c) 2026 Ping Identity Corporation. All right reserved.
4
4
  *
5
5
  * This software may be modified and distributed under the terms
6
6
  * of the MIT license. See the LICENSE file for details.
@@ -1 +1 @@
1
- {"version":3,"file":"set-attributes.d.ts","sourceRoot":"","sources":["../../../../src/lib/functions/set-attributes.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,qBAAqB,EACrB,kCAAkC,EACnC,MAAM,uBAAuB,CAAC;AAE/B,wBAAgB,aAAa,CAC3B,OAAO,EAAE,qBAAqB,EAC9B,MAAM,EAAE,kCAAkC,GACzC,IAAI,CAoCN"}
1
+ {"version":3,"file":"set-attributes.d.ts","sourceRoot":"","sources":["../../../../src/lib/functions/set-attributes.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,qBAAqB,EACrB,kCAAkC,EACnC,MAAM,uBAAuB,CAAC;AAE/B,wBAAgB,aAAa,CAC3B,OAAO,EAAE,qBAAqB,EAC9B,MAAM,EAAE,kCAAkC,GACzC,IAAI,CAsCN"}
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  *
3
- * Copyright © 2026 Ping Identity Corporation. All right reserved.
3
+ * Copyright (c) 2026 Ping Identity Corporation. All right reserved.
4
4
  *
5
5
  * This software may be modified and distributed under the terms
6
6
  * of the MIT license. See the LICENSE file for details.
@@ -48,6 +48,8 @@ export function setAttributes(element, config) {
48
48
  element.loggerLevel = config.loggerLevel;
49
49
  if (config.operationID !== undefined)
50
50
  element.operationID = config.operationID;
51
+ if (config.requestRecognitionFrame !== undefined)
52
+ element.requestRecognitionFrame = config.requestRecognitionFrame;
51
53
  if (config.seedEntropy !== undefined)
52
54
  element.seedEntropy = config.seedEntropy;
53
55
  element.serviceURL = config.serviceURL;
@@ -11,20 +11,18 @@ import { AracnaIconElement } from '@aracna/web-components/elements/data/icon-ele
11
11
  import { AracnaQrCodeElement } from '@aracna/web-components/elements/data/qr-code-element';
12
12
  import type { AracnaQrCodeElementAttributes } from '@aracna/web-components';
13
13
  import type { AracnaQrCodeElementEventMap } from '@aracna/web-components';
14
- import { AracnaSelectButtonElement } from '@aracna/web-components/elements/input/select-element';
15
- import { AracnaSelectButtonElementEventMap } from '@aracna/web-components';
16
- import { AracnaSelectOptionElement } from '@aracna/web-components/elements/input/select-element';
17
14
  import { AracnaTextElement } from '@aracna/web-components/elements/typography/text-element';
18
15
  import type { AracnaTextElementAttributes } from '@aracna/web-components';
19
16
  import type { AracnaTextElementEventMap } from '@aracna/web-components';
20
17
  import { CreateKeylessMediaStreamArgs } from '@keyless/sdk-web';
21
18
  import { CSSResultGroup } from 'lit';
22
- import { FormControlChangeEvent } from '@aracna/web-components';
23
19
  import { IResult } from '@ua-parser-js/pro-enterprise';
20
+ import { KeylessFaceTargetArea } from '@keyless/sdk-web';
24
21
  import { KeylessMediaDevice } from '@keyless/sdk-web';
25
22
  import { KeylessVideoFrameQuality } from '@keyless/sdk-web';
26
23
  import { KeylessVideoFrameQualityFilter } from '@keyless/sdk-web';
27
24
  import { KeylessVideoFrameQualitySource } from '@keyless/sdk-web';
25
+ import { ListBoxOptionSelectEvent } from '@aracna/web-components';
28
26
  import { LocalizationPack } from '@aracna/core';
29
27
  import { LocalizationVariables } from '@aracna/core';
30
28
  import { LoggerLevel } from '@aracna/core';
@@ -124,7 +122,6 @@ export declare interface KeylessButtonElementEventMap extends AracnaButtonElemen
124
122
  /** @public */
125
123
  export declare class KeylessCameraBiometricElement extends KeylessCameraElement {
126
124
  connectedCallback(): void;
127
- disconnectedCallback(): void;
128
125
  get slug(): any;
129
126
  }
130
127
 
@@ -144,10 +141,10 @@ export declare class KeylessCameraCornersElement extends AracnaBaseElement {
144
141
  */
145
142
  /** */
146
143
  disableAnimation?: boolean;
147
- hasFrameResults?: boolean;
148
- hasTriggeredBiometricFilters?: boolean;
144
+ protected _faceTargetArea?: KeylessFaceTargetArea;
149
145
  theme?: Theme;
150
146
  protected _themeOptions?: KeylessThemeOptions;
147
+ protected _videoFrameQuality?: KeylessVideoFrameQuality;
151
148
  /**
152
149
  * State
153
150
  */
@@ -160,14 +157,19 @@ export declare class KeylessCameraCornersElement extends AracnaBaseElement {
160
157
  protected animationControls?: AnimationPlaybackControlsWithThen;
161
158
  constructor();
162
159
  connectedCallback(): void;
160
+ computeLayout(animated?: boolean): void;
163
161
  attributeChangedCallback(name: string, _old: string | null, value: string | null): void;
164
162
  handleAnimation(): void;
165
- render(): TemplateResult<1>;
163
+ render(): TemplateResult<1> | undefined;
166
164
  get corners(): string[];
167
165
  get slug(): any;
168
166
  get styleHTML(): TemplateResult;
167
+ get faceTargetArea(): KeylessFaceTargetArea | undefined;
168
+ set faceTargetArea(area: KeylessFaceTargetArea | undefined);
169
169
  get themeOptions(): KeylessThemeOptions | undefined;
170
170
  set themeOptions(options: KeylessThemeOptions | undefined);
171
+ get videoFrameQuality(): KeylessVideoFrameQuality | undefined;
172
+ set videoFrameQuality(quality: KeylessVideoFrameQuality | undefined);
171
173
  get hasFrameResultsWithEmptyFilters(): boolean;
172
174
  get isAnimatable(): boolean;
173
175
  static properties: PropertyDeclarations;
@@ -299,7 +301,6 @@ export declare class KeylessCameraSelectElement extends AracnaBaseElement {
299
301
  */
300
302
  /** */
301
303
  disableLogger?: boolean;
302
- expanded?: boolean;
303
304
  localizationPacks?: LocalizationPack[];
304
305
  localizationVariables?: LocalizationVariables;
305
306
  loggerLevel?: LoggerLevel;
@@ -312,17 +313,11 @@ export declare class KeylessCameraSelectElement extends AracnaBaseElement {
312
313
  protected defaultDeviceID?: string;
313
314
  protected deviceLabel?: string;
314
315
  protected devices: KeylessMediaDevice[];
315
- /**
316
- * Queries
317
- */
318
- /** */
319
- protected selectButton: AracnaSelectButtonElement<AracnaSelectButtonElementEventMap>;
320
- protected selectOptions: AracnaSelectOptionElement[];
321
316
  constructor();
322
317
  connectedCallback(): void;
323
- onSelectChange: (event: FormControlChangeEvent<string>) => void;
318
+ onOptionSelect: (event: ListBoxOptionSelectEvent) => void;
324
319
  isDeviceActive(device: KeylessMediaDevice): boolean;
325
- render(): TemplateResult<1> | typeof nothing;
320
+ render(): TemplateResult<1>;
326
321
  get slug(): any;
327
322
  get styleHTML(): TemplateResult;
328
323
  get themeOptions(): KeylessThemeOptions | undefined;
@@ -330,7 +325,6 @@ export declare class KeylessCameraSelectElement extends AracnaBaseElement {
330
325
  get ua(): IResult;
331
326
  static deps: KeylessDependencyDeclarations;
332
327
  static properties: PropertyDeclarations;
333
- static queries: QueryDeclarations;
334
328
  static styles: CSSResultGroup;
335
329
  }
336
330
 
@@ -553,6 +547,7 @@ export declare class KeylessPoweredByElement extends AracnaBaseElement {
553
547
  /** */
554
548
  theme?: Theme;
555
549
  protected _themeOptions?: KeylessThemeOptions;
550
+ connectedCallback(): void;
556
551
  render(): TemplateResult<1>;
557
552
  get slug(): any;
558
553
  get styleHTML(): TemplateResult;
@@ -706,12 +701,13 @@ export declare class KeylessStepController implements ReactiveController {
706
701
 
707
702
  /** @public */
708
703
  export declare class KeylessSuccessEvent extends CustomEvent<KeylessSuccessEventDetail> {
709
- constructor(jwt?: string, seedEntropy?: string);
704
+ constructor(jwt?: string, recognitionFrame?: string, seedEntropy?: string);
710
705
  }
711
706
 
712
707
  /** @public */
713
708
  export declare interface KeylessSuccessEventDetail {
714
709
  jwt?: string;
710
+ recognitionFrame?: string;
715
711
  seedEntropy?: string;
716
712
  source: KeylessSessionSource;
717
713
  }
@@ -1104,12 +1100,14 @@ export declare interface KeylessThemeOptionsElementsRootTexts {
1104
1100
 
1105
1101
  /** @public */
1106
1102
  export declare class KeylessVideoFrameQualityEvent extends CustomEvent<KeylessVideoFrameQualityEventDetail> {
1107
- constructor(filters: KeylessVideoFrameQualityFilter[], source: KeylessVideoFrameQualitySource, timestamp: number);
1103
+ constructor(filters: KeylessVideoFrameQualityFilter[], source: KeylessVideoFrameQualitySource, timestamp: number, logs?: string, resolution?: string);
1108
1104
  }
1109
1105
 
1110
1106
  /** @public */
1111
1107
  export declare interface KeylessVideoFrameQualityEventDetail {
1112
1108
  filters: KeylessVideoFrameQualityFilter[];
1109
+ logs?: string;
1110
+ resolution?: string;
1113
1111
  source: KeylessVideoFrameQualitySource;
1114
1112
  timestamp: Date;
1115
1113
  }
@@ -1146,6 +1144,7 @@ declare class RootElement extends AracnaBaseElement<RootElementEventMap> {
1146
1144
  localizationVariables?: LocalizationVariables;
1147
1145
  loggerLevel?: LoggerLevel;
1148
1146
  operationID?: string;
1147
+ requestRecognitionFrame?: boolean;
1149
1148
  seedEntropy?: boolean;
1150
1149
  serviceURL: string;
1151
1150
  switchToMobileBaseURL?: string;
@@ -1162,6 +1161,7 @@ declare class RootElement extends AracnaBaseElement<RootElementEventMap> {
1162
1161
  /** */
1163
1162
  cancelable: boolean;
1164
1163
  error?: Error;
1164
+ faceTargetArea?: KeylessFaceTargetArea;
1165
1165
  hasMultipleVideoMediaDevices: boolean;
1166
1166
  recoverable: boolean;
1167
1167
  protected _step: KeylessComponentsStep;