UNPKG

@metamask/snaps-sdk

Version:

A library containing the core functionality for building MetaMask Snaps

12 lines 569 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TextStruct = void 0; const superstruct_1 = require("@metamask/superstruct"); const internals_1 = require("../../internals/index.cjs"); const nodes_1 = require("../nodes.cjs"); exports.TextStruct = (0, superstruct_1.assign)(nodes_1.LiteralStruct, (0, superstruct_1.object)({ type: (0, internals_1.literal)(nodes_1.NodeType.Text), value: (0, superstruct_1.string)(), markdown: (0, superstruct_1.optional)((0, superstruct_1.boolean)()), })); //# sourceMappingURL=text.cjs.map