@como/como-client 0.7.67 → 0.7.68

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
@@ -1618,13 +1618,13 @@ var Como = function () {
1618
1618
  }
1619
1619
 
1620
1620
  /**
1621
- * Return service recaptch site key
1621
+ * Return service recaptch config
1622
1622
  */
1623
1623
 
1624
1624
  }, {
1625
- key: 'getRecaptchaSiteKey',
1626
- value: function getRecaptchaSiteKey() {
1627
- return this.comoData.reCaptchaSiteKey;
1625
+ key: 'getRecaptchaConfig',
1626
+ value: function getRecaptchaConfig() {
1627
+ return { reCaptchaSiteKey: this.comoData.reCaptchaSiteKey, baseUrl: this.comoData.gateway };
1628
1628
  }
1629
1629
 
1630
1630
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@como/como-client",
3
- "version": "0.7.67",
3
+ "version": "0.7.68",
4
4
  "description": "Client module for Como's loaylty API",
5
5
  "main": "src/como.js",
6
6
  "scripts": {
package/src/como.js CHANGED
@@ -679,9 +679,9 @@ class Como {
679
679
  getAssets() { return this.comoData.assets; }
680
680
 
681
681
  /**
682
- * Return service recaptch site key
682
+ * Return service recaptch config
683
683
  */
684
- getRecaptchaSiteKey() { return this.comoData.reCaptchaSiteKey; }
684
+ getRecaptchaConfig() { return {reCaptchaSiteKey: this.comoData.reCaptchaSiteKey, baseUrl: this.comoData.gateway } }
685
685
 
686
686
  /**
687
687
  * Returns the location specific registration web url