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.1 to 1.9.0-alpha.0

13

dist/cjs/client.js

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

}
uploadEncryptedWalletPrivateKey(userId, encryptedWalletPrivateKey, encryptionKeyHash, biometricPublicKey) {
return __awaiter(this, void 0, void 0, function* () {
const body = { encryptedWalletPrivateKey, encryptionKeyHash, biometricPublicKey };
const res = yield this.baseRequest.post(`/users/${userId}/encrypted-wallet-private-keys`, body);
return res.data;
});
}
getEncryptedWalletPrivateKeys(userId, encryptionKeyHash) {
return __awaiter(this, void 0, void 0, function* () {
const res = yield this.baseRequest.get(`/users/${userId}/encrypted-wallet-private-keys/${encryptionKeyHash}`);
return res.data;
});
}
}

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

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

}
uploadEncryptedWalletPrivateKey(userId, encryptedWalletPrivateKey, encryptionKeyHash, biometricPublicKey) {
return __awaiter(this, void 0, void 0, function* () {
const body = { encryptedWalletPrivateKey, encryptionKeyHash, biometricPublicKey };
const res = yield this.baseRequest.post(`/users/${userId}/encrypted-wallet-private-keys`, body);
return res.data;
});
}
getEncryptedWalletPrivateKeys(userId, encryptionKeyHash) {
return __awaiter(this, void 0, void 0, function* () {
const res = yield this.baseRequest.get(`/users/${userId}/encrypted-wallet-private-keys/${encryptionKeyHash}`);
return res.data;
});
}
}

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

2

dist/types/client.d.ts

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

keepSessionAlive(userId: string): Promise<any>;
uploadEncryptedWalletPrivateKey(userId: string, encryptedWalletPrivateKey: string, encryptionKeyHash: string, biometricPublicKey: string): Promise<any>;
getEncryptedWalletPrivateKeys(userId: string, encryptionKeyHash: string): Promise<any>;
}
export default Client;

4

package.json
{
"name": "@usecapsule/user-management-client",
"version": "1.8.1",
"version": "1.9.0-alpha.0",
"main": "dist/cjs/index.js",

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

},
"gitHead": "05ab8b03d82d27ff6815b29620d32db20d36ce50"
"gitHead": "300cf8164e19b09331ef5ef80835a076ba0f576a"
}
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