Socket
Socket
Sign inDemoInstall

@usecapsule/user-management-client

Package Overview
Dependencies
Maintainers
7
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 1.2.0 to 1.3.0

4

dist/cjs/client.js

@@ -152,2 +152,6 @@ "use strict";

});
// POST /wallets/pregen/claim
this.claimPregenWallet = (body) => __awaiter(this, void 0, void 0, function* () {
yield this.baseRequest.post(`/wallets/pregen/claim`, body);
});
// POST /users/:userId/wallets/:walletId/transactions/send

@@ -154,0 +158,0 @@ this.sendTransaction = (userId, walletId, body) => __awaiter(this, void 0, void 0, function* () {

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

});
// POST /wallets/pregen/claim
this.claimPregenWallet = (body) => __awaiter(this, void 0, void 0, function* () {
yield this.baseRequest.post(`/wallets/pregen/claim`, body);
});
// POST /users/:userId/wallets/:walletId/transactions/send

@@ -148,0 +152,0 @@ this.sendTransaction = (userId, walletId, body) => __awaiter(this, void 0, void 0, function* () {

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

}
interface claimPreGenWalletBody {
userId: string;
walletId: string;
}
interface signTransactionBody {

@@ -172,2 +176,3 @@ transaction: string;

getPregenWallets: (email: string) => Promise<getWalletsRes>;
claimPregenWallet: (body?: claimPreGenWalletBody) => Promise<void>;
sendTransaction: (userId: string, walletId: string, body: sendTransactionBody) => Promise<any>;

@@ -174,0 +179,0 @@ signTransaction: (userId: string, walletId: string, body: signTransactionBody) => Promise<any>;

4

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

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

},
"gitHead": "9bea780673093cac8a9ba5b40cf9ca4165f06611"
"gitHead": "b5bd244b11cc1ff1a21b87639ad0cf36893509e7"
}
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