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
7
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 1.8.0-dev.1 to 1.8.0

13

dist/cjs/client.js

@@ -515,15 +515,2 @@ "use strict";

}
uploadEncryptedPrivateKey(userId, encryptedPrivateKey, encryptionKeyHash) {
return __awaiter(this, void 0, void 0, function* () {
const body = { encryptedPrivateKey, encryptionKeyHash };
const res = yield this.baseRequest.post(`/users/${userId}/encryptedPrivateKey`, body);
return res.data;
});
}
getEncryptedPrivateKeys(userId, encryptionKeyHash) {
return __awaiter(this, void 0, void 0, function* () {
const res = yield this.baseRequest.get(`/users/${userId}/encryptedPrivateKeys/${encryptionKeyHash}`);
return res.data;
});
}
}

@@ -530,0 +517,0 @@ exports.default = Client;

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

}
uploadEncryptedPrivateKey(userId, encryptedPrivateKey, encryptionKeyHash) {
return __awaiter(this, void 0, void 0, function* () {
const body = { encryptedPrivateKey, encryptionKeyHash };
const res = yield this.baseRequest.post(`/users/${userId}/encryptedPrivateKey`, body);
return res.data;
});
}
getEncryptedPrivateKeys(userId, encryptionKeyHash) {
return __awaiter(this, void 0, void 0, function* () {
const res = yield this.baseRequest.get(`/users/${userId}/encryptedPrivateKeys/${encryptionKeyHash}`);
return res.data;
});
}
}

@@ -524,0 +511,0 @@ export default Client;

2

dist/types/client.d.ts

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

keepSessionAlive(userId: string): Promise<any>;
uploadEncryptedPrivateKey(userId: string, encryptedPrivateKey: string, encryptionKeyHash: string): Promise<any>;
getEncryptedPrivateKeys(userId: string, encryptionKeyHash: string): Promise<any>;
}
export default Client;

5

package.json
{
"name": "@usecapsule/user-management-client",
"version": "1.8.0-dev.1",
"version": "1.8.0",
"main": "dist/cjs/index.js",

@@ -32,3 +32,4 @@ "module": "dist/esm/index.js",

}
}
},
"gitHead": "7dc3c17d190883750104a10433ecf7d9d18464c2"
}
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