@lwrjs/types 0.6.0-alpha.10 → 0.6.0-alpha.14
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
|
@@ -132,6 +132,7 @@ export declare type ServiceEntry = [string, any?];
|
|
|
132
132
|
export declare type ServiceConfig = string | ServiceEntry;
|
|
133
133
|
export interface BundleConfig {
|
|
134
134
|
exclude?: string[];
|
|
135
|
+
UNSAFE_lwrDefaultExclude?: string[];
|
|
135
136
|
external?: Record<string, string>;
|
|
136
137
|
alias?: Record<string, string>;
|
|
137
138
|
}
|
package/build/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export * from './metrics.js';
|
|
|
10
10
|
export * from './serviceAPI/serviceAPI.js';
|
|
11
11
|
export * from './serviceAPI/loaderPlugins/loaderPlugins.js';
|
|
12
12
|
export * from './serviceAPI/handleStaleModule/handleStaleModule.js';
|
|
13
|
+
export * from './serviceAPI/appMetadata/appMetadata.js';
|
|
13
14
|
export declare type Json = undefined | null | boolean | number | string | Json[] | {
|
|
14
15
|
[prop: string]: Json;
|
|
15
16
|
};
|
package/build/index.js
CHANGED
|
@@ -5,4 +5,5 @@ export * from './metrics.js';
|
|
|
5
5
|
export * from './serviceAPI/serviceAPI.js';
|
|
6
6
|
export * from './serviceAPI/loaderPlugins/loaderPlugins.js';
|
|
7
7
|
export * from './serviceAPI/handleStaleModule/handleStaleModule.js';
|
|
8
|
+
export * from './serviceAPI/appMetadata/appMetadata.js';
|
|
8
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { RegisterLoaderHooks } from './loaderPlugins/loaderPlugins';
|
|
2
2
|
import { RegisterHandleStaleModuleHook } from './handleStaleModule/handleStaleModule';
|
|
3
|
+
import { AppMetadata } from './appMetadata/appMetadata';
|
|
3
4
|
export interface ServiceAPI {
|
|
4
5
|
addLoaderPlugin: NoOp | RegisterLoaderHooks;
|
|
5
6
|
handleStaleModule: RegisterHandleStaleModuleHook;
|
|
7
|
+
appMetadata: AppMetadata;
|
|
6
8
|
}
|
|
7
9
|
export interface NoOp {
|
|
8
10
|
(): void;
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"build": "tsc -b"
|
|
9
9
|
},
|
|
10
10
|
"type": "module",
|
|
11
|
-
"version": "0.6.0-alpha.
|
|
11
|
+
"version": "0.6.0-alpha.14",
|
|
12
12
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"engines": {
|
|
28
28
|
"node": ">=14.15.4 <17"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "2850ceddcf17cdc561abbdbeb465edc5d5391cfa"
|
|
31
31
|
}
|