heartraite 1.0.190 → 1.0.191

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,12 @@ 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
+ * Required in the contract; the backend DTO accepts it as optional during
158
+ * the rollout window so old in-the-wild app builds (which compile against
159
+ * pre-1.0.191 types) still pass validation and fall back to the existing
160
+ * users.market. Tighten DTO to required once adoption is high. */
161
+ market: Market;
156
162
  };
157
163
  export type GetUserRequest = undefined;
158
164
  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.191",
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,12 @@ 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
+ * Required in the contract; the backend DTO accepts it as optional during
182
+ * the rollout window so old in-the-wild app builds (which compile against
183
+ * pre-1.0.191 types) still pass validation and fall back to the existing
184
+ * users.market. Tighten DTO to required once adoption is high. */
185
+ market: Market;
180
186
  };
181
187
  export type GetUserRequest = undefined;
182
188
  export type UpdateUserRequest = {