@timardex/cluemart-shared 1.5.759 → 1.5.760
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-65G65T22.mjs → chunk-YQQO66DR.mjs} +6 -6
- package/dist/{chunk-65G65T22.mjs.map → chunk-YQQO66DR.mjs.map} +1 -1
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/dist/sharing/index.cjs +5 -5
- package/dist/sharing/index.cjs.map +1 -1
- package/dist/sharing/index.d.mts +4 -3
- package/dist/sharing/index.d.ts +4 -3
- package/dist/sharing/index.mjs +1 -1
- package/package.json +1 -1
package/dist/hooks/index.mjs
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -8393,7 +8393,7 @@ var otherImages = Object.fromEntries(
|
|
|
8393
8393
|
// src/sharing/relationShareTypes.ts
|
|
8394
8394
|
var RELATION_SHARE_INVITATION = "invitation";
|
|
8395
8395
|
var RELATION_SHARE_APPLICATION = "application";
|
|
8396
|
-
var RELATION_OVERLAY_LAYOUT_VERSION =
|
|
8396
|
+
var RELATION_OVERLAY_LAYOUT_VERSION = 36;
|
|
8397
8397
|
var RELATION_SHARE_RESOURCE_TYPES = [
|
|
8398
8398
|
RELATION_SHARE_INVITATION,
|
|
8399
8399
|
RELATION_SHARE_APPLICATION
|
|
@@ -8609,8 +8609,8 @@ var SHARE_TYPE_PATH_REGEX = [
|
|
|
8609
8609
|
RELATION_SHARE_APPLICATION,
|
|
8610
8610
|
RELATION_SHARE_INVITATION
|
|
8611
8611
|
].join("|");
|
|
8612
|
-
function buildShareUrl(type,
|
|
8613
|
-
return `${SHARE_SITE_URL}/${type}/${encodeURIComponent(
|
|
8612
|
+
function buildShareUrl(type, slug, utmMedium = "app") {
|
|
8613
|
+
return `${SHARE_SITE_URL}/${type}/${encodeURIComponent(slug)}?utm_source=share&utm_medium=${utmMedium}&utm_campaign=${type}`;
|
|
8614
8614
|
}
|
|
8615
8615
|
|
|
8616
8616
|
// src/sharing/normalizeShareDescription.ts
|
|
@@ -8673,8 +8673,8 @@ function normalizeShareRouteId(id) {
|
|
|
8673
8673
|
return id;
|
|
8674
8674
|
}
|
|
8675
8675
|
}
|
|
8676
|
-
function buildSharePagePath(resourceType,
|
|
8677
|
-
return `/${resourceType}/${encodeURIComponent(normalizeShareRouteId(
|
|
8676
|
+
function buildSharePagePath(resourceType, slug) {
|
|
8677
|
+
return `/${resourceType}/${encodeURIComponent(normalizeShareRouteId(slug))}`;
|
|
8678
8678
|
}
|
|
8679
8679
|
|
|
8680
8680
|
// src/storage/index.ts
|