onfido-sdk-ui 14.45.0 → 14.45.1
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/package.json +2 -2
- package/types/loader.d.ts +4 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "onfido-sdk-ui",
|
|
3
|
-
"version": "14.45.
|
|
3
|
+
"version": "14.45.1",
|
|
4
4
|
"description": "JavaScript SDK view layer for Onfido identity verification",
|
|
5
5
|
"author": "Onfido Customer Support <support@onfido.com> (https://documentation.onfido.com/sdk/web/)",
|
|
6
6
|
"repository": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"license": "SEE LICENSE in LICENSE",
|
|
11
11
|
"main": "Onfido.js",
|
|
12
|
-
"types": "types/
|
|
12
|
+
"types": "types/loader.d.ts",
|
|
13
13
|
"files": [
|
|
14
14
|
"Onfido.*",
|
|
15
15
|
"types"
|
package/types/loader.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SdkParameters } from './shared/SdkParameters';
|
|
2
|
+
import type { Handle, OnfidoApi } from './Onfido';
|
|
2
3
|
export type LoaderParameter = {
|
|
3
4
|
/**
|
|
4
5
|
* The version of the sdk to be loaded, by default v14 is used, which
|
|
@@ -8,6 +9,7 @@ export type LoaderParameter = {
|
|
|
8
9
|
version?: string;
|
|
9
10
|
};
|
|
10
11
|
export declare const prefixVersion: (version?: string) => string;
|
|
11
|
-
export declare const Onfido: OnfidoApi & {
|
|
12
|
+
export declare const Onfido: Omit<OnfidoApi, 'init'> & {
|
|
13
|
+
init: (parameter: SdkParameters & LoaderParameter) => Handle;
|
|
12
14
|
environment?: 'INSECURE';
|
|
13
15
|
};
|