@vove-id/web-sdk 0.1.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.
- package/.idea/Vove-js.iml +15 -0
- package/.idea/git_toolbox_prj.xml +15 -0
- package/.idea/inspectionProfiles/Project_Default.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/sonarlint/issuestore/0/0/006cb39ab44f9efc494c45f1343955c5eece7be7 +0 -0
- package/.idea/sonarlint/issuestore/0/3/0398ccd0f49298b10a3d76a47800d2ebecd49859 +0 -0
- package/.idea/sonarlint/issuestore/0/6/069ef9bda122f255e1c341e41d3f78522464c2b4 +0 -0
- package/.idea/sonarlint/issuestore/0/9/091aff741808a09242f252264b14f4a9adaa5305 +0 -0
- package/.idea/sonarlint/issuestore/1/0/10a03f31c4dce92cb371e761ce9429428bb6c176 +0 -0
- package/.idea/sonarlint/issuestore/2/7/27fd7feb6b7d8df2d738b2fed6b7618eaa3e4986 +0 -0
- package/.idea/sonarlint/issuestore/2/b/2b179fbe8d00d6818e998f6c3b532342e7e62d80 +0 -0
- package/.idea/sonarlint/issuestore/2/b/2bcd8f5941e1f3498b9f55f263cea288523df733 +0 -0
- package/.idea/sonarlint/issuestore/2/e/2e523af7e2c163d4969fdfc469d4eedf6cefe1fe +0 -0
- package/.idea/sonarlint/issuestore/3/0/30205a209c6ce77c4cfc19a09e6f57c588b7fb88 +0 -0
- package/.idea/sonarlint/issuestore/3/9/394a755a87e58e88b1d2f3f56957a32cfefe9a9a +0 -0
- package/.idea/sonarlint/issuestore/3/f/3f8662046958ae5813ffc033924590f34181ad5d +0 -0
- package/.idea/sonarlint/issuestore/4/3/4374182b6b0153d150e2ed0745965cad29f1550c +0 -0
- package/.idea/sonarlint/issuestore/4/6/4639989a2b9ca33671669f3e377b9d0308553f80 +0 -0
- package/.idea/sonarlint/issuestore/4/9/496a238a6afa168dbaf6efd37bb459331589579c +0 -0
- package/.idea/sonarlint/issuestore/4/a/4a0bda2b60ea988491ba3c1f86ba5ddc9c7c50f7 +0 -0
- package/.idea/sonarlint/issuestore/5/1/517886a61d736d51293db182af980e0ec598f63d +0 -0
- package/.idea/sonarlint/issuestore/5/3/53585a096fe3a3b96321113856ae62602995a33b +0 -0
- package/.idea/sonarlint/issuestore/5/c/5c0965ab02ac9493b8df37280a78800edff64337 +0 -0
- package/.idea/sonarlint/issuestore/5/f/5ffd0b98cde134ff580ef90ad8d1ab6d1df9b18c +0 -0
- package/.idea/sonarlint/issuestore/6/1/61ebb9fd6e8cf9082658121d5d81e297791dacd0 +0 -0
- package/.idea/sonarlint/issuestore/6/4/64c8749f273f2498813d8e367242b13e73cbf7c3 +0 -0
- package/.idea/sonarlint/issuestore/6/e/6eb79a6de022d34531c7294103c6ad90c6fcf123 +0 -0
- package/.idea/sonarlint/issuestore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
- package/.idea/sonarlint/issuestore/7/0/707a849a21152c19c32b1a85b1983371142e3f81 +0 -0
- package/.idea/sonarlint/issuestore/7/1/71c20a341bfe32aa5cd5b4384e94f942bab6a7d3 +0 -0
- package/.idea/sonarlint/issuestore/7/7/775bd43a34022cef87b6af825cbd551f29473f73 +0 -0
- package/.idea/sonarlint/issuestore/7/b/7b793d3c27a391e0e3a3b64a5d8ecf8e94960b63 +0 -0
- package/.idea/sonarlint/issuestore/7/b/7bb83dcdcb2108047a31b30a69e0bd09191a706a +0 -0
- package/.idea/sonarlint/issuestore/8/8/88939cd7e826eac4f61dd9adac091b9d64277287 +0 -0
- package/.idea/sonarlint/issuestore/8/b/8b85a668daa2fa9837319ee9d64ec153199c9bd8 +0 -0
- package/.idea/sonarlint/issuestore/8/e/8e251ae887ae9e4f88a9858b7e7ec0e28725848c +0 -0
- package/.idea/sonarlint/issuestore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d +0 -0
- package/.idea/sonarlint/issuestore/9/2/926fc1d355291c95bbfe01b0cc89b3daa5ee565a +0 -0
- package/.idea/sonarlint/issuestore/9/a/9ab775a45cd57b8b48016a1df33230d8b5c74c21 +0 -0
- package/.idea/sonarlint/issuestore/9/d/9d19eaab4327edc07435a682d68ef383811840e5 +0 -0
- package/.idea/sonarlint/issuestore/9/d/9dd67d8fd2764e6dc2958b97c69b20d2680c5718 +0 -0
- package/.idea/sonarlint/issuestore/9/e/9ed6ffd98d37faf9d4f33f4dde7b19be3f69d810 +0 -0
- package/.idea/sonarlint/issuestore/a/5/a5cc2925ca8258af241be7e5b0381edf30266302 +0 -0
- package/.idea/sonarlint/issuestore/a/a/aa70c1f807c37f569ecaab41d557b08040e4aada +0 -0
- package/.idea/sonarlint/issuestore/b/1/b13e722c22b8ed4288d9972d92b260aee6cffbf9 +0 -0
- package/.idea/sonarlint/issuestore/b/2/b22f7e8090489b33880b9b9308cf7b19a9533f58 +0 -0
- package/.idea/sonarlint/issuestore/b/4/b4a0b63ce8560bbc5de0f9995c20cc861dc2adb3 +0 -0
- package/.idea/sonarlint/issuestore/b/c/bc69dd08ba8eecfcdbadb2eb4b55af31aebab71c +0 -0
- package/.idea/sonarlint/issuestore/c/7/c778226b6c4c0fb51cf7942c8ee1f3d9fc1249d0 +0 -0
- package/.idea/sonarlint/issuestore/c/b/cbafd046d78fdcff60bb863b1f170cf248428356 +0 -0
- package/.idea/sonarlint/issuestore/c/d/cd5c5d3058d12c4c821f490abbd106750b0c6e65 +0 -0
- package/.idea/sonarlint/issuestore/c/e/ce5d4f4136d2b53e58b770874de7df47349f8c53 +0 -0
- package/.idea/sonarlint/issuestore/c/f/cff84008e94dcba97031de4d6055b8ea23c42063 +0 -0
- package/.idea/sonarlint/issuestore/d/5/d5595158cc48f9bf3e51b06f6e6805a8fd2d6262 +0 -0
- package/.idea/sonarlint/issuestore/d/5/d5f6c61c79f8ed439129ec5d01ca7e4f0eebd67c +0 -0
- package/.idea/sonarlint/issuestore/d/9/d965299cb5370f2e17b2567eb2a54cb847d19656 +0 -0
- package/.idea/sonarlint/issuestore/e/1/e1707d8f664101bea7dab7520e70440bb30d12b0 +0 -0
- package/.idea/sonarlint/issuestore/e/8/e8af060352b4db9372317b530797dcf60e4e3b40 +0 -0
- package/.idea/sonarlint/issuestore/e/c/ec91a06cba2de731a76605e87f9ce117753b17ad +0 -0
- package/.idea/sonarlint/issuestore/e/d/ed67eb178d523a4b3f117dcbe0eda5196367ceec +0 -0
- package/.idea/sonarlint/issuestore/f/7/f7e021a46c4a3a7d014ac2fd2bf0d6a8e4f633cd +0 -0
- package/.idea/sonarlint/issuestore/f/f/ff1f286a546f6d68f1d7bba365081bb2621ba7bf +0 -0
- package/.idea/sonarlint/issuestore/index.pb +119 -0
- package/.idea/sonarlint/securityhotspotstore/0/0/006cb39ab44f9efc494c45f1343955c5eece7be7 +0 -0
- package/.idea/sonarlint/securityhotspotstore/0/3/0398ccd0f49298b10a3d76a47800d2ebecd49859 +0 -0
- package/.idea/sonarlint/securityhotspotstore/0/6/069ef9bda122f255e1c341e41d3f78522464c2b4 +0 -0
- package/.idea/sonarlint/securityhotspotstore/0/9/091aff741808a09242f252264b14f4a9adaa5305 +0 -0
- package/.idea/sonarlint/securityhotspotstore/1/0/10a03f31c4dce92cb371e761ce9429428bb6c176 +0 -0
- package/.idea/sonarlint/securityhotspotstore/2/7/27fd7feb6b7d8df2d738b2fed6b7618eaa3e4986 +0 -0
- package/.idea/sonarlint/securityhotspotstore/2/b/2b179fbe8d00d6818e998f6c3b532342e7e62d80 +0 -0
- package/.idea/sonarlint/securityhotspotstore/2/b/2bcd8f5941e1f3498b9f55f263cea288523df733 +0 -0
- package/.idea/sonarlint/securityhotspotstore/2/e/2e523af7e2c163d4969fdfc469d4eedf6cefe1fe +0 -0
- package/.idea/sonarlint/securityhotspotstore/3/0/30205a209c6ce77c4cfc19a09e6f57c588b7fb88 +0 -0
- package/.idea/sonarlint/securityhotspotstore/3/9/394a755a87e58e88b1d2f3f56957a32cfefe9a9a +0 -0
- package/.idea/sonarlint/securityhotspotstore/3/f/3f8662046958ae5813ffc033924590f34181ad5d +0 -0
- package/.idea/sonarlint/securityhotspotstore/4/3/4374182b6b0153d150e2ed0745965cad29f1550c +0 -0
- package/.idea/sonarlint/securityhotspotstore/4/6/4639989a2b9ca33671669f3e377b9d0308553f80 +0 -0
- package/.idea/sonarlint/securityhotspotstore/4/9/496a238a6afa168dbaf6efd37bb459331589579c +0 -0
- package/.idea/sonarlint/securityhotspotstore/4/a/4a0bda2b60ea988491ba3c1f86ba5ddc9c7c50f7 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/1/517886a61d736d51293db182af980e0ec598f63d +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/3/53585a096fe3a3b96321113856ae62602995a33b +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/c/5c0965ab02ac9493b8df37280a78800edff64337 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/f/5ffd0b98cde134ff580ef90ad8d1ab6d1df9b18c +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/1/61ebb9fd6e8cf9082658121d5d81e297791dacd0 +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/4/64c8749f273f2498813d8e367242b13e73cbf7c3 +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/e/6eb79a6de022d34531c7294103c6ad90c6fcf123 +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/0/707a849a21152c19c32b1a85b1983371142e3f81 +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/1/71c20a341bfe32aa5cd5b4384e94f942bab6a7d3 +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/7/775bd43a34022cef87b6af825cbd551f29473f73 +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/b/7b793d3c27a391e0e3a3b64a5d8ecf8e94960b63 +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/b/7bb83dcdcb2108047a31b30a69e0bd09191a706a +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/8/88939cd7e826eac4f61dd9adac091b9d64277287 +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/b/8b85a668daa2fa9837319ee9d64ec153199c9bd8 +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/e/8e251ae887ae9e4f88a9858b7e7ec0e28725848c +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/2/926fc1d355291c95bbfe01b0cc89b3daa5ee565a +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/a/9ab775a45cd57b8b48016a1df33230d8b5c74c21 +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/d/9d19eaab4327edc07435a682d68ef383811840e5 +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/d/9dd67d8fd2764e6dc2958b97c69b20d2680c5718 +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/e/9ed6ffd98d37faf9d4f33f4dde7b19be3f69d810 +0 -0
- package/.idea/sonarlint/securityhotspotstore/a/5/a5cc2925ca8258af241be7e5b0381edf30266302 +0 -0
- package/.idea/sonarlint/securityhotspotstore/a/a/aa70c1f807c37f569ecaab41d557b08040e4aada +0 -0
- package/.idea/sonarlint/securityhotspotstore/b/1/b13e722c22b8ed4288d9972d92b260aee6cffbf9 +0 -0
- package/.idea/sonarlint/securityhotspotstore/b/2/b22f7e8090489b33880b9b9308cf7b19a9533f58 +0 -0
- package/.idea/sonarlint/securityhotspotstore/b/4/b4a0b63ce8560bbc5de0f9995c20cc861dc2adb3 +0 -0
- package/.idea/sonarlint/securityhotspotstore/b/c/bc69dd08ba8eecfcdbadb2eb4b55af31aebab71c +0 -0
- package/.idea/sonarlint/securityhotspotstore/c/7/c778226b6c4c0fb51cf7942c8ee1f3d9fc1249d0 +0 -0
- package/.idea/sonarlint/securityhotspotstore/c/b/cbafd046d78fdcff60bb863b1f170cf248428356 +0 -0
- package/.idea/sonarlint/securityhotspotstore/c/d/cd5c5d3058d12c4c821f490abbd106750b0c6e65 +0 -0
- package/.idea/sonarlint/securityhotspotstore/c/e/ce5d4f4136d2b53e58b770874de7df47349f8c53 +0 -0
- package/.idea/sonarlint/securityhotspotstore/c/f/cff84008e94dcba97031de4d6055b8ea23c42063 +0 -0
- package/.idea/sonarlint/securityhotspotstore/d/5/d5595158cc48f9bf3e51b06f6e6805a8fd2d6262 +0 -0
- package/.idea/sonarlint/securityhotspotstore/d/5/d5f6c61c79f8ed439129ec5d01ca7e4f0eebd67c +0 -0
- package/.idea/sonarlint/securityhotspotstore/d/9/d965299cb5370f2e17b2567eb2a54cb847d19656 +0 -0
- package/.idea/sonarlint/securityhotspotstore/e/1/e1707d8f664101bea7dab7520e70440bb30d12b0 +0 -0
- package/.idea/sonarlint/securityhotspotstore/e/8/e8af060352b4db9372317b530797dcf60e4e3b40 +0 -0
- package/.idea/sonarlint/securityhotspotstore/e/c/ec91a06cba2de731a76605e87f9ce117753b17ad +0 -0
- package/.idea/sonarlint/securityhotspotstore/e/d/ed67eb178d523a4b3f117dcbe0eda5196367ceec +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/7/f7e021a46c4a3a7d014ac2fd2bf0d6a8e4f633cd +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/f/ff1f286a546f6d68f1d7bba365081bb2621ba7bf +0 -0
- package/.idea/sonarlint/securityhotspotstore/index.pb +119 -0
- package/.idea/vcs.xml +6 -0
- package/LICENSE +21 -0
- package/README.md +114 -0
- package/build/css/index.css +12 -0
- package/build/css/index.css.map +1 -0
- package/build/index.js +13 -0
- package/build/index.js.map +1 -0
- package/build/types/index.d.ts +16 -0
- package/package.json +82 -0
- package/tsconfig.json +17 -0
- package/webpack.config.demo.js +47 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="WEB_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager">
|
|
4
|
+
<content url="file://$MODULE_DIR$">
|
|
5
|
+
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
|
6
|
+
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
|
7
|
+
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
|
8
|
+
</content>
|
|
9
|
+
<orderEntry type="inheritedJdk" />
|
|
10
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
11
|
+
</component>
|
|
12
|
+
<component name="SonarLintModuleSettings">
|
|
13
|
+
<option name="uniqueId" value="1991ef5b-e9ee-455f-9090-a16bf2c5bd25" />
|
|
14
|
+
</component>
|
|
15
|
+
</module>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="GitToolBoxProjectSettings">
|
|
4
|
+
<option name="commitMessageIssueKeyValidationOverride">
|
|
5
|
+
<BoolValueOverride>
|
|
6
|
+
<option name="enabled" value="true" />
|
|
7
|
+
</BoolValueOverride>
|
|
8
|
+
</option>
|
|
9
|
+
<option name="commitMessageValidationEnabledOverride">
|
|
10
|
+
<BoolValueOverride>
|
|
11
|
+
<option name="enabled" value="true" />
|
|
12
|
+
</BoolValueOverride>
|
|
13
|
+
</option>
|
|
14
|
+
</component>
|
|
15
|
+
</project>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
|
|
2
|
+
9
|
|
3
|
+
README.md,8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d
|
|
4
|
+
<
|
|
5
|
+
package.json,7/0/7030d0b2f71b999ff89a343de08c414af32fc93a
|
|
6
|
+
A
|
|
7
|
+
src/lib/index.css,f/f/ff1f286a546f6d68f1d7bba365081bb2621ba7bf
|
|
8
|
+
@
|
|
9
|
+
src/lib/index.ts,9/2/926fc1d355291c95bbfe01b0cc89b3daa5ee565a
|
|
10
|
+
A
|
|
11
|
+
src/demo/index.ts,c/b/cbafd046d78fdcff60bb863b1f170cf248428356
|
|
12
|
+
=
|
|
13
|
+
|
|
14
|
+
A
|
|
15
|
+
webpack.config.js,d/5/d5595158cc48f9bf3e51b06f6e6805a8fd2d6262
|
|
16
|
+
F
|
|
17
|
+
webpack.config.demo.js,9/d/9dd67d8fd2764e6dc2958b97c69b20d2680c5718
|
|
18
|
+
=
|
|
19
|
+
|
|
20
|
+
I
|
|
21
|
+
scripts/getPackageJson.js,f/7/f7e021a46c4a3a7d014ac2fd2bf0d6a8e4f633cd
|
|
22
|
+
G
|
|
23
|
+
build/css/index.css.map,7/b/7bb83dcdcb2108047a31b30a69e0bd09191a706a
|
|
24
|
+
A
|
|
25
|
+
dist/index.js.map,8/b/8b85a668daa2fa9837319ee9d64ec153199c9bd8
|
|
26
|
+
>
|
|
27
|
+
build/index.js,b/1/b13e722c22b8ed4288d9972d92b260aee6cffbf9
|
|
28
|
+
7
|
|
29
|
+
LICENSE,0/3/0398ccd0f49298b10a3d76a47800d2ebecd49859
|
|
30
|
+
:
|
|
31
|
+
|
|
32
|
+
.gitignore,a/5/a5cc2925ca8258af241be7e5b0381edf30266302
|
|
33
|
+
�
|
|
34
|
+
Q.idea/sonarlint/securityhotspotstore/8/b/8b85a668daa2fa9837319ee9d64ec153199c9bd8,2/e/2e523af7e2c163d4969fdfc469d4eedf6cefe1fe
|
|
35
|
+
�
|
|
36
|
+
Q.idea/sonarlint/securityhotspotstore/7/b/7bb83dcdcb2108047a31b30a69e0bd09191a706a,c/d/cd5c5d3058d12c4c821f490abbd106750b0c6e65
|
|
37
|
+
w
|
|
38
|
+
G.idea/sonarlint/issuestore/8/b/8b85a668daa2fa9837319ee9d64ec153199c9bd8,0/0/006cb39ab44f9efc494c45f1343955c5eece7be7
|
|
39
|
+
w
|
|
40
|
+
G.idea/sonarlint/issuestore/7/b/7bb83dcdcb2108047a31b30a69e0bd09191a706a,5/1/517886a61d736d51293db182af980e0ec598f63d
|
|
41
|
+
�
|
|
42
|
+
Q.idea/sonarlint/securityhotspotstore/f/7/f7e021a46c4a3a7d014ac2fd2bf0d6a8e4f633cd,7/b/7b793d3c27a391e0e3a3b64a5d8ecf8e94960b63
|
|
43
|
+
�
|
|
44
|
+
Q.idea/sonarlint/securityhotspotstore/3/9/394a755a87e58e88b1d2f3f56957a32cfefe9a9a,2/b/2bcd8f5941e1f3498b9f55f263cea288523df733
|
|
45
|
+
w
|
|
46
|
+
G.idea/sonarlint/issuestore/f/7/f7e021a46c4a3a7d014ac2fd2bf0d6a8e4f633cd,9/e/9ed6ffd98d37faf9d4f33f4dde7b19be3f69d810
|
|
47
|
+
w
|
|
48
|
+
G.idea/sonarlint/issuestore/3/9/394a755a87e58e88b1d2f3f56957a32cfefe9a9a,c/e/ce5d4f4136d2b53e58b770874de7df47349f8c53
|
|
49
|
+
�
|
|
50
|
+
Q.idea/sonarlint/securityhotspotstore/9/d/9dd67d8fd2764e6dc2958b97c69b20d2680c5718,4/3/4374182b6b0153d150e2ed0745965cad29f1550c
|
|
51
|
+
w
|
|
52
|
+
G.idea/sonarlint/issuestore/a/5/a5cc2925ca8258af241be7e5b0381edf30266302,e/d/ed67eb178d523a4b3f117dcbe0eda5196367ceec
|
|
53
|
+
w
|
|
54
|
+
G.idea/sonarlint/issuestore/c/b/cbafd046d78fdcff60bb863b1f170cf248428356,2/7/27fd7feb6b7d8df2d738b2fed6b7618eaa3e4986
|
|
55
|
+
�
|
|
56
|
+
Q.idea/sonarlint/securityhotspotstore/a/5/a5cc2925ca8258af241be7e5b0381edf30266302,3/0/30205a209c6ce77c4cfc19a09e6f57c588b7fb88
|
|
57
|
+
:
|
|
58
|
+
|
|
59
|
+
.npmignore,a/a/aa70c1f807c37f569ecaab41d557b08040e4aada
|
|
60
|
+
w
|
|
61
|
+
G.idea/sonarlint/issuestore/9/2/926fc1d355291c95bbfe01b0cc89b3daa5ee565a,3/f/3f8662046958ae5813ffc033924590f34181ad5d
|
|
62
|
+
>
|
|
63
|
+
.eslintrc.json,7/1/71c20a341bfe32aa5cd5b4384e94f942bab6a7d3
|
|
64
|
+
?
|
|
65
|
+
babel.config.js,7/7/775bd43a34022cef87b6af825cbd551f29473f73
|
|
66
|
+
w
|
|
67
|
+
G.idea/sonarlint/issuestore/f/f/ff1f286a546f6d68f1d7bba365081bb2621ba7bf,e/1/e1707d8f664101bea7dab7520e70440bb30d12b0
|
|
68
|
+
�
|
|
69
|
+
Q.idea/sonarlint/securityhotspotstore/c/b/cbafd046d78fdcff60bb863b1f170cf248428356,b/c/bc69dd08ba8eecfcdbadb2eb4b55af31aebab71c
|
|
70
|
+
\
|
|
71
|
+
,.idea/inspectionProfiles/Project_Default.xml,4/9/496a238a6afa168dbaf6efd37bb459331589579c
|
|
72
|
+
�
|
|
73
|
+
Q.idea/sonarlint/securityhotspotstore/9/2/926fc1d355291c95bbfe01b0cc89b3daa5ee565a,4/a/4a0bda2b60ea988491ba3c1f86ba5ddc9c7c50f7
|
|
74
|
+
�
|
|
75
|
+
Q.idea/sonarlint/securityhotspotstore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d,1/0/10a03f31c4dce92cb371e761ce9429428bb6c176
|
|
76
|
+
�
|
|
77
|
+
Q.idea/sonarlint/securityhotspotstore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a,9/a/9ab775a45cd57b8b48016a1df33230d8b5c74c21
|
|
78
|
+
w
|
|
79
|
+
G.idea/sonarlint/issuestore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d,b/4/b4a0b63ce8560bbc5de0f9995c20cc861dc2adb3
|
|
80
|
+
w
|
|
81
|
+
G.idea/sonarlint/issuestore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a,9/d/9d19eaab4327edc07435a682d68ef383811840e5
|
|
82
|
+
]
|
|
83
|
+
-.github/workflows/pull_request_dependabot.yml,5/f/5ffd0b98cde134ff580ef90ad8d1ab6d1df9b18c
|
|
84
|
+
M
|
|
85
|
+
.github/workflows/publish.yml,4/6/4639989a2b9ca33671669f3e377b9d0308553f80
|
|
86
|
+
C
|
|
87
|
+
scripts/testMock.js,8/e/8e251ae887ae9e4f88a9858b7e7ec0e28725848c
|
|
88
|
+
J
|
|
89
|
+
.github/workflows/main.yml,c/7/c778226b6c4c0fb51cf7942c8ee1f3d9fc1249d0
|
|
90
|
+
R
|
|
91
|
+
".github/workflows/pull_request.yml,e/c/ec91a06cba2de731a76605e87f9ce117753b17ad
|
|
92
|
+
9
|
|
93
|
+
yarn.lock,5/3/53585a096fe3a3b96321113856ae62602995a33b
|
|
94
|
+
F
|
|
95
|
+
.github/dependabot.yml,0/9/091aff741808a09242f252264b14f4a9adaa5305
|
|
96
|
+
w
|
|
97
|
+
G.idea/sonarlint/issuestore/b/1/b13e722c22b8ed4288d9972d92b260aee6cffbf9,d/5/d5f6c61c79f8ed439129ec5d01ca7e4f0eebd67c
|
|
98
|
+
K
|
|
99
|
+
src/lib/tests/index.test.ts,d/9/d965299cb5370f2e17b2567eb2a54cb847d19656
|
|
100
|
+
�
|
|
101
|
+
Q.idea/sonarlint/securityhotspotstore/b/1/b13e722c22b8ed4288d9972d92b260aee6cffbf9,0/6/069ef9bda122f255e1c341e41d3f78522464c2b4
|
|
102
|
+
=
|
|
103
|
+
|
|
104
|
+
�
|
|
105
|
+
Q.idea/sonarlint/securityhotspotstore/f/f/ff1f286a546f6d68f1d7bba365081bb2621ba7bf,7/0/707a849a21152c19c32b1a85b1983371142e3f81
|
|
106
|
+
w
|
|
107
|
+
G.idea/sonarlint/issuestore/9/d/9dd67d8fd2764e6dc2958b97c69b20d2680c5718,5/c/5c0965ab02ac9493b8df37280a78800edff64337
|
|
108
|
+
�
|
|
109
|
+
Q.idea/sonarlint/securityhotspotstore/d/5/d5595158cc48f9bf3e51b06f6e6805a8fd2d6262,c/f/cff84008e94dcba97031de4d6055b8ea23c42063
|
|
110
|
+
�
|
|
111
|
+
Q.idea/sonarlint/securityhotspotstore/0/3/0398ccd0f49298b10a3d76a47800d2ebecd49859,6/e/6eb79a6de022d34531c7294103c6ad90c6fcf123
|
|
112
|
+
w
|
|
113
|
+
G.idea/sonarlint/issuestore/d/5/d5595158cc48f9bf3e51b06f6e6805a8fd2d6262,e/8/e8af060352b4db9372317b530797dcf60e4e3b40
|
|
114
|
+
w
|
|
115
|
+
G.idea/sonarlint/issuestore/0/3/0398ccd0f49298b10a3d76a47800d2ebecd49859,2/b/2b179fbe8d00d6818e998f6c3b532342e7e62d80
|
|
116
|
+
�
|
|
117
|
+
Q.idea/sonarlint/securityhotspotstore/6/1/61ebb9fd6e8cf9082658121d5d81e297791dacd0,6/4/64c8749f273f2498813d8e367242b13e73cbf7c3
|
|
118
|
+
w
|
|
119
|
+
G.idea/sonarlint/issuestore/6/1/61ebb9fd6e8cf9082658121d5d81e297791dacd0,b/2/b22f7e8090489b33880b9b9308cf7b19a9533f58
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
|
|
2
|
+
9
|
|
3
|
+
README.md,8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d
|
|
4
|
+
<
|
|
5
|
+
package.json,7/0/7030d0b2f71b999ff89a343de08c414af32fc93a
|
|
6
|
+
A
|
|
7
|
+
src/lib/index.css,f/f/ff1f286a546f6d68f1d7bba365081bb2621ba7bf
|
|
8
|
+
@
|
|
9
|
+
src/lib/index.ts,9/2/926fc1d355291c95bbfe01b0cc89b3daa5ee565a
|
|
10
|
+
A
|
|
11
|
+
src/demo/index.ts,c/b/cbafd046d78fdcff60bb863b1f170cf248428356
|
|
12
|
+
=
|
|
13
|
+
|
|
14
|
+
A
|
|
15
|
+
webpack.config.js,d/5/d5595158cc48f9bf3e51b06f6e6805a8fd2d6262
|
|
16
|
+
F
|
|
17
|
+
webpack.config.demo.js,9/d/9dd67d8fd2764e6dc2958b97c69b20d2680c5718
|
|
18
|
+
=
|
|
19
|
+
|
|
20
|
+
I
|
|
21
|
+
scripts/getPackageJson.js,f/7/f7e021a46c4a3a7d014ac2fd2bf0d6a8e4f633cd
|
|
22
|
+
G
|
|
23
|
+
build/css/index.css.map,7/b/7bb83dcdcb2108047a31b30a69e0bd09191a706a
|
|
24
|
+
A
|
|
25
|
+
dist/index.js.map,8/b/8b85a668daa2fa9837319ee9d64ec153199c9bd8
|
|
26
|
+
>
|
|
27
|
+
build/index.js,b/1/b13e722c22b8ed4288d9972d92b260aee6cffbf9
|
|
28
|
+
7
|
|
29
|
+
LICENSE,0/3/0398ccd0f49298b10a3d76a47800d2ebecd49859
|
|
30
|
+
:
|
|
31
|
+
|
|
32
|
+
.gitignore,a/5/a5cc2925ca8258af241be7e5b0381edf30266302
|
|
33
|
+
�
|
|
34
|
+
Q.idea/sonarlint/securityhotspotstore/8/b/8b85a668daa2fa9837319ee9d64ec153199c9bd8,2/e/2e523af7e2c163d4969fdfc469d4eedf6cefe1fe
|
|
35
|
+
�
|
|
36
|
+
Q.idea/sonarlint/securityhotspotstore/7/b/7bb83dcdcb2108047a31b30a69e0bd09191a706a,c/d/cd5c5d3058d12c4c821f490abbd106750b0c6e65
|
|
37
|
+
w
|
|
38
|
+
G.idea/sonarlint/issuestore/8/b/8b85a668daa2fa9837319ee9d64ec153199c9bd8,0/0/006cb39ab44f9efc494c45f1343955c5eece7be7
|
|
39
|
+
w
|
|
40
|
+
G.idea/sonarlint/issuestore/7/b/7bb83dcdcb2108047a31b30a69e0bd09191a706a,5/1/517886a61d736d51293db182af980e0ec598f63d
|
|
41
|
+
�
|
|
42
|
+
Q.idea/sonarlint/securityhotspotstore/f/7/f7e021a46c4a3a7d014ac2fd2bf0d6a8e4f633cd,7/b/7b793d3c27a391e0e3a3b64a5d8ecf8e94960b63
|
|
43
|
+
�
|
|
44
|
+
Q.idea/sonarlint/securityhotspotstore/3/9/394a755a87e58e88b1d2f3f56957a32cfefe9a9a,2/b/2bcd8f5941e1f3498b9f55f263cea288523df733
|
|
45
|
+
w
|
|
46
|
+
G.idea/sonarlint/issuestore/f/7/f7e021a46c4a3a7d014ac2fd2bf0d6a8e4f633cd,9/e/9ed6ffd98d37faf9d4f33f4dde7b19be3f69d810
|
|
47
|
+
w
|
|
48
|
+
G.idea/sonarlint/issuestore/3/9/394a755a87e58e88b1d2f3f56957a32cfefe9a9a,c/e/ce5d4f4136d2b53e58b770874de7df47349f8c53
|
|
49
|
+
�
|
|
50
|
+
Q.idea/sonarlint/securityhotspotstore/9/d/9dd67d8fd2764e6dc2958b97c69b20d2680c5718,4/3/4374182b6b0153d150e2ed0745965cad29f1550c
|
|
51
|
+
w
|
|
52
|
+
G.idea/sonarlint/issuestore/a/5/a5cc2925ca8258af241be7e5b0381edf30266302,e/d/ed67eb178d523a4b3f117dcbe0eda5196367ceec
|
|
53
|
+
w
|
|
54
|
+
G.idea/sonarlint/issuestore/c/b/cbafd046d78fdcff60bb863b1f170cf248428356,2/7/27fd7feb6b7d8df2d738b2fed6b7618eaa3e4986
|
|
55
|
+
�
|
|
56
|
+
Q.idea/sonarlint/securityhotspotstore/a/5/a5cc2925ca8258af241be7e5b0381edf30266302,3/0/30205a209c6ce77c4cfc19a09e6f57c588b7fb88
|
|
57
|
+
:
|
|
58
|
+
|
|
59
|
+
.npmignore,a/a/aa70c1f807c37f569ecaab41d557b08040e4aada
|
|
60
|
+
w
|
|
61
|
+
G.idea/sonarlint/issuestore/9/2/926fc1d355291c95bbfe01b0cc89b3daa5ee565a,3/f/3f8662046958ae5813ffc033924590f34181ad5d
|
|
62
|
+
>
|
|
63
|
+
.eslintrc.json,7/1/71c20a341bfe32aa5cd5b4384e94f942bab6a7d3
|
|
64
|
+
?
|
|
65
|
+
babel.config.js,7/7/775bd43a34022cef87b6af825cbd551f29473f73
|
|
66
|
+
w
|
|
67
|
+
G.idea/sonarlint/issuestore/f/f/ff1f286a546f6d68f1d7bba365081bb2621ba7bf,e/1/e1707d8f664101bea7dab7520e70440bb30d12b0
|
|
68
|
+
�
|
|
69
|
+
Q.idea/sonarlint/securityhotspotstore/c/b/cbafd046d78fdcff60bb863b1f170cf248428356,b/c/bc69dd08ba8eecfcdbadb2eb4b55af31aebab71c
|
|
70
|
+
\
|
|
71
|
+
,.idea/inspectionProfiles/Project_Default.xml,4/9/496a238a6afa168dbaf6efd37bb459331589579c
|
|
72
|
+
�
|
|
73
|
+
Q.idea/sonarlint/securityhotspotstore/9/2/926fc1d355291c95bbfe01b0cc89b3daa5ee565a,4/a/4a0bda2b60ea988491ba3c1f86ba5ddc9c7c50f7
|
|
74
|
+
�
|
|
75
|
+
Q.idea/sonarlint/securityhotspotstore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d,1/0/10a03f31c4dce92cb371e761ce9429428bb6c176
|
|
76
|
+
�
|
|
77
|
+
Q.idea/sonarlint/securityhotspotstore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a,9/a/9ab775a45cd57b8b48016a1df33230d8b5c74c21
|
|
78
|
+
w
|
|
79
|
+
G.idea/sonarlint/issuestore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d,b/4/b4a0b63ce8560bbc5de0f9995c20cc861dc2adb3
|
|
80
|
+
w
|
|
81
|
+
G.idea/sonarlint/issuestore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a,9/d/9d19eaab4327edc07435a682d68ef383811840e5
|
|
82
|
+
]
|
|
83
|
+
-.github/workflows/pull_request_dependabot.yml,5/f/5ffd0b98cde134ff580ef90ad8d1ab6d1df9b18c
|
|
84
|
+
M
|
|
85
|
+
.github/workflows/publish.yml,4/6/4639989a2b9ca33671669f3e377b9d0308553f80
|
|
86
|
+
C
|
|
87
|
+
scripts/testMock.js,8/e/8e251ae887ae9e4f88a9858b7e7ec0e28725848c
|
|
88
|
+
J
|
|
89
|
+
.github/workflows/main.yml,c/7/c778226b6c4c0fb51cf7942c8ee1f3d9fc1249d0
|
|
90
|
+
R
|
|
91
|
+
".github/workflows/pull_request.yml,e/c/ec91a06cba2de731a76605e87f9ce117753b17ad
|
|
92
|
+
9
|
|
93
|
+
yarn.lock,5/3/53585a096fe3a3b96321113856ae62602995a33b
|
|
94
|
+
F
|
|
95
|
+
.github/dependabot.yml,0/9/091aff741808a09242f252264b14f4a9adaa5305
|
|
96
|
+
w
|
|
97
|
+
G.idea/sonarlint/issuestore/b/1/b13e722c22b8ed4288d9972d92b260aee6cffbf9,d/5/d5f6c61c79f8ed439129ec5d01ca7e4f0eebd67c
|
|
98
|
+
K
|
|
99
|
+
src/lib/tests/index.test.ts,d/9/d965299cb5370f2e17b2567eb2a54cb847d19656
|
|
100
|
+
�
|
|
101
|
+
Q.idea/sonarlint/securityhotspotstore/b/1/b13e722c22b8ed4288d9972d92b260aee6cffbf9,0/6/069ef9bda122f255e1c341e41d3f78522464c2b4
|
|
102
|
+
=
|
|
103
|
+
|
|
104
|
+
�
|
|
105
|
+
Q.idea/sonarlint/securityhotspotstore/f/f/ff1f286a546f6d68f1d7bba365081bb2621ba7bf,7/0/707a849a21152c19c32b1a85b1983371142e3f81
|
|
106
|
+
w
|
|
107
|
+
G.idea/sonarlint/issuestore/9/d/9dd67d8fd2764e6dc2958b97c69b20d2680c5718,5/c/5c0965ab02ac9493b8df37280a78800edff64337
|
|
108
|
+
�
|
|
109
|
+
Q.idea/sonarlint/securityhotspotstore/d/5/d5595158cc48f9bf3e51b06f6e6805a8fd2d6262,c/f/cff84008e94dcba97031de4d6055b8ea23c42063
|
|
110
|
+
�
|
|
111
|
+
Q.idea/sonarlint/securityhotspotstore/0/3/0398ccd0f49298b10a3d76a47800d2ebecd49859,6/e/6eb79a6de022d34531c7294103c6ad90c6fcf123
|
|
112
|
+
w
|
|
113
|
+
G.idea/sonarlint/issuestore/d/5/d5595158cc48f9bf3e51b06f6e6805a8fd2d6262,e/8/e8af060352b4db9372317b530797dcf60e4e3b40
|
|
114
|
+
w
|
|
115
|
+
G.idea/sonarlint/issuestore/0/3/0398ccd0f49298b10a3d76a47800d2ebecd49859,2/b/2b179fbe8d00d6818e998f6c3b532342e7e62d80
|
|
116
|
+
�
|
|
117
|
+
Q.idea/sonarlint/securityhotspotstore/6/1/61ebb9fd6e8cf9082658121d5d81e297791dacd0,6/4/64c8749f273f2498813d8e367242b13e73cbf7c3
|
|
118
|
+
w
|
|
119
|
+
G.idea/sonarlint/issuestore/6/1/61ebb9fd6e8cf9082658121d5d81e297791dacd0,b/2/b22f7e8090489b33880b9b9308cf7b19a9533f58
|
package/.idea/vcs.xml
ADDED
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2019 Francisco Hodge
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
Introduction
|
|
2
|
+
------------
|
|
3
|
+
|
|
4
|
+
The VoveSDK for Web enables the straightforward integration of ID verification and KYC compliance into web applications. This SDK provides a simplified, JavaScript API, allowing developers to integrate complex ID verification processes seamlessly.
|
|
5
|
+
|
|
6
|
+
Installation
|
|
7
|
+
------------
|
|
8
|
+
|
|
9
|
+
To incorporate the VoveSDK into your web project, you can install it via npm or Yarn:
|
|
10
|
+
|
|
11
|
+
bashCopy code
|
|
12
|
+
|
|
13
|
+
`npm install @vove-id/web-sdk`
|
|
14
|
+
|
|
15
|
+
or
|
|
16
|
+
|
|
17
|
+
bashCopy code
|
|
18
|
+
|
|
19
|
+
`yarn add @vove-id/web-sdk`
|
|
20
|
+
|
|
21
|
+
This package includes all necessary dependencies, ensuring a hassle-free setup without the need for additional configurations.
|
|
22
|
+
|
|
23
|
+
Usage
|
|
24
|
+
-----
|
|
25
|
+
|
|
26
|
+
The core functionality of the VoveSDK is to facilitate ID verification through an easy-to-use function call. This function orchestrates the verification process, requiring a session token and an environment setting.
|
|
27
|
+
|
|
28
|
+
### Starting ID Verification
|
|
29
|
+
|
|
30
|
+
To begin the ID verification process, utilize the `processIDMatching` function. This function needs a session token (provided by your backend server) and an environment setting. It returns a promise that resolves with the verification outcome.
|
|
31
|
+
|
|
32
|
+
#### Function Signature
|
|
33
|
+
|
|
34
|
+
```javascript
|
|
35
|
+
processIDMatching({
|
|
36
|
+
sessionToken: string,
|
|
37
|
+
environment: VoveEnvironment,
|
|
38
|
+
onVerificationComplete?: (status: VoveStatus) => void
|
|
39
|
+
})
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
- `sessionToken`: A token from your backend, required to start the ID verification session.
|
|
43
|
+
- `environment`: Determines the SDK's operation environment, either `VoveEnvironment.Production` or `VoveEnvironment.Development`.
|
|
44
|
+
- `onVerificationComplete`: An optional callback executed with the verification status.
|
|
45
|
+
|
|
46
|
+
#### Example Usage
|
|
47
|
+
|
|
48
|
+
```javascript
|
|
49
|
+
import { processIDMatching, VoveEnvironment } from '@vove-id/web-sdk';
|
|
50
|
+
|
|
51
|
+
processIDMatching({
|
|
52
|
+
environment: VoveEnvironment.Production,
|
|
53
|
+
sessionToken: 'your_session_token_here',
|
|
54
|
+
onVerificationComplete: (status) => {
|
|
55
|
+
console.log('Verification status:', status);
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### Handling Verification Results
|
|
61
|
+
|
|
62
|
+
The verification result is communicated through the `onVerificationComplete` callback:
|
|
63
|
+
|
|
64
|
+
- The callback is invoked with a status ("success", "pending", "canceled", or "failed"), indicating the verification outcome.
|
|
65
|
+
- There is no need to handle a Promise's resolve or reject states since the process completion is managed through the callback function.
|
|
66
|
+
|
|
67
|
+
```javascript
|
|
68
|
+
processIDMatching({
|
|
69
|
+
environment: VoveEnvironment.Production,
|
|
70
|
+
sessionToken: 'your_session_token_here',
|
|
71
|
+
onVerificationComplete: (status) => {
|
|
72
|
+
switch (status) {
|
|
73
|
+
case 'success':
|
|
74
|
+
console.log('Verification successful.');
|
|
75
|
+
break;
|
|
76
|
+
case 'pending':
|
|
77
|
+
console.log('Verification pending.');
|
|
78
|
+
break;
|
|
79
|
+
case 'canceled':
|
|
80
|
+
console.log('Verification canceled.');
|
|
81
|
+
break;
|
|
82
|
+
default:
|
|
83
|
+
console.log('Unexpected status:', status);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
API Reference
|
|
90
|
+
-------------
|
|
91
|
+
|
|
92
|
+
### `processIDMatching`
|
|
93
|
+
|
|
94
|
+
Begins an ID verification session.
|
|
95
|
+
|
|
96
|
+
Parameters:
|
|
97
|
+
|
|
98
|
+
- An object containing:
|
|
99
|
+
- `sessionToken`: `string`: The session token for the verification process.
|
|
100
|
+
- `environment`: `VoveEnvironment`: The SDK's operational environment.
|
|
101
|
+
- `onVerificationComplete`: An optional callback that is invoked with the verification status.
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
### `VoveEnvironment`
|
|
105
|
+
|
|
106
|
+
An enumeration specifying the SDK's operating environment:
|
|
107
|
+
|
|
108
|
+
- `Production`: Use for production builds.
|
|
109
|
+
- `Sandbox`: Use for development or testing purposes.
|
|
110
|
+
|
|
111
|
+
Troubleshooting
|
|
112
|
+
---------------
|
|
113
|
+
|
|
114
|
+
Ensure the session token is correctly generated and passed, and the appropriate environment is selected based on your application's stage. For unresolved issues, contact support with detailed information about the problem, including error messages and steps leading up to the issue.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* @vove-id/web-sdk v0.1.0
|
|
4
|
+
* git+https://github.com/vove-id/web-sdk.git
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) TARIK AIT MBAREK (https://github.com/vove-id/) and project contributors.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*
|
|
11
|
+
*/body,html{font-family:sans-serif;height:100%;margin:0;padding:0}h1{font-weight:300;margin:0}body{background-size:300px;box-sizing:border-box;height:100%;padding:20px}
|
|
12
|
+
/*# sourceMappingURL=index.css.map*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css/index.css","mappings":";;;;;;;;;;GAAA,UAIE,sBAAuB,CACvB,WAAY,CAHZ,QAAS,CACT,SAGF,CAEA,GAEE,eAAgB,CADhB,QAEF,CAEA,KACE,qBAAsB,CAGtB,qBAAsB,CADtB,WAAY,CADZ,YAGF","sources":["webpack://VoveJS/./src/lib/index.css"],"sourcesContent":["html,\nbody {\n margin: 0;\n padding: 0;\n font-family: sans-serif;\n height: 100%;\n}\n\nh1 {\n margin: 0;\n font-weight: 300;\n}\n\nbody {\n background-size: 300px;\n padding: 20px;\n height: 100%;\n box-sizing: border-box;\n}\n"],"names":[],"sourceRoot":""}
|
package/build/index.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* @vove-id/web-sdk v0.1.0
|
|
4
|
+
* git+https://github.com/vove-id/web-sdk.git
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) TARIK AIT MBAREK (https://github.com/vove-id/) and project contributors.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VoveJS=t():e.VoveJS=t()}(self,(()=>(()=>{"use strict";var e={d:(t,o)=>{for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function n(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i(n.key),n)}}function r(e,t,o){return t&&n(e.prototype,t),o&&n(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e}function i(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}e.r(t),e.d(t,{VoveEnvironment:()=>a,default:()=>c});var a=function(e){return e.PRODUCTION="production",e.SANDBOX="sandbox",e}({});const c=r((function e(){var t,o,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n=function(e){var t=e.sessionToken,o=e.environment;window.addEventListener("message",(function(t){"verification_completed"===t.data.eventName&&e.onVerificationComplete&&e.onVerificationComplete(t.data.status)})),window.open("https://web.voveid.com/?authToken=".concat(t,"&environment=").concat(o),"popup","width=800,height=800")},(o=i(o="processIDMatching"))in t?Object.defineProperty(t,o,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[o]=n,console.log("Vove constructor loaded!")}));return t})()));
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","mappings":";;;;;;;;;;;CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAAgB,OAAID,IAEpBD,EAAa,OAAIC,GAClB,CATD,CASGK,MAAM,IACT,M,aCTA,IAAIC,EAAsB,CCA1BA,EAAwB,CAACL,EAASM,KACjC,IAAI,IAAIC,KAAOD,EACXD,EAAoBG,EAAEF,EAAYC,KAASF,EAAoBG,EAAER,EAASO,IAC5EE,OAAOC,eAAeV,EAASO,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAE1E,ECNDF,EAAwB,CAACQ,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,GCClFT,EAAyBL,IACH,oBAAXkB,QAA0BA,OAAOC,aAC1CV,OAAOC,eAAeV,EAASkB,OAAOC,YAAa,CAAEC,MAAO,WAE7DX,OAAOC,eAAeV,EAAS,aAAc,CAAEoB,OAAO,GAAO,G,22BCFvD,IAAKC,EAAe,SAAfA,GAAe,OAAfA,EAAe,wBAAfA,EAAe,kBAAfA,CAAe,MA2B3B,QAlBUC,GACN,SAAAC,I,uGAAcC,CAAA,KAAAD,G,EAAA,K,EAIM,SAACE,GACjB,IAAOC,EAA6BD,EAA7BC,aAAcC,EAAeF,EAAfE,YAErBC,OAAOC,iBAAiB,WAAW,SAACC,GACH,2BAAzBA,EAAMC,KAAKC,WACXP,EAAWQ,wBAA0BR,EAAWQ,uBAAuBH,EAAMC,KAAKG,OAE1F,IAEAN,OAAOO,KAAK,qCAADC,OAAsCV,EAAY,iBAAAU,OAAgBT,GAAe,QAAS,uBACzG,G,MAdc,wB,wFACVU,QAAQC,IAAI,2BAChB,I,ULLJ","sources":["webpack://VoveJS/webpack/universalModuleDefinition","webpack://VoveJS/webpack/bootstrap","webpack://VoveJS/webpack/runtime/define property getters","webpack://VoveJS/webpack/runtime/hasOwnProperty shorthand","webpack://VoveJS/webpack/runtime/make namespace object","webpack://VoveJS/./src/lib/index.ts"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"VoveJS\"] = factory();\n\telse\n\t\troot[\"VoveJS\"] = factory();\n})(self, () => {\nreturn ","// The require scope\nvar __webpack_require__ = {};\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import \"./index.css\";\n\ntype VoveStatus = \"success\" | \"failure\" | \"pending\" | \"canceled\";\nexport enum VoveEnvironment {\n PRODUCTION = \"production\",\n SANDBOX = \"sandbox\",\n}\ntype VoveConfig = {\n sessionToken: string,\n environment: VoveEnvironment,\n onVerificationComplete?: (status: VoveStatus) => void,\n}\nclass Vove {\n constructor() {\n console.log(\"Vove constructor loaded!\");\n }\n\n processIDMatching = (voveConfig: VoveConfig) => {\n const {sessionToken, environment} = voveConfig;\n\n window.addEventListener(\"message\", (event) => {\n if (event.data.eventName === \"verification_completed\") {\n voveConfig.onVerificationComplete && voveConfig.onVerificationComplete(event.data.status);\n }\n });\n\n window.open(`https://web.voveid.com/?authToken=${sessionToken}&environment=${environment}`, \"popup\", \"width=800,height=800\");\n };\n}\n\nexport default Vove;\n"],"names":["root","factory","exports","module","define","amd","self","__webpack_require__","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","Symbol","toStringTag","value","VoveEnvironment","_createClass","Vove","_classCallCheck","voveConfig","sessionToken","environment","window","addEventListener","event","data","eventName","onVerificationComplete","status","open","concat","console","log"],"sourceRoot":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import "./index.css";
|
|
2
|
+
type VoveStatus = "success" | "failure" | "pending" | "canceled";
|
|
3
|
+
export declare enum VoveEnvironment {
|
|
4
|
+
PRODUCTION = "production",
|
|
5
|
+
SANDBOX = "sandbox"
|
|
6
|
+
}
|
|
7
|
+
type VoveConfig = {
|
|
8
|
+
sessionToken: string;
|
|
9
|
+
environment: VoveEnvironment;
|
|
10
|
+
onVerificationComplete?: (status: VoveStatus) => void;
|
|
11
|
+
};
|
|
12
|
+
declare class Vove {
|
|
13
|
+
constructor();
|
|
14
|
+
processIDMatching: (voveConfig: VoveConfig) => void;
|
|
15
|
+
}
|
|
16
|
+
export default Vove;
|
package/package.json
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vove-id/web-sdk",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "VOVE ID - Instant, seamless identity verification. Designed for trust, user-centric, fully compliant with AML/KYC. Optimized for the MEA region.",
|
|
5
|
+
"main": "build/index.js",
|
|
6
|
+
"types": "build/types/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"start": "webpack serve --config webpack.config.demo.js",
|
|
9
|
+
"build": "webpack && tsc",
|
|
10
|
+
"build:demo": "webpack --config webpack.config.demo.js",
|
|
11
|
+
"test": "jest --silent",
|
|
12
|
+
"coverage": "npm run test -- --coverage",
|
|
13
|
+
"prepare": "npm run build",
|
|
14
|
+
"trypublish": "npm publish || true"
|
|
15
|
+
},
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/vove-id/web-sdk.git"
|
|
19
|
+
},
|
|
20
|
+
"author": "TARIK AIT MBAREK <taitmbarek@gmail.com> (https://github.com/vove-id/)",
|
|
21
|
+
"license": "MIT",
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/vove-id/web-sdk/issues"
|
|
24
|
+
},
|
|
25
|
+
"homepage": "https://voveid.com/",
|
|
26
|
+
"keywords": [
|
|
27
|
+
"library",
|
|
28
|
+
"starter",
|
|
29
|
+
"es6"
|
|
30
|
+
],
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@babel/cli": "^7.24.1",
|
|
33
|
+
"@babel/core": "^7.24.3",
|
|
34
|
+
"@babel/plugin-proposal-class-properties": "^7.16.0",
|
|
35
|
+
"@babel/plugin-transform-typescript": "^7.24.1",
|
|
36
|
+
"@babel/polyfill": "^7.12.1",
|
|
37
|
+
"@babel/preset-env": "^7.24.3",
|
|
38
|
+
"@types/jest": "^29.5.12",
|
|
39
|
+
"@types/uuid": "^9.0.8",
|
|
40
|
+
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
41
|
+
"@typescript-eslint/parser": "^4.33.0",
|
|
42
|
+
"babel-eslint": "^10.1.0",
|
|
43
|
+
"babel-loader": "^9.1.3",
|
|
44
|
+
"babel-preset-minify": "^0.5.2",
|
|
45
|
+
"css-loader": "^6.10.0",
|
|
46
|
+
"css-minimizer-webpack-plugin": "^6.0.0",
|
|
47
|
+
"eslint": "^7.32.0",
|
|
48
|
+
"file-loader": "^6.2.0",
|
|
49
|
+
"html-webpack-plugin": "^5.6.0",
|
|
50
|
+
"jest": "^29.7.0",
|
|
51
|
+
"mini-css-extract-plugin": "^2.8.1",
|
|
52
|
+
"style-loader": "^3.3.4",
|
|
53
|
+
"terser-webpack-plugin": "^5.3.10",
|
|
54
|
+
"typescript": "^4.9.5",
|
|
55
|
+
"url-loader": "^4.1.1",
|
|
56
|
+
"webpack": "^5.91.0",
|
|
57
|
+
"webpack-cli": "^5.1.4",
|
|
58
|
+
"webpack-dev-server": "4.13.3"
|
|
59
|
+
},
|
|
60
|
+
"jest": {
|
|
61
|
+
"moduleNameMapper": {
|
|
62
|
+
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/scripts/testMock.js",
|
|
63
|
+
"\\.(css|less)$": "<rootDir>/scripts/testMock.js"
|
|
64
|
+
},
|
|
65
|
+
"moduleFileExtensions": [
|
|
66
|
+
"web.js",
|
|
67
|
+
"js",
|
|
68
|
+
"web.ts",
|
|
69
|
+
"ts",
|
|
70
|
+
"web.tsx",
|
|
71
|
+
"tsx",
|
|
72
|
+
"json",
|
|
73
|
+
"web.jsx",
|
|
74
|
+
"jsx",
|
|
75
|
+
"node"
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
"dependencies": {
|
|
79
|
+
"query-string": "^9.0.0",
|
|
80
|
+
"uuid": "^9.0.1"
|
|
81
|
+
}
|
|
82
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"noImplicitAny": true,
|
|
4
|
+
"outDir": "build/types",
|
|
5
|
+
"module": "es6",
|
|
6
|
+
"target": "es5",
|
|
7
|
+
"allowJs": false,
|
|
8
|
+
"sourceMap": true,
|
|
9
|
+
"declaration": true,
|
|
10
|
+
"emitDeclarationOnly": true,
|
|
11
|
+
"suppressImplicitAnyIndexErrors": true,
|
|
12
|
+
"lib": ["es2021", "dom"],
|
|
13
|
+
"moduleResolution": "node",
|
|
14
|
+
},
|
|
15
|
+
"include": ["src/lib"],
|
|
16
|
+
"exclude": ["src/lib/**/tests"],
|
|
17
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
|
|
2
|
+
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
|
3
|
+
|
|
4
|
+
module.exports = {
|
|
5
|
+
mode: "development",
|
|
6
|
+
devtool: 'cheap-module-source-map',
|
|
7
|
+
entry: './src/demo/index.ts',
|
|
8
|
+
output: {
|
|
9
|
+
filename: 'index.js'
|
|
10
|
+
},
|
|
11
|
+
optimization: {
|
|
12
|
+
minimize: false,
|
|
13
|
+
},
|
|
14
|
+
devServer: {
|
|
15
|
+
open: true,
|
|
16
|
+
hot: true,
|
|
17
|
+
host: "localhost",
|
|
18
|
+
port: 3000
|
|
19
|
+
},
|
|
20
|
+
module: {
|
|
21
|
+
rules: [
|
|
22
|
+
{
|
|
23
|
+
test: /\.(m|j|t)s$/,
|
|
24
|
+
exclude: /(node_modules|bower_components)/,
|
|
25
|
+
use: {
|
|
26
|
+
loader: 'babel-loader'
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
test: /\.(sa|sc|c)ss$/,
|
|
31
|
+
use: [
|
|
32
|
+
MiniCssExtractPlugin.loader,
|
|
33
|
+
{ loader: "css-loader", options: { sourceMap: true } },
|
|
34
|
+
],
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
plugins: [
|
|
39
|
+
new MiniCssExtractPlugin({
|
|
40
|
+
filename: 'css/index.css'
|
|
41
|
+
}),
|
|
42
|
+
new HtmlWebpackPlugin(),
|
|
43
|
+
],
|
|
44
|
+
resolve: {
|
|
45
|
+
extensions: ['.ts', '.js', '.json']
|
|
46
|
+
}
|
|
47
|
+
};
|