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
5
Versions
148
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.6 to 0.20.0-dev.7

12

client.ts

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

// POST /touch/twitter
touchTwitter = async (): Promise<any> => {
const res = await this.baseRequest.post<any>(`/touch/twitter`);
return res;
}
// POST /init/twitter
initTwitter = async (): Promise<any> => {
const res = await this.baseRequest.post<any>(`/init/twitter`);
return res;
}
// POST /biometrics/verify

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

2

dist/client.d.ts

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

initGoogle: () => Promise<any>;
touchTwitter: () => Promise<any>;
initTwitter: () => Promise<any>;
verifyWebChallenge: (body: verifyWebChallengeBody) => Promise<any>;

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

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

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

@@ -218,0 +242,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.6",
"version": "0.20.0-dev.7",
"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