@wix/captcha
Advanced tools
Comparing version 1.0.6 to 1.0.7
import { RequestOptionsFactory } from '@wix/sdk-types'; | ||
import { CaptchaRequest, CaptchaResponse } from './captcharator-v1-captcha-entity.types'; | ||
import { CaptchaRequest, CaptchaResponse, CaptchaResponseNonNullableFields } from './captcharator-v1-captcha-entity.types'; | ||
/** | ||
@@ -24,2 +24,2 @@ * Authorizes the CAPTCHA token. | ||
*/ | ||
export declare function authorize(payload: CaptchaRequest): RequestOptionsFactory<CaptchaResponse>; | ||
export declare function authorize(payload: CaptchaRequest): RequestOptionsFactory<CaptchaResponse & CaptchaResponseNonNullableFields>; |
@@ -5,3 +5,3 @@ import { HttpClient } from '@wix/sdk-types'; | ||
}; | ||
export declare function authorize(httpClient: HttpClient): (token: string) => Promise<import("./captcharator-v1-captcha-entity.universal").CaptchaResponse>; | ||
export { CaptchaEntity, CaptchaRequest, CaptchaResponse, Errors, AssessmentResponse, } from './captcharator-v1-captcha-entity.universal'; | ||
export declare function authorize(httpClient: HttpClient): (token: string) => Promise<import("./captcharator-v1-captcha-entity.universal").CaptchaResponse & import("./captcharator-v1-captcha-entity.universal").CaptchaResponseNonNullableFields>; | ||
export { CaptchaEntity, CaptchaRequest, CaptchaResponse, Errors, AssessmentResponse, CaptchaResponseNonNullableFields, } from './captcharator-v1-captcha-entity.universal'; |
@@ -16,1 +16,7 @@ export interface CaptchaEntity { | ||
} | ||
export interface CaptchaResponseNonNullableFields { | ||
success: boolean; | ||
errors?: { | ||
errorId: number; | ||
}; | ||
} |
@@ -26,2 +26,8 @@ export declare const __debug: { | ||
} | ||
export interface CaptchaResponseNonNullableFields { | ||
success: boolean; | ||
errors?: { | ||
errorId: number; | ||
}; | ||
} | ||
/** | ||
@@ -52,2 +58,2 @@ * Authorizes the CAPTCHA token. | ||
*/ | ||
export declare function authorize(token: string): Promise<CaptchaResponse>; | ||
export declare function authorize(token: string): Promise<CaptchaResponse & CaptchaResponseNonNullableFields>; |
import { RequestOptionsFactory } from '@wix/sdk-types'; | ||
import { CaptchaRequest, CaptchaResponse } from './captcharator-v1-captcha-entity.types'; | ||
import { CaptchaRequest, CaptchaResponse, CaptchaResponseNonNullableFields } from './captcharator-v1-captcha-entity.types'; | ||
/** | ||
@@ -24,2 +24,2 @@ * Authorizes the CAPTCHA token. | ||
*/ | ||
export declare function authorize(payload: CaptchaRequest): RequestOptionsFactory<CaptchaResponse>; | ||
export declare function authorize(payload: CaptchaRequest): RequestOptionsFactory<CaptchaResponse & CaptchaResponseNonNullableFields>; |
@@ -5,3 +5,3 @@ import { HttpClient } from '@wix/sdk-types'; | ||
}; | ||
export declare function authorize(httpClient: HttpClient): (token: string) => Promise<import("./captcharator-v1-captcha-entity.universal").CaptchaResponse>; | ||
export { CaptchaEntity, CaptchaRequest, CaptchaResponse, Errors, AssessmentResponse, } from './captcharator-v1-captcha-entity.universal'; | ||
export declare function authorize(httpClient: HttpClient): (token: string) => Promise<import("./captcharator-v1-captcha-entity.universal").CaptchaResponse & import("./captcharator-v1-captcha-entity.universal").CaptchaResponseNonNullableFields>; | ||
export { CaptchaEntity, CaptchaRequest, CaptchaResponse, Errors, AssessmentResponse, CaptchaResponseNonNullableFields, } from './captcharator-v1-captcha-entity.universal'; |
@@ -16,1 +16,7 @@ export interface CaptchaEntity { | ||
} | ||
export interface CaptchaResponseNonNullableFields { | ||
success: boolean; | ||
errors?: { | ||
errorId: number; | ||
}; | ||
} |
@@ -26,2 +26,8 @@ export declare const __debug: { | ||
} | ||
export interface CaptchaResponseNonNullableFields { | ||
success: boolean; | ||
errors?: { | ||
errorId: number; | ||
}; | ||
} | ||
/** | ||
@@ -52,2 +58,2 @@ * Authorizes the CAPTCHA token. | ||
*/ | ||
export declare function authorize(token: string): Promise<CaptchaResponse>; | ||
export declare function authorize(token: string): Promise<CaptchaResponse & CaptchaResponseNonNullableFields>; |
{ | ||
"name": "@wix/captcha", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"publishConfig": { | ||
@@ -14,3 +14,4 @@ "registry": "https://registry.npmjs.org/", | ||
"build", | ||
"frontend/package.json" | ||
"frontend/package.json", | ||
"meta" | ||
], | ||
@@ -37,3 +38,3 @@ "dependencies": { | ||
}, | ||
"falconPackageHash": "501025632f110c8973fd21df19950bcdd10a39a4dd7117f17a278528" | ||
"falconPackageHash": "eb4865204a723215beba4ba6949e600d0b34d38b356347449fc12c53" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
50890
50
807