@seamapi/http 1.16.0 → 1.17.1

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/connect.cjs CHANGED
@@ -449,7 +449,10 @@ var warnOnInsecureuserIdentifierKey = (userIdentifierKey) => {
449
449
  );
450
450
  }
451
451
  };
452
- var isEmail = (value) => /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(value);
452
+ var isEmail = (value) => {
453
+ if (value.includes("!")) return false;
454
+ return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(value);
455
+ };
453
456
 
454
457
  // src/lib/seam/connect/seam-http-error.ts
455
458
  var SeamHttpApiError = class extends Error {
@@ -1197,7 +1200,7 @@ var SeamHttpAccessCodes = class _SeamHttpAccessCodes {
1197
1200
  path: "/access_codes/pull_backup_access_code",
1198
1201
  method: "post",
1199
1202
  body,
1200
- responseKey: "backup_access_code"
1203
+ responseKey: "access_code"
1201
1204
  });
1202
1205
  }
1203
1206
  update(body) {