@atlaskit/outbound-auth-flow-client 3.4.3 → 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,70 +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
+
9
+ ## 3.4.4
10
+
11
+ ### Patch Changes
12
+
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.
14
+
3
15
  ## 3.4.3
4
16
 
5
17
  ### Patch Changes
6
18
 
7
- - [`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
8
20
 
9
21
  ## 3.4.2
10
22
 
11
23
  ### Patch Changes
12
24
 
13
- - [`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
14
26
 
15
27
  ## 3.4.1
16
28
 
17
29
  ### Patch Changes
18
30
 
19
- - [`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`
20
32
 
21
33
  ## 3.4.0
22
34
 
23
35
  ### Minor Changes
24
36
 
25
- - [`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
26
38
 
27
39
  ## 3.3.3
28
40
 
29
41
  ### Patch Changes
30
42
 
31
- - [`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`
32
44
 
33
45
  ## 3.3.2
34
46
 
35
47
  ### Patch Changes
36
48
 
37
- - [`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`.
38
50
 
39
51
  ## 3.3.1
40
52
 
41
53
  ### Patch Changes
42
54
 
43
- - [`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
44
56
 
45
57
  ## 3.3.0
46
58
 
47
59
  ### Minor Changes
48
60
 
49
- - [`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
50
62
 
51
63
  ## 3.2.1
52
64
 
53
65
  ### Patch Changes
54
66
 
55
- - [`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
56
68
 
57
69
  ## 3.2.0
58
70
 
59
71
  ### Minor Changes
60
72
 
61
- - [`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
62
74
 
63
75
  ## 3.1.2
64
76
 
65
77
  ### Patch Changes
66
78
 
67
- - [`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.
68
80
  This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
69
81
  Also add `typescript` to `devDependencies` to denote version that the package was built with.
70
82
 
@@ -72,7 +84,7 @@
72
84
 
73
85
  ### Patch Changes
74
86
 
75
- - [`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
76
88
 
77
89
  Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
78
90
  to prevent duplicates of tslib being bundled.
@@ -81,26 +93,26 @@
81
93
 
82
94
  ### Minor Changes
83
95
 
84
- - [`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
85
97
 
86
98
  ## 3.0.0
87
99
 
88
100
  ### Major Changes
89
101
 
90
- - [`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.
91
103
  For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
92
104
 
93
105
  ## 2.0.11
94
106
 
95
107
  ### Patch Changes
96
108
 
97
- - [`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
98
110
 
99
111
  ## 2.0.10
100
112
 
101
113
  ### Patch Changes
102
114
 
103
- - [`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
104
116
 
105
117
  ## 2.0.9
106
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.3",
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,8 +23,10 @@
23
23
  "atlaskit:src": "src/index.ts",
24
24
  "atlassian": {
25
25
  "team": "Ecosystem Capabilities",
26
- "deprecatedAutoEntryPoints": true,
27
- "releaseModel": "continuous"
26
+ "releaseModel": "continuous",
27
+ "productPushConsumption": [
28
+ "jira"
29
+ ]
28
30
  },
29
31
  "config": {
30
32
  "access": "public"
@@ -40,5 +42,10 @@
40
42
  "fabric",
41
43
  "ui"
42
44
  ],
43
- "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
+ }
44
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
- ```