sass-template-common 0.3.76 → 0.3.77
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/dist/sass-template-common.d.ts +24 -0
- package/dist/sass-template-common.js +2170 -2122
- package/dist/sass-template-common.umd.cjs +26 -26
- package/package.json +1 -1
|
@@ -401,6 +401,30 @@ export declare const ContentLayout1: FC<Props_22>;
|
|
|
401
401
|
|
|
402
402
|
export declare const ContentLayoutTema: FC<Props_36>;
|
|
403
403
|
|
|
404
|
+
export declare const createAssessment: ({ projectID, recaptchaKey, token, recaptchaAction, apiKey, userAgent, userIpAddress, }: CreateAssessmentParams) => Promise<number | null>;
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* Crea una evaluación para analizar el riesgo de una acción de la IU.
|
|
408
|
+
* Usa la API REST de reCAPTCHA Enterprise (sin SDK, ~12MB menos en deploy).
|
|
409
|
+
*
|
|
410
|
+
* projectID: El ID del proyecto de Google Cloud.
|
|
411
|
+
* recaptchaKey: La clave reCAPTCHA (site key) asociada con el sitio.
|
|
412
|
+
* token: El token generado obtenido del cliente.
|
|
413
|
+
* recaptchaAction: El nombre de la acción que corresponde al token.
|
|
414
|
+
* apiKey: API key de Google Cloud para autenticar la petición REST.
|
|
415
|
+
* userAgent: (opcional) User-Agent del request para mejor detección.
|
|
416
|
+
* userIpAddress: (opcional) IP del usuario para mejor detección.
|
|
417
|
+
*/
|
|
418
|
+
declare interface CreateAssessmentParams {
|
|
419
|
+
projectID: string;
|
|
420
|
+
recaptchaKey: string;
|
|
421
|
+
token: string;
|
|
422
|
+
recaptchaAction: string;
|
|
423
|
+
apiKey: string;
|
|
424
|
+
userAgent?: string;
|
|
425
|
+
userIpAddress?: string;
|
|
426
|
+
}
|
|
427
|
+
|
|
404
428
|
export declare const cutString: (text: string, length?: number) => string;
|
|
405
429
|
|
|
406
430
|
export declare interface DataNews {
|