@salesforce/pwa-kit-runtime 3.9.1 → 3.9.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/pwa-kit-runtime",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.2",
|
|
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.9.
|
|
49
|
+
"@salesforce/pwa-kit-dev": "3.9.2",
|
|
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.9.
|
|
53
|
+
"internal-lib-build": "3.9.2",
|
|
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.9.
|
|
61
|
+
"@salesforce/pwa-kit-dev": "3.9.2"
|
|
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": "d982971e3a1cc1f65ce296e526c459b2ea5f83fe"
|
|
76
76
|
}
|
|
@@ -59,7 +59,11 @@ class MetricsSender {
|
|
|
59
59
|
apiVersion: '2010-08-01',
|
|
60
60
|
// The AWS_REGION variable is defined by the Lambda
|
|
61
61
|
// environment.
|
|
62
|
-
region: process.env.AWS_REGION || 'us-east-1'
|
|
62
|
+
region: process.env.AWS_REGION || 'us-east-1',
|
|
63
|
+
// Setting maxRetries to 0 will prevent the SDK from retrying.
|
|
64
|
+
// This is necessary because under high load, there will be backpressure
|
|
65
|
+
// on the Lambda function, and causing severe performance issues (400-500ms latency)
|
|
66
|
+
maxRetries: 0
|
|
63
67
|
});
|
|
64
68
|
}
|
|
65
69
|
return this._CW;
|