Comparing version 7.0.7 to 7.0.8
{ | ||
"name": "zoid", | ||
"version": "7.0.7", | ||
"version": "7.0.8", | ||
"description": "Cross domain components.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -40,3 +40,3 @@ /* @flow */ | ||
actions : { | ||
close : (string) => ZalgoPromise<void>, | ||
close : (?string) => ZalgoPromise<void>, | ||
focus : () => ZalgoPromise<void> | ||
@@ -922,3 +922,3 @@ }, | ||
@memoized | ||
close(reason : string = CLOSE_REASONS.PARENT_CALL) : ZalgoPromise<void> { | ||
close(reason? : string = CLOSE_REASONS.PARENT_CALL) : ZalgoPromise<void> { | ||
return ZalgoPromise.try(() => { | ||
@@ -925,0 +925,0 @@ |
@@ -80,7 +80,7 @@ /* @flow */ | ||
export const CLOSE_REASONS = { | ||
PARENT_CALL: 'parent_call', | ||
CHILD_CALL: 'child_call', | ||
CLOSE_DETECTED: 'close_detected', | ||
USER_CLOSED: 'user_closed', | ||
PARENT_CLOSE_DETECTED: 'parent_close_detected' | ||
PARENT_CALL: ('parent_call' : 'parent_call'), | ||
CHILD_CALL: ('child_call' : 'child_call'), | ||
CLOSE_DETECTED: ('close_detected' : 'close_detected'), | ||
USER_CLOSED: ('user_closed' : 'user_closed'), | ||
PARENT_CLOSE_DETECTED: ('parent_close_detected' : 'parent_close_detected') | ||
}; | ||
@@ -87,0 +87,0 @@ |
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
1454806