@shopgate/engage 7.30.1-beta.3 → 7.30.1-beta.4

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.
@@ -188,7 +188,7 @@ const grantPermissions = (options = {}) => (dispatch, getState) => new Promise(a
188
188
  // When available, use the duration of the native request as heuristic for user interaction.
189
189
  // It's more accurate, since it won't include the time that communication with the app takes.
190
190
  const requestDuration = typeof nativeRequestDuration === 'number' ? nativeRequestDuration : Date.now() - tsBeforeRequest;
191
- wasUserInteraction = requestDuration > 1300;
191
+ wasUserInteraction = requestDuration > 1000;
192
192
  }
193
193
  optInRequested = wasUserInteraction;
194
194
  dispatch(hardOptInSelected({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopgate/engage",
3
- "version": "7.30.1-beta.3",
3
+ "version": "7.30.1-beta.4",
4
4
  "description": "Shopgate's ENGAGE library.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Shopgate <support@shopgate.com>",
@@ -17,12 +17,12 @@
17
17
  "dependencies": {
18
18
  "@emotion/react": "^11.14.0",
19
19
  "@shopgate/native-modules": "1.0.0-beta.25",
20
- "@shopgate/pwa-common": "7.30.1-beta.3",
21
- "@shopgate/pwa-common-commerce": "7.30.1-beta.3",
22
- "@shopgate/pwa-core": "7.30.1-beta.3",
23
- "@shopgate/pwa-ui-ios": "7.30.1-beta.3",
24
- "@shopgate/pwa-ui-material": "7.30.1-beta.3",
25
- "@shopgate/pwa-ui-shared": "7.30.1-beta.3",
20
+ "@shopgate/pwa-common": "7.30.1-beta.4",
21
+ "@shopgate/pwa-common-commerce": "7.30.1-beta.4",
22
+ "@shopgate/pwa-core": "7.30.1-beta.4",
23
+ "@shopgate/pwa-ui-ios": "7.30.1-beta.4",
24
+ "@shopgate/pwa-ui-material": "7.30.1-beta.4",
25
+ "@shopgate/pwa-ui-shared": "7.30.1-beta.4",
26
26
  "@stripe/react-stripe-js": "^1.16.5",
27
27
  "@stripe/stripe-js": "^1.44.1",
28
28
  "@virtuous/conductor": "~2.5.0",