authscape 1.0.43 → 1.0.46
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/.babelrc +6 -0
- package/components/modals/paymentModal.js +5 -1
- package/package.json +7 -1
package/.babelrc
ADDED
|
@@ -20,7 +20,7 @@ import PaymentRoundedIcon from '@mui/icons-material/PaymentRounded';
|
|
|
20
20
|
import apiService from '../../services/apiService';
|
|
21
21
|
import Grid from '@mui/material/Grid';
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
const PaymentModal = ({title, description, amount, priceId, setIsLoading, isOpen, invoiceId, onModalClose}) => {
|
|
24
24
|
|
|
25
25
|
const stripePromise = loadStripe(process.env.stripePublicKey);
|
|
26
26
|
const [options, setOptions] = useState(null);
|
|
@@ -127,6 +127,7 @@ export default function PaymentModal({title, description, amount, priceId, setIs
|
|
|
127
127
|
// }
|
|
128
128
|
|
|
129
129
|
return (
|
|
130
|
+
<div>
|
|
130
131
|
<Dialog
|
|
131
132
|
fullWidth={true}
|
|
132
133
|
maxWidth={"sm"}
|
|
@@ -221,5 +222,8 @@ export default function PaymentModal({title, description, amount, priceId, setIs
|
|
|
221
222
|
{/* <Button onClick={handleClose}>Close</Button> */}
|
|
222
223
|
</DialogActions>
|
|
223
224
|
</Dialog>
|
|
225
|
+
</div>
|
|
224
226
|
)
|
|
225
227
|
}
|
|
228
|
+
|
|
229
|
+
export default PaymentModal;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "authscape",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.46",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -24,5 +24,11 @@
|
|
|
24
24
|
"react": "^18.2.0",
|
|
25
25
|
"react-data-table-component": "^7.5.2",
|
|
26
26
|
"react-dom": "^18.2.0"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"@babel/core": "^7.18.6",
|
|
30
|
+
"@babel/preset-env": "^7.18.6",
|
|
31
|
+
"@babel/preset-react": "^7.18.6",
|
|
32
|
+
"babel-loader": "^8.2.5"
|
|
27
33
|
}
|
|
28
34
|
}
|