Releases: ezzatron/fake-permissions
Releases · ezzatron/fake-permissions
v0.19.0
Added
- Added the
DelegatedPermissionsHandletype. - Added the
DelegatedPermissionsResulttype. - Added the
PermissionStoreSubscriberDetailstype.
Changed
- [BREAKING] The
createDelegatedPermissions()function's return value now has ahandleobject which contains theselectDelegate,selectedDelegate, andisSelectedDelegatemethods, which were previously on the return value itself.
v0.18.0
v0.17.5
v0.17.4
v0.17.3
v0.17.2
v0.17.1
v0.17.0
Added
- Added the
buildInitialPermissionStatesfunction. - Added the
isMatchingDescriptorfunction. - Added the
selectedDelegateproperty of the return value ofcreateDelegatedPermissions(), which is a function that returns the currently selected delegate. - Added the
DelegatedPermissionsParameterstype. - Added the
PermissionAccessStatusAllowedtype. - Added the
PermissionAccessStatusBlockedtype. - Added the
PermissionAccessStatusBlockedAutomaticallytype. - Added the
PermissionAccessStatusDeniedtype. - Added the
PermissionAccessStatusGrantedtype. - Added the
PermissionAccessStatusPrompttype. - Added the
PermissionStoreParameterstype. - Added the
UserParameterstype.
Changed
- [BREAKING] Renamed the
AccessRequesttype toAccessRequestRecord. - [BREAKING] Renamed the
isDelegateSelectedproperty of the return value ofcreateDelegatedPermissions()toisSelectedDelegate. - The
HandleAccessRequesttype can now return an optionalHandleAccessRequestCompletecallback that receives the result of the access request once the handler has finished executing.
Removed
- [BREAKING] Removed the
IsDelegateSelectedtype. - [BREAKING] Removed the
NonEmptyPermissionStateArraytype. - [BREAKING] Removed the
SelectDelegatetype.
Fixed
- Fixed a bug where the
taskparameter ofPermissionObserver.waitForState()was not being awaited when the permission state was already in one of the desired states.