@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().
|
|
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().
|
|
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
|
@@ -1030,7 +1030,7 @@ export class JNumber<
|
|
|
1030
1030
|
}
|
|
1031
1031
|
|
|
1032
1032
|
unixTimestamp(): JNumber<UnixTimestamp, Opt> {
|
|
1033
|
-
return this.integer().
|
|
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().
|
|
1041
|
+
return this.integer().branded<UnixTimestampMillis>()
|
|
1042
1042
|
}
|
|
1043
1043
|
|
|
1044
1044
|
unixTimestamp2000Millis(): JNumber<UnixTimestampMillis, Opt> {
|