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
10
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.15.3 to 0.15.4

2

dist/client.d.ts

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

enable2FA(email: string, verificationCode: string): Promise<import("axios").AxiosResponse<any, any>>;
setup2FA(email: string): Promise<import("axios").AxiosResponse<any, any>>;
setup2FA(userId: string): Promise<import("axios").AxiosResponse<any, any>>;
sendVerificationCodeForRecovery(email: string): Promise<import("axios").AxiosResponse<any, any>>;

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

@@ -600,4 +600,4 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

};
// POST '/users/setup-2fa'
Client.prototype.setup2FA = function (email) {
// POST '/users/:userId/setup-2fa'
Client.prototype.setup2FA = function (userId) {
return __awaiter(this, void 0, void 0, function () {

@@ -607,3 +607,3 @@ var res;

switch (_a.label) {
case 0: return [4 /*yield*/, this.baseRequest.post('/users/setup-2fa', { email: email })];
case 0: return [4 /*yield*/, this.baseRequest.post("/users/".concat(userId, "/setup-2fa"))];
case 1:

@@ -610,0 +610,0 @@ res = _a.sent();

{
"name": "@usecapsule/user-management-client",
"version": "0.15.3",
"version": "0.15.4",
"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