heartraite 1.0.190 → 1.0.192

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.
@@ -153,6 +153,14 @@ export type RegisterOnboardingRequest = {
153
153
  images: string[];
154
154
  interestedIn: Gender[];
155
155
  gender: Gender;
156
+ /** Client-resolved market (e.g. localeService.getMarketSync() in youand-app).
157
+ * Optional during the rollout — youand-app doesn't yet populate it. Tighten
158
+ * to required once youand-app ships the change. The backend uses this to
159
+ * (a) keep users.market in sync if the device locale changed since signup
160
+ * and (b) recover the correct market for users self-healed by
161
+ * registerOnboarding. The backend MUST NOT update users.market when this
162
+ * field is absent (preserve the existing value). */
163
+ market?: Market;
156
164
  };
157
165
  export type GetUserRequest = undefined;
158
166
  export type UpdateUserRequest = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "heartraite",
3
- "version": "1.0.190",
3
+ "version": "1.0.192",
4
4
  "description": "Heartraite npm package for common functionality",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -177,6 +177,14 @@ export type RegisterOnboardingRequest = {
177
177
  images: string[];
178
178
  interestedIn: Gender[];
179
179
  gender: Gender;
180
+ /** Client-resolved market (e.g. localeService.getMarketSync() in youand-app).
181
+ * Optional during the rollout — youand-app doesn't yet populate it. Tighten
182
+ * to required once youand-app ships the change. The backend uses this to
183
+ * (a) keep users.market in sync if the device locale changed since signup
184
+ * and (b) recover the correct market for users self-healed by
185
+ * registerOnboarding. The backend MUST NOT update users.market when this
186
+ * field is absent (preserve the existing value). */
187
+ market?: Market;
180
188
  };
181
189
  export type GetUserRequest = undefined;
182
190
  export type UpdateUserRequest = {