@ic-wallet-kit/hpl
Version:
Ic middleware wallet HPL protocol
17 lines (16 loc) • 988 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.checkLedgerPrincipal = exports.checkDictionaryPrincipal = void 0;
const checkDictionaryPrincipalHandler_1 = require("../../handlers/checks/checkDictionaryPrincipalHandler/checkDictionaryPrincipalHandler");
const checkLedgerPrincipalHandler_1 = require("../../handlers/checks/checkLedgerPrincipalHandler/checkLedgerPrincipalHandler");
const common_1 = require("@ic-wallet-kit/common");
const checkDictionaryPrincipal = async (form) => {
const result = await common_1.HandlerWrapper.callHandler(checkDictionaryPrincipalHandler_1.CheckDictionaryPrincipalHandler, form);
return result;
};
exports.checkDictionaryPrincipal = checkDictionaryPrincipal;
const checkLedgerPrincipal = async (form) => {
const result = await common_1.HandlerWrapper.callHandler(checkLedgerPrincipalHandler_1.CheckLedgerPrincipalHandler, form);
return result;
};
exports.checkLedgerPrincipal = checkLedgerPrincipal;