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