Compare commits

...

2 Commits

Author SHA1 Message Date
a284c58a68 4.0.15 2024-02-10 04:55:51 +01:00
18bb54831d fix(core): update 2024-02-10 04:55:50 +01:00
3 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@push.rocks/npmextra", "name": "@push.rocks/npmextra",
"version": "4.0.14", "version": "4.0.15",
"private": false, "private": false,
"description": "do more with npm", "description": "do more with npm",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",

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];
} }
} }