@forteplatforms/sdk 1.0.17 → 1.0.20

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.
@@ -27,6 +27,7 @@ export interface GoogleAuthLoginCallbackRequest {
27
27
  gCsrfToken: string;
28
28
  gCsrfToken2: string;
29
29
  credential: string;
30
+ recaptchaToken?: string;
30
31
  }
31
32
  export interface LogoutRequest {
32
33
  projectId: string;
@@ -253,6 +253,9 @@ var UsersServerApi = /** @class */ (function (_super) {
253
253
  if (requestParameters['credential'] != null) {
254
254
  formParams.append('credential', requestParameters['credential']);
255
255
  }
256
+ if (requestParameters['recaptchaToken'] != null) {
257
+ formParams.append('recaptcha_token', requestParameters['recaptchaToken']);
258
+ }
256
259
  urlPath = "/api/v1/{projectId}/users/google-auth-callback";
257
260
  urlPath = urlPath.replace("{".concat("projectId", "}"), encodeURIComponent(String(requestParameters['projectId'])));
258
261
  return [4 /*yield*/, this.request({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forteplatforms/sdk",
3
- "version": "1.0.17",
3
+ "version": "1.0.20",
4
4
  "description": "Official TypeScript SDK for Forte Platforms",
5
5
  "author": "Forte Platforms <support@forteplatforms.com>",
6
6
  "repository": {