@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/react.mjs CHANGED
@@ -2197,13 +2197,13 @@ var AmplifyUpSDK = class {
2197
2197
  });
2198
2198
  }
2199
2199
  /**
2200
- * Track form field interaction
2200
+ * Track form field interaction. The typed value is never sent: the event
2201
+ * carries the field name and whether the field was filled.
2201
2202
  */
2202
2203
  trackFormFieldInteraction(fieldName, fieldValue) {
2203
2204
  this.track("Form Field Interaction", {
2204
2205
  fieldName,
2205
- fieldValue: fieldValue ? fieldValue.substring(0, 100) : void 0
2206
- // Truncate for privacy
2206
+ filled: Boolean(fieldValue)
2207
2207
  });
2208
2208
  }
2209
2209
  /**