New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@usecapsule/user-management-client

Package Overview
Dependencies
Maintainers
5
Versions
151
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.20.0-dev.2 to 0.20.0-dev.3

6

client.ts

@@ -269,2 +269,8 @@ import axios, { AxiosInstance, AxiosRequestHeaders, AxiosResponseHeaders, InternalAxiosRequestConfig } from 'axios';

// POST /init/google
initGoogle = async (regenerate?: boolean): Promise<any> => {
const res = await this.baseRequest.post<{ userId?: string, sessionLookupId: string, biometricVerifiedAt?: number }>(`/init/google`);
return res;
}
// POST /biometrics/verify

@@ -271,0 +277,0 @@ verifyWebChallenge = async (body: verifyWebChallengeBody): Promise<any> => {

1

dist/client.d.ts

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

touchGoogle: (regenerate?: boolean) => Promise<any>;
initGoogle: (regenerate?: boolean) => Promise<any>;
verifyWebChallenge: (body: verifyWebChallengeBody) => Promise<any>;

@@ -122,0 +123,0 @@ getSessionChallenge: (userId: string) => Promise<any>;

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

}); };
// POST /init/google
this.initGoogle = function (regenerate) { 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("/init/google")];
case 1:
res = _a.sent();
return [2 /*return*/, res];
}
});
}); };
// POST /biometrics/verify

@@ -206,0 +218,0 @@ this.verifyWebChallenge = function (body) { return __awaiter(_this, void 0, void 0, function () {

2

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