dochub-sdk 0.1.253 → 0.1.255

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.
@@ -256,18 +256,21 @@ export enum DocHubDataLakeDebuggerHandleActions {
256
256
  }
257
257
 
258
258
  export interface IDocHubDataLakeDebuggerContext {
259
- source: () => Promise<string>;
260
- position: number;
259
+ uid: string; // Идентификатор запроса
260
+ source: () => Promise<string>; // Функция возвращающая исходный код запроса
261
+ position: number; // Позиция остановки отладчика
261
262
  [keys: string]: any;
262
263
  }
263
264
 
264
- export type IDocHubDataLakeDebuggerHandle = (context: IDocHubDataLakeDebuggerContext) => Promise<DocHubDataLakeDebuggerHandleActions>;
265
-
266
265
  /**
267
266
  * Интерфейс внутрисистемного отладчика
268
267
  */
269
268
  export interface IDocHubDataLakeDebugger {
270
- handle: IDocHubDataLakeDebuggerHandle;
269
+ /**
270
+ * Метод вызывается при необходимости отладочного действия
271
+ * @param context - контекст исполнения кода
272
+ */
273
+ handle(context: IDocHubDataLakeDebuggerContext): Promise<DocHubDataLakeDebuggerHandleActions>;
271
274
  }
272
275
 
273
276
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dochub-sdk",
3
- "version": "0.1.253",
3
+ "version": "0.1.255",
4
4
  "description": "The DocHub System Development Kit.",
5
5
  "private": false,
6
6
  "main": "index.ts",