UNPKG

@fnlb-project/stanza

Version:

Modern XMPP in the browser, with a JSON API

20 lines (19 loc) 778 B
"use strict"; // ==================================================================== // XEP-0158: CAPTCHA Forms // -------------------------------------------------------------------- // Source: https://xmpp.org/extensions/xep-0158.html // Version: 1.0 (2008-09-03) // ==================================================================== Object.defineProperty(exports, "__esModule", { value: true }); const jxt_1 = require("../jxt"); const Namespaces_1 = require("../Namespaces"); const Protocol = [ (0, jxt_1.extendMessage)({ captcha: (0, jxt_1.splicePath)(Namespaces_1.NS_CAPTCHA, 'captcha', 'dataform') }), (0, jxt_1.extendIQ)({ captcha: (0, jxt_1.splicePath)(Namespaces_1.NS_CAPTCHA, 'captcha', 'dataform') }) ]; exports.default = Protocol;