npm package diff

Package: @forge/tunnel

Versions: 5.3.3-next.0-experimental-10722bc - 5.5.0-next.13

File: package/out/servers/resource-tunnel-server.d.ts

Index: package/out/servers/resource-tunnel-server.d.ts
===================================================================
--- package/out/servers/resource-tunnel-server.d.ts
+++ package/out/servers/resource-tunnel-server.d.ts
@@ -1,16 +1,18 @@
 /// <reference types="node" resolution-mode="require"/>
+import { NextFunction, Request, Response } from 'express';
 import { RequestHandler } from 'http-proxy-middleware';
 import { Resource, Logger } from '@forge/cli-shared';
 import { CSPDetails } from '@forge/csp';
-import type { Permissions, Remotes } from '@forge/manifest';
+import type { Permissions, Remotes, Translations } from '@forge/manifest';
 export interface ResourceTunnelServerArgs extends Resource {
     port: number;
     host: string;
     logger: Logger;
     permissions: Permissions;
     cspReporterServerPort: number;
     remotes: Remotes;
+    i18nConfig?: Translations;
 }
 export declare abstract class ResourceTunnelServer {
     protected readonly port: number;
     protected readonly key: string;
@@ -39,6 +41,7 @@
     protected getCspHeader: (existingCsp: CSPDetails) => string;
     protected injectGlobalBridgeScript: (htmlContent: Buffer) => Buffer;
     protected injectIframeResizerScript: (htmlContent: Buffer) => Buffer;
     protected getCustomUIHtmlTransformMiddleware: (permissions: Permissions, remotes: Remotes) => RequestHandler;
+    protected getI18nResourcesMiddleware: (i18nConfig: Translations) => (req: Request, resp: Response, next: NextFunction) => Promise<void>;
 }
 //# sourceMappingURL=resource-tunnel-server.d.ts.map
\ No newline at end of file