@bagelink/sdk 1.6.36 → 1.6.41
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.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/dist/index.d.cts
CHANGED
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -124,7 +124,7 @@ class BagelAuth {
|
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
async resetPassword(ctx: { token: string,
|
|
127
|
+
async resetPassword(ctx: { token: string, new_password: string }) {
|
|
128
128
|
return this.bagel.post('auth/reset-password', ctx).catch((err) => {
|
|
129
129
|
throw responses(err.response?.data?.detail)
|
|
130
130
|
})
|