@salesforce/pwa-kit-runtime 3.16.0-preview.1 → 3.16.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/pwa-kit-runtime",
|
|
3
|
-
"version": "3.16.0
|
|
3
|
+
"version": "3.16.0",
|
|
4
4
|
"description": "The PWAKit Runtime",
|
|
5
5
|
"homepage": "https://github.com/SalesforceCommerceCloud/pwa-kit/tree/develop/packages/pwa-kit-runtime#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@loadable/component": "^5.15.3",
|
|
49
|
-
"@salesforce/pwa-kit-dev": "3.16.0
|
|
49
|
+
"@salesforce/pwa-kit-dev": "3.16.0",
|
|
50
50
|
"@serverless/event-mocks": "^1.1.1",
|
|
51
51
|
"aws-lambda-mock-context": "^3.2.1",
|
|
52
52
|
"fs-extra": "^11.1.1",
|
|
53
|
-
"internal-lib-build": "3.16.0
|
|
53
|
+
"internal-lib-build": "3.16.0",
|
|
54
54
|
"nock": "^13.3.0",
|
|
55
55
|
"nodemon": "^2.0.22",
|
|
56
56
|
"sinon": "^13.0.2",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"supertest": "^4.0.2"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
|
-
"@salesforce/pwa-kit-dev": "3.16.0
|
|
61
|
+
"@salesforce/pwa-kit-dev": "3.16.0"
|
|
62
62
|
},
|
|
63
63
|
"peerDependenciesMeta": {
|
|
64
64
|
"@salesforce/pwa-kit-dev": {
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"publishConfig": {
|
|
73
73
|
"directory": "dist"
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "6c5fadd745fbd4f666d0887f45d01719e86b3ead"
|
|
76
76
|
}
|
|
@@ -856,7 +856,7 @@ const RemoteServerFactory = exports.RemoteServerFactory = {
|
|
|
856
856
|
// Allow users to apply additional custom modifications to the proxy response
|
|
857
857
|
if (typeof options.onSLASPrivateProxyRes === 'function') {
|
|
858
858
|
try {
|
|
859
|
-
const customBuffer = options.onSLASPrivateProxyRes(
|
|
859
|
+
const customBuffer = options.onSLASPrivateProxyRes(responseBuffer, proxyRes, req, res);
|
|
860
860
|
// Only use the custom buffer if it was returned
|
|
861
861
|
if (customBuffer !== undefined) {
|
|
862
862
|
workingBuffer = customBuffer;
|