@inneropen/marvin-sdk 1.10.4 → 1.10.5
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 -3
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1173,19 +1173,19 @@ var AuthClient = class extends HttpClient {
|
|
|
1173
1173
|
* Returns the created user object
|
|
1174
1174
|
*/
|
|
1175
1175
|
async register(data) {
|
|
1176
|
-
return this.post("/users/register", data);
|
|
1176
|
+
return this.post("/api/users/register", data);
|
|
1177
1177
|
}
|
|
1178
1178
|
/**
|
|
1179
1179
|
* Request password reset (sends email with token)
|
|
1180
1180
|
*/
|
|
1181
1181
|
async forgotPassword(data) {
|
|
1182
|
-
return this.post("/users/forgot-password", data);
|
|
1182
|
+
return this.post("/api/users/forgot-password", data);
|
|
1183
1183
|
}
|
|
1184
1184
|
/**
|
|
1185
1185
|
* Reset password with token from email
|
|
1186
1186
|
*/
|
|
1187
1187
|
async resetPassword(data) {
|
|
1188
|
-
return this.post("/users/reset-password", data);
|
|
1188
|
+
return this.post("/api/users/reset-password", data);
|
|
1189
1189
|
}
|
|
1190
1190
|
/**
|
|
1191
1191
|
* Login with username and password
|
package/dist/index.js
CHANGED
|
@@ -791,19 +791,19 @@ var AuthClient = class extends HttpClient {
|
|
|
791
791
|
* Returns the created user object
|
|
792
792
|
*/
|
|
793
793
|
async register(data) {
|
|
794
|
-
return this.post("/users/register", data);
|
|
794
|
+
return this.post("/api/users/register", data);
|
|
795
795
|
}
|
|
796
796
|
/**
|
|
797
797
|
* Request password reset (sends email with token)
|
|
798
798
|
*/
|
|
799
799
|
async forgotPassword(data) {
|
|
800
|
-
return this.post("/users/forgot-password", data);
|
|
800
|
+
return this.post("/api/users/forgot-password", data);
|
|
801
801
|
}
|
|
802
802
|
/**
|
|
803
803
|
* Reset password with token from email
|
|
804
804
|
*/
|
|
805
805
|
async resetPassword(data) {
|
|
806
|
-
return this.post("/users/reset-password", data);
|
|
806
|
+
return this.post("/api/users/reset-password", data);
|
|
807
807
|
}
|
|
808
808
|
/**
|
|
809
809
|
* Login with username and password
|