@naturalcycles/nodejs-lib 15.122.3 → 15.122.4

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.
@@ -771,13 +771,13 @@ export class JNumber extends JBuilder {
771
771
  return this;
772
772
  }
773
773
  unixTimestamp() {
774
- return this.integer().min(0).max(TS_2500).branded();
774
+ return this.integer().branded();
775
775
  }
776
776
  unixTimestamp2000() {
777
777
  return this.integer().min(TS_2000).max(TS_2500).branded();
778
778
  }
779
779
  unixTimestampMillis() {
780
- return this.integer().min(0).max(TS_2500_MILLIS).branded();
780
+ return this.integer().branded();
781
781
  }
782
782
  unixTimestamp2000Millis() {
783
783
  return this.integer().min(TS_2000_MILLIS).max(TS_2500_MILLIS).branded();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@naturalcycles/nodejs-lib",
3
3
  "type": "module",
4
- "version": "15.122.3",
4
+ "version": "15.122.4",
5
5
  "dependencies": {
6
6
  "@naturalcycles/js-lib": "^15",
7
7
  "@standard-schema/spec": "^1",
@@ -1030,7 +1030,7 @@ export class JNumber<
1030
1030
  }
1031
1031
 
1032
1032
  unixTimestamp(): JNumber<UnixTimestamp, Opt> {
1033
- return this.integer().min(0).max(TS_2500).branded<UnixTimestamp>()
1033
+ return this.integer().branded<UnixTimestamp>()
1034
1034
  }
1035
1035
 
1036
1036
  unixTimestamp2000(): JNumber<UnixTimestamp, Opt> {
@@ -1038,7 +1038,7 @@ export class JNumber<
1038
1038
  }
1039
1039
 
1040
1040
  unixTimestampMillis(): JNumber<UnixTimestampMillis, Opt> {
1041
- return this.integer().min(0).max(TS_2500_MILLIS).branded<UnixTimestampMillis>()
1041
+ return this.integer().branded<UnixTimestampMillis>()
1042
1042
  }
1043
1043
 
1044
1044
  unixTimestamp2000Millis(): JNumber<UnixTimestampMillis, Opt> {