@miden-npm/react 0.0.16 → 0.0.18
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/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -124,7 +124,7 @@ var getQueryParams = (url) => {
|
|
|
124
124
|
|
|
125
125
|
// src/utils/api.util.ts
|
|
126
126
|
var getBaseUrl = (mode) => {
|
|
127
|
-
return mode === "sandbox" ? "https://sandbox-api.
|
|
127
|
+
return mode === "sandbox" ? "https://sandbox-api.buzapay.com/payment-gateway-api" : "";
|
|
128
128
|
};
|
|
129
129
|
|
|
130
130
|
// src/utils/string.util.ts
|
|
@@ -3134,7 +3134,7 @@ function BzpCheckoutCard({
|
|
|
3134
3134
|
);
|
|
3135
3135
|
}
|
|
3136
3136
|
setFilteredPaymentTypeOptions(options2);
|
|
3137
|
-
}, [paymentObject.currency, paymentObject.amount
|
|
3137
|
+
}, [paymentObject.currency, paymentObject.amount]);
|
|
3138
3138
|
(0, import_react11.useEffect)(() => {
|
|
3139
3139
|
if (filteredPaymentTypeOptions.length) {
|
|
3140
3140
|
setPaymentType(filteredPaymentTypeOptions[0].value);
|