@timardex/cluemart-shared 1.5.795 → 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.
Files changed (54) hide show
  1. package/dist/{ad-kAjUceeE.d.mts → ad-CnXQqP4h.d.mts} +1 -1
  2. package/dist/{ad-BmDOVKmE.d.ts → ad-jTYE2A1Z.d.ts} +1 -1
  3. package/dist/{affiliate-ISt4ujwI.d.mts → affiliate-BDoo69JY.d.mts} +1 -1
  4. package/dist/{affiliate-C09PnHJx.d.ts → affiliate-BY-BlC9i.d.ts} +1 -1
  5. package/dist/{chunk-XY5XRXR3.mjs → chunk-6UP53CPG.mjs} +1 -1
  6. package/dist/chunk-6UP53CPG.mjs.map +1 -0
  7. package/dist/{chunk-B2ID4C66.mjs → chunk-JCFZV25I.mjs} +4 -6
  8. package/dist/chunk-JCFZV25I.mjs.map +1 -0
  9. package/dist/{chunk-2US6BYNF.mjs → chunk-R2XNULRY.mjs} +2 -1
  10. package/dist/chunk-R2XNULRY.mjs.map +1 -0
  11. package/dist/{contactUs-DGrDzJaM.d.mts → contactUs-Dr-IbmG5.d.mts} +1 -1
  12. package/dist/{contactUs-H7799pWe.d.ts → contactUs-RKkIL-nI.d.ts} +1 -1
  13. package/dist/formFields/index.cjs.map +1 -1
  14. package/dist/formFields/index.d.mts +1 -1
  15. package/dist/formFields/index.d.ts +1 -1
  16. package/dist/formFields/index.mjs +2 -2
  17. package/dist/{global-fKbMmluy.d.ts → global-BeBuHWbg.d.ts} +1 -0
  18. package/dist/{global-BUUfmCo7.d.mts → global-C8npu_7P.d.mts} +1 -0
  19. package/dist/graphql/index.cjs +1 -0
  20. package/dist/graphql/index.cjs.map +1 -1
  21. package/dist/graphql/index.d.mts +4 -4
  22. package/dist/graphql/index.d.ts +4 -4
  23. package/dist/graphql/index.mjs +1 -1
  24. package/dist/hooks/index.cjs +3 -6
  25. package/dist/hooks/index.cjs.map +1 -1
  26. package/dist/hooks/index.d.mts +4 -4
  27. package/dist/hooks/index.d.ts +4 -4
  28. package/dist/hooks/index.mjs +3 -5
  29. package/dist/hooks/index.mjs.map +1 -1
  30. package/dist/index.cjs +3 -4
  31. package/dist/index.cjs.map +1 -1
  32. package/dist/index.d.mts +1 -0
  33. package/dist/index.d.ts +1 -0
  34. package/dist/index.mjs +3 -4
  35. package/dist/index.mjs.map +1 -1
  36. package/dist/map/index.d.mts +1 -1
  37. package/dist/map/index.d.ts +1 -1
  38. package/dist/{resourceActivities-BL_12IAo.d.ts → resourceActivities-CJrM2qDC.d.ts} +1 -1
  39. package/dist/{resourceActivities-zczOntNk.d.mts → resourceActivities-lFB7B-Y9.d.mts} +1 -1
  40. package/dist/sharing/index.d.mts +1 -1
  41. package/dist/sharing/index.d.ts +1 -1
  42. package/dist/types/index.cjs.map +1 -1
  43. package/dist/types/index.d.mts +6 -6
  44. package/dist/types/index.d.ts +6 -6
  45. package/dist/types/index.mjs +1 -1
  46. package/dist/utils/index.cjs +2 -4
  47. package/dist/utils/index.cjs.map +1 -1
  48. package/dist/utils/index.d.mts +2 -2
  49. package/dist/utils/index.d.ts +2 -2
  50. package/dist/utils/index.mjs +2 -2
  51. package/package.json +1 -1
  52. package/dist/chunk-2US6BYNF.mjs.map +0 -1
  53. package/dist/chunk-B2ID4C66.mjs.map +0 -1
  54. package/dist/chunk-XY5XRXR3.mjs.map +0 -1
@@ -1,10 +1,10 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { DocumentNode } from 'graphql';
3
3
  import { EnumResourceType, EnumEventDateStatus } from '../enums/index.mjs';
4
- import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType } from '../ad-kAjUceeE.mjs';
5
- import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-zczOntNk.mjs';
6
- import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-BUUfmCo7.mjs';
7
- import { A as AffiliateType } from '../affiliate-ISt4ujwI.mjs';
4
+ import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType } from '../ad-CnXQqP4h.mjs';
5
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-lFB7B-Y9.mjs';
6
+ import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-C8npu_7P.mjs';
7
+ import { A as AffiliateType } from '../affiliate-BDoo69JY.mjs';
8
8
  import '../images/index.mjs';
9
9
  import 'react-hook-form';
10
10
 
@@ -1,10 +1,10 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { DocumentNode } from 'graphql';
3
3
  import { EnumResourceType, EnumEventDateStatus } from '../enums/index.js';
4
- import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType } from '../ad-BmDOVKmE.js';
5
- import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-BL_12IAo.js';
6
- import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-fKbMmluy.js';
7
- import { A as AffiliateType } from '../affiliate-C09PnHJx.js';
4
+ import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType } from '../ad-jTYE2A1Z.js';
5
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-CJrM2qDC.js';
6
+ import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-BeBuHWbg.js';
7
+ import { A as AffiliateType } from '../affiliate-BY-BlC9i.js';
8
8
  import '../images/index.js';
9
9
  import 'react-hook-form';
10
10
 
@@ -152,7 +152,7 @@ import {
152
152
  useUpdateVendor,
153
153
  useUpdateVendorInfo,
154
154
  useValidateVerificationToken
155
- } from "../chunk-2US6BYNF.mjs";
155
+ } from "../chunk-R2XNULRY.mjs";
156
156
  import "../chunk-LETM2YHF.mjs";
157
157
  export {
158
158
  GET_EVENT,
@@ -536,10 +536,8 @@ var paymentMethodOptions = mapArrayToOptions(
536
536
  Object.values(EnumPaymentMethod)
537
537
  );
538
538
  function normalizeUrl(url) {
539
- if (!url.startsWith("http://") && !url.startsWith("https://")) {
540
- return `https://${url}`;
541
- }
542
- return url;
539
+ const withProtocol = !url.startsWith("http://") && !url.startsWith("https://") ? `https://${url}` : url;
540
+ return withProtocol.replace(/\/+$/, "");
543
541
  }
544
542
  var licenseNiceNames = {
545
543
  ["pro_event" /* PRO_EVENT */]: "Pro Event",
@@ -1642,8 +1640,6 @@ var availableCategories = assignColorToCategories([
1642
1640
  var nzBankAccountRegex = /^\d{2}-\d{4}-\d{7}-\d{2}$/;
1643
1641
  var nzbnRegex = /^94\d{11}$/;
1644
1642
  var normalizedUrlTransform = () => yup.string().trim().transform(
1645
- (value) => typeof value === "string" ? value.toLowerCase() : value
1646
- ).transform(
1647
1643
  (value) => typeof value === "string" ? normalizeUrl(value) : value
1648
1644
  );
1649
1645
  var noLeadingZeros = (fieldName, options = {}) => {
@@ -2710,6 +2706,7 @@ var EVENT_LIST_ITEM = import_client.gql`
2710
2706
  `;
2711
2707
  var RELATED_POST_FIELDS_FRAGMENT = import_client.gql`
2712
2708
  fragment RelatedPostFields on RelatedPostType {
2709
+ postActive
2713
2710
  postId
2714
2711
  postSlug
2715
2712
  postType