cdk-insights 0.15.8 → 0.15.10

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.
@@ -1,4 +1,4 @@
1
- import type { AnalyzeResourceFn, AuthRefreshCallback } from '../helpers/analyzeResource/analyzeResource';
1
+ import type { AnalyzeResourceFn } from '../helpers/analyzeResource/analyzeResource';
2
2
  import { FileBasedCache } from '../helpers/cache/fileBasedCache';
3
3
  import type { RedactResourcesFn } from '../helpers/redactResources/redactResources';
4
4
  import type { CloudFormationResource, AnalysisResult as ImportedAnalysisResult, Issue, SingleResourceAnalysis } from '../types/analysis.types';
@@ -30,8 +30,6 @@ export interface CreateResourceAnalyzerParams {
30
30
  dependents: string[];
31
31
  usageDescription?: string;
32
32
  }>;
33
- /** Callback for refreshing auth tokens on 403 errors */
34
- onAuthRefresh?: AuthRefreshCallback;
35
33
  }
36
34
  export interface ResourceAnalyzerParams {
37
35
  redactedId: string;
@@ -49,7 +47,6 @@ export interface CreateResourceHandlerParams {
49
47
  analyzeResource: AnalyzeResourceFn;
50
48
  redactResources: RedactResourcesFn;
51
49
  config?: ConcurrencyConfig;
52
- onAuthRefresh?: AuthRefreshCallback;
53
50
  }
54
51
  export interface ResourceHandlerParams {
55
52
  stackName: string;
@@ -65,5 +62,5 @@ export interface ResourceHandlerParams {
65
62
  maxSize: number;
66
63
  };
67
64
  }
68
- export declare const createResourceHandler: ({ analyzeResource, redactResources, config, onAuthRefresh, }: CreateResourceHandlerParams) => ({ stackName, resources, authToken, existingFindingsMap, pathToLogicalId, fingerprint, noCache, cacheConfig, }: ResourceHandlerParams) => Promise<ImportedAnalysisResult>;
65
+ export declare const createResourceHandler: ({ analyzeResource, redactResources, config, }: CreateResourceHandlerParams) => ({ stackName, resources, authToken, existingFindingsMap, pathToLogicalId, fingerprint, noCache, cacheConfig, }: ResourceHandlerParams) => Promise<ImportedAnalysisResult>;
69
66
  export {};