@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 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: string // ISO 8601 timestamp
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
- /** ISO 8601 timestamp when the challenge was solved */
21
- solvedAt: string;
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
- /** ISO 8601 timestamp when the challenge was solved */
21
- solvedAt: string;
20
+ /** Unix timestamp in milliseconds when the challenge was solved */
21
+ solvedAt: number;
22
22
  }
23
23
  interface ApiErrorBody {
24
24
  error: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crovly/node",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Official Crovly server-side SDK for Node.js — verify captcha tokens",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",