@regulaforensics/vp-frontend-document-components 7.2.1577-nightly → 7.2.1579-nightly

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,14 +1,3 @@
1
- /*!
2
- * ASP.NET SignalR JavaScript Library v2.2.2
3
- * http://signalr.net/
4
- *
5
- * Copyright (c) .NET Foundation. All rights reserved.
6
- * Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
7
- *
8
- */
9
-
10
- /*! jQuery v2.2.0 | (c) jQuery Foundation | jquery.org/license */
11
-
12
1
  /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
13
2
 
14
3
  /**
package/lib/index.d.ts CHANGED
@@ -8,39 +8,6 @@ import {
8
8
  ContainerList,
9
9
  } from '@regulaforensics/document-reader-webclient';
10
10
 
11
- interface Connection {
12
- id: string;
13
- proxies: { [hubName: string]: any };
14
- transport: {
15
- name: string;
16
- supportsKeepAlive: SupportsKeepAliveHandler;
17
- };
18
- createHubProxy(hubName: string): Proxy;
19
- start(options?: any, callback?: () => void): any;
20
- stop(async?: boolean, notifyServer?: boolean): void;
21
- reconnecting(callback: () => void): void;
22
- disconnected(callback: () => void): void;
23
- }
24
-
25
- interface Proxy {
26
- state: any;
27
- connection: Connection;
28
- hubName: string;
29
- init(connection: Connection, hubName: string): void;
30
- hasSubscriptions(): boolean;
31
- on(eventName: string, callback?: (...msg: any[]) => void): Proxy;
32
- off(eventName: string, callback?: (...msg: any[]) => void): Proxy;
33
- invoke(methodName: string, ...args: any[]): Promise<any>;
34
- }
35
-
36
- interface Options {
37
- qs?: string | undefined;
38
- logging?: boolean | undefined;
39
- useDefaultPath?: boolean | undefined;
40
- }
41
-
42
- type SupportsKeepAliveHandler = () => boolean;
43
-
44
11
  interface DeviceInfo {
45
12
  reader_ready: boolean;
46
13
  rfid_ready: boolean;
@@ -368,14 +335,6 @@ interface CameraSnapshotSettings {
368
335
  statusBackgroundColor?: string;
369
336
  }
370
337
 
371
- interface DocumentReaderDeviceSettings {
372
- locale?: Locales | string;
373
- nonce?: string;
374
- serviceUrl?: string;
375
- regulaLogo?: boolean;
376
- properties?: Record<string, any>;
377
- }
378
-
379
338
  interface DocumentReaderSettings extends CameraSnapshotSettings {
380
339
  internalScenario?: InternalScenarios | string;
381
340
  multipageProcessing?: boolean;
@@ -432,7 +391,6 @@ type InitializeListener = ({ isInitialized }: { isInitialized: boolean }) => voi
432
391
  declare global {
433
392
  interface HTMLElementEventMap {
434
393
  'document-reader': CustomEvent<DocumentReaderDetailType>;
435
- 'document-reader-device': CustomEvent<DocumentReaderDetailType>;
436
394
  'camera-snapshot': CustomEvent<CameraSnapshotDetailType>;
437
395
  }
438
396
  }
@@ -464,7 +422,6 @@ export interface IDocumentReader extends ICameraSnapshot {
464
422
  }
465
423
 
466
424
  export type DocumentReaderDetailType = DetailEvent<DocumentEventActions, DocumentReaderResponseType>;
467
- export type DocumentReaderDeviceDetailType = DetailEvent<DocumentEventActions, Response>;
468
425
  export type CameraSnapshotDetailType = DetailEvent<DocumentEventActions, CameraSnapshotResponseType>;
469
426
 
470
427
  export function defineComponents(): Promise<void>;
@@ -485,13 +442,6 @@ export class DocumentReaderCaptureWebComponent extends HTMLElement {
485
442
  get settings(): CameraSnapshotSettings;
486
443
  }
487
444
 
488
- export class DocumentReaderDeviceWebComponent extends HTMLElement {
489
- set translations(dictionary: DocumentDictionaries | null);
490
- get translations(): DocumentDictionaries | null;
491
- set settings(params: DocumentReaderDeviceSettings);
492
- get settings(): DocumentReaderDeviceSettings;
493
- }
494
-
495
445
  export class DocumentReaderProcessor {
496
446
  isProcessing: boolean;
497
447
  isInitialized: boolean;
@@ -544,19 +494,3 @@ export class DocumentReaderService {
544
494
  addDataToPackage(data: Uint8ClampedArray, params: PackageParams): Promise<void>;
545
495
  shutdown(): void;
546
496
  }
547
-
548
- export class DocumentReaderController {
549
- hubProxy: null | Proxy;
550
- isInitialized: boolean;
551
- get serviceUrl(): string;
552
- set serviceUrl(url: string);
553
- initRegulaReader(): Promise<void>;
554
- getLastResults(): Promise<Response>;
555
- getImages(): Promise<void>;
556
- setProperty(name: string, value: any): Promise<void>;
557
- getProperty(name: string): Promise<any>;
558
- getAvailableDevices(index: number): Promise<string>;
559
- clearResults(): Promise<void>;
560
- healthCheck(): Promise<DeviceInfo>;
561
- disconnect(): void;
562
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/vp-frontend-document-components",
3
- "version": "7.2.1577-nightly",
3
+ "version": "7.2.1579-nightly",
4
4
  "description": "Regula framework agnostic web components to work with webcamera",
5
5
  "types": "lib/index.d.ts",
6
6
  "main": "dist/main.js",