@usecapsule/user-management-client
Advanced tools
Comparing version 1.32.0 to 1.33.0
@@ -280,3 +280,3 @@ "use strict"; | ||
// POST /users/:userId/wallets/set | ||
this.setCurrentWalletIds = (userId_1, walletIds_1, ...args_1) => __awaiter(this, [userId_1, walletIds_1, ...args_1], void 0, function* (userId, walletIds, needsWallet = false, sessionLookupId) { | ||
this.setCurrentWalletIds = (userId_1, walletIds_1, ...args_1) => __awaiter(this, [userId_1, walletIds_1, ...args_1], void 0, function* (userId, walletIds, needsWallet = false, sessionLookupId, newDeviceSessionLookupId) { | ||
const res = yield this.baseRequest.post(`/users/${userId}/wallets/set`, { | ||
@@ -286,2 +286,3 @@ walletIds, | ||
sessionLookupId, | ||
newDeviceSessionLookupId, | ||
}); | ||
@@ -288,0 +289,0 @@ return res; |
@@ -274,3 +274,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
// POST /users/:userId/wallets/set | ||
this.setCurrentWalletIds = (userId_1, walletIds_1, ...args_1) => __awaiter(this, [userId_1, walletIds_1, ...args_1], void 0, function* (userId, walletIds, needsWallet = false, sessionLookupId) { | ||
this.setCurrentWalletIds = (userId_1, walletIds_1, ...args_1) => __awaiter(this, [userId_1, walletIds_1, ...args_1], void 0, function* (userId, walletIds, needsWallet = false, sessionLookupId, newDeviceSessionLookupId) { | ||
const res = yield this.baseRequest.post(`/users/${userId}/wallets/set`, { | ||
@@ -280,2 +280,3 @@ walletIds, | ||
sessionLookupId, | ||
newDeviceSessionLookupId, | ||
}); | ||
@@ -282,0 +283,0 @@ return res; |
@@ -361,3 +361,3 @@ import { AxiosResponse } from 'axios'; | ||
getAllWallets: (userId: string) => Promise<AxiosResponse<getWalletsRes, any>>; | ||
setCurrentWalletIds: (userId: string, walletIds: CurrentWalletIds, needsWallet?: boolean, sessionLookupId?: string) => Promise<any>; | ||
setCurrentWalletIds: (userId: string, walletIds: CurrentWalletIds, needsWallet?: boolean, sessionLookupId?: string, newDeviceSessionLookupId?: string) => Promise<any>; | ||
login: (props: { | ||
@@ -364,0 +364,0 @@ email: string; |
{ | ||
"name": "@usecapsule/user-management-client", | ||
"version": "1.32.0", | ||
"version": "1.33.0", | ||
"main": "dist/cjs/index.js", | ||
@@ -33,3 +33,3 @@ "module": "dist/esm/index.js", | ||
}, | ||
"gitHead": "cfc1326578146dc6c64dd7508a821011bb406ac2" | ||
"gitHead": "ac836711e959c5f1e628c3cea600c581274abdac" | ||
} |
100639
2250