@milaboratories/pl-client 2.4.19 → 2.4.21

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.
package/dist/index.mjs CHANGED
@@ -11036,7 +11036,7 @@ const qu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11036
11036
  unwrapHolder: zc,
11037
11037
  wrapInEphHolder: Jc,
11038
11038
  wrapInHolder: Gc
11039
- }, Symbol.toStringTag, { value: "Module" })), Kn = 1e3, qn = 1e4, Vn = 31 * 24 * 60 * 60, jn = 12 * 24 * 60 * 60, vn = "exponential", Mn = 10, Gn = 4, Jn = 2, zn = 50, Hn = 0.3;
11039
+ }, Symbol.toStringTag, { value: "Module" })), Kn = 2e3, qn = 3e4, Vn = 31 * 24 * 60 * 60, jn = 12 * 24 * 60 * 60, vn = "exponential", Mn = 10, Gn = 4, Jn = 2, zn = 50, Hn = 0.3;
11040
11040
  function B(o) {
11041
11041
  if (!o) return;
11042
11042
  const e = Number(o);
@@ -11516,7 +11516,7 @@ class Fn {
11516
11516
  timeout: this.conf.defaultRequestTimeout,
11517
11517
  channelCredentials: this.conf.ssl ? En.createSsl() : En.createInsecure(),
11518
11518
  clientOptions: {
11519
- "grpc.use_local_subchannel_pool": 1,
11519
+ "grpc.keepalive_time_ms": 3e3,
11520
11520
  interceptors: i
11521
11521
  }
11522
11522
  };
@@ -11605,8 +11605,8 @@ class Fn {
11605
11605
  });
11606
11606
  }
11607
11607
  /** Closes underlying transport */
11608
- close() {
11609
- this.grpcTransport.close();
11608
+ async close() {
11609
+ this.grpcTransport.close(), await this.httpDispatcher.destroy();
11610
11610
  }
11611
11611
  }
11612
11612
  const cn = {
@@ -11737,8 +11737,8 @@ class fe {
11737
11737
  return this.drivers.set(e.name, i), i;
11738
11738
  }
11739
11739
  /** Closes underlying transport */
11740
- close() {
11741
- this.ll.close();
11740
+ async close() {
11741
+ await this.ll.close();
11742
11742
  }
11743
11743
  static async init(e, t, i = {}) {
11744
11744
  const n = new fe(e, t, i);