dochub-sdk 0.1.267 → 0.1.268

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.
@@ -151,6 +151,11 @@ export interface IDocHubProtocol {
151
151
  * @returns - Результирующий URI в формате протокола
152
152
  */
153
153
  resolveURL(...args: string[]): string;
154
+ /**
155
+ * Выделяет хост из URI ресурса. Для систем управления версиями в хост могут входить данные репозитория, ветки, коммита и т.п.
156
+ * @param uri - идентификатор ресурса
157
+ */
158
+ extractHost(uri: string): string | null;
154
159
  /**
155
160
  * Выполняет запрос к ресурсу по аналогии с axios
156
161
  * @param config
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dochub-sdk",
3
- "version": "0.1.267",
3
+ "version": "0.1.268",
4
4
  "description": "The DocHub System Development Kit.",
5
5
  "private": false,
6
6
  "main": "index.ts",