@d4l/collect-lib 1.33.0 → 1.33.2

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
@@ -1253,6 +1253,7 @@ var toQuestionnaireResponseItem = (answer) => {
1253
1253
  case "string":
1254
1254
  case "text":
1255
1255
  case "geo-location":
1256
+ case "postal-code":
1256
1257
  return {
1257
1258
  linkId: answer.id,
1258
1259
  text: answer.text,
@@ -4560,7 +4561,7 @@ var HybridEncrypter = class {
4560
4561
  donation.encrypted,
4561
4562
  donation.iv
4562
4563
  );
4563
- return this.converter.uint8ArrayToUTF8(decryptedDonation);
4564
+ return Buffer9.from(decryptedDonation).toString("utf8");
4564
4565
  };
4565
4566
  this.getDataKey = () => {
4566
4567
  return forge2.random.getBytesSync(KEY_LENGTH);