@lwrjs/shared-utils 0.13.0-alpha.19 → 0.13.0-alpha.20
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/es/env.d.ts +1 -1
- package/build/es/env.js +1 -1
- package/package.json +5 -5
package/build/es/env.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare function isLambdaEnv(): boolean;
|
|
|
13
13
|
*/
|
|
14
14
|
export declare function isLocalDev(): boolean;
|
|
15
15
|
/**
|
|
16
|
-
* Create a serializable context for
|
|
16
|
+
* Create a serializable context for user-land exposed environment variables
|
|
17
17
|
*/
|
|
18
18
|
export declare function buildEnvironmentContext(runtimeParams: RuntimeParams): EnvironmentContext;
|
|
19
19
|
export declare const REQUEST_DEPTH_HEADER = "X-SFDC-Request-Depth";
|
package/build/es/env.js
CHANGED
|
@@ -51,7 +51,7 @@ export function isLocalDev() {
|
|
|
51
51
|
return process.env.MRT_HMR === 'true';
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
|
-
* Create a serializable context for
|
|
54
|
+
* Create a serializable context for user-land exposed environment variables
|
|
55
55
|
*/
|
|
56
56
|
export function buildEnvironmentContext(runtimeParams) {
|
|
57
57
|
// The baseBath from the config or set from the request (e.g. /shop)
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.13.0-alpha.
|
|
7
|
+
"version": "0.13.0-alpha.20",
|
|
8
8
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -37,25 +37,25 @@
|
|
|
37
37
|
"build/**/*.d.ts"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@lwrjs/diagnostics": "0.13.0-alpha.
|
|
40
|
+
"@lwrjs/diagnostics": "0.13.0-alpha.20",
|
|
41
41
|
"es-module-lexer": "^1.5.3",
|
|
42
42
|
"fast-json-stable-stringify": "^2.1.0",
|
|
43
43
|
"magic-string": "^0.30.9",
|
|
44
44
|
"mime-types": "^2.1.33",
|
|
45
45
|
"ms": "^2.1.3",
|
|
46
46
|
"parse5-sax-parser": "^6.0.1",
|
|
47
|
-
"path-to-regexp": "^6.2.
|
|
47
|
+
"path-to-regexp": "^6.2.2",
|
|
48
48
|
"resolve": "^1.22.8",
|
|
49
49
|
"rollup": "^2.78.0",
|
|
50
50
|
"slugify": "^1.4.5"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@lwrjs/types": "0.13.0-alpha.
|
|
53
|
+
"@lwrjs/types": "0.13.0-alpha.20",
|
|
54
54
|
"@types/mime-types": "2.1.4",
|
|
55
55
|
"@types/path-to-regexp": "^1.7.0"
|
|
56
56
|
},
|
|
57
57
|
"engines": {
|
|
58
58
|
"node": ">=18.0.0"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "2165594f2871f4f20a4083394e4372e67d1fa1b5"
|
|
61
61
|
}
|