hevy-shared 1.0.747 → 1.0.748

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 (2) hide show
  1. package/built/index.d.ts +10 -2
  2. package/package.json +1 -1
package/built/index.d.ts CHANGED
@@ -1673,14 +1673,22 @@ export interface CancelSubscriptionFeedback extends BaseFeedback {
1673
1673
  };
1674
1674
  }
1675
1675
  export type Feedback = GeneralFeedback | FeatureRequestFeedback | BugReportFeedback | GetHelpFeedback | ReportCommentFeedback | ReportWorkoutFeedback | ReportProfileFeedback | RatingPromptFeedback | CancelSubscriptionFeedback;
1676
- export type LogLevel = 'debug' | 'info' | 'warn' | 'error';
1676
+ export type LogLevel = 'debug' | 'info' | 'warn' | 'error' | null;
1677
1677
  export interface AppLogLine {
1678
+ /**
1679
+ * Line index, starts from 0 when app is initialised and increments by 1 for
1680
+ * each line logged by the log util.
1681
+ */
1678
1682
  index: number;
1679
- logLevel?: LogLevel;
1683
+ /** Unix ms. String so it's simpler to handle across different platforms. */
1684
+ timestamp: string;
1685
+ logLevel: LogLevel;
1686
+ /** Used by android.util.Log on Wear OS */
1680
1687
  tag?: string;
1681
1688
  msg: string;
1682
1689
  }
1683
1690
  export interface PostAppLogRequest {
1691
+ version: 1;
1684
1692
  lines: AppLogLine[];
1685
1693
  }
1686
1694
  declare const _suggestedUserSources: readonly ["popular", "local", "contact", "mutual_follows", "follows_you", "featured", "hyper_local"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hevy-shared",
3
- "version": "1.0.747",
3
+ "version": "1.0.748",
4
4
  "description": "",
5
5
  "main": "built/index.js",
6
6
  "types": "built/index.d.ts",