From 2104a16ad49c99bf3296dc83206d09052549e334 Mon Sep 17 00:00:00 2001 From: Abel Toledano Date: Tue, 14 Jan 2025 12:26:15 +0100 Subject: [PATCH] feat(validateDatamobRequirements): remove googleAccount (#190) https://jira.tid.es/browse/WEB-2137 --- README.md | 1 - src/__tests__/datamob-test.ts | 2 -- src/datamob.ts | 1 - src/post-message.ts | 1 - 4 files changed, 5 deletions(-) diff --git a/README.md b/README.md index 2d3cce9..5854dc7 100644 --- a/README.md +++ b/README.md @@ -1471,7 +1471,6 @@ value where true is valid, false is not valid. validateDatamobRequirements: ({phoneNumber: string, tokenPassword: string}) => Promise<{ requirements: { deviceAdmin: boolean; - googleAccount: boolean; lockPassword: boolean; accessibilityOption: boolean; invalidPhoneNumber: boolean; diff --git a/src/__tests__/datamob-test.ts b/src/__tests__/datamob-test.ts index cbddd57..0d109d2 100644 --- a/src/__tests__/datamob-test.ts +++ b/src/__tests__/datamob-test.ts @@ -82,7 +82,6 @@ test('validateDatamobRequirements', async () => { payload: { requirements: { deviceAdmin: true, - googleAccount: true, lockPassword: true, accessibilityOption: true, invalidPhoneNumber: true, @@ -97,7 +96,6 @@ test('validateDatamobRequirements', async () => { expect(res).toEqual({ requirements: { deviceAdmin: true, - googleAccount: true, lockPassword: true, accessibilityOption: true, invalidPhoneNumber: true, diff --git a/src/datamob.ts b/src/datamob.ts index 143dc9e..dcdc22c 100644 --- a/src/datamob.ts +++ b/src/datamob.ts @@ -27,7 +27,6 @@ export const validateDatamobRequirements = ({ }): Promise<{ requirements: { deviceAdmin: boolean; - googleAccount: boolean; lockPassword: boolean; accessibilityOption: boolean; invalidPhoneNumber: boolean; diff --git a/src/post-message.ts b/src/post-message.ts index 0765afc..996354c 100644 --- a/src/post-message.ts +++ b/src/post-message.ts @@ -405,7 +405,6 @@ export type ResponsesFromNativeApp = { payload: { requirements: { deviceAdmin: boolean; - googleAccount: boolean; lockPassword: boolean; accessibilityOption: boolean; invalidPhoneNumber: boolean;