Comparing version 0.3.14 to 0.3.16
@@ -251,3 +251,3 @@ import { request } from "undici"; | ||
const { body, statusCode } = await request( | ||
`${this.endpoint}/users/me/email`, | ||
`${this.endpoint}/users/me/password`, | ||
{ | ||
@@ -259,3 +259,3 @@ headers: { | ||
method: "PUT", | ||
body: JSON.stringify({ oldPassword, newPassword }) | ||
body: JSON.stringify({ old_password: oldPassword, new_password: newPassword }) | ||
} | ||
@@ -262,0 +262,0 @@ ); |
{ | ||
"name": "runik", | ||
"version": "0.3.14", | ||
"version": "0.3.16", | ||
"description": "SDK for Runik API", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -5,3 +5,3 @@  | ||
Built for Runik API v0.3.6 | ||
Built for Runik API v0.3.8 | ||
@@ -8,0 +8,0 @@  |
21132