@kynesyslabs/demosdk 2.2.41 → 2.2.42
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Demos } from "../demosclass";
|
|
2
|
-
import {
|
|
2
|
+
import { RPCResponse } from "../../types";
|
|
3
3
|
/**
|
|
4
4
|
* Verify a Cloudflare Turnstile token to protect against bots
|
|
5
5
|
*
|
|
@@ -7,4 +7,4 @@ import { RPCResponseWithValidityData } from "../../types";
|
|
|
7
7
|
* @param token The token from the Turnstile widget
|
|
8
8
|
* @returns Response indicating if the token is valid
|
|
9
9
|
*/
|
|
10
|
-
export declare function verifyTurnstileToken(demos: Demos, token: string): Promise<
|
|
10
|
+
export declare function verifyTurnstileToken(demos: Demos, token: string): Promise<RPCResponse>;
|