Skip to content

Commit 5bdcdbe

Browse files
authored
Add Migrate User Password API (#22)
* Add Migrate User Password API * Bump version * return migrateUserPassword
1 parent ef1a63c commit 5bdcdbe

File tree

4 files changed

+24
-19
lines changed

4 files changed

+24
-19
lines changed

package-lock.json

Lines changed: 19 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"type": "git",
55
"url": "https://github.com/PropelAuth/express"
66
},
7-
"version": "2.1.31",
7+
"version": "2.1.32",
88
"license": "MIT",
99
"keywords": [
1010
"auth",
1111
"express",
1212
"user"
1313
],
1414
"dependencies": {
15-
"@propelauth/node": "^2.1.31"
15+
"@propelauth/node": "^2.1.32"
1616
},
1717
"devDependencies": {
1818
"@rollup/plugin-commonjs": "^19.0.0",

src/auth.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ export function initAuth(opts: AuthOptions) {
8585
createMagicLink: auth.createMagicLink,
8686
createAccessToken: auth.createAccessToken,
8787
migrateUserFromExternalSource: auth.migrateUserFromExternalSource,
88+
migrateUserPassword: auth.migrateUserPassword,
8889
disableUser2fa: auth.disableUser2fa,
8990
clearUserPassword: auth.clearUserPassword,
9091
inviteUserToOrg: auth.inviteUserToOrg,

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export {
1717
ForbiddenException,
1818
MagicLinkCreationException,
1919
MigrateUserException,
20+
MigrateUserPasswordException,
2021
Org,
2122
OrgIdToOrgMemberInfo,
2223
RemoveUserFromOrgException,
@@ -58,6 +59,7 @@ export type {
5859
LoginMethod,
5960
MagicLink,
6061
MigrateUserFromExternalSourceRequest,
62+
MigrateUserPasswordRequest,
6163
OrgApiKeyValidation,
6264
OrgQuery,
6365
OrgQueryResponse,

0 commit comments

Comments
 (0)