@whitewall/blip-warehouse 0.0.9 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,7 +24,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
24
24
  value: mod,
25
25
  enumerable: true
26
26
  }) : target, mod));
27
- var __toDynamicImportESM = (isNodeMode) => (mod) => __toESM(mod.default, isNodeMode);
28
27
 
29
28
  //#endregion
30
29
 
@@ -34,9 +33,9 @@ Object.defineProperty(exports, '__commonJSMin', {
34
33
  return __commonJSMin;
35
34
  }
36
35
  });
37
- Object.defineProperty(exports, '__toDynamicImportESM', {
36
+ Object.defineProperty(exports, '__toESM', {
38
37
  enumerable: true,
39
38
  get: function () {
40
- return __toDynamicImportESM;
39
+ return __toESM;
41
40
  }
42
41
  });
package/dist/cjs/index.js CHANGED
@@ -1,9 +1,7 @@
1
- const require_chunk = require('./chunk-DYk-Zboy.js');
1
+ const require_chunk = require('./chunk-U64pC571.js');
2
2
 
3
3
  //#region src/client.ts
4
4
  var BlipWarehouseClient = class {
5
- baseUrl;
6
- token;
7
5
  constructor(config) {
8
6
  this.baseUrl = config.baseUrl?.replace(/\/$/, "") ?? "https://api.warehouse.whitewall.dev";
9
7
  this.token = config.token;
@@ -39,7 +37,7 @@ var BlipWarehouseClient = class {
39
37
  const url = `${this.baseUrl}/blip/historical-ingest`;
40
38
  let dispatcher;
41
39
  if (typeof process !== "undefined" && process.versions && process.versions.node) {
42
- const { Agent } = await Promise.resolve().then(() => require_chunk.__toDynamicImportESM()(require("./undici-CNAV_IlA.js")));
40
+ const { Agent } = await Promise.resolve().then(() => /* @__PURE__ */ require_chunk.__toESM(require("./undici-AlvjFlUK.js").default));
43
41
  dispatcher = new Agent({
44
42
  connectTimeout: 6e4 * 30,
45
43
  bodyTimeout: 6e4 * 30