@atlaskit/outbound-auth-flow-client 3.3.1 → 3.3.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.
- package/CHANGELOG.md +12 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types-ts4.0/error.d.ts +6 -0
- package/dist/types-ts4.0/index.d.ts +2 -0
- package/dist/types-ts4.0/types.d.ts +2 -0
- package/error/package.json +8 -1
- package/package.json +9 -2
- package/report.api.md +37 -0
- package/types/package.json +8 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/outbound-auth-flow-client
|
|
2
2
|
|
|
3
|
+
## 3.3.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
8
|
+
|
|
9
|
+
## 3.3.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
14
|
+
|
|
3
15
|
## 3.3.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare type AuthErrorType = 'auth_window_closed' | 'invalid_request' | 'unauthorized_client' | 'access_denied' | 'unsupported_response_type' | 'invalid_scope' | 'server_error' | 'temporarily_unavailable' | 'authclientoauth2.autherror';
|
|
2
|
+
export declare const isOfTypeAuthError: (inputString: string) => inputString is AuthErrorType;
|
package/error/package.json
CHANGED
|
@@ -3,5 +3,12 @@
|
|
|
3
3
|
"main": "../dist/cjs/error.js",
|
|
4
4
|
"module": "../dist/esm/error.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/error.js",
|
|
6
|
-
"types": "../dist/types/error.d.ts"
|
|
6
|
+
"types": "../dist/types/error.d.ts",
|
|
7
|
+
"typesVersions": {
|
|
8
|
+
">=4.0 <4.5": {
|
|
9
|
+
"*": [
|
|
10
|
+
"../dist/types-ts4.0/error.d.ts"
|
|
11
|
+
]
|
|
12
|
+
}
|
|
13
|
+
}
|
|
7
14
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/outbound-auth-flow-client",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.3",
|
|
4
4
|
"description": "Front-end library for starting outbound auth flows",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -12,6 +12,13 @@
|
|
|
12
12
|
"module": "dist/esm/index.js",
|
|
13
13
|
"module:es2019": "dist/es2019/index.js",
|
|
14
14
|
"types": "dist/types/index.d.ts",
|
|
15
|
+
"typesVersions": {
|
|
16
|
+
">=4.0 <4.5": {
|
|
17
|
+
"*": [
|
|
18
|
+
"dist/types-ts4.0/*"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
15
22
|
"atlaskit:src": "src/index.ts",
|
|
16
23
|
"atlassian": {
|
|
17
24
|
"team": "Ecosystem Capabilities",
|
|
@@ -27,7 +34,7 @@
|
|
|
27
34
|
"devDependencies": {
|
|
28
35
|
"@atlaskit/docs": "*",
|
|
29
36
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
30
|
-
"typescript": "4.
|
|
37
|
+
"typescript": "4.5.5"
|
|
31
38
|
},
|
|
32
39
|
"keywords": [
|
|
33
40
|
"fabric",
|
package/report.api.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
<!--
|
|
6
|
+
Generated API Report version: 2.0
|
|
7
|
+
-->
|
|
8
|
+
|
|
9
|
+
[Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
10
|
+
|
|
11
|
+
```ts
|
|
12
|
+
// @public (undocumented)
|
|
13
|
+
export function auth(startUrl: string, windowFeatures?: string): Promise<void>;
|
|
14
|
+
|
|
15
|
+
// @public (undocumented)
|
|
16
|
+
export class AuthError extends Error {
|
|
17
|
+
constructor(message: string, type?: AuthErrorType | undefined);
|
|
18
|
+
// (undocumented)
|
|
19
|
+
readonly message: string;
|
|
20
|
+
// (undocumented)
|
|
21
|
+
readonly type?: AuthErrorType | undefined;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// @public (undocumented)
|
|
25
|
+
type AuthErrorType =
|
|
26
|
+
| 'auth_window_closed'
|
|
27
|
+
| 'invalid_request'
|
|
28
|
+
| 'unauthorized_client'
|
|
29
|
+
| 'access_denied'
|
|
30
|
+
| 'unsupported_response_type'
|
|
31
|
+
| 'invalid_scope'
|
|
32
|
+
| 'server_error'
|
|
33
|
+
| 'temporarily_unavailable'
|
|
34
|
+
| 'authclientoauth2.autherror';
|
|
35
|
+
|
|
36
|
+
// (No @packageDocumentation comment for this package)
|
|
37
|
+
```
|
package/types/package.json
CHANGED
|
@@ -3,5 +3,12 @@
|
|
|
3
3
|
"main": "../dist/cjs/types.js",
|
|
4
4
|
"module": "../dist/esm/types.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/types.js",
|
|
6
|
-
"types": "../dist/types/types.d.ts"
|
|
6
|
+
"types": "../dist/types/types.d.ts",
|
|
7
|
+
"typesVersions": {
|
|
8
|
+
">=4.0 <4.5": {
|
|
9
|
+
"*": [
|
|
10
|
+
"../dist/types-ts4.0/types.d.ts"
|
|
11
|
+
]
|
|
12
|
+
}
|
|
13
|
+
}
|
|
7
14
|
}
|