sliftutils 1.2.25 → 1.2.26

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sliftutils",
3
- "version": "1.2.25",
3
+ "version": "1.2.26",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -193,13 +193,13 @@ export class DiskCollectionRawSynced {
193
193
  }
194
194
 
195
195
  public async getPromise(key: string): Promise<Buffer | undefined> {
196
- return await this.synced.get(key);
196
+ return await this.synced.getPromise(key);
197
197
  }
198
198
  public set(key: string, value: Buffer) {
199
199
  this.synced.set(key, value);
200
200
  }
201
201
  public async getKeys(): Promise<string[]> {
202
- return await this.synced.getKeys();
202
+ return await this.synced.getKeysPromise();
203
203
  }
204
204
  public async getInfo(key: string) {
205
205
  return await this.synced.getInfo(key);