@maxzima/wa-communicator 1.0.23 → 1.0.24

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.
@@ -42,7 +42,6 @@ export class Communicator {
42
42
  const headers = this.getHeaders();
43
43
  const meta = this.getMeta(data.browserData);
44
44
  const body = JSON.stringify({
45
- captcha_solution: '_',
46
45
  device_id: data.deviceId,
47
46
  meta,
48
47
  mobile: data.phoneNumber,
@@ -18,7 +18,6 @@ declare type TResponse = {
18
18
  ok: boolean;
19
19
  };
20
20
  declare type TSignInStartRequestBody = {
21
- captcha_solution?: string;
22
21
  device_id: string;
23
22
  meta: TAccountMeta;
24
23
  mobile?: string;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.23",
2
+ "version": "1.0.24",
3
3
  "name": "@maxzima/wa-communicator",
4
4
  "description": "",
5
5
  "author": "Noname",
@@ -35,7 +35,6 @@ export class Communicator {
35
35
  const headers = this.getHeaders();
36
36
  const meta = this.getMeta(data.browserData);
37
37
  const body = JSON.stringify({
38
- captcha_solution: '_',
39
38
  device_id: data.deviceId,
40
39
  meta,
41
40
  mobile: data.phoneNumber,
@@ -23,7 +23,6 @@ type TResponse = {
23
23
 
24
24
  /* region signIn */
25
25
  type TSignInStartRequestBody = {
26
- captcha_solution?: string,
27
26
  device_id: string,
28
27
  meta: TAccountMeta,
29
28
  mobile?: string,
@@ -125,7 +125,7 @@ Object {
125
125
 
126
126
  exports[`Communicator requests signIn 1`] = `
127
127
  Object {
128
- "body": "{\\"captcha_solution\\":\\"_\\",\\"device_id\\":\\"ov4lNmyk7armoC5DMiOpL5hl846kVQgS\\",\\"meta\\":{\\"audit_source_type\\":\\"Backend\\",\\"browser_page_resolution\\":\\"800x600\\",\\"cookies_enabled\\":true,\\"ip\\":\\"127.0.0.1\\",\\"js_enabled\\":true,\\"language\\":\\"ENG\\",\\"user_agent\\":\\"_userAgent_\\"},\\"mobile\\":\\"+16234401486\\"}",
128
+ "body": "{\\"device_id\\":\\"ov4lNmyk7armoC5DMiOpL5hl846kVQgS\\",\\"meta\\":{\\"audit_source_type\\":\\"Backend\\",\\"browser_page_resolution\\":\\"800x600\\",\\"cookies_enabled\\":true,\\"ip\\":\\"127.0.0.1\\",\\"js_enabled\\":true,\\"language\\":\\"ENG\\",\\"user_agent\\":\\"_userAgent_\\"},\\"mobile\\":\\"+16234401486\\"}",
129
129
  "headers": Object {
130
130
  "Accept": "application/json, text/plain, */*",
131
131
  "Content-Type": "application/json",