@lwrjs/types 0.11.0-alpha.1 → 0.11.0-alpha.3

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/config.d.ts CHANGED
@@ -47,10 +47,10 @@ export interface LwrLockerConfig {
47
47
  clientOnly?: boolean;
48
48
  }
49
49
  export interface RouteHandlersConfig {
50
- [id: string]: ServiceConfig;
50
+ [id: string]: string | null;
51
51
  }
52
52
  export interface NormalizedRouteHandlersConfig {
53
- [id: string]: ServiceEntry;
53
+ [id: string]: string | null;
54
54
  }
55
55
  export interface LocalizedViewRequest extends ViewRequest {
56
56
  locale?: string;
@@ -169,7 +169,7 @@ export interface Services {
169
169
  uriTransformers: ResolvedServiceEntry<UriTransformPlugin>[];
170
170
  }
171
171
  export interface RouteHandlers {
172
- [id: string]: [RouteHandlerFunction, any?];
172
+ [id: string]: RouteHandlerFunction;
173
173
  }
174
174
  interface AssetConfigCommon {
175
175
  urlPath?: string;
package/build/server.d.ts CHANGED
@@ -32,7 +32,6 @@ export interface InternalAppServer<T extends ServerTypes> {
32
32
  get(path: string | Array<string>, middleware: MiddlewareFunction): void;
33
33
  post(path: string | Array<string>, middleware: MiddlewareFunction): void;
34
34
  initRoutes(): void;
35
- useCompression(): void;
36
35
  getRegexWildcard(): string;
37
36
  }
38
37
  export type PublicAppServer<T extends ServerTypes> = Pick<InternalAppServer<T>, 'use' | 'all' | 'get' | 'post' | 'getRegexWildcard'>;
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "build": "tsc -b"
9
9
  },
10
10
  "type": "module",
11
- "version": "0.11.0-alpha.1",
11
+ "version": "0.11.0-alpha.3",
12
12
  "homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
13
13
  "repository": {
14
14
  "type": "git",
@@ -29,5 +29,5 @@
29
29
  "engines": {
30
30
  "node": ">=16.0.0"
31
31
  },
32
- "gitHead": "6a840d4694fac9f0be5c3a21707015379cbadad7"
32
+ "gitHead": "720b7b5525f93c089f8d97bdef692927ad520d39"
33
33
  }