@timardex/cluemart-shared 1.7.58 → 1.7.60

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 (63) hide show
  1. package/dist/{ad-CCuXkAAt.d.mts → ad-CdL1XH3f.d.mts} +3 -9
  2. package/dist/{ad-wW8fzT4I.d.ts → ad-Ckg8IqFy.d.ts} +3 -9
  3. package/dist/{affiliate-BSWxq9Uv.d.ts → affiliate-CDGc9amH.d.ts} +2 -2
  4. package/dist/{affiliate-CaP_IFPL.d.mts → affiliate-Dfpf8vGj.d.mts} +2 -2
  5. package/dist/auth/index.cjs +1 -0
  6. package/dist/auth/index.cjs.map +1 -1
  7. package/dist/auth/index.d.mts +3 -3
  8. package/dist/auth/index.d.ts +3 -3
  9. package/dist/auth/index.mjs +1 -1
  10. package/dist/{chunk-VBQ5RF7L.mjs → chunk-6ALUN6LP.mjs} +2 -1
  11. package/dist/chunk-6ALUN6LP.mjs.map +1 -0
  12. package/dist/{chunk-P4JLZCWZ.mjs → chunk-7JNXGDIR.mjs} +2 -2
  13. package/dist/{chunk-WRV55PDR.mjs → chunk-AP7J6Y6E.mjs} +4 -6
  14. package/dist/{chunk-WRV55PDR.mjs.map → chunk-AP7J6Y6E.mjs.map} +1 -1
  15. package/dist/{chunk-FSS2CZPR.mjs → chunk-CRUKJX54.mjs} +15 -1
  16. package/dist/{chunk-FSS2CZPR.mjs.map → chunk-CRUKJX54.mjs.map} +1 -1
  17. package/dist/{chunk-5D2JVHC2.mjs → chunk-OLVLTGDN.mjs} +1 -1
  18. package/dist/chunk-OLVLTGDN.mjs.map +1 -0
  19. package/dist/{contactUs-B7wv2hjk.d.mts → contactUs-BLEbKGJR.d.mts} +1 -1
  20. package/dist/{contactUs-CArD2hbK.d.ts → contactUs-eSNZQkig.d.ts} +1 -1
  21. package/dist/formFields/index.cjs +14 -0
  22. package/dist/formFields/index.cjs.map +1 -1
  23. package/dist/formFields/index.d.mts +1 -1
  24. package/dist/formFields/index.d.ts +1 -1
  25. package/dist/formFields/index.mjs +3 -3
  26. package/dist/{global-xmZHaJhe.d.ts → global-C0wTxDyn.d.ts} +2 -1
  27. package/dist/{global-ho4a3lOA.d.mts → global-DbfmJMpn.d.mts} +2 -1
  28. package/dist/graphql/index.cjs +3 -4
  29. package/dist/graphql/index.cjs.map +1 -1
  30. package/dist/graphql/index.d.mts +5 -5
  31. package/dist/graphql/index.d.ts +5 -5
  32. package/dist/graphql/index.mjs +2 -2
  33. package/dist/hooks/index.cjs +26 -4
  34. package/dist/hooks/index.cjs.map +1 -1
  35. package/dist/hooks/index.d.mts +5 -5
  36. package/dist/hooks/index.d.ts +5 -5
  37. package/dist/hooks/index.mjs +14 -5
  38. package/dist/hooks/index.mjs.map +1 -1
  39. package/dist/index.cjs +17 -4
  40. package/dist/index.cjs.map +1 -1
  41. package/dist/index.d.mts +4 -8
  42. package/dist/index.d.ts +4 -8
  43. package/dist/index.mjs +17 -4
  44. package/dist/index.mjs.map +1 -1
  45. package/dist/map/index.d.mts +1 -1
  46. package/dist/map/index.d.ts +1 -1
  47. package/dist/{resourceActivities-BPNPHXgT.d.ts → resourceActivities-B0ZzKmhp.d.ts} +1 -1
  48. package/dist/{resourceActivities-CWVdldcS.d.mts → resourceActivities-BOvEouHt.d.mts} +1 -1
  49. package/dist/sharing/index.d.mts +1 -1
  50. package/dist/sharing/index.d.ts +1 -1
  51. package/dist/types/index.cjs.map +1 -1
  52. package/dist/types/index.d.mts +7 -7
  53. package/dist/types/index.d.ts +7 -7
  54. package/dist/types/index.mjs +1 -1
  55. package/dist/{user-B6RYIUjX.d.ts → user-DJXnwtoU.d.ts} +2 -1
  56. package/dist/{user-Cz3XuyJU.d.mts → user-Gi9rr5MJ.d.mts} +2 -1
  57. package/dist/utils/index.d.mts +3 -3
  58. package/dist/utils/index.d.ts +3 -3
  59. package/dist/utils/index.mjs +2 -2
  60. package/package.json +1 -1
  61. package/dist/chunk-5D2JVHC2.mjs.map +0 -1
  62. package/dist/chunk-VBQ5RF7L.mjs.map +0 -1
  63. /package/dist/{chunk-P4JLZCWZ.mjs.map → chunk-7JNXGDIR.mjs.map} +0 -0
@@ -1,11 +1,11 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { DocumentNode } from 'graphql';
3
- import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-CWVdldcS.mjs';
4
- import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, V as VendorClaimTokenValidation, g as UnregisteredVendorType, h as VendorType, i as VendorInfoType, j as MyPendingVendorClaim, k as UserLicenceType, l as PostType, m as EnumPostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-ho4a3lOA.mjs';
5
- import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-CCuXkAAt.mjs';
3
+ import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-BOvEouHt.mjs';
4
+ import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, V as VendorClaimTokenValidation, g as UnregisteredVendorType, h as VendorType, i as VendorInfoType, j as MyPendingVendorClaim, k as UserLicenceType, l as PostType, m as EnumPostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-DbfmJMpn.mjs';
5
+ import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-CdL1XH3f.mjs';
6
6
  import { EnumEventDateStatus, EnumResourceType } from '../enums/index.mjs';
7
- import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-Cz3XuyJU.mjs';
8
- import { A as AffiliateType } from '../affiliate-CaP_IFPL.mjs';
7
+ import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-Gi9rr5MJ.mjs';
8
+ import { A as AffiliateType } from '../affiliate-Dfpf8vGj.mjs';
9
9
  import 'react-hook-form';
10
10
  import '../images/index.mjs';
11
11
 
@@ -1,11 +1,11 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { DocumentNode } from 'graphql';
3
- import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-BPNPHXgT.js';
4
- import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, V as VendorClaimTokenValidation, g as UnregisteredVendorType, h as VendorType, i as VendorInfoType, j as MyPendingVendorClaim, k as UserLicenceType, l as PostType, m as EnumPostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-xmZHaJhe.js';
5
- import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-wW8fzT4I.js';
3
+ import { A as AdminUpdateResourceType, C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-B0ZzKmhp.js';
4
+ import { M as MutationResponse, E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, P as PosterUsageType, e as RelationType, f as ResourceConnectionsType, V as VendorClaimTokenValidation, g as UnregisteredVendorType, h as VendorType, i as VendorInfoType, j as MyPendingVendorClaim, k as UserLicenceType, l as PostType, m as EnumPostType, G as GameDocType, n as GameLeaderboard, o as CouponType, p as CouponTypeList } from '../global-C0wTxDyn.js';
5
+ import { A as AuthMutationResponse, R as RefreshTokenMutationResponse, P as PartnerType, a as AdType, E as EnumAdStatus, b as AppSettingsType, S as SchoolType, c as SchoolReturnType } from '../ad-Ckg8IqFy.js';
6
6
  import { EnumEventDateStatus, EnumResourceType } from '../enums/index.js';
7
- import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-B6RYIUjX.js';
8
- import { A as AffiliateType } from '../affiliate-BSWxq9Uv.js';
7
+ import { S as SafeUserType, R as RedeemRewardMutationResponse, b as ResourceByUser, c as SubscriptionPlansResponse, d as SubscriptionStatusData } from '../user-DJXnwtoU.js';
8
+ import { A as AffiliateType } from '../affiliate-CDGc9amH.js';
9
9
  import 'react-hook-form';
10
10
  import '../images/index.js';
11
11
 
@@ -147,7 +147,7 @@ import {
147
147
  useUpdateUser,
148
148
  useUpdateVendor,
149
149
  useUpdateVendorInfo
150
- } from "../chunk-WRV55PDR.mjs";
150
+ } from "../chunk-AP7J6Y6E.mjs";
151
151
  import {
152
152
  GET_EVENT,
153
153
  GET_EVENT_INFO,
@@ -169,7 +169,7 @@ import {
169
169
  useRequestPasswordReset,
170
170
  useResetPassword,
171
171
  useValidateVerificationToken
172
- } from "../chunk-VBQ5RF7L.mjs";
172
+ } from "../chunk-6ALUN6LP.mjs";
173
173
  import "../chunk-X3OLM35T.mjs";
174
174
  export {
175
175
  ACTIVATE_VENDOR_CLAIM_MUTATION,
@@ -2085,6 +2085,7 @@ var userSchema = yup4.object().shape({
2085
2085
  email: emailRequiredSchema,
2086
2086
  firstName: yup4.string().label("First Name").trim().required("First name is required"),
2087
2087
  lastName: yup4.string().label("Last Name").trim().required("Last name is required"),
2088
+ nickName: yup4.string().nullable().label("Nickname").trim().notRequired(),
2088
2089
  isTester: yup4.boolean().required("Tester status is required"),
2089
2090
  password: yup4.string().nullable().trim().label("Password").min(8, "Password must be at least 8 characters long").notRequired(),
2090
2091
  preferredRegion: yup4.string().label("Preferred Region").required("Preferred region is required"),
@@ -2106,6 +2107,7 @@ var registerSchema = yup5.object().shape({
2106
2107
  email: emailRequiredSchema,
2107
2108
  firstName: yup5.string().label("First Name").required("First Name is required"),
2108
2109
  lastName: yup5.string().label("Last Name").required("Last Name is required"),
2110
+ nickName: yup5.string().nullable().label("Nickname").trim().notRequired(),
2109
2111
  password: passwordSchema,
2110
2112
  preferredRegion: yup5.string().label("Preferred Region").required("Preferred Region is required")
2111
2113
  });
@@ -2339,6 +2341,13 @@ var registerFields = [
2339
2341
  placeholder: "Last Name",
2340
2342
  required: true
2341
2343
  },
2344
+ {
2345
+ helperText: "Enter Nickname",
2346
+ keyboardType: "default",
2347
+ name: "nickName",
2348
+ placeholder: "Nickname",
2349
+ required: false
2350
+ },
2342
2351
  {
2343
2352
  ...emailField,
2344
2353
  required: true
@@ -2400,6 +2409,13 @@ var profileFields = [
2400
2409
  name: "lastName",
2401
2410
  placeholder: "Last Name"
2402
2411
  },
2412
+ {
2413
+ helperText: "Enter Nickname",
2414
+ keyboardType: "default",
2415
+ name: "nickName",
2416
+ placeholder: "Nickname",
2417
+ required: false
2418
+ },
2403
2419
  {
2404
2420
  helperText: "Enter your new password",
2405
2421
  keyboardType: "default",
@@ -2654,6 +2670,7 @@ var USER_FIELDS_FRAGMENT = import_client.gql`
2654
2670
  game
2655
2671
  isTester
2656
2672
  lastName
2673
+ nickName
2657
2674
  licences {
2658
2675
  ...LicenceFields
2659
2676
  }
@@ -5156,13 +5173,11 @@ var GET_GAME_LEADERBOARD = import_client66.gql`
5156
5173
  gameHistory {
5157
5174
  ...GameHistoryFields
5158
5175
  }
5176
+ nickName
5159
5177
  overallPoints
5160
- owner {
5161
- ...OwnerFields
5162
- }
5178
+ userId
5163
5179
  }
5164
5180
  }
5165
- ${OWNER_FIELDS_FRAGMENT}
5166
5181
  ${GAME_HISTORY_FIELDS_FRAGMENT}
5167
5182
  `;
5168
5183
 
@@ -6640,6 +6655,7 @@ var defaultValues = {
6640
6655
  firstName: "",
6641
6656
  isTester: false,
6642
6657
  lastName: "",
6658
+ nickName: null,
6643
6659
  location: null,
6644
6660
  password: null,
6645
6661
  preferredRegion: ""
@@ -6668,6 +6684,7 @@ function useUserForm(data) {
6668
6684
  firstName: data.firstName,
6669
6685
  isTester: data.isTester,
6670
6686
  lastName: data.lastName,
6687
+ nickName: data.nickName ?? null,
6671
6688
  location: data.location,
6672
6689
  password: data.password,
6673
6690
  preferredRegion: data.preferredRegion,
@@ -6686,6 +6703,7 @@ function useUserForm(data) {
6686
6703
  firstName,
6687
6704
  isTester,
6688
6705
  lastName,
6706
+ nickName,
6689
6707
  location,
6690
6708
  password,
6691
6709
  preferredRegion,
@@ -6702,6 +6720,7 @@ function useUserForm(data) {
6702
6720
  firstName,
6703
6721
  isTester,
6704
6722
  lastName,
6723
+ nickName,
6705
6724
  location,
6706
6725
  password,
6707
6726
  preferredRegion,
@@ -6759,6 +6778,7 @@ var defaultValues3 = {
6759
6778
  email: "",
6760
6779
  firstName: "",
6761
6780
  lastName: "",
6781
+ nickName: "",
6762
6782
  password: "",
6763
6783
  preferredRegion: "",
6764
6784
  promoCode: null,
@@ -6781,6 +6801,7 @@ function useRegisterForm() {
6781
6801
  email,
6782
6802
  firstName,
6783
6803
  lastName,
6804
+ nickName,
6784
6805
  password,
6785
6806
  preferredRegion,
6786
6807
  promoCode,
@@ -6792,6 +6813,7 @@ function useRegisterForm() {
6792
6813
  email,
6793
6814
  firstName,
6794
6815
  lastName,
6816
+ nickName,
6795
6817
  password,
6796
6818
  preferredRegion,
6797
6819
  promoCode,