@como/como-client 0.7.71 → 0.7.73

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/lib/como.js CHANGED
@@ -358,7 +358,7 @@ var Como = function () {
358
358
  this.comoData.token = credentials.accessToken;
359
359
  this.comoData.refreshToken = credentials.refreshToken;
360
360
  this.comoData.expiresIn = credentials.expiresIn;
361
- this.comoData.reCaptchaSiteKey = credentials.config ? credentials.config.reCaptchaSiteKey : null;
361
+ this.comoData.reCaptchaSiteKey = credentials.config ? credentials.config.recaptchaSiteKey : this.comoData.reCaptchaSiteKey;
362
362
  }
363
363
  }, {
364
364
  key: 'getExternalUrlByID',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@como/como-client",
3
- "version": "0.7.71",
3
+ "version": "0.7.73",
4
4
  "description": "Client module for Como's loaylty API",
5
5
  "main": "src/como.js",
6
6
  "scripts": {
package/src/como.js CHANGED
@@ -171,7 +171,7 @@ class Como {
171
171
  this.comoData.token = credentials.accessToken;
172
172
  this.comoData.refreshToken = credentials.refreshToken;
173
173
  this.comoData.expiresIn = credentials.expiresIn;
174
- this.comoData.reCaptchaSiteKey = credentials.config? credentials.config.reCaptchaSiteKey : null;
174
+ this.comoData.reCaptchaSiteKey = credentials.config? credentials.config.recaptchaSiteKey : this.comoData.reCaptchaSiteKey;
175
175
  }
176
176
 
177
177
  getExternalUrlByID(itemID, gpsData, assetID, accessibilityData) {