@campxdev/shared 1.11.32-alpha.10 → 1.11.32-alpha.12

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": "1.11.32-alpha.10",
3
+ "version": "1.11.32-alpha.12",
4
4
  "main": "./exports.ts",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -44,7 +44,7 @@ export const StyledMenu = styled(Menu)(({ theme }) => ({
44
44
  minWidth: '240px',
45
45
  padding: 0,
46
46
  '& li': {
47
- borderBottom: theme.borders.grayLight,
47
+ borderBottom: theme.borders?.grayLight,
48
48
  ':hover': {
49
49
  backgroundColor: 'rgba(0, 0, 0, 0.025)',
50
50
  },
@@ -4,9 +4,12 @@ import { toast } from 'react-toastify'
4
4
  import { NetworkStore } from '../components/ErrorBoundary/GlobalNetworkLoadingIndicator'
5
5
  import { isDevelopment, isSetup } from '../constants'
6
6
  import { InstitutionsStore } from '../shared-state/InstitutionsStore'
7
+ const isLocalHost = process.env.NODE_ENV === 'development'
7
8
 
8
9
  const sessionKey = Cookies.get('campx_session_key')
9
- const clientId = window.location.hostname.split('.')[0] ?? 'campx_dev'
10
+ const clientId = isLocalHost
11
+ ? 'aupulse'
12
+ : window.location.hostname.split('.')[0] ?? 'campx_dev'
10
13
  const institutionId = window.location.pathname.split('/')[1] ?? 'campx_dev'
11
14
  const openPaymentsKey = Cookies.get('campx_open_payments_key')
12
15