payload 0.15.10 → 0.15.11

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,3 +1,10 @@
1
+ ## [0.15.11](https://github.com/payloadcms/payload/compare/v0.15.10...v0.15.11) (2022-04-24)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * improperly typed access control ([b99ec06](https://github.com/payloadcms/payload/commit/b99ec060cacf7a05c20ba0a05dd6ef6ab60df304))
7
+
1
8
  ## [0.15.10](https://github.com/payloadcms/payload/compare/v0.15.9...v0.15.10) (2022-04-24)
2
9
 
3
10
 
@@ -60,7 +60,7 @@ export declare type AccessResult = boolean | Where;
60
60
  /**
61
61
  * Access function
62
62
  */
63
- export declare type Access = (args?: any) => AccessResult;
63
+ export declare type Access = (args?: any) => AccessResult | Promise<AccessResult>;
64
64
  export declare type AdminView = React.ComponentType<{
65
65
  user: User;
66
66
  canAccessAdmin: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payload",
3
- "version": "0.15.10",
3
+ "version": "0.15.11",
4
4
  "description": "Node, React and MongoDB Headless CMS and Application Framework",
5
5
  "license": "SEE LICENSE IN license.md",
6
6
  "author": {