dochub-sdk 0.1.38 → 0.1.39

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.
@@ -11,8 +11,8 @@ export interface IDocHubObjectMeta {
11
11
  // Редакторы документов
12
12
  export interface IDocHubObjects {
13
13
  // Возвращает коллекцию задекларированных объектов
14
- fetch(): IDocHubObjectMeta[];
14
+ fetch(): Promise<IDocHubObjectMeta[]>;
15
15
  // Возвращает объект по идентификатору
16
- get(uid: string): IDocHubObjectMeta;
16
+ get(uid: string): Promise<IDocHubObjectMeta>;
17
17
  }
18
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dochub-sdk",
3
- "version": "0.1.38",
3
+ "version": "0.1.39",
4
4
  "description": "The DocHub System Development Kit.",
5
5
  "private": false,
6
6
  "main": "index.ts",