@lwrjs/types 0.4.2 → 0.4.6

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.
package/build/index.d.ts CHANGED
@@ -524,7 +524,7 @@ export interface Compiler {
524
524
  id: string;
525
525
  }): Promise<CompilerResult>;
526
526
  getModuleMetadata(compiledSource: string): Promise<Partial<CompiledMetadata>>;
527
- lockerize(compiledModule: ModuleCompiled, lockerConfig: LwrLockerConfig): CompilerResult;
527
+ lockerize(compiledModule: ModuleCompiled, lockerConfig: LwrLockerConfig, sourcemap: boolean): CompilerResult;
528
528
  minifyJavascript(source: string): Promise<CompilerResult>;
529
529
  minifyCSS(source: string): Promise<CompilerResult>;
530
530
  }
package/build/server.d.ts CHANGED
@@ -9,7 +9,7 @@ export declare type ServerTypes = 'koa' | 'express' | 'fs';
9
9
  export declare type ServerTypeImpl<T extends ServerTypes> = T extends 'koa' ? Koa : T extends 'express' ? ExpressApp : T extends 'fs' ? LwrDispatcher : never;
10
10
  export interface FsContext extends Context {
11
11
  fs?: {
12
- headers?: Record<string, string | string[]>;
12
+ headers?: http.IncomingHttpHeaders;
13
13
  body?: any;
14
14
  stream?: any;
15
15
  metadata?: any;
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "build": "tsc -b"
9
9
  },
10
10
  "type": "module",
11
- "version": "0.4.2",
11
+ "version": "0.4.6",
12
12
  "homepage": "https://lwr.dev/",
13
13
  "repository": {
14
14
  "type": "git",
@@ -27,5 +27,5 @@
27
27
  "engines": {
28
28
  "node": ">=14.15.4 <15"
29
29
  },
30
- "gitHead": "9999bb34bcd78ce39e5b56e5f602d5ecc22031b9"
30
+ "gitHead": "71f599b20c35d612e55312e94804a97e7cc778e1"
31
31
  }