@biconomy/abstractjs
Version:
SDK for Biconomy integration with support for account abstraction, smart accounts, ERC-4337.
12 lines • 431 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.resolveInstructions = void 0;
const resolveInstructions = async (instructions) => {
return (await Promise.all(instructions
.flatMap((iIs) => typeof iIs === "function"
? iIs()
: iIs)
.filter(Boolean))).flat();
};
exports.resolveInstructions = resolveInstructions;
//# sourceMappingURL=resolveInstructions.js.map