fix(core): update

This commit is contained in:
Philipp Kunz 2024-02-10 04:55:50 +01:00
parent 141c7ed8a7
commit 18bb54831d
2 changed files with 4 additions and 3 deletions

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@push.rocks/npmextra', name: '@push.rocks/npmextra',
version: '4.0.14', version: '4.0.15',
description: 'do more with npm' description: 'do more with npm'
} }

View File

@ -100,8 +100,9 @@ export class AppData {
} }
} }
public async waitForKeysPresent(keysArg: string[]) { public async waitForAndGetKey(keyArg: string) {
await this.readyDeferred.promise; await this.readyDeferred.promise;
await this.kvStore.waitForKeysPresent(keysArg); await this.kvStore.waitForKeysPresent([keyArg]);
return this.kvStore.readKey[keyArg];
} }
} }