@sparted/shared-library 1.7.68 → 1.7.69

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.
@@ -0,0 +1,7 @@
1
+ export declare const getRemainingTimeInMsFromDate: (date: Date) => number;
2
+ export declare const getRemainingTimeFromMs: (ms: number) => {
3
+ daysLeft: number;
4
+ hoursLeft: number;
5
+ minutesLeft: number;
6
+ secondsLeft: number;
7
+ };
@@ -0,0 +1,8 @@
1
+ type TimeShifts = {
2
+ days?: number;
3
+ hours?: number;
4
+ minutes?: number;
5
+ seconds?: number;
6
+ };
7
+ export declare const shiftDateBy: (shifts?: TimeShifts, date?: Date) => Date;
8
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sparted/shared-library",
3
- "version": "1.7.68",
3
+ "version": "1.7.69",
4
4
  "repository": "git@github.com:Sparted/shared-library.git",
5
5
  "author": {
6
6
  "name": "Sparted",