leadconduit-trustedform 2.6.0 → 2.7.1
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/.github/PULL_REQUEST_TEMPLATE.md +2 -0
- package/.github/workflows/release.yml +7 -28
- package/docs/index.md +1 -0
- package/lib/trustedform.js +5 -1
- package/lib/ui/public/app/v4fields.js +5 -0
- package/lib/ui/public/dist/index.js +1 -1
- package/lib/ui/public/dist/index.js.LICENSE.txt +2 -4
- package/package.json +1 -1
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
- [ ] Bug fix (non-breaking change that fixes an issue)
|
|
7
7
|
- [ ] New feature (non-breaking change that adds functionality)
|
|
8
8
|
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
|
|
9
|
+
- [ ] UI Change Only
|
|
10
|
+
- [ ] Chore
|
|
9
11
|
- [ ] Configuration change
|
|
10
12
|
- [ ] Technical Debt
|
|
11
13
|
- [ ] Documentation
|
|
@@ -7,33 +7,12 @@ on:
|
|
|
7
7
|
description: "version | patch | minor | major"
|
|
8
8
|
required: true
|
|
9
9
|
default: "patch"
|
|
10
|
+
|
|
10
11
|
jobs:
|
|
11
12
|
publish:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
|
19
|
-
steps:
|
|
20
|
-
- uses: actions/checkout@v3
|
|
21
|
-
with:
|
|
22
|
-
token: ${{ secrets.GH_TOKEN }}
|
|
23
|
-
- name: Install Node.js
|
|
24
|
-
uses: actions/setup-node@v3
|
|
25
|
-
with:
|
|
26
|
-
node-version: 18
|
|
27
|
-
- name: Install packages
|
|
28
|
-
run: npm install
|
|
29
|
-
env:
|
|
30
|
-
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
|
|
31
|
-
- name: version and publish
|
|
32
|
-
run: |
|
|
33
|
-
git stash
|
|
34
|
-
git config user.name $GITHUB_ACTOR
|
|
35
|
-
git config user.email gh-actions-${GITHUB_ACTOR}@github.com
|
|
36
|
-
git remote add gh-origin https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
|
|
37
|
-
npm version $VERSION -m "Version %s"
|
|
38
|
-
npm publish
|
|
39
|
-
git push gh-origin $GITHUB_REF --tags
|
|
13
|
+
uses: activeprospect/github-action-workflows/.github/workflows/release.yml@master
|
|
14
|
+
with:
|
|
15
|
+
version: ${{ github.event.inputs.version }}
|
|
16
|
+
secrets:
|
|
17
|
+
NPM_PUBLISH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
|
|
18
|
+
|
package/docs/index.md
CHANGED
package/lib/trustedform.js
CHANGED
|
@@ -81,7 +81,8 @@ const formatProperties = (insights) => {
|
|
|
81
81
|
{ mapping: 'page_url', value: 'page_url' },
|
|
82
82
|
{ mapping: 'parent_page_url', value: 'parent_page_url' },
|
|
83
83
|
{ mapping: 'time_on_page', value: 'seconds_on_page' },
|
|
84
|
-
{ mapping: 'bot_detected', value: 'bot_detected' }
|
|
84
|
+
{ mapping: 'bot_detected', value: 'bot_detected' },
|
|
85
|
+
{ mapping: 'confirmed_owner', value: 'confirmed_owner' }
|
|
85
86
|
];
|
|
86
87
|
|
|
87
88
|
let selectedProps = insightsProps.map((field) => {
|
|
@@ -122,6 +123,7 @@ request.variables = () => [
|
|
|
122
123
|
{ name: 'insights.page_url', type: 'boolean', required: false, description: 'Request TrustedForm Insights page URL data?' },
|
|
123
124
|
{ name: 'insights.page_scan', type: 'boolean', required: false, description: 'Request TrustedForm Insights page scan data?' },
|
|
124
125
|
{ name: 'insights.bot_detected', type: 'boolean', required: false, description: 'Request TrustedForm Insights bot detection data?' },
|
|
126
|
+
{ name: 'insights.confirmed_owner', type: 'boolean', required: false, description: 'Request TrustedForm Insights confirmed owner data?' },
|
|
125
127
|
{ name: 'trustedform.scan_required_text', type: 'array', required: false, description: 'A list of required text to scan for. TrustedForm will then perform a case and whitespace insensitive search for the string.' },
|
|
126
128
|
{ name: 'trustedform.scan_forbidden_text', type: 'array', required: false, description: 'A list of forbidden text to scan for. TrustedForm will then perform a case and whitespace insensitive search for the string.' },
|
|
127
129
|
{ name: 'trustedform.scan_delimiter', type: 'string', required: false, description: 'Use this parameter to designate a delimiter when wrapping wildcards or template variables; defaults to |.' },
|
|
@@ -216,6 +218,7 @@ const response = (vars, req, res) => {
|
|
|
216
218
|
page_url: parsed.insights?.properties?.page_url,
|
|
217
219
|
parent_page_url: parsed.insights?.properties?.parent_page_url,
|
|
218
220
|
bot_detected: parsed.insights?.properties?.bot_detected,
|
|
221
|
+
confirmed_owner: parsed.insights?.properties?.confirmed_owner,
|
|
219
222
|
one_to_one: parsed.verify?.result?.one_to_one,
|
|
220
223
|
verify
|
|
221
224
|
}, (v) => { return !isUndefined(v); });
|
|
@@ -293,6 +296,7 @@ response.variables = () => [
|
|
|
293
296
|
{ name: 'page_url', type: 'string', description: 'The URL of the page hosting TrustedForm Certify.' },
|
|
294
297
|
{ name: 'parent_page_url', type: 'string', description: 'The parent URL of the page hosting TrustedForm Certify, if framed.' },
|
|
295
298
|
{ name: 'bot_detected', type: 'boolean', description: 'A boolean indicating whether the events documented were likely produced by a non-human entity based on ActiveProspect\'s proprietary algorithms.' },
|
|
299
|
+
{ name: 'confirmed_owner', type: 'string', description: 'A string indicating the verified owner of the domain, page, app, or site where the lead was generated.' },
|
|
296
300
|
{ name: 'one_to_one', type: 'boolean', description: 'A boolean indicating if the cert structure satisfied the requirements for 1:1 consent.' },
|
|
297
301
|
{ name: 'verify.languages', type: 'array', description: 'A list of the consent languages detected within the certificate' },
|
|
298
302
|
{ name: 'verify.language_approved', type: 'boolean', description: 'A boolean indicating if any of the consent languages found have been approved in your account\'s consent language manager.' },
|
|
@@ -34,6 +34,11 @@ module.exports = {
|
|
|
34
34
|
description: 'A determination of whether the events documented were likely produced by a non-human entity based on ActiveProspect’s proprietary algorithms. <a href="https://community.activeprospect.com/posts/5424099" target="_blank">Learn more.</a>',
|
|
35
35
|
enabled: false
|
|
36
36
|
},
|
|
37
|
+
confirmed_owner: {
|
|
38
|
+
name: 'Confirmed Owner',
|
|
39
|
+
description: 'A string indicating the verified owner of the domain, page, app, or site where the lead was generated. <a href="https://community.activeprospect.com/posts/5871525" target="_blank">Learn More.</a>',
|
|
40
|
+
enabled: false
|
|
41
|
+
},
|
|
37
42
|
form_input_method: {
|
|
38
43
|
name: 'Form Input Method',
|
|
39
44
|
description: 'A list of ways the consumer input their data onto the form including one or more of the following: typing, paste, autofill.',
|