@riocrypto/common 1.0.1320 → 1.0.1321
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.
|
@@ -89,6 +89,7 @@ export declare class RioClient {
|
|
|
89
89
|
hasAuthenticatorEnabled: boolean;
|
|
90
90
|
}>;
|
|
91
91
|
getAuth(id: string): Promise<Auth>;
|
|
92
|
+
getAuthWithNotId(): Promise<Auth>;
|
|
92
93
|
getAuths(): Promise<Auth[]>;
|
|
93
94
|
getSecurityQuestion(): Promise<SecurityQuestion>;
|
|
94
95
|
authHasSecurityQuestion(): Promise<Boolean>;
|
|
@@ -287,6 +287,12 @@ class RioClient {
|
|
|
287
287
|
return response.data;
|
|
288
288
|
});
|
|
289
289
|
}
|
|
290
|
+
getAuthWithNotId() {
|
|
291
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
292
|
+
const response = yield this.axios.get(`/api/auth/self`);
|
|
293
|
+
return response.data;
|
|
294
|
+
});
|
|
295
|
+
}
|
|
290
296
|
getAuths() {
|
|
291
297
|
return __awaiter(this, void 0, void 0, function* () {
|
|
292
298
|
const response = yield this.axios.get(`/api/auth`);
|