k2hash 2.0.2 → 2.0.3
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/package.json +2 -1
- package/types/index.d.ts +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "k2hash",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "K2HASH addon library for Node.js",
|
|
5
5
|
"os": "linux",
|
|
6
6
|
"main": "index.js",
|
|
@@ -104,6 +104,7 @@
|
|
|
104
104
|
"license": "MIT",
|
|
105
105
|
"exports": {
|
|
106
106
|
".": {
|
|
107
|
+
"types": "./types/index.d.ts",
|
|
107
108
|
"import": "./index.mjs",
|
|
108
109
|
"require": "./index.js"
|
|
109
110
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -558,6 +558,9 @@ declare module 'k2hash'
|
|
|
558
558
|
export type K2hQueue = k2hash.K2hQueue;
|
|
559
559
|
export type K2hKeyQueue = k2hash.K2hKeyQueue;
|
|
560
560
|
export type K2hashFactoryType = k2hash.K2hashFactoryType;
|
|
561
|
+
|
|
562
|
+
// Add convenient alias (PascalCase)
|
|
563
|
+
export type K2hash = K2hNode;
|
|
561
564
|
}
|
|
562
565
|
|
|
563
566
|
/*
|