@campxdev/shared 2.0.24 → 2.0.25

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campxdev/shared",
3
- "version": "2.0.24",
3
+ "version": "2.0.25",
4
4
  "main": "./exports.ts",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -2,6 +2,7 @@ import React from 'react'
2
2
  import { UserStore } from '../shared-state'
3
3
  import {
4
4
  EnrollPermissions,
5
+ PaymentsPermission,
5
6
  Permission,
6
7
  PermissionsStore,
7
8
  SquarePermissions,
@@ -13,7 +14,11 @@ export default function ValidateAccess({
13
14
  checkForMasterSlave = false,
14
15
  checkIsMasterInstitution = false,
15
16
  }: {
16
- accessKey: Permission | SquarePermissions | EnrollPermissions
17
+ accessKey:
18
+ | Permission
19
+ | SquarePermissions
20
+ | EnrollPermissions
21
+ | PaymentsPermission
17
22
  children: React.ReactNode
18
23
  checkForMasterSlave?: boolean
19
24
  checkIsMasterInstitution?: boolean