@zkyc/evg 1.5.0 → 1.5.2
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/index.d.ts +13 -0
- package/package.json +9 -5
package/index.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface ZKYCConfig {
|
|
2
|
+
apiKey: string;
|
|
3
|
+
userId: string;
|
|
4
|
+
callbackUrl: string;
|
|
5
|
+
platformApiUrl?: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Generates a secure token and opens the zKYC popup
|
|
10
|
+
*/
|
|
11
|
+
export function ZKYCProcess(config: ZKYCConfig): Promise<void>;
|
|
12
|
+
|
|
13
|
+
export default ZKYCProcess;
|
package/package.json
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zkyc/evg",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"description": "zKYC SDK wrapper to generate tokens and redirect to KYC",
|
|
5
5
|
"main": "index.js",
|
|
6
|
-
"
|
|
6
|
+
"types": "index.d.ts",
|
|
7
7
|
"type": "module",
|
|
8
|
-
"
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./index.js",
|
|
11
|
+
"types": "./index.d.ts"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
9
14
|
"keywords": [
|
|
10
15
|
"zkc",
|
|
11
16
|
"kyc",
|
|
@@ -13,6 +18,5 @@
|
|
|
13
18
|
"token"
|
|
14
19
|
],
|
|
15
20
|
"author": "Your Name",
|
|
16
|
-
"license": "MIT"
|
|
17
|
-
"dependencies": {}
|
|
21
|
+
"license": "MIT"
|
|
18
22
|
}
|