@atlaskit/outbound-auth-flow-client 3.4.1 → 3.4.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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/outbound-auth-flow-client
2
2
 
3
+ ## 3.4.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
8
+
9
+ ## 3.4.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
14
+
3
15
  ## 3.4.1
4
16
 
5
17
  ### Patch Changes
@@ -0,0 +1,6 @@
1
+ import { AuthErrorType } from './types';
2
+ export declare class AuthError extends Error {
3
+ readonly message: string;
4
+ readonly type?: AuthErrorType | undefined;
5
+ constructor(message: string, type?: AuthErrorType | undefined);
6
+ }
@@ -0,0 +1,2 @@
1
+ export declare function auth(startUrl: string, windowFeatures?: string): Promise<void>;
2
+ export { AuthError } from './error';
@@ -0,0 +1,2 @@
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
+ export declare const isOfTypeAuthError: (inputString: string) => inputString is AuthErrorType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/outbound-auth-flow-client",
3
- "version": "3.4.1",
3
+ "version": "3.4.3",
4
4
  "description": "Front-end library for starting outbound auth flows",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -33,7 +33,6 @@
33
33
  "@babel/runtime": "^7.0.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@atlaskit/docs": "*",
37
36
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
38
37
  "typescript": "~4.9.5"
39
38
  },
@@ -42,4 +41,4 @@
42
41
  "ui"
43
42
  ],
44
43
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
45
- }
44
+ }
@@ -1,4 +0,0 @@
1
- {
2
- "name": "@atlaskit/outbound-auth-flow-client",
3
- "version": "3.4.1"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "name": "@atlaskit/outbound-auth-flow-client",
3
- "version": "3.4.1"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "name": "@atlaskit/outbound-auth-flow-client",
3
- "version": "3.4.1"
4
- }