@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 +4 -4
- package/package.json +1 -1
- package/src/como.js +2 -2
package/lib/como.js
CHANGED
|
@@ -1618,13 +1618,13 @@ var Como = function () {
|
|
|
1618
1618
|
}
|
|
1619
1619
|
|
|
1620
1620
|
/**
|
|
1621
|
-
* Return service recaptch
|
|
1621
|
+
* Return service recaptch config
|
|
1622
1622
|
*/
|
|
1623
1623
|
|
|
1624
1624
|
}, {
|
|
1625
|
-
key: '
|
|
1626
|
-
value: function
|
|
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
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
|
|
682
|
+
* Return service recaptch config
|
|
683
683
|
*/
|
|
684
|
-
|
|
684
|
+
getRecaptchaConfig() { return {reCaptchaSiteKey: this.comoData.reCaptchaSiteKey, baseUrl: this.comoData.gateway } }
|
|
685
685
|
|
|
686
686
|
/**
|
|
687
687
|
* Returns the location specific registration web url
|