fix(all): updated setValue to be an async function.
This commit is contained in:
parent
241bc5ab69
commit
5253b61495
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "botlib",
|
"name": "botlib",
|
||||||
"version": "1.7.0",
|
"version": "1.7.1",
|
||||||
"description": "General Bot base library for building Node.js TypeScript Apps packages (.gbapp) and Libray packages (.gblib)",
|
"description": "General Bot base library for building Node.js TypeScript Apps packages (.gbapp) and Libray packages (.gblib)",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index",
|
"types": "dist/index",
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,6 @@ export interface IGBAdminService {
|
||||||
): Promise<IGBInstance>;
|
): Promise<IGBInstance>;
|
||||||
|
|
||||||
getValue(instanceId: number, key: string): Promise<string>;
|
getValue(instanceId: number, key: string): Promise<string>;
|
||||||
setValue(instanceId: number, key: string, value: string): void;
|
setValue(instanceId: number, key: string, value: string): Promise<void>;
|
||||||
publish(min: GBMinInstance, packageName: string, republish: boolean): Promise<void>;
|
publish(min: GBMinInstance, packageName: string, republish: boolean): Promise<void>;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue