@atlaskit/outbound-auth-flow-client 3.4.4 → 3.4.6
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 +29 -17
- package/afm-cc/tsconfig.json +21 -0
- package/dist/cjs/error.js +3 -4
- package/dist/cjs/types.js +2 -3
- package/dist/esm/error.js +1 -1
- package/error/package.json +1 -1
- package/package.json +9 -5
- package/types/package.json +1 -1
- package/tmp/api-report-tmp.d.ts +0 -24
package/CHANGELOG.md
CHANGED
|
@@ -1,76 +1,88 @@
|
|
|
1
1
|
# @atlaskit/outbound-auth-flow-client
|
|
2
2
|
|
|
3
|
+
## 3.4.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
8
|
+
|
|
9
|
+
## 3.4.5
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#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
|
|
14
|
+
|
|
3
15
|
## 3.4.4
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
6
18
|
|
|
7
|
-
- [`3b1e84fa050`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3b1e84fa050) - Enrol components on push-model consumpion in Jira Frontend.
|
|
19
|
+
- [#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
20
|
|
|
9
21
|
## 3.4.3
|
|
10
22
|
|
|
11
23
|
### Patch Changes
|
|
12
24
|
|
|
13
|
-
- [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
25
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
14
26
|
|
|
15
27
|
## 3.4.2
|
|
16
28
|
|
|
17
29
|
### Patch Changes
|
|
18
30
|
|
|
19
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
31
|
+
- [#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
32
|
|
|
21
33
|
## 3.4.1
|
|
22
34
|
|
|
23
35
|
### Patch Changes
|
|
24
36
|
|
|
25
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
37
|
+
- [#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
38
|
|
|
27
39
|
## 3.4.0
|
|
28
40
|
|
|
29
41
|
### Minor Changes
|
|
30
42
|
|
|
31
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
43
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
32
44
|
|
|
33
45
|
## 3.3.3
|
|
34
46
|
|
|
35
47
|
### Patch Changes
|
|
36
48
|
|
|
37
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
49
|
+
- [#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
50
|
|
|
39
51
|
## 3.3.2
|
|
40
52
|
|
|
41
53
|
### Patch Changes
|
|
42
54
|
|
|
43
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
55
|
+
- [#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
56
|
|
|
45
57
|
## 3.3.1
|
|
46
58
|
|
|
47
59
|
### Patch Changes
|
|
48
60
|
|
|
49
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
61
|
+
- [#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
62
|
|
|
51
63
|
## 3.3.0
|
|
52
64
|
|
|
53
65
|
### Minor Changes
|
|
54
66
|
|
|
55
|
-
- [`65cad419e85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/65cad419e85) - Add 'AuthClientOAuth2.AuthError' error type
|
|
67
|
+
- [#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
68
|
|
|
57
69
|
## 3.2.1
|
|
58
70
|
|
|
59
71
|
### Patch Changes
|
|
60
72
|
|
|
61
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
73
|
+
- [#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
74
|
|
|
63
75
|
## 3.2.0
|
|
64
76
|
|
|
65
77
|
### Minor Changes
|
|
66
78
|
|
|
67
|
-
- [`ea1bb06612`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ea1bb06612) - Added abilitiy to pass window features when calling auth
|
|
79
|
+
- [#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
80
|
|
|
69
81
|
## 3.1.2
|
|
70
82
|
|
|
71
83
|
### Patch Changes
|
|
72
84
|
|
|
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.
|
|
85
|
+
- [#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
86
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
75
87
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
76
88
|
|
|
@@ -78,7 +90,7 @@
|
|
|
78
90
|
|
|
79
91
|
### Patch Changes
|
|
80
92
|
|
|
81
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
93
|
+
- [#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
94
|
|
|
83
95
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
84
96
|
to prevent duplicates of tslib being bundled.
|
|
@@ -87,26 +99,26 @@
|
|
|
87
99
|
|
|
88
100
|
### Minor Changes
|
|
89
101
|
|
|
90
|
-
- [`4c8eb0ba4a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4c8eb0ba4a) - Add custom AuthError and AuthErrorType
|
|
102
|
+
- [#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
103
|
|
|
92
104
|
## 3.0.0
|
|
93
105
|
|
|
94
106
|
### Major Changes
|
|
95
107
|
|
|
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.
|
|
108
|
+
- [#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
109
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
98
110
|
|
|
99
111
|
## 2.0.11
|
|
100
112
|
|
|
101
113
|
### Patch Changes
|
|
102
114
|
|
|
103
|
-
- [`a5815adf37`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5815adf37) - Fixed es2019 distributable missing a version.json file
|
|
115
|
+
- [#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
116
|
|
|
105
117
|
## 2.0.10
|
|
106
118
|
|
|
107
119
|
### Patch Changes
|
|
108
120
|
|
|
109
|
-
- [`131cee6d7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/131cee6d7a) - Add missing tslib dependency
|
|
121
|
+
- [#2099](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2099) [`131cee6d7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/131cee6d7a) - Add missing tslib dependency
|
|
110
122
|
|
|
111
123
|
## 2.0.9
|
|
112
124
|
|
|
@@ -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
|
@@ -12,8 +12,8 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
|
|
|
12
12
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
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
|
-
function _isNativeReflectConstruct() {
|
|
16
|
-
var AuthError = /*#__PURE__*/function (_Error) {
|
|
15
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
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/dist/esm/error.js
CHANGED
|
@@ -5,7 +5,7 @@ import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstruct
|
|
|
5
5
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
6
6
|
import _wrapNativeSuper from "@babel/runtime/helpers/wrapNativeSuper";
|
|
7
7
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
8
|
-
function _isNativeReflectConstruct() {
|
|
8
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
9
9
|
export var AuthError = /*#__PURE__*/function (_Error) {
|
|
10
10
|
_inherits(AuthError, _Error);
|
|
11
11
|
var _super = _createSuper(AuthError);
|
package/error/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/outbound-auth-flow-client",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.6",
|
|
4
4
|
"description": "Front-end library for starting outbound auth flows",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
7
7
|
},
|
|
8
|
-
"repository": "https://bitbucket.org/atlassian/atlassian-frontend",
|
|
8
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
9
9
|
"author": "Atlassian Pty Ltd",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"main": "dist/cjs/index.js",
|
|
@@ -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"
|
|
@@ -37,11 +36,16 @@
|
|
|
37
36
|
},
|
|
38
37
|
"devDependencies": {
|
|
39
38
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
40
|
-
"typescript": "~4.
|
|
39
|
+
"typescript": "~5.4.2"
|
|
41
40
|
},
|
|
42
41
|
"keywords": [
|
|
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
|
}
|
package/types/package.json
CHANGED
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -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
|
-
```
|