UNPKG

@fnlb-project/stanza

Version:

Modern XMPP in the browser, with a JSON API

21 lines (20 loc) 734 B
"use strict"; // ==================================================================== // XEP-0202: Entity Time // -------------------------------------------------------------------- // Source: https://xmpp.org/extensions/xep-0202.html // Version: 2.0 (2009-09-15) // ==================================================================== Object.defineProperty(exports, "__esModule", { value: true }); const jxt_1 = require("../jxt"); const Namespaces_1 = require("../Namespaces"); const Protocol = { element: 'time', fields: { tzo: (0, jxt_1.childTimezoneOffset)(null, 'tzo'), utc: (0, jxt_1.childDate)(null, 'utc') }, namespace: Namespaces_1.NS_TIME, path: 'iq.time' }; exports.default = Protocol;