@naturalcycles/js-lib 14.260.0 → 14.260.1

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/dist/types.d.ts CHANGED
@@ -30,8 +30,8 @@ export type AnyEnum = NumberEnum;
30
30
  export type NumberEnum = Record<string, number | string>;
31
31
  export type StringEnum = Record<string, string>;
32
32
  export type CreatedUpdated = {
33
- created: number;
34
- updated: number;
33
+ created: UnixTimestamp;
34
+ updated: UnixTimestamp;
35
35
  };
36
36
  export interface CreatedUpdatedId extends CreatedUpdated {
37
37
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalcycles/js-lib",
3
- "version": "14.260.0",
3
+ "version": "14.260.1",
4
4
  "scripts": {
5
5
  "prepare": "husky",
6
6
  "build": "dev-lib build-esm-cjs",
package/src/types.ts CHANGED
@@ -38,8 +38,8 @@ export type StringEnum = Record<string, string>
38
38
 
39
39
  // eslint-disable-next-line @typescript-eslint/consistent-type-definitions
40
40
  export type CreatedUpdated = {
41
- created: number
42
- updated: number
41
+ created: UnixTimestamp
42
+ updated: UnixTimestamp
43
43
  }
44
44
 
45
45
  export interface CreatedUpdatedId extends CreatedUpdated {