npm package diff

Package: @forge/bridge

Versions: 4.1.0 - 4.1.1-next.0

File: package/out/types.d.ts

Index: package/out/types.d.ts
===================================================================
--- package/out/types.d.ts
+++ package/out/types.d.ts
@@ -1,5 +1,6 @@
 import { type ForgeSupportedLocaleCode } from '@forge/i18n';
+import { type ThemeState } from '@atlaskit/tokens';
 export declare type InvokePayload = {
     [key in number | string]: any;
 };
 export declare type InvokeResponse = Record<string, any> | void;
@@ -9,19 +10,29 @@
         [key: string]: string;
     };
     isAttachment?: boolean;
 } & Pick<ResponseInit, 'status' | 'statusText'>;
+export declare enum ExtensionEnvironment {
+    DEVELOPMENT = "DEVELOPMENT",
+    STAGING = "STAGING",
+    PRODUCTION = "PRODUCTION"
+}
+export declare type EnvironmentType = keyof typeof ExtensionEnvironment;
 export interface FullContext {
     accountId?: string;
     cloudId?: string;
     workspaceId?: string;
     extension: ExtensionData;
+    environmentId: string;
+    environmentType: EnvironmentType;
     license?: LicenseDetails;
     localId: string;
     locale: ForgeSupportedLocaleCode;
     moduleKey: string;
     siteUrl: string;
     timezone: string;
+    theme?: Partial<ThemeState> | null;
+    surfaceColor?: string | null;
 }
 interface ExtensionData {
     [k: string]: any;
 }