@eaccess/auth 0.1.10 → 0.1.12
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.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2440,6 +2440,9 @@ var AuthManager = class {
|
|
|
2440
2440
|
async initiatePasswordResetForUserBy(identifier, expiresAfter, callback) {
|
|
2441
2441
|
return initiatePasswordResetForUserBy(this.config, identifier, expiresAfter, callback);
|
|
2442
2442
|
}
|
|
2443
|
+
async userExistsByEmail(email) {
|
|
2444
|
+
return userExistsByEmail(this.config, email);
|
|
2445
|
+
}
|
|
2443
2446
|
async forceLogoutForUserBy(identifier) {
|
|
2444
2447
|
const result = await forceLogoutForUserBy(this.config, identifier);
|
|
2445
2448
|
if (this.getId() === result.accountId) {
|