@xapp/stentor-form-widget-channel 1.87.1 → 1.90.0
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/FormWidgetEnv.d.ts +14 -0
- package/package.json +5 -5
package/lib/FormWidgetEnv.d.ts
CHANGED
|
@@ -144,6 +144,20 @@ export interface FormWidgetEnv {
|
|
|
144
144
|
* When provided, it will display custom partner content (white label partner)
|
|
145
145
|
*/
|
|
146
146
|
readonly partnerId?: string;
|
|
147
|
+
/**
|
|
148
|
+
* TrustedForm configuration for lead certification.
|
|
149
|
+
*
|
|
150
|
+
* When provided, the TrustedForm script is loaded and the certificate URL
|
|
151
|
+
* is included in the form submission data.
|
|
152
|
+
*/
|
|
153
|
+
readonly trustedForm?: {
|
|
154
|
+
/**
|
|
155
|
+
* The TrustedForm script URL provided by the customer's TrustedForm account.
|
|
156
|
+
*
|
|
157
|
+
* @example "https://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&ping_field=xxTrustedFormPingUrl"
|
|
158
|
+
*/
|
|
159
|
+
readonly scriptUrl: string;
|
|
160
|
+
};
|
|
147
161
|
/**
|
|
148
162
|
* Extra custom values
|
|
149
163
|
*/
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.
|
|
7
|
+
"version": "1.90.0",
|
|
8
8
|
"description": "Form Widget Channel for stentor 📣",
|
|
9
9
|
"types": "lib/index",
|
|
10
10
|
"main": "lib/index",
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
"mocha": "9.2.2",
|
|
24
24
|
"sinon": "13.0.2",
|
|
25
25
|
"sinon-chai": "3.7.0",
|
|
26
|
-
"stentor-models": "1.
|
|
26
|
+
"stentor-models": "1.72.0",
|
|
27
27
|
"ts-node": "10.9.2",
|
|
28
28
|
"typescript": "5.9.3"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"stentor-constants": "1.
|
|
32
|
-
"stentor-guards": "1.
|
|
31
|
+
"stentor-constants": "1.72.0",
|
|
32
|
+
"stentor-guards": "1.72.0"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"stentor-models": "^1.0.0"
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"build": "tsc -d true -p .",
|
|
39
39
|
"clean": "rm -rf ./lib/*"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "52caced737e8b5cbd2d211ed244266925e92e295"
|
|
42
42
|
}
|