UNPKG

@ic-wallet-kit/hpl

Version:
17 lines (16 loc) 988 B
"use strict"; 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;