@seamapi/http 1.17.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 +4 -1
- package/dist/connect.cjs.map +1 -1
- package/lib/seam/connect/auth.js +6 -1
- package/lib/seam/connect/auth.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +4 -2
- package/src/lib/seam/connect/auth.ts +5 -2
- package/src/lib/version.ts +1 -1
package/dist/connect.cjs
CHANGED
|
@@ -449,7 +449,10 @@ var warnOnInsecureuserIdentifierKey = (userIdentifierKey) => {
|
|
|
449
449
|
);
|
|
450
450
|
}
|
|
451
451
|
};
|
|
452
|
-
var isEmail = (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 {
|