@miden-npm/react 2.0.7 → 2.0.9
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.js
CHANGED
|
@@ -108,8 +108,8 @@ var toastConfig = {
|
|
|
108
108
|
var getBaseUrl = (mode, caller) => {
|
|
109
109
|
if (mode === "sandbox") {
|
|
110
110
|
return caller === "buzapay" ? "https://sandbox-api.buzapay.com/payment-gateway-api" : "https://sandbox-api.midencards.io/miden-web";
|
|
111
|
-
} else if (mode === "
|
|
112
|
-
return caller === "buzapay" ? "https://
|
|
111
|
+
} else if (mode === "prod") {
|
|
112
|
+
return caller === "buzapay" ? "https://api.buzapay.com/payment-gateway-api" : "https://sandbox-api.midencards.io/miden-web";
|
|
113
113
|
}
|
|
114
114
|
return "";
|
|
115
115
|
};
|