serializable-bptree 4.0.2 → 4.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.
@@ -96,19 +96,19 @@ export declare abstract class BPTree<K, V> {
96
96
  /**
97
97
  * You enter the key and value as a pair. You can later search for the pair by value.
98
98
  * This data is stored in the tree, sorted in ascending order of value.
99
- * @param key The key of the pair.
99
+ * @param key The key of the pair. This key must be unique.
100
100
  * @param value The value of the pair.
101
101
  */
102
102
  abstract insert(key: K, value: V): Deferred<void>;
103
103
  /**
104
104
  * Deletes the pair that matches the key and value.
105
- * @param key The key of the pair.
105
+ * @param key The key of the pair. This key must be unique.
106
106
  * @param value The value of the pair.
107
107
  */
108
108
  abstract delete(key: K, value: V): Deferred<void>;
109
109
  /**
110
110
  * It returns whether there is a value in the tree.
111
- * @param key The key value to search for.
111
+ * @param key The key value to search for. This key must be unique.
112
112
  * @param value The value to search for.
113
113
  */
114
114
  abstract exists(key: K, value: V): Deferred<boolean>;
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "serializable-bptree",
3
- "version": "4.0.2",
3
+ "version": "4.0.3",
4
4
  "description": "Store the B+tree flexibly, not only in-memory.",
5
- "main": "dist/cjs/index.cjs",
6
- "module": "dist/esm/index.mjs",
7
- "typings": "dist/typings/index.d.ts",
5
+ "types": "./dist/types/index.d.ts",
6
+ "main": "./dist/cjs/index.cjs",
7
+ "module": "./dist/esm/index.mjs",
8
8
  "exports": {
9
9
  ".": {
10
+ "types": "./dist/types/index.d.ts",
10
11
  "import": "./dist/esm/index.mjs",
11
12
  "require": "./dist/cjs/index.cjs"
12
13
  }
File without changes
File without changes
File without changes
File without changes