UNPKG

@cranberry-money/shared-services

Version:

Platform-agnostic API services with pure functions and dependency injection. Includes auth, portfolios, assets, countries, sectors, and more.

4 lines 685 B
export const requestVerificationChallenge = (apiClient, uuid, userAccountUuid) => apiClient.post(`/api/wallets/${uuid}/request-verification/`, {}, userAccountUuid ? { params: { user_account: userAccountUuid } } : undefined); export const verifyWalletSignature = (apiClient, uuid, data, userAccountUuid) => apiClient.post(`/api/wallets/${uuid}/verify-signature/`, data, userAccountUuid ? { params: { user_account: userAccountUuid } } : undefined); export const syncWallet = (apiClient, uuid, userAccountUuid) => apiClient.post(`/api/wallets/${uuid}/sync/`, {}, userAccountUuid ? { params: { user_account: userAccountUuid } } : undefined); //# sourceMappingURL=wallet-verification.js.map