@wireapp/api-client 27.75.2 → 27.75.3

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.
@@ -1 +1 @@
1
- {"version":3,"file":"BackendErrorMapper.d.ts","sourceRoot":"","sources":["../../src/http/BackendErrorMapper.ts"],"names":[],"mappings":"AAiCA,OAAO,EAAC,YAAY,EAAgC,MAAM,IAAI,CAAC;AAE/D,qBAAa,kBAAkB;IAC7B,WAAkB,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,CA4DvF;IAED,OAAO,CAAC,MAAM,CAAC,WAAW;WAWZ,GAAG,CAAC,KAAK,EAAE,YAAY,GAAG,YAAY;CAarD"}
1
+ {"version":3,"file":"BackendErrorMapper.d.ts","sourceRoot":"","sources":["../../src/http/BackendErrorMapper.ts"],"names":[],"mappings":"AAiCA,OAAO,EAAC,YAAY,EAAgC,MAAM,IAAI,CAAC;AAE/D,qBAAa,kBAAkB;IAC7B,WAAkB,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,CA6DvF;IAED,OAAO,CAAC,MAAM,CAAC,WAAW;WAWZ,GAAG,CAAC,KAAK,EAAE,YAAY,GAAG,YAAY;CAarD"}
@@ -39,6 +39,7 @@ class BackendErrorMapper {
39
39
  },
40
40
  [_1.StatusCode.FORBIDDEN]: {
41
41
  [_1.BackendErrorLabel.INVALID_CREDENTIALS]: {
42
+ 'Invalid zauth token': new auth_1.InvalidTokenError('Authentication failed because the token is invalid.'),
42
43
  'Authentication failed.': new auth_1.InvalidCredentialsError('Authentication failed because of invalid credentials.'),
43
44
  'Invalid token': new auth_1.InvalidTokenError('Authentication failed because the token is invalid.'),
44
45
  'Missing cookie': new auth_1.MissingCookieError('Authentication failed because the cookie is missing.'),
package/package.json CHANGED
@@ -70,6 +70,6 @@
70
70
  "watch": "webpack serve --config webpack.browser.js",
71
71
  "prepare": "yarn dist"
72
72
  },
73
- "version": "27.75.2",
74
- "gitHead": "d1fa49fc6ef6dea7898aeb4bebcde96e55054650"
73
+ "version": "27.75.3",
74
+ "gitHead": "16e35559c2b72a8918fad7348e71e40836547f54"
75
75
  }