@tracktor/shared-module 2.0.0-beta.14 → 2.0.0-beta.15

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.
package/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
1
  # [Versions](https://github.com/Tracktor/shared-module/releases)
2
2
 
3
- ## v2.0.0-beta.14
4
- - **[fix]** : type filePathAdapter path param
3
+ ## v2.0.0-beta.15
4
+ - **[fix]** : type dateAdapter path param
@@ -10,7 +10,7 @@ export interface useAdapterParams {
10
10
  * @returns
11
11
  */
12
12
  export declare const useAdapter: (params?: useAdapterParams) => {
13
- dateAdapter: (date: string | number | Date | null | undefined, format: string) => string;
13
+ dateAdapter: (date: string | number | Date | null | undefined, format?: string) => string;
14
14
  distanceAdapter: (distance?: string | number | null | undefined, metric?: string) => string;
15
15
  filePathAdapter: (path?: string | null, size?: number | "full") => string;
16
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tracktor/shared-module",
3
- "version": "2.0.0-beta.14",
3
+ "version": "2.0.0-beta.15",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "types": "./dist/main.d.ts",