@adobe/alloy 2.13.0-beta.4 → 2.13.1-beta.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.
@@ -19,8 +19,9 @@ var _default = function _default(_ref) {
19
19
  var logger = _ref.logger,
20
20
  orgId = _ref.orgId,
21
21
  awaitVisitorOptIn = _ref.awaitVisitorOptIn;
22
- var Visitor = (0, _getVisitor.default)(window);
23
22
  return function () {
23
+ var Visitor = (0, _getVisitor.default)(window);
24
+
24
25
  if (Visitor) {
25
26
  // Need to explicitly wait for optIn because visitor will call callback
26
27
  // with invalid values prior to optIn being approved
@@ -15,5 +15,5 @@ governing permissions and limitations under the License.
15
15
  */
16
16
  // The __VERSION__ keyword will be replace at alloy build time with the package.json version.
17
17
  // see babel-plugin-version
18
- var _default = "2.13.0-beta.4";
18
+ var _default = "2.13.1-beta.0";
19
19
  exports.default = _default;
@@ -15,8 +15,9 @@ export default (({
15
15
  orgId,
16
16
  awaitVisitorOptIn
17
17
  }) => {
18
- const Visitor = getVisitor(window);
19
18
  return () => {
19
+ const Visitor = getVisitor(window);
20
+
20
21
  if (Visitor) {
21
22
  // Need to explicitly wait for optIn because visitor will call callback
22
23
  // with invalid values prior to optIn being approved
@@ -11,4 +11,4 @@ governing permissions and limitations under the License.
11
11
  */
12
12
  // The __VERSION__ keyword will be replace at alloy build time with the package.json version.
13
13
  // see babel-plugin-version
14
- export default "2.13.0-beta.4";
14
+ export default "2.13.1-beta.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/alloy",
3
- "version": "2.13.0-beta.4",
3
+ "version": "2.13.1-beta.0",
4
4
  "description": "Adobe Experience Platform Web SDK",
5
5
  "main": "libEs5/index.js",
6
6
  "module": "libEs6/index.js",
@@ -64,7 +64,7 @@
64
64
  "uuid": "^3.3.2"
65
65
  },
66
66
  "devDependencies": {
67
- "@adobe/alloy": "^2.13.0-beta.3",
67
+ "@adobe/alloy": "^2.13.0",
68
68
  "@babel/cli": "^7.12.8",
69
69
  "@babel/core": "^7.2.2",
70
70
  "@babel/plugin-proposal-object-rest-spread": "^7.3.2",
@@ -119,7 +119,7 @@
119
119
  "start-server-and-test": "^1.10.6",
120
120
  "testcafe": "^1.19.0",
121
121
  "testcafe-browser-provider-saucelabs": "^1.8.3",
122
- "testcafe-reporter-testrail": "^0.6.3",
122
+ "testcafe-reporter-json": "^2.2.0",
123
123
  "url-exists-nodejs": "^0.1.0",
124
124
  "url-parse": "^1.4.7",
125
125
  "yargs": "^16.2.0"