@naughtbot/sdk 0.0.1 → 0.1.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/README.md +20 -10
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,22 +1,32 @@
|
|
|
1
1
|
# NaughtBot SDK
|
|
2
2
|
|
|
3
|
-
TypeScript SDK for the NaughtBot CAPTCHA widget. Provides
|
|
3
|
+
TypeScript SDK for the NaughtBot CAPTCHA widget. Provides cryptographic proof of human interaction via biometric verification.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
|
-
```
|
|
7
|
+
```bash
|
|
8
8
|
npm install @naughtbot/sdk
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## Quick Start
|
|
12
12
|
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
pnpm build
|
|
16
|
-
|
|
13
|
+
```bash
|
|
14
|
+
# Build
|
|
15
|
+
pnpm install && pnpm build
|
|
16
|
+
|
|
17
|
+
# Run tests
|
|
18
|
+
pnpm test
|
|
19
|
+
|
|
20
|
+
# Lint
|
|
21
|
+
pnpm lint
|
|
17
22
|
```
|
|
18
23
|
|
|
19
|
-
##
|
|
24
|
+
## Related Repos
|
|
25
|
+
|
|
26
|
+
- [ackagent/web-sdk](https://github.com/AckAgent/web-sdk) — AckAgent Web SDK (peer dependency)
|
|
27
|
+
- [naughtbot/api](https://github.com/naughtbot/api) — NaughtBot API types
|
|
28
|
+
- [naughtbot/relay](https://github.com/naughtbot/relay) — NaughtBot relay service
|
|
29
|
+
|
|
30
|
+
## License
|
|
20
31
|
|
|
21
|
-
|
|
22
|
-
- [@naughtbot/api](https://github.com/naughtbot/api) — TypeScript types (npm)
|
|
32
|
+
MIT
|
package/package.json
CHANGED
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"license": "MIT",
|
|
40
40
|
"repository": {
|
|
41
41
|
"type": "git",
|
|
42
|
-
"url": "git+https://github.com/
|
|
42
|
+
"url": "git+https://github.com/NaughtBot/sdk.git"
|
|
43
43
|
},
|
|
44
44
|
"main": "./dist/index.js",
|
|
45
45
|
"name": "@naughtbot/sdk",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
},
|
|
49
49
|
"type": "module",
|
|
50
50
|
"types": "./dist/index.d.ts",
|
|
51
|
-
"version": "0.
|
|
51
|
+
"version": "0.1.1",
|
|
52
52
|
"scripts": {
|
|
53
53
|
"build": "tsc",
|
|
54
54
|
"clean": "rm -rf dist",
|