dochub-sdk 0.1.279 → 0.1.281

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.
@@ -145,7 +145,7 @@ export interface IDocHubTransaction {
145
145
  * @param uri - URI файла или шаблон поиска
146
146
  * @returns - Возвращает массив метаданных найденных файлов
147
147
  */
148
- getAffectedFiles(pattern: string | RegExp): Promise<string[]>;
148
+ getAffectedFiles(pattern: string | RegExp): Promise<IDocHubTransactionChangeRecord[]>;
149
149
 
150
150
  /**
151
151
  * Проверяет, что транзакция содержит файл
@@ -131,7 +131,7 @@ export type DocHubCommitActionRecord = DocHubCommitFilePost | DocHubCommitFileDe
131
131
  export interface IDocHubCommit extends IDocHubProtocolRequestConfig {
132
132
  method: DocHubProtocolMethods.COMMIT,
133
133
  comment: string;
134
- actions: DocHubCommitActionRecord[];
134
+ data: DocHubCommitActionRecord[];
135
135
  }
136
136
 
137
137
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dochub-sdk",
3
- "version": "0.1.279",
3
+ "version": "0.1.281",
4
4
  "description": "The DocHub System Development Kit.",
5
5
  "private": false,
6
6
  "main": "index.ts",