Skip to content

Commit

Permalink
Export Builder from index
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbrand committed Nov 15, 2023
1 parent 6b24a2a commit b2211eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*global globalThis*/

import Strophe from './core.js';
import { $build, $msg, $pres, $iq } from './builder.js';
import Builder, { $build, $msg, $pres, $iq } from './builder.js';
import { stx, toStanza } from './stanza.js';

globalThis.$build = $build;
Expand All @@ -10,4 +10,4 @@ globalThis.$msg = $msg;
globalThis.$pres = $pres;
globalThis.Strophe = Strophe;

export { $build, $iq, $msg, $pres, Strophe, stx, toStanza };
export { Builder, $build, $iq, $msg, $pres, Strophe, stx, toStanza };
3 changes: 2 additions & 1 deletion src/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import Builder from './builder.js';
import { $build } from './builder.js';
import { $iq } from './builder.js';
import { $msg } from './builder.js';
import { $pres } from './builder.js';
import Strophe from './core.js';
import { stx } from './stanza.js';
import { toStanza } from './stanza.js';
export { $build, $iq, $msg, $pres, Strophe, stx, toStanza };
export { Builder, $build, $iq, $msg, $pres, Strophe, stx, toStanza };
//# sourceMappingURL=index.d.ts.map

0 comments on commit b2211eb

Please sign in to comment.