@atlaskit/outbound-auth-flow-client 3.3.0 → 3.3.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/outbound-auth-flow-client
2
2
 
3
+ ## 3.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
8
+
3
9
  ## 3.3.0
4
10
 
5
11
  ### Minor Changes
package/dist/cjs/error.js CHANGED
@@ -7,6 +7,8 @@ Object.defineProperty(exports, "__esModule", {
7
7
  });
8
8
  exports.AuthError = void 0;
9
9
 
10
+ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
11
+
10
12
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
11
13
 
12
14
  var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
@@ -39,7 +41,7 @@ var AuthError = /*#__PURE__*/function (_Error) {
39
41
  return _this;
40
42
  }
41
43
 
42
- return AuthError;
44
+ return (0, _createClass2.default)(AuthError);
43
45
  }( /*#__PURE__*/(0, _wrapNativeSuper2.default)(Error));
44
46
 
45
47
  exports.AuthError = AuthError;
package/dist/cjs/index.js CHANGED
@@ -5,13 +5,13 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.auth = auth;
9
8
  Object.defineProperty(exports, "AuthError", {
10
9
  enumerable: true,
11
10
  get: function get() {
12
11
  return _error.AuthError;
13
12
  }
14
13
  });
14
+ exports.auth = auth;
15
15
 
16
16
  var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
17
17
 
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/outbound-auth-flow-client",
3
- "version": "3.3.0"
3
+ "version": "3.3.1"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/outbound-auth-flow-client",
3
- "version": "3.3.0"
3
+ "version": "3.3.1"
4
4
  }
package/dist/esm/error.js CHANGED
@@ -1,3 +1,4 @@
1
+ import _createClass from "@babel/runtime/helpers/createClass";
1
2
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
2
3
  import _inherits from "@babel/runtime/helpers/inherits";
3
4
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
@@ -27,5 +28,5 @@ export var AuthError = /*#__PURE__*/function (_Error) {
27
28
  return _this;
28
29
  }
29
30
 
30
- return AuthError;
31
+ return _createClass(AuthError);
31
32
  }( /*#__PURE__*/_wrapNativeSuper(Error));
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/outbound-auth-flow-client",
3
- "version": "3.3.0"
3
+ "version": "3.3.1"
4
4
  }
@@ -1,5 +1,6 @@
1
+ import { AuthErrorType } from './types';
1
2
  export declare class AuthError extends Error {
2
3
  readonly message: string;
3
- readonly type?: "auth_window_closed" | "invalid_request" | "unauthorized_client" | "access_denied" | "unsupported_response_type" | "invalid_scope" | "server_error" | "temporarily_unavailable" | "authclientoauth2.autherror" | undefined;
4
- constructor(message: string, type?: "auth_window_closed" | "invalid_request" | "unauthorized_client" | "access_denied" | "unsupported_response_type" | "invalid_scope" | "server_error" | "temporarily_unavailable" | "authclientoauth2.autherror" | undefined);
4
+ readonly type?: AuthErrorType | undefined;
5
+ constructor(message: string, type?: AuthErrorType | undefined);
5
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/outbound-auth-flow-client",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "description": "Front-end library for starting outbound auth flows",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -27,7 +27,7 @@
27
27
  "devDependencies": {
28
28
  "@atlaskit/docs": "*",
29
29
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
30
- "typescript": "3.9.6"
30
+ "typescript": "4.2.4"
31
31
  },
32
32
  "keywords": [
33
33
  "fabric",