authscape 1.0.680 → 1.0.682

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/index.js CHANGED
@@ -9230,7 +9230,7 @@ function _PrivateLabelPageModule() {
9230
9230
 
9231
9231
  // check for redirect
9232
9232
  if (dataResponse.redirectTrafficToCanonical) {
9233
- data = {
9233
+ data.redirect = {
9234
9234
  redirect: {
9235
9235
  destination: dataResponse.canonicalBaseUrl,
9236
9236
  permanent: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "authscape",
3
- "version": "1.0.680",
3
+ "version": "1.0.682",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -41,12 +41,12 @@ export async function PrivateLabelPageModule(apiUri, host, resolvedUrl) {
41
41
  // check for redirect
42
42
  if (dataResponse.redirectTrafficToCanonical)
43
43
  {
44
- data = {
44
+ data.redirect = {
45
45
  redirect: {
46
- destination: dataResponse.canonicalBaseUrl,
47
- permanent: false,
46
+ destination: dataResponse.canonicalBaseUrl,
47
+ permanent: false,
48
48
  },
49
- };
49
+ }
50
50
  }
51
51
  }
52
52
  }