Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@usecapsule/user-management-client

Package Overview
Dependencies
Maintainers
9
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@usecapsule/user-management-client - npm Package Compare versions

Comparing version 0.11.0 to 0.12.0

12

client.ts

@@ -381,2 +381,14 @@ import axios, { AxiosInstance } from 'axios';

// POST /users/cancel-recovery
async cancelRecoveryAttempt(email: string) {
const res = await this.baseRequest.post<any>(
`/users/cancel-recovery`,
null,
{
params: { email }
}
);
return res;
}
// POST /users/recovery-verification-code

@@ -383,0 +395,0 @@ async sendVerificationCodeForRecovery(email: string) {

1

dist/client.d.ts

@@ -142,2 +142,3 @@ export declare const USER_NOT_VERIFIED = "user must verify biometrics";

resendVerificationCode(userId: string): Promise<import("axios").AxiosResponse<any, any>>;
cancelRecoveryAttempt(email: string): Promise<import("axios").AxiosResponse<any, any>>;
sendVerificationCodeForRecovery(email: string): Promise<import("axios").AxiosResponse<any, any>>;

@@ -144,0 +145,0 @@ verifyEmailForRecovery(email: string, verificationCode: string): Promise<import("axios").AxiosResponse<any, any>>;

@@ -511,2 +511,18 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

};
// POST /users/cancel-recovery
Client.prototype.cancelRecoveryAttempt = function (email) {
return __awaiter(this, void 0, void 0, function () {
var res;
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, this.baseRequest.post("/users/cancel-recovery", null, {
params: { email: email }
})];
case 1:
res = _a.sent();
return [2 /*return*/, res];
}
});
});
};
// POST /users/recovery-verification-code

@@ -513,0 +529,0 @@ Client.prototype.sendVerificationCodeForRecovery = function (email) {

2

package.json
{
"name": "@usecapsule/user-management-client",
"version": "0.11.0",
"version": "0.12.0",
"main": "dist/client.js",

@@ -5,0 +5,0 @@ "types": "dist/client.d.ts",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc