@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/index.mjs CHANGED
@@ -2118,13 +2118,13 @@ var AmplifyUpSDK = class {
2118
2118
  });
2119
2119
  }
2120
2120
  /**
2121
- * Track form field interaction
2121
+ * Track form field interaction. The typed value is never sent: the event
2122
+ * carries the field name and whether the field was filled.
2122
2123
  */
2123
2124
  trackFormFieldInteraction(fieldName, fieldValue) {
2124
2125
  this.track("Form Field Interaction", {
2125
2126
  fieldName,
2126
- fieldValue: fieldValue ? fieldValue.substring(0, 100) : void 0
2127
- // Truncate for privacy
2127
+ filled: Boolean(fieldValue)
2128
2128
  });
2129
2129
  }
2130
2130
  /**