dochub-sdk 0.1.65 → 0.1.66

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.
@@ -123,4 +123,12 @@ export interface IDocHubProtocols {
123
123
  * @returns - Массив идентификаторов протоколов
124
124
  */
125
125
  fetch(): string[];
126
+ /**
127
+ * Выполняет запрос идентифицируя протокол протокол по URL.
128
+ * Берет на себя некоторую сервисную работу по подготовке запроса
129
+ * в протокол и обработке ошибок.
130
+ * Рекомендуется использовать именно этот метод для запросов к ресурсам.
131
+ * @param config - Параметры запроса
132
+ */
133
+ request(config: IDocHubProtocolRequestConfig): Promise<IDocHubProtocolResponse>;
126
134
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dochub-sdk",
3
- "version": "0.1.65",
3
+ "version": "0.1.66",
4
4
  "description": "The DocHub System Development Kit.",
5
5
  "private": false,
6
6
  "main": "index.ts",