@amplifyup/sdk 0.3.2 → 0.3.3-uat.109.gb9aa42a
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/dist/AmplifyRenderer.js +3 -3
- package/dist/AmplifyRenderer.js.map +1 -1
- package/dist/AmplifyRenderer.mjs +3 -3
- package/dist/AmplifyRenderer.mjs.map +1 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/react.js +3 -3
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +3 -3
- package/dist/react.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -599,7 +599,8 @@ declare class AmplifyUpSDK {
|
|
|
599
599
|
*/
|
|
600
600
|
trackFormSubmit(formId: string, formData?: EventProperties): void;
|
|
601
601
|
/**
|
|
602
|
-
* Track form field interaction
|
|
602
|
+
* Track form field interaction. The typed value is never sent: the event
|
|
603
|
+
* carries the field name and whether the field was filled.
|
|
603
604
|
*/
|
|
604
605
|
trackFormFieldInteraction(fieldName: string, fieldValue?: string): void;
|
|
605
606
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -599,7 +599,8 @@ declare class AmplifyUpSDK {
|
|
|
599
599
|
*/
|
|
600
600
|
trackFormSubmit(formId: string, formData?: EventProperties): void;
|
|
601
601
|
/**
|
|
602
|
-
* Track form field interaction
|
|
602
|
+
* Track form field interaction. The typed value is never sent: the event
|
|
603
|
+
* carries the field name and whether the field was filled.
|
|
603
604
|
*/
|
|
604
605
|
trackFormFieldInteraction(fieldName: string, fieldValue?: string): void;
|
|
605
606
|
/**
|
package/dist/index.js
CHANGED
|
@@ -2122,13 +2122,13 @@ var AmplifyUpSDK = class {
|
|
|
2122
2122
|
});
|
|
2123
2123
|
}
|
|
2124
2124
|
/**
|
|
2125
|
-
* Track form field interaction
|
|
2125
|
+
* Track form field interaction. The typed value is never sent: the event
|
|
2126
|
+
* carries the field name and whether the field was filled.
|
|
2126
2127
|
*/
|
|
2127
2128
|
trackFormFieldInteraction(fieldName, fieldValue) {
|
|
2128
2129
|
this.track("Form Field Interaction", {
|
|
2129
2130
|
fieldName,
|
|
2130
|
-
|
|
2131
|
-
// Truncate for privacy
|
|
2131
|
+
filled: Boolean(fieldValue)
|
|
2132
2132
|
});
|
|
2133
2133
|
}
|
|
2134
2134
|
/**
|