npm package diff
Package: @forge/csp
Versions: 4.2.0-experimental-959d7b9 - 4.2.0-experimental-a6c1d53
File: package/out/csp/csp-injection-service.d.ts
Index: package/out/csp/csp-injection-service.d.ts
===================================================================
--- package/out/csp/csp-injection-service.d.ts
+++ package/out/csp/csp-injection-service.d.ts
@@ -1,10 +1,15 @@
import type { LambdaEnvironment } from '@forge/cli-shared';
import { CSPDetails } from '../types';
-declare type IcOptions = {
+declare type StandardIcOptions = {
icLabel: string;
serviceName: string;
};
+declare type GetICDomainIcOptions = {
+ serviceName?: string;
+ getICDomain: () => string;
+};
+declare type IcOptions = StandardIcOptions | GetICDomainIcOptions;
export declare const getAtlassianImageHost: (microsEnv: LambdaEnvironment, icOptions?: IcOptions) => string[];
export declare const EXTERNAL_ALLOW_LISTED_IMAGES_HOSTS: string[];
export declare class CSPInjectionService {
private getCSPReportUri;