@atlaskit/outbound-auth-flow-client
Advanced tools
Comparing version 3.1.2 to 3.2.0
# @atlaskit/outbound-auth-flow-client | ||
## 3.2.0 | ||
### Minor Changes | ||
- [`ea1bb06612`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ea1bb06612) - Added abilitiy to pass window features when calling auth | ||
## 3.1.2 | ||
@@ -4,0 +10,0 @@ |
@@ -6,3 +6,3 @@ "use strict"; | ||
var types_1 = require("./types"); | ||
function auth(startUrl) { | ||
function auth(startUrl, windowFeatures) { | ||
return new Promise(function (resolve, reject) { | ||
@@ -44,3 +44,3 @@ var authWindow = null; | ||
window.addEventListener('message', handleAuthWindowMessage); | ||
authWindow = window.open(startUrl, startUrl); | ||
authWindow = window.open(startUrl, startUrl, windowFeatures); | ||
authWindowInterval = window.setInterval(handleAuthWindowInterval, 500); | ||
@@ -47,0 +47,0 @@ }; |
{ | ||
"name": "@atlaskit/outbound-auth-flow-client", | ||
"version": "3.1.2" | ||
"version": "3.2.0" | ||
} |
@@ -1,2 +0,2 @@ | ||
export declare function auth(startUrl: string): Promise<void>; | ||
export declare function auth(startUrl: string, windowFeatures?: string): Promise<void>; | ||
export { AuthError } from './error'; |
import { AuthError } from './error'; | ||
import { isOfTypeAuthError } from './types'; | ||
export function auth(startUrl) { | ||
export function auth(startUrl, windowFeatures) { | ||
return new Promise((resolve, reject) => { | ||
@@ -40,3 +40,3 @@ let authWindow = null; | ||
window.addEventListener('message', handleAuthWindowMessage); | ||
authWindow = window.open(startUrl, startUrl); | ||
authWindow = window.open(startUrl, startUrl, windowFeatures); | ||
authWindowInterval = window.setInterval(handleAuthWindowInterval, 500); | ||
@@ -43,0 +43,0 @@ }; |
{ | ||
"name": "@atlaskit/outbound-auth-flow-client", | ||
"version": "3.1.2" | ||
"version": "3.2.0" | ||
} |
@@ -1,2 +0,2 @@ | ||
export declare function auth(startUrl: string): Promise<void>; | ||
export declare function auth(startUrl: string, windowFeatures?: string): Promise<void>; | ||
export { AuthError } from './error'; |
import { AuthError } from './error'; | ||
import { isOfTypeAuthError } from './types'; | ||
export function auth(startUrl) { | ||
export function auth(startUrl, windowFeatures) { | ||
return new Promise(function (resolve, reject) { | ||
@@ -40,3 +40,3 @@ var authWindow = null; | ||
window.addEventListener('message', handleAuthWindowMessage); | ||
authWindow = window.open(startUrl, startUrl); | ||
authWindow = window.open(startUrl, startUrl, windowFeatures); | ||
authWindowInterval = window.setInterval(handleAuthWindowInterval, 500); | ||
@@ -43,0 +43,0 @@ }; |
{ | ||
"name": "@atlaskit/outbound-auth-flow-client", | ||
"version": "3.1.2" | ||
"version": "3.2.0" | ||
} |
@@ -1,2 +0,2 @@ | ||
export declare function auth(startUrl: string): Promise<void>; | ||
export declare function auth(startUrl: string, windowFeatures?: string): Promise<void>; | ||
export { AuthError } from './error'; |
{ | ||
"name": "@atlaskit/outbound-auth-flow-client", | ||
"version": "3.1.2", | ||
"version": "3.2.0", | ||
"description": "Front-end library for starting outbound auth flows", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26744