We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c8626d commit 7e48fcbCopy full SHA for 7e48fcb
1 file changed
src/utils/checkCaptchaParams.ts
@@ -108,6 +108,14 @@ const getRequiredFildsArr = (method: string):Array<string> => {
108
}
109
110
/**
111
+ * ### Captcha Required Parameters Check.
112
+ *
113
+ * Checking required captcha parameters before sending.
114
+ * This function checks for required fields in the provided captcha parameters.
115
+ * Throws an error if the specified method is not supported or if required fields are missing.
116
117
+ * Note: The `checkCaptchaParams()` function should be called after `renameParams()`, if function `renameParams()` is used.
118
119
* @param { Object } params Captcha parameters that need to be checked.
120
* @returns true | false | Error
121
* @example
0 commit comments