diff --git a/src/index.js b/src/index.js index 18dce961..518d90a5 100644 --- a/src/index.js +++ b/src/index.js @@ -185,4 +185,4 @@ globalThis.$msg = $msg; globalThis.$pres = $pres; globalThis.Strophe = Strophe; -export { Builder, $build, $iq, $msg, $pres, Strophe, Stanza, stx, toStanza }; +export { Builder, $build, $iq, $msg, $pres, Strophe, Stanza, stx, toStanza, Request }; diff --git a/src/types/index.d.ts b/src/types/index.d.ts index b0610eb5..f2592f80 100644 --- a/src/types/index.d.ts +++ b/src/types/index.d.ts @@ -201,8 +201,8 @@ export const Strophe: { import { Stanza } from './stanza.js'; import { stx } from './stanza.js'; import { toStanza } from './stanza.js'; -import * as shims from './shims.js'; import Request from './request.js'; +import * as shims from './shims.js'; import Bosh from './bosh.js'; import Websocket from './websocket.js'; import WorkerWebsocket from './worker-websocket.js'; @@ -221,5 +221,5 @@ import SASLMechanism from './sasl.js'; import { Status } from './constants.js'; import TimedHandler from './timed-handler.js'; import * as utils from './utils.js'; -export { Builder, $build, $iq, $msg, $pres, Stanza, stx, toStanza }; +export { Builder, $build, $iq, $msg, $pres, Stanza, stx, toStanza, Request }; //# sourceMappingURL=index.d.ts.map \ No newline at end of file