@levrbet/shared 0.5.82 → 0.5.83

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.
@@ -4,9 +4,9 @@ export declare const toTimeStampSeconds: (date: number) => number;
4
4
  export declare const convertOddsToDecimals: (odds: number) => number;
5
5
  export declare const convertEuropeanToUSOdds: (europeanOdds: number) => number;
6
6
  /**
7
- * a
8
- * @param seconds
9
- * @returns
7
+ * Converts a duration in seconds to a MM:SS formatted string.
8
+ * @param seconds - The duration in seconds.
9
+ * @returns The formatted string in MM:SS format (e.g., "3:05"). Returns "0:00" for negative input.
10
10
  */
11
11
  export declare const convertSecondsToMinSec: (seconds: number) => string;
12
12
  /**
@@ -46,9 +46,9 @@ const convertEuropeanToUSOdds = (europeanOdds) => {
46
46
  };
47
47
  exports.convertEuropeanToUSOdds = convertEuropeanToUSOdds;
48
48
  /**
49
- * a
50
- * @param seconds
51
- * @returns
49
+ * Converts a duration in seconds to a MM:SS formatted string.
50
+ * @param seconds - The duration in seconds.
51
+ * @returns The formatted string in MM:SS format (e.g., "3:05"). Returns "0:00" for negative input.
52
52
  */
53
53
  const convertSecondsToMinSec = (seconds) => {
54
54
  if (seconds < 0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@levrbet/shared",
3
- "version": "0.5.82",
3
+ "version": "0.5.83",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {