@atlaskit/outbound-auth-flow-client 3.4.4 → 3.4.5

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,76 +1,82 @@
1
1
  # @atlaskit/outbound-auth-flow-client
2
2
 
3
+ ## 3.4.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#66006](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66006) [`958d8680bd69`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/958d8680bd69) - Migrate @atlaskit/outbound-auth-flow-client to use declarative entry points
8
+
3
9
  ## 3.4.4
4
10
 
5
11
  ### Patch Changes
6
12
 
7
- - [`3b1e84fa050`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3b1e84fa050) - Enrol components on push-model consumpion in Jira Frontend.
13
+ - [#39492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39492) [`3b1e84fa050`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3b1e84fa050) - Enrol components on push-model consumpion in Jira Frontend.
8
14
 
9
15
  ## 3.4.3
10
16
 
11
17
  ### Patch Changes
12
18
 
13
- - [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
19
+ - [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
14
20
 
15
21
  ## 3.4.2
16
22
 
17
23
  ### Patch Changes
18
24
 
19
- - [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
25
+ - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
20
26
 
21
27
  ## 3.4.1
22
28
 
23
29
  ### Patch Changes
24
30
 
25
- - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
31
+ - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
26
32
 
27
33
  ## 3.4.0
28
34
 
29
35
  ### Minor Changes
30
36
 
31
- - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
37
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
32
38
 
33
39
  ## 3.3.3
34
40
 
35
41
  ### Patch Changes
36
42
 
37
- - [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
43
+ - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
38
44
 
39
45
  ## 3.3.2
40
46
 
41
47
  ### Patch Changes
42
48
 
43
- - [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
49
+ - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
44
50
 
45
51
  ## 3.3.1
46
52
 
47
53
  ### Patch Changes
48
54
 
49
- - [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
55
+ - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
50
56
 
51
57
  ## 3.3.0
52
58
 
53
59
  ### Minor Changes
54
60
 
55
- - [`65cad419e85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/65cad419e85) - Add 'AuthClientOAuth2.AuthError' error type
61
+ - [#16441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16441) [`65cad419e85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/65cad419e85) - Add 'AuthClientOAuth2.AuthError' error type
56
62
 
57
63
  ## 3.2.1
58
64
 
59
65
  ### Patch Changes
60
66
 
61
- - [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
67
+ - [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857) [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
62
68
 
63
69
  ## 3.2.0
64
70
 
65
71
  ### Minor Changes
66
72
 
67
- - [`ea1bb06612`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ea1bb06612) - Added abilitiy to pass window features when calling auth
73
+ - [#6150](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6150) [`ea1bb06612`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ea1bb06612) - Added abilitiy to pass window features when calling auth
68
74
 
69
75
  ## 3.1.2
70
76
 
71
77
  ### Patch Changes
72
78
 
73
- - [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
79
+ - [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497) [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
74
80
  This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
75
81
  Also add `typescript` to `devDependencies` to denote version that the package was built with.
76
82
 
@@ -78,7 +84,7 @@
78
84
 
79
85
  ### Patch Changes
80
86
 
81
- - [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
87
+ - [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885) [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
82
88
 
83
89
  Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
84
90
  to prevent duplicates of tslib being bundled.
@@ -87,26 +93,26 @@
87
93
 
88
94
  ### Minor Changes
89
95
 
90
- - [`4c8eb0ba4a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4c8eb0ba4a) - Add custom AuthError and AuthErrorType
96
+ - [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428) [`4c8eb0ba4a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4c8eb0ba4a) - Add custom AuthError and AuthErrorType
91
97
 
92
98
  ## 3.0.0
93
99
 
94
100
  ### Major Changes
95
101
 
96
- - [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
102
+ - [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335) [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
97
103
  For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
98
104
 
99
105
  ## 2.0.11
100
106
 
101
107
  ### Patch Changes
102
108
 
103
- - [`a5815adf37`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5815adf37) - Fixed es2019 distributable missing a version.json file
109
+ - [#2731](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2731) [`a5815adf37`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5815adf37) - Fixed es2019 distributable missing a version.json file
104
110
 
105
111
  ## 2.0.10
106
112
 
107
113
  ### Patch Changes
108
114
 
109
- - [`131cee6d7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/131cee6d7a) - Add missing tslib dependency
115
+ - [#2099](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2099) [`131cee6d7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/131cee6d7a) - Add missing tslib dependency
110
116
 
111
117
  ## 2.0.9
112
118
 
@@ -0,0 +1,21 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.confluence.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "composite": true,
7
+ "outDir": "../dist",
8
+ "rootDir": "../",
9
+ "baseUrl": "../"
10
+ },
11
+ "include": [
12
+ "../src/**/*.ts",
13
+ "../src/**/*.tsx"
14
+ ],
15
+ "exclude": [
16
+ "../src/**/__tests__/*",
17
+ "../src/**/*.test.*",
18
+ "../src/**/test.*"
19
+ ],
20
+ "references": []
21
+ }
package/dist/cjs/error.js CHANGED
@@ -13,7 +13,7 @@ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/ge
13
13
  var _wrapNativeSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/wrapNativeSuper"));
14
14
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
15
15
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
16
- var AuthError = /*#__PURE__*/function (_Error) {
16
+ var AuthError = exports.AuthError = /*#__PURE__*/function (_Error) {
17
17
  (0, _inherits2.default)(AuthError, _Error);
18
18
  var _super = _createSuper(AuthError);
19
19
  function AuthError(message, type) {
@@ -28,5 +28,4 @@ var AuthError = /*#__PURE__*/function (_Error) {
28
28
  return _this;
29
29
  }
30
30
  return (0, _createClass2.default)(AuthError);
31
- }( /*#__PURE__*/(0, _wrapNativeSuper2.default)(Error));
32
- exports.AuthError = AuthError;
31
+ }( /*#__PURE__*/(0, _wrapNativeSuper2.default)(Error));
package/dist/cjs/types.js CHANGED
@@ -10,7 +10,6 @@ exports.isOfTypeAuthError = void 0;
10
10
  // 'authclientoauth2.autherror' is added to represent errors from
11
11
  // outbound-auth
12
12
 
13
- var isOfTypeAuthError = function isOfTypeAuthError(inputString) {
13
+ var isOfTypeAuthError = exports.isOfTypeAuthError = function isOfTypeAuthError(inputString) {
14
14
  return ['auth_window_closed', 'invalid_request', 'unauthorized_client', 'access_denied', 'unsupported_response_type', 'invalid_scope', 'server_error', 'temporarily_unavailable', 'authclientoauth2.autherror'].includes(inputString);
15
- };
16
- exports.isOfTypeAuthError = isOfTypeAuthError;
15
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/outbound-auth-flow-client",
3
- "version": "3.4.4",
3
+ "version": "3.4.5",
4
4
  "description": "Front-end library for starting outbound auth flows",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -23,7 +23,6 @@
23
23
  "atlaskit:src": "src/index.ts",
24
24
  "atlassian": {
25
25
  "team": "Ecosystem Capabilities",
26
- "deprecatedAutoEntryPoints": true,
27
26
  "releaseModel": "continuous",
28
27
  "productPushConsumption": [
29
28
  "jira"
@@ -43,5 +42,10 @@
43
42
  "fabric",
44
43
  "ui"
45
44
  ],
46
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
45
+ "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1",
46
+ "af:exports": {
47
+ ".": "./src/index.ts",
48
+ "./error": "./src/error.ts",
49
+ "./types": "./src/types.ts"
50
+ }
47
51
  }
@@ -1,24 +0,0 @@
1
- ## API Report File for "@atlaskit/outbound-auth-flow-client"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- // @public (undocumented)
8
- export function auth(startUrl: string, windowFeatures?: string): Promise<void>;
9
-
10
- // @public (undocumented)
11
- export class AuthError extends Error {
12
- constructor(message: string, type?: AuthErrorType | undefined);
13
- // (undocumented)
14
- readonly message: string;
15
- // (undocumented)
16
- readonly type?: AuthErrorType | undefined;
17
- }
18
-
19
- // @public (undocumented)
20
- type AuthErrorType = 'access_denied' | 'auth_window_closed' | 'authclientoauth2.autherror' | 'invalid_request' | 'invalid_scope' | 'server_error' | 'temporarily_unavailable' | 'unauthorized_client' | 'unsupported_response_type';
21
-
22
- // (No @packageDocumentation comment for this package)
23
-
24
- ```