@thi.ng/ksuid 3.2.25 → 3.2.27
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 +1 -1
- package/README.md +2 -2
- package/aksuid.d.ts +1 -1
- package/api.d.ts +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -89,7 +89,7 @@ implementations already used milliseconds.
|
|
|
89
89
|
|
|
90
90
|
## Related packages
|
|
91
91
|
|
|
92
|
-
- [@thi.ng/base-n](https://github.com/thi-ng/umbrella/tree/develop/packages/base-n) - Arbitrary base-n conversions w/ presets for base8/16/32/36/58/62/64/85, support for bigints and encoding/decoding of byte arrays
|
|
92
|
+
- [@thi.ng/base-n](https://github.com/thi-ng/umbrella/tree/develop/packages/base-n) - Arbitrary base-n conversions w/ presets for base8/16/32/36/58/62/64/83/85, support for bigints and encoding/decoding of byte arrays
|
|
93
93
|
- [@thi.ng/idgen](https://github.com/thi-ng/umbrella/tree/develop/packages/idgen) - Generator of opaque numeric identifiers with optional support for ID versioning and efficient re-use
|
|
94
94
|
- [@thi.ng/random](https://github.com/thi-ng/umbrella/tree/develop/packages/random) - Pseudo-random number generators w/ unified API, distributions, weighted choices, ID generation
|
|
95
95
|
|
|
@@ -205,4 +205,4 @@ If this project contributes to an academic publication, please cite it as:
|
|
|
205
205
|
|
|
206
206
|
## License
|
|
207
207
|
|
|
208
|
-
© 2020 -
|
|
208
|
+
© 2020 - 2024 Karsten Schmidt // Apache License 2.0
|
package/aksuid.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { BaseN } from "@thi.ng/base-n";
|
|
|
2
2
|
import type { IRandom } from "@thi.ng/random";
|
|
3
3
|
import type { IKSUID, KSUIDOpts } from "./api.js";
|
|
4
4
|
/**
|
|
5
|
-
* Abstract base class for both 32 & 64bit implementations. See {@link
|
|
5
|
+
* Abstract base class for both 32 & 64bit implementations. See {@link KSUID32}
|
|
6
6
|
* and {@link KSUID64}.
|
|
7
7
|
*/
|
|
8
8
|
export declare abstract class AKSUID implements IKSUID {
|
package/api.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export interface IKSUID {
|
|
|
29
29
|
*/
|
|
30
30
|
timeOnly(epoch?: number): string;
|
|
31
31
|
/**
|
|
32
|
-
* Binary version of {@link
|
|
32
|
+
* Binary version of {@link IKSUID.timeOnly}, but returns byte array. The
|
|
33
33
|
* first `epochSize` bytes will contain the timestamp. If `buf` is given,
|
|
34
34
|
* writes result in there, else creates new byte array.
|
|
35
35
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/ksuid",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.27",
|
|
4
4
|
"description": "Configurable K-sortable unique IDs, ULIDs, binary & base-N encoded, 32/48/64bit time resolutions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"test": "bun test"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@thi.ng/base-n": "^2.
|
|
41
|
-
"@thi.ng/errors": "^2.4.
|
|
42
|
-
"@thi.ng/random": "^3.6.
|
|
43
|
-
"@thi.ng/strings": "^3.7.
|
|
40
|
+
"@thi.ng/base-n": "^2.6.0",
|
|
41
|
+
"@thi.ng/errors": "^2.4.11",
|
|
42
|
+
"@thi.ng/random": "^3.6.25",
|
|
43
|
+
"@thi.ng/strings": "^3.7.9"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@microsoft/api-extractor": "^7.39.0",
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
"status": "stable",
|
|
115
115
|
"year": 2020
|
|
116
116
|
},
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "7426e2ae6fca5482c6eaf649872296fc89955374\n"
|
|
118
118
|
}
|