authscape 1.0.2 → 1.0.6
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.
|
@@ -15,7 +15,6 @@ import Tab from '@mui/material/Tab';
|
|
|
15
15
|
import Typography from '@mui/material/Typography';
|
|
16
16
|
import Select from '@mui/material/Select';
|
|
17
17
|
import MenuItem from '@mui/material/MenuItem';
|
|
18
|
-
import Stack from '@mui/material/Stack';
|
|
19
18
|
import Button from '@mui/material/Button';
|
|
20
19
|
import PaymentRoundedIcon from '@mui/icons-material/PaymentRounded';
|
|
21
20
|
import apiService from '../../services/apiService';
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "authscape",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "",
|
|
5
|
+
"type": "module",
|
|
5
6
|
"main": "index.js",
|
|
6
7
|
"scripts": {
|
|
7
8
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -9,6 +10,11 @@
|
|
|
9
10
|
"author": "zuechb",
|
|
10
11
|
"license": "ISC",
|
|
11
12
|
"dependencies": {
|
|
13
|
+
"@emotion/react": "^11.9.3",
|
|
14
|
+
"@emotion/styled": "^11.9.3",
|
|
15
|
+
"@mui/material": "^5.8.5",
|
|
16
|
+
"@stripe/react-stripe-js": "^1.9.0",
|
|
17
|
+
"@stripe/stripe-js": "^1.32.0",
|
|
12
18
|
"axios": "^0.27.2",
|
|
13
19
|
"js-file-download": "^0.4.12",
|
|
14
20
|
"next": "^12.1.6",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useEffect, useState, useRef } from 'react';
|
|
2
|
-
import apiService from '
|
|
2
|
+
import apiService from './apiService';
|
|
3
3
|
|
|
4
4
|
export default function AuthorizationComponent({children, setCurrentUser, userLoaded}) {
|
|
5
5
|
|
|
@@ -26,12 +26,5 @@ export default function AuthorizationComponent({children, setCurrentUser, userLo
|
|
|
26
26
|
|
|
27
27
|
}, [loaded]);
|
|
28
28
|
|
|
29
|
-
return (
|
|
30
|
-
<>
|
|
31
|
-
<div>
|
|
32
|
-
{children}
|
|
33
|
-
</div>
|
|
34
|
-
|
|
35
|
-
</>
|
|
36
|
-
)
|
|
29
|
+
return (children)
|
|
37
30
|
}
|