@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/index.mjs
CHANGED
|
@@ -1019,10 +1019,8 @@ var paymentMethodOptions = mapArrayToOptions(
|
|
|
1019
1019
|
Object.values(EnumPaymentMethod)
|
|
1020
1020
|
);
|
|
1021
1021
|
function normalizeUrl(url) {
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
}
|
|
1025
|
-
return url;
|
|
1022
|
+
const withProtocol = !url.startsWith("http://") && !url.startsWith("https://") ? `https://${url}` : url;
|
|
1023
|
+
return withProtocol.replace(/\/+$/, "");
|
|
1026
1024
|
}
|
|
1027
1025
|
var licenseNiceNames = {
|
|
1028
1026
|
["pro_event" /* PRO_EVENT */]: "Pro Event",
|