@lwrjs/types 0.4.4 → 0.5.0

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.
Files changed (2) hide show
  1. package/build/index.d.ts +5 -0
  2. package/package.json +2 -2
package/build/index.d.ts CHANGED
@@ -54,10 +54,14 @@ export interface ModuleJsonDefinition {
54
54
  }
55
55
  export interface ImportMetadata {
56
56
  imports: ImportMetadataImports;
57
+ index?: ImportMetadataIndex;
57
58
  }
58
59
  export interface ImportMetadataImports {
59
60
  [uri: string]: string[];
60
61
  }
62
+ export interface ImportMetadataIndex {
63
+ [specifier: string]: string;
64
+ }
61
65
  export declare type ModuleEntry = FsModuleEntry | VirtualModuleEntry;
62
66
  interface BaseModuleEntry {
63
67
  id: string;
@@ -543,6 +547,7 @@ export interface ClientBootstrapConfig {
543
547
  disableInitDefer?: boolean;
544
548
  endpoints?: Endpoints;
545
549
  imports?: ImportMetadataImports;
550
+ index?: ImportMetadataIndex;
546
551
  /**
547
552
  /* @deprecated for mapping endpoint syntax
548
553
  /* Import map for the loader to resolve modules, defaults to a "lwr-importmap" script tag
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "build": "tsc -b"
9
9
  },
10
10
  "type": "module",
11
- "version": "0.4.4",
11
+ "version": "0.5.0",
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": "392aac8c314c72a0cb565e221bd6bc94f1c55f68"
30
+ "gitHead": "8b46ed1d391c744926ad65b442e5a9f9969d832e"
31
31
  }