@salesforce/webapp-experimental 1.60.1 → 1.60.2
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/dist/proxy/routing.js +2 -2
- package/package.json +3 -3
package/dist/proxy/routing.js
CHANGED
|
@@ -21,8 +21,8 @@ function normalizeRoute(route) {
|
|
|
21
21
|
* @returns Route match result indicating the type and target, or null if no match
|
|
22
22
|
*/
|
|
23
23
|
export function matchRoute(pathname, basePath, rewrites, redirects) {
|
|
24
|
-
// under services, only allow graphql
|
|
25
|
-
const servicesRegex = new RegExp(`^${basePath || ""}/services/data/v\\d{2}\\.\\d/(graphql|ui-api)`);
|
|
24
|
+
// under services, only allow graphql, ui-api, and file upload config instead of allowing all connect endpoints
|
|
25
|
+
const servicesRegex = new RegExp(`^${basePath || ""}/services/data/v\\d{2}\\.\\d/(graphql|ui-api|connect/file/upload/config)`);
|
|
26
26
|
if (servicesRegex.test(pathname) || pathname.startsWith(`${basePath || ""}/lwr/apex/v`)) {
|
|
27
27
|
return { type: "api" };
|
|
28
28
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/webapp-experimental",
|
|
3
3
|
"description": "[experimental] Core package for Salesforce Web Applications",
|
|
4
|
-
"version": "1.60.
|
|
4
|
+
"version": "1.60.2",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@salesforce/core": "^8.23.4",
|
|
48
|
-
"@salesforce/sdk-data": "^1.60.
|
|
48
|
+
"@salesforce/sdk-data": "^1.60.2",
|
|
49
49
|
"axios": "^1.7.7",
|
|
50
50
|
"micromatch": "^4.0.8",
|
|
51
51
|
"path-to-regexp": "^8.3.0"
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"publishConfig": {
|
|
62
62
|
"access": "public"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "abc41ea9a3be79240ce212be95208320d197d14a"
|
|
65
65
|
}
|