@crovly/node 1.0.0 → 1.0.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 +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -75,7 +75,7 @@ const result = await crovly.verify({
|
|
|
75
75
|
success: boolean // true if verification passed
|
|
76
76
|
score: number // 0.0 (bot) to 1.0 (human)
|
|
77
77
|
ip: string // IP that solved the challenge
|
|
78
|
-
solvedAt:
|
|
78
|
+
solvedAt: number // Unix timestamp in milliseconds
|
|
79
79
|
}
|
|
80
80
|
```
|
|
81
81
|
|
package/dist/index.d.mts
CHANGED
|
@@ -17,8 +17,8 @@ interface VerifyResponse {
|
|
|
17
17
|
score: number;
|
|
18
18
|
/** IP address that solved the challenge */
|
|
19
19
|
ip: string;
|
|
20
|
-
/**
|
|
21
|
-
solvedAt:
|
|
20
|
+
/** Unix timestamp in milliseconds when the challenge was solved */
|
|
21
|
+
solvedAt: number;
|
|
22
22
|
}
|
|
23
23
|
interface ApiErrorBody {
|
|
24
24
|
error: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -17,8 +17,8 @@ interface VerifyResponse {
|
|
|
17
17
|
score: number;
|
|
18
18
|
/** IP address that solved the challenge */
|
|
19
19
|
ip: string;
|
|
20
|
-
/**
|
|
21
|
-
solvedAt:
|
|
20
|
+
/** Unix timestamp in milliseconds when the challenge was solved */
|
|
21
|
+
solvedAt: number;
|
|
22
22
|
}
|
|
23
23
|
interface ApiErrorBody {
|
|
24
24
|
error: string;
|