@wix/captcha
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -5,5 +5,2 @@ export interface CaptchaEntity { | ||
token?: string; | ||
referrer?: string; | ||
siteKey?: string; | ||
action?: string; | ||
} | ||
@@ -10,0 +7,0 @@ export interface CaptchaResponse { |
@@ -11,5 +11,2 @@ export declare const __debug: { | ||
token?: string; | ||
referrer?: string; | ||
siteKey?: string; | ||
action?: string; | ||
} | ||
@@ -52,5 +49,2 @@ export interface CaptchaResponse { | ||
token?: string; | ||
referrer?: string; | ||
siteKey?: string; | ||
action?: string; | ||
} |
@@ -77,8 +77,3 @@ "use strict"; | ||
return __awaiter(this, arguments, void 0, function* () { | ||
const requestTransformation = { | ||
token: '$[0].token', | ||
referrer: '$[0].referrer', | ||
siteKey: '$[0].siteKey', | ||
action: '$[0].action', | ||
}; | ||
const requestTransformation = { token: '$[0].token' }; | ||
const responseTransformation = '$'; | ||
@@ -85,0 +80,0 @@ // @ts-ignore |
@@ -5,5 +5,2 @@ export interface CaptchaEntity { | ||
token?: string; | ||
referrer?: string; | ||
siteKey?: string; | ||
action?: string; | ||
} | ||
@@ -10,0 +7,0 @@ export interface CaptchaResponse { |
@@ -11,5 +11,2 @@ export declare const __debug: { | ||
token?: string; | ||
referrer?: string; | ||
siteKey?: string; | ||
action?: string; | ||
} | ||
@@ -52,5 +49,2 @@ export interface CaptchaResponse { | ||
token?: string; | ||
referrer?: string; | ||
siteKey?: string; | ||
action?: string; | ||
} |
@@ -55,8 +55,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
return __awaiter(this, arguments, void 0, function* () { | ||
const requestTransformation = { | ||
token: '$[0].token', | ||
referrer: '$[0].referrer', | ||
siteKey: '$[0].siteKey', | ||
action: '$[0].action', | ||
}; | ||
const requestTransformation = { token: '$[0].token' }; | ||
const responseTransformation = '$'; | ||
@@ -63,0 +58,0 @@ // @ts-ignore |
{ | ||
"name": "@wix/captcha", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"publishConfig": { | ||
@@ -36,3 +36,3 @@ "registry": "https://registry.npmjs.org/", | ||
}, | ||
"falconPackageHash": "e7925d854690730845aab91a34ff93a54a64aa85c67f18094c7df982" | ||
"falconPackageHash": "b59ee88bf67512e493ab09a1a633f5b2b15014c73cc19884901376c7" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
40747
634