Skip to content

Commit

Permalink
Export Request from index.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbrand committed Apr 1, 2024
1 parent 31f9199 commit 57ff5e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
4 changes: 2 additions & 2 deletions src/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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

0 comments on commit 57ff5e7

Please sign in to comment.