leadconduit-trustedform 1.18.1 → 1.18.2
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/CHANGELOG.md +4 -0
- package/lib/data_service.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
|
3
3
|
This project adheres to [Semantic Versioning](http://semver.org)
|
|
4
4
|
|
|
5
|
+
## [1.18.2] - 2022-03-23
|
|
6
|
+
### Fixed
|
|
7
|
+
- Allow TF staging ping URL in Data Service ([sc-37183](sc-37183/allow-a-trustedform-ping-url-to-be-passed))
|
|
8
|
+
|
|
5
9
|
## [1.18.1] - 2022-03-12
|
|
6
10
|
### Fixed
|
|
7
11
|
- Changed Data Service integration to allow TF ping URL passed via `trustedform_cert_url` (& removed `trustedform_ping_url`; [sc-37183](sc-37183/allow-a-trustedform-ping-url-to-be-passed))
|
package/lib/data_service.js
CHANGED
|
@@ -7,7 +7,7 @@ const validate = (vars) => {
|
|
|
7
7
|
|
|
8
8
|
// accept a TF ping URL here & skip the full cert validation
|
|
9
9
|
const certUrl = get(vars.lead, 'trustedform_cert_url', '');
|
|
10
|
-
if (certUrl.startsWith('https://ping.trustedform.com')) return;
|
|
10
|
+
if (certUrl.startsWith('https://ping.trustedform.com') || certUrl.startsWith('https://ping.staging.trustedform.com')) return;
|
|
11
11
|
|
|
12
12
|
const certValidate = require('./helpers').validate;
|
|
13
13
|
return certValidate(vars);
|