@atlaskit/outbound-auth-flow-client 3.4.0 → 3.4.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 +6 -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/types.d.ts +1 -1
- package/error/package.json +2 -2
- package/package.json +10 -2
- package/tmp/api-report-tmp.d.ts +24 -0
- package/types/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
package/dist/types/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type AuthErrorType = 'auth_window_closed' | 'invalid_request' | 'unauthorized_client' | 'access_denied' | 'unsupported_response_type' | 'invalid_scope' | 'server_error' | 'temporarily_unavailable' | 'authclientoauth2.autherror';
|
|
2
2
|
export declare const isOfTypeAuthError: (inputString: string) => inputString is AuthErrorType;
|
package/error/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/outbound-auth-flow-client",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.1",
|
|
4
4
|
"description": "Front-end library for starting outbound auth flows",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -12,6 +12,14 @@
|
|
|
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.5 <4.9": {
|
|
17
|
+
"*": [
|
|
18
|
+
"dist/types-ts4.5/*",
|
|
19
|
+
"dist/types-ts4.5/index.d.ts"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
},
|
|
15
23
|
"atlaskit:src": "src/index.ts",
|
|
16
24
|
"atlassian": {
|
|
17
25
|
"team": "Ecosystem Capabilities",
|
|
@@ -27,7 +35,7 @@
|
|
|
27
35
|
"devDependencies": {
|
|
28
36
|
"@atlaskit/docs": "*",
|
|
29
37
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
30
|
-
"typescript": "4.
|
|
38
|
+
"typescript": "~4.9.5"
|
|
31
39
|
},
|
|
32
40
|
"keywords": [
|
|
33
41
|
"fabric",
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
```
|
package/types/package.json
CHANGED