1 |
|
2 |
|
3 | import { root } from "@hpcc-js/util";
|
4 | import { DOMParser } from "xmldom";
|
5 | root.DOMParser = DOMParser;
|
6 |
|
7 | import fetch from "node-fetch";
|
8 | if (typeof root.fetch === "undefined") {
|
9 | root.fetch = fetch;
|
10 |
|
11 | var https = require("https");
|
12 | root.fetch.__agent = new https.Agent({
|
13 | rejectUnauthorized: false
|
14 | });
|
15 | }
|
16 |
|
17 | import { Buffer } from "safe-buffer";
|
18 | if (typeof root.btoa === "undefined") {
|
19 | root.btoa = function (str) {
|
20 | return Buffer.from(str || "", "utf8").toString("base64");
|
21 | };
|
22 | }
|
23 | export * from "./index-common";
|
24 |
|
25 | export * from "./clienttools/eclcc";
|
26 | export * from "./clienttools/eclMeta";
|
27 |
|
\ | No newline at end of file |