npm package diff
Package: @forge/csp
Versions: 4.1.0-experimental-255e232 - 4.2.0-next.0
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,21 +1,27 @@
import type { LambdaEnvironment } from '@forge/cli-shared';
import { CSPDetails } from '../types';
-export declare const ATLASSIAN_IMAGES_HOSTS: {
- [microsEnv in LambdaEnvironment]: string[];
+declare type IcOptions = {
+ icLabel: string;
+ serviceName: string;
};
+export declare const getAtlassianImageHost: (microsEnv: LambdaEnvironment, icOptions?: IcOptions) => string[];
export declare const EXTERNAL_ALLOW_LISTED_IMAGES_HOSTS: string[];
export declare class CSPInjectionService {
+ private isIsolatedContext;
private getCSPReportUri;
private getForgeGlobalCSP;
+ private getMetalClientCSP;
private getExistingCSPDetails;
private getConnectSrc;
private getFrameAncestors;
- getInjectableCSP: ({ existingCSPDetails, microsEnv, tunnelCSPReporterUri, hostname, isFedRAMP }: {
+ getInjectableCSP: ({ existingCSPDetails, microsEnv, tunnelCSPReporterUri, hostname, isFedRAMP, icOptions }: {
existingCSPDetails: CSPDetails;
microsEnv: LambdaEnvironment;
tunnelCSPReporterUri?: string | undefined;
hostname?: string | undefined;
isFedRAMP?: boolean | undefined;
+ icOptions?: IcOptions | undefined;
}) => string[];
}
+export {};
//# sourceMappingURL=csp-injection-service.d.ts.map
\ No newline at end of file