@saptools/cf-inspector 0.6.0 → 0.6.2

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.
package/dist/index.d.ts CHANGED
@@ -383,6 +383,7 @@ interface StepIntoOptions {
383
383
  }
384
384
  declare function resume(session: InspectorSession): Promise<void>;
385
385
  declare function setPauseOnExceptions(session: InspectorSession, state: PauseOnExceptionsState): Promise<void>;
386
+ declare function setAsyncCallStackDepth(session: InspectorSession, maxDepth: number): Promise<void>;
386
387
  declare function evaluateOnFrame(session: InspectorSession, callFrameId: string, expression: string, options?: EvaluateOnFrameOptions): Promise<CdpEvalResult>;
387
388
  declare function evaluateGlobal(session: InspectorSession, expression: string): Promise<CdpEvalResult>;
388
389
  declare function runSetupEvals(session: InspectorSession, expressions: readonly string[]): Promise<void>;
@@ -481,4 +482,4 @@ interface OpenedTunnel {
481
482
  declare function openOwnedCfTunnel(target: TunnelTarget): Promise<OpenedTunnel>;
482
483
  declare function openCfTunnel(target: TunnelTarget): Promise<OpenedTunnel>;
483
484
 
484
- export { type BreakLocation, type BreakpointHandle, type BreakpointLocation, type CallFrameInfo, type CaptureSnapshotOptions, type CapturedExpression, CfInspectorError, type CfInspectorErrorCode, type DebuggerState, type EvaluateOnFrameOptions, type ExactBreakpointHandle, type ExceptionSnapshot, type FrameSnapshot, type GetPossibleBreakpointsOptions, type InspectorConnectOptions, type InspectorSession, type InspectorTarget, type InspectorWorkerTarget, type LogpointConditionOptions, type LogpointEvent, type LogpointStopReason, type LogpointStreamOptions, type LogpointStreamResult, type OpenedTunnel, type PauseEvent, type PauseOnExceptionsState, type RemoteObjectInfo, type RemoteRootSetting, type ResolvedLocation, type ScopeInfo, type ScopeSnapshot, type ScriptInfo, type ScriptLocation, type SetBreakpointAtLocationInput, type SetBreakpointInput, type SnapshotCaptureResult, type SnapshotResult, type StackTraceFrameInfo, type StackTraceIdInfo, type StackTraceInfo, type StepIntoOptions, type TunnelTarget, type VariableSnapshot, type WaitForPauseOptions, type WalkStackOptions, type WatchEvent, buildBreakpointUrlRegex, buildHitCountedCondition, buildLogpointCondition, captureException, captureSnapshot, connectInspector, discoverInspectorTargets, evaluateGlobal, evaluateOnFrame, fetchInspectorVersion, getPossibleBreakpoints, getProperties, getScriptSource, listScripts, openCfTunnel, openOwnedCfTunnel, parseBreakpointSpec, parseRemoteRoot, releaseObject, releaseObjectGroup, removeBreakpoint, resume, runSetupEvals, setBreakpoint, setBreakpointAtLocation, setPauseOnExceptions, stepInto, stepOut, stepOver, streamLogpoint, validateExpression, waitForPause, walkStack };
485
+ export { type BreakLocation, type BreakpointHandle, type BreakpointLocation, type CallFrameInfo, type CaptureSnapshotOptions, type CapturedExpression, CfInspectorError, type CfInspectorErrorCode, type DebuggerState, type EvaluateOnFrameOptions, type ExactBreakpointHandle, type ExceptionSnapshot, type FrameSnapshot, type GetPossibleBreakpointsOptions, type InspectorConnectOptions, type InspectorSession, type InspectorTarget, type InspectorWorkerTarget, type LogpointConditionOptions, type LogpointEvent, type LogpointStopReason, type LogpointStreamOptions, type LogpointStreamResult, type OpenedTunnel, type PauseEvent, type PauseOnExceptionsState, type RemoteObjectInfo, type RemoteRootSetting, type ResolvedLocation, type ScopeInfo, type ScopeSnapshot, type ScriptInfo, type ScriptLocation, type SetBreakpointAtLocationInput, type SetBreakpointInput, type SnapshotCaptureResult, type SnapshotResult, type StackTraceFrameInfo, type StackTraceIdInfo, type StackTraceInfo, type StepIntoOptions, type TunnelTarget, type VariableSnapshot, type WaitForPauseOptions, type WalkStackOptions, type WatchEvent, buildBreakpointUrlRegex, buildHitCountedCondition, buildLogpointCondition, captureException, captureSnapshot, connectInspector, discoverInspectorTargets, evaluateGlobal, evaluateOnFrame, fetchInspectorVersion, getPossibleBreakpoints, getProperties, getScriptSource, listScripts, openCfTunnel, openOwnedCfTunnel, parseBreakpointSpec, parseRemoteRoot, releaseObject, releaseObjectGroup, removeBreakpoint, resume, runSetupEvals, setAsyncCallStackDepth, setBreakpoint, setBreakpointAtLocation, setPauseOnExceptions, stepInto, stepOut, stepOver, streamLogpoint, validateExpression, waitForPause, walkStack };
package/dist/index.js CHANGED
@@ -1043,6 +1043,9 @@ async function resume(session) {
1043
1043
  async function setPauseOnExceptions(session, state) {
1044
1044
  await session.client.send("Debugger.setPauseOnExceptions", { state });
1045
1045
  }
1046
+ async function setAsyncCallStackDepth(session, maxDepth) {
1047
+ await session.client.send("Debugger.setAsyncCallStackDepth", { maxDepth });
1048
+ }
1046
1049
  async function evaluateOnFrame(session, callFrameId, expression, options = {}) {
1047
1050
  return await session.client.send("Debugger.evaluateOnCallFrame", {
1048
1051
  callFrameId,
@@ -2853,6 +2856,7 @@ export {
2853
2856
  removeBreakpoint,
2854
2857
  resume,
2855
2858
  runSetupEvals,
2859
+ setAsyncCallStackDepth,
2856
2860
  setBreakpoint,
2857
2861
  setBreakpointAtLocation,
2858
2862
  setPauseOnExceptions,