Socket
Socket
Sign inDemoInstall

@usecapsule/user-management-client

Package Overview
Dependencies
Maintainers
8
Versions
114
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.2.0 to 0.3.0

8

client.ts

@@ -386,2 +386,10 @@ import axios, { AxiosInstance } from 'axios';

// POST '/users/:userId/resend-verification-code
async resendVerificationCode(userId: string) {
const res = await this.baseRequest.post<any>(
`/users/${userId}/resend-verification-code`
);
return res;
}
async tempTrasmissionInit(message: string, userId?: string) {

@@ -388,0 +396,0 @@ const body = { message, userId }

1

dist/client.d.ts

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

getCapsuleShare(userId: string, walletId: string): Promise<import("axios").AxiosResponse<any, any>>;
resendVerificationCode(userId: string): Promise<import("axios").AxiosResponse<any, any>>;
tempTrasmissionInit(message: string, userId?: string): Promise<import("axios").AxiosResponse<any, any>>;

@@ -142,0 +143,0 @@ tempTrasmission(id: string): Promise<import("axios").AxiosResponse<any, any>>;

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

};
// POST '/users/:userId/resend-verification-code
Client.prototype.resendVerificationCode = function (userId) {
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/".concat(userId, "/resend-verification-code"))];
case 1:
res = _a.sent();
return [2 /*return*/, res];
}
});
});
};
Client.prototype.tempTrasmissionInit = function (message, userId) {

@@ -529,0 +543,0 @@ return __awaiter(this, void 0, void 0, function () {

2

package.json
{
"name": "@usecapsule/user-management-client",
"version": "0.2.0",
"version": "0.3.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