Comparing version 0.3.4 to 0.3.5
@@ -170,2 +170,6 @@ /** | ||
* See the {@link Scru64Generator} class documentation for the description. | ||
* | ||
* Note that this mode of generation is not recommended because rewinding | ||
* `timestamp` without changing `nodeId` considerably increases the risk of | ||
* duplicate results. | ||
*/ | ||
@@ -196,2 +200,6 @@ generateOrReset(): Scru64Id; | ||
* | ||
* Note that this mode of generation is not recommended because rewinding | ||
* `timestamp` without changing `nodeId` considerably increases the risk of | ||
* duplicate results. | ||
* | ||
* @param rollbackAllowance - The amount of `unixTsMs` rollback that is | ||
@@ -198,0 +206,0 @@ * considered significant. A suggested value is `10_000` (milliseconds). |
@@ -399,2 +399,6 @@ /** | ||
* See the {@link Scru64Generator} class documentation for the description. | ||
* | ||
* Note that this mode of generation is not recommended because rewinding | ||
* `timestamp` without changing `nodeId` considerably increases the risk of | ||
* duplicate results. | ||
*/ | ||
@@ -448,2 +452,6 @@ generateOrReset() { | ||
* | ||
* Note that this mode of generation is not recommended because rewinding | ||
* `timestamp` without changing `nodeId` considerably increases the risk of | ||
* duplicate results. | ||
* | ||
* @param rollbackAllowance - The amount of `unixTsMs` rollback that is | ||
@@ -450,0 +458,0 @@ * considered significant. A suggested value is `10_000` (milliseconds). |
{ | ||
"name": "scru64", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"description": "SCRU64: Sortable, Clock-based, Realm-specifically Unique identifier", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -9,3 +9,3 @@ # SCRU64: Sortable, Clock-based, Realm-specifically Unique identifier | ||
- ~62-bit non-negative integer storable as signed/unsigned 64-bit integer | ||
- 63-bit non-negative integer storable as signed/unsigned 64-bit integer | ||
- Sortable by generation time (as integer and as text) | ||
@@ -12,0 +12,0 @@ - 12-digit case-insensitive textual representation (Base36) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61440
1153