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
12
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.8 to 0.16.0-dev.1

8

client.ts

@@ -474,2 +474,10 @@ import axios, { AxiosInstance, AxiosRequestHeaders, AxiosResponseHeaders } from 'axios';

// POST /recovery/users/:userId/wallets/:walletId/finish
async finalizeRecovery(userId: string, walletId: string) {
const res = await this.baseRequest.post<any>(
`/recovery/users/${userId}/wallets/${walletId}/finish`
);
return res;
}
// POST /recovery/verify-email

@@ -476,0 +484,0 @@ async verifyEmailForRecovery(email: string, verificationCode: string) {

1

dist/client.d.ts

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

initializeRecovery(email: string): Promise<import("axios").AxiosResponse<any, any>>;
finalizeRecovery(userId: string, walletId: string): Promise<import("axios").AxiosResponse<any, any>>;
verifyEmailForRecovery(email: string, verificationCode: string): Promise<import("axios").AxiosResponse<any, any>>;

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

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

};
// POST /recovery/users/:userId/wallets/:walletId/finish
Client.prototype.finalizeRecovery = function (userId, walletId) {
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("/recovery/users/".concat(userId, "/wallets/").concat(walletId, "/finish"))];
case 1:
res = _a.sent();
return [2 /*return*/, res];
}
});
});
};
// POST /recovery/verify-email

@@ -628,0 +642,0 @@ Client.prototype.verifyEmailForRecovery = function (email, verificationCode) {

2

package.json
{
"name": "@usecapsule/user-management-client",
"version": "0.15.8",
"version": "0.16.0-dev.1",
"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