UNPKG

@ic-wallet-kit/hpl

Version:
23 lines (22 loc) 1.22 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.editHplAccount = exports.addHplAccount = exports.getHplAccountList = void 0; const addHplAccountHandler_1 = require("../../handlers/accounts/addHplAccountHandler/addHplAccountHandler"); const editHplAccountHandler_1 = require("../../handlers/accounts/editHplAccountHandler/editHplAccountHandler"); const getHplAccountListHandler_1 = require("../../handlers/accounts/getHplAccountListHandler/getHplAccountListHandler"); const common_1 = require("@ic-wallet-kit/common"); const getHplAccountList = async (form) => { const result = await common_1.HandlerWrapper.callHandler(getHplAccountListHandler_1.GetHplAccountListHandler, form); return result; }; exports.getHplAccountList = getHplAccountList; const addHplAccount = async (form) => { const result = await common_1.HandlerWrapper.callHandler(addHplAccountHandler_1.AddHplAccountHandler, form); return result; }; exports.addHplAccount = addHplAccount; const editHplAccount = async (form) => { const result = await common_1.HandlerWrapper.callHandler(editHplAccountHandler_1.EditHplAccountHandler, form); return result; }; exports.editHplAccount = editHplAccount;