@timardex/cluemart-shared 1.5.796 → 1.5.797
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/{chunk-LHT6WAM2.mjs → chunk-JCFZV25I.mjs} +3 -5
- package/dist/chunk-JCFZV25I.mjs.map +1 -0
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +1 -1
- package/dist/hooks/index.cjs +2 -6
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +1 -3
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +2 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -4
- package/dist/index.mjs.map +1 -1
- package/dist/utils/index.cjs +2 -4
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-LHT6WAM2.mjs.map +0 -1
package/dist/utils/index.cjs
CHANGED
|
@@ -528,10 +528,8 @@ var paymentMethodOptions = mapArrayToOptions(
|
|
|
528
528
|
Object.values(EnumPaymentMethod)
|
|
529
529
|
);
|
|
530
530
|
function normalizeUrl(url) {
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
}
|
|
534
|
-
return url;
|
|
531
|
+
const withProtocol = !url.startsWith("http://") && !url.startsWith("https://") ? `https://${url}` : url;
|
|
532
|
+
return withProtocol.replace(/\/+$/, "");
|
|
535
533
|
}
|
|
536
534
|
var licenseNiceNames = {
|
|
537
535
|
["pro_event" /* PRO_EVENT */]: "Pro Event",
|