@digipair/skill-vespa 0.119.7 → 0.119.8

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.
Files changed (2) hide show
  1. package/dist/index.cjs.js +163 -155
  2. package/package.json +1 -1
package/dist/index.cjs.js CHANGED
@@ -34,7 +34,7 @@ var __export = function(target, all) {
34
34
  //#region src/documents/document.ts
35
35
  /**
36
36
  * Interface for interacting with a document.
37
- */ function _class_call_check$I(instance, Constructor) {
37
+ */ function _class_call_check$H(instance, Constructor) {
38
38
  if (!(instance instanceof Constructor)) {
39
39
  throw new TypeError("Cannot call a class as a function");
40
40
  }
@@ -53,7 +53,7 @@ function _define_property$11(obj, key, value) {
53
53
  return obj;
54
54
  }
55
55
  var Document = function Document(fields) {
56
- _class_call_check$I(this, Document);
56
+ _class_call_check$H(this, Document);
57
57
  _define_property$11(this, "pageContent", void 0);
58
58
  _define_property$11(this, "metadata", void 0);
59
59
  /**
@@ -235,12 +235,12 @@ function _array_with_holes$l(arr) {
235
235
  function _array_without_holes$G(arr) {
236
236
  if (Array.isArray(arr)) return _array_like_to_array$P(arr);
237
237
  }
238
- function _class_call_check$H(instance, Constructor) {
238
+ function _class_call_check$G(instance, Constructor) {
239
239
  if (!(instance instanceof Constructor)) {
240
240
  throw new TypeError("Cannot call a class as a function");
241
241
  }
242
242
  }
243
- function _defineProperties$B(target, props) {
243
+ function _defineProperties$A(target, props) {
244
244
  for(var i = 0; i < props.length; i++){
245
245
  var descriptor = props[i];
246
246
  descriptor.enumerable = descriptor.enumerable || false;
@@ -249,9 +249,9 @@ function _defineProperties$B(target, props) {
249
249
  Object.defineProperty(target, descriptor.key, descriptor);
250
250
  }
251
251
  }
252
- function _create_class$B(Constructor, protoProps, staticProps) {
253
- if (protoProps) _defineProperties$B(Constructor.prototype, protoProps);
254
- if (staticProps) _defineProperties$B(Constructor, staticProps);
252
+ function _create_class$A(Constructor, protoProps, staticProps) {
253
+ if (protoProps) _defineProperties$A(Constructor.prototype, protoProps);
254
+ if (staticProps) _defineProperties$A(Constructor, staticProps);
255
255
  return Constructor;
256
256
  }
257
257
  function _define_property$$(obj, key, value) {
@@ -425,7 +425,7 @@ var Serializable = /*#__PURE__*/ function() {
425
425
  for(var _len = arguments.length, _args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
426
426
  _args[_key - 1] = arguments[_key];
427
427
  }
428
- _class_call_check$H(this, Serializable);
428
+ _class_call_check$G(this, Serializable);
429
429
  _define_property$$(this, "lc_serializable", false);
430
430
  _define_property$$(this, "lc_kwargs", void 0);
431
431
  if (this.lc_serializable_keys !== void 0) this.lc_kwargs = Object.fromEntries(Object.entries(kwargs || {}).filter(function(param) {
@@ -435,7 +435,7 @@ var Serializable = /*#__PURE__*/ function() {
435
435
  }));
436
436
  else this.lc_kwargs = kwargs !== null && kwargs !== void 0 ? kwargs : {};
437
437
  }
438
- _create_class$B(Serializable, [
438
+ _create_class$A(Serializable, [
439
439
  {
440
440
  key: "lc_id",
441
441
  get: /**
@@ -577,7 +577,7 @@ function _assert_this_initialized$o(self) {
577
577
  }
578
578
  return self;
579
579
  }
580
- function _class_call_check$G(instance, Constructor) {
580
+ function _class_call_check$F(instance, Constructor) {
581
581
  if (!(instance instanceof Constructor)) {
582
582
  throw new TypeError("Cannot call a class as a function");
583
583
  }
@@ -712,7 +712,7 @@ function _isToolCall(toolCall) {
712
712
  _inherits$o(ToolInputParsingException, Error1);
713
713
  var _super = _create_super$o(ToolInputParsingException);
714
714
  function ToolInputParsingException(message, output) {
715
- _class_call_check$G(this, ToolInputParsingException);
715
+ _class_call_check$F(this, ToolInputParsingException);
716
716
  var _this;
717
717
  _this = _super.call(this, message);
718
718
  _define_property$_(_assert_this_initialized$o(_this), "output", void 0);
@@ -3120,12 +3120,12 @@ function _assert_this_initialized$n(self) {
3120
3120
  }
3121
3121
  return self;
3122
3122
  }
3123
- function _class_call_check$F(instance, Constructor) {
3123
+ function _class_call_check$E(instance, Constructor) {
3124
3124
  if (!(instance instanceof Constructor)) {
3125
3125
  throw new TypeError("Cannot call a class as a function");
3126
3126
  }
3127
3127
  }
3128
- function _defineProperties$A(target, props) {
3128
+ function _defineProperties$z(target, props) {
3129
3129
  for(var i = 0; i < props.length; i++){
3130
3130
  var descriptor = props[i];
3131
3131
  descriptor.enumerable = descriptor.enumerable || false;
@@ -3134,9 +3134,9 @@ function _defineProperties$A(target, props) {
3134
3134
  Object.defineProperty(target, descriptor.key, descriptor);
3135
3135
  }
3136
3136
  }
3137
- function _create_class$A(Constructor, protoProps, staticProps) {
3138
- if (protoProps) _defineProperties$A(Constructor.prototype, protoProps);
3139
- if (staticProps) _defineProperties$A(Constructor, staticProps);
3137
+ function _create_class$z(Constructor, protoProps, staticProps) {
3138
+ if (protoProps) _defineProperties$z(Constructor.prototype, protoProps);
3139
+ if (staticProps) _defineProperties$z(Constructor, staticProps);
3140
3140
  return Constructor;
3141
3141
  }
3142
3142
  function _define_property$X(obj, key, value) {
@@ -3392,7 +3392,7 @@ function stringifyWithDepthLimit(obj, depthLimit) {
3392
3392
  _inherits$n(_class, Serializable);
3393
3393
  var _super = _create_super$n(_class);
3394
3394
  function _class(arg) {
3395
- _class_call_check$F(this, _class);
3395
+ _class_call_check$E(this, _class);
3396
3396
  var _this;
3397
3397
  var fields = typeof arg === "string" || Array.isArray(arg) ? {
3398
3398
  content: arg
@@ -3429,7 +3429,7 @@ function stringifyWithDepthLimit(obj, depthLimit) {
3429
3429
  _this.id = fields.id;
3430
3430
  return _this;
3431
3431
  }
3432
- _create_class$A(_class, [
3432
+ _create_class$z(_class, [
3433
3433
  {
3434
3434
  key: "lc_aliases",
3435
3435
  get: function get() {
@@ -3660,10 +3660,10 @@ function _mergeObj(left, right) {
3660
3660
  _inherits$n(BaseMessageChunk, BaseMessage);
3661
3661
  var _super = _create_super$n(BaseMessageChunk);
3662
3662
  function BaseMessageChunk() {
3663
- _class_call_check$F(this, BaseMessageChunk);
3663
+ _class_call_check$E(this, BaseMessageChunk);
3664
3664
  return _super.apply(this, arguments);
3665
3665
  }
3666
- _create_class$A(BaseMessageChunk, null, [
3666
+ _create_class$z(BaseMessageChunk, null, [
3667
3667
  {
3668
3668
  key: "isInstance",
3669
3669
  value: function isInstance(obj) {
@@ -3680,12 +3680,12 @@ function _assert_this_initialized$m(self) {
3680
3680
  }
3681
3681
  return self;
3682
3682
  }
3683
- function _class_call_check$E(instance, Constructor) {
3683
+ function _class_call_check$D(instance, Constructor) {
3684
3684
  if (!(instance instanceof Constructor)) {
3685
3685
  throw new TypeError("Cannot call a class as a function");
3686
3686
  }
3687
3687
  }
3688
- function _defineProperties$z(target, props) {
3688
+ function _defineProperties$y(target, props) {
3689
3689
  for(var i = 0; i < props.length; i++){
3690
3690
  var descriptor = props[i];
3691
3691
  descriptor.enumerable = descriptor.enumerable || false;
@@ -3694,9 +3694,9 @@ function _defineProperties$z(target, props) {
3694
3694
  Object.defineProperty(target, descriptor.key, descriptor);
3695
3695
  }
3696
3696
  }
3697
- function _create_class$z(Constructor, protoProps, staticProps) {
3698
- if (protoProps) _defineProperties$z(Constructor.prototype, protoProps);
3699
- if (staticProps) _defineProperties$z(Constructor, staticProps);
3697
+ function _create_class$y(Constructor, protoProps, staticProps) {
3698
+ if (protoProps) _defineProperties$y(Constructor.prototype, protoProps);
3699
+ if (staticProps) _defineProperties$y(Constructor, staticProps);
3700
3700
  return Constructor;
3701
3701
  }
3702
3702
  function _define_property$W(obj, key, value) {
@@ -3860,7 +3860,7 @@ function isDirectToolOutput(x) {
3860
3860
  _inherits$m(ToolMessage, BaseMessage);
3861
3861
  var _super = _create_super$m(ToolMessage);
3862
3862
  function ToolMessage(fields, tool_call_id, name) {
3863
- _class_call_check$E(this, ToolMessage);
3863
+ _class_call_check$D(this, ToolMessage);
3864
3864
  var _this;
3865
3865
  var toolMessageFields = typeof fields === "string" || Array.isArray(fields) ? {
3866
3866
  content: fields,
@@ -3889,7 +3889,7 @@ function isDirectToolOutput(x) {
3889
3889
  _this.metadata = toolMessageFields.metadata;
3890
3890
  return _this;
3891
3891
  }
3892
- _create_class$z(ToolMessage, [
3892
+ _create_class$y(ToolMessage, [
3893
3893
  {
3894
3894
  key: "lc_aliases",
3895
3895
  get: function get() {
@@ -3930,7 +3930,7 @@ function isDirectToolOutput(x) {
3930
3930
  _inherits$m(ToolMessageChunk, BaseMessageChunk);
3931
3931
  var _super = _create_super$m(ToolMessageChunk);
3932
3932
  function ToolMessageChunk(fields) {
3933
- _class_call_check$E(this, ToolMessageChunk);
3933
+ _class_call_check$D(this, ToolMessageChunk);
3934
3934
  var _this;
3935
3935
  _this = _super.call(this, fields);
3936
3936
  _define_property$W(_assert_this_initialized$m(_this), "type", "tool");
@@ -3951,7 +3951,7 @@ function isDirectToolOutput(x) {
3951
3951
  _this.status = fields.status;
3952
3952
  return _this;
3953
3953
  }
3954
- _create_class$z(ToolMessageChunk, [
3954
+ _create_class$y(ToolMessageChunk, [
3955
3955
  {
3956
3956
  key: "concat",
3957
3957
  value: function concat(chunk) {
@@ -5413,12 +5413,12 @@ function _assert_this_initialized$l(self) {
5413
5413
  }
5414
5414
  return self;
5415
5415
  }
5416
- function _class_call_check$D(instance, Constructor) {
5416
+ function _class_call_check$C(instance, Constructor) {
5417
5417
  if (!(instance instanceof Constructor)) {
5418
5418
  throw new TypeError("Cannot call a class as a function");
5419
5419
  }
5420
5420
  }
5421
- function _defineProperties$y(target, props) {
5421
+ function _defineProperties$x(target, props) {
5422
5422
  for(var i = 0; i < props.length; i++){
5423
5423
  var descriptor = props[i];
5424
5424
  descriptor.enumerable = descriptor.enumerable || false;
@@ -5427,9 +5427,9 @@ function _defineProperties$y(target, props) {
5427
5427
  Object.defineProperty(target, descriptor.key, descriptor);
5428
5428
  }
5429
5429
  }
5430
- function _create_class$y(Constructor, protoProps, staticProps) {
5431
- if (protoProps) _defineProperties$y(Constructor.prototype, protoProps);
5432
- if (staticProps) _defineProperties$y(Constructor, staticProps);
5430
+ function _create_class$x(Constructor, protoProps, staticProps) {
5431
+ if (protoProps) _defineProperties$x(Constructor.prototype, protoProps);
5432
+ if (staticProps) _defineProperties$x(Constructor, staticProps);
5433
5433
  return Constructor;
5434
5434
  }
5435
5435
  function _define_property$T(obj, key, value) {
@@ -5607,7 +5607,7 @@ function _create_super$l(Derived) {
5607
5607
  _inherits$l(AIMessageChunk, BaseMessageChunk);
5608
5608
  var _super = _create_super$l(AIMessageChunk);
5609
5609
  function AIMessageChunk(fields) {
5610
- _class_call_check$D(this, AIMessageChunk);
5610
+ _class_call_check$C(this, AIMessageChunk);
5611
5611
  var _this;
5612
5612
  var initParams;
5613
5613
  var _fields_tool_calls;
@@ -5709,7 +5709,7 @@ function _create_super$l(Derived) {
5709
5709
  _this.usage_metadata = initParams.usage_metadata;
5710
5710
  return _this;
5711
5711
  }
5712
- _create_class$y(AIMessageChunk, [
5712
+ _create_class$x(AIMessageChunk, [
5713
5713
  {
5714
5714
  key: "lc_aliases",
5715
5715
  get: function get() {
@@ -5945,12 +5945,12 @@ function _assert_this_initialized$k(self) {
5945
5945
  }
5946
5946
  return self;
5947
5947
  }
5948
- function _class_call_check$C(instance, Constructor) {
5948
+ function _class_call_check$B(instance, Constructor) {
5949
5949
  if (!(instance instanceof Constructor)) {
5950
5950
  throw new TypeError("Cannot call a class as a function");
5951
5951
  }
5952
5952
  }
5953
- function _defineProperties$x(target, props) {
5953
+ function _defineProperties$w(target, props) {
5954
5954
  for(var i = 0; i < props.length; i++){
5955
5955
  var descriptor = props[i];
5956
5956
  descriptor.enumerable = descriptor.enumerable || false;
@@ -5959,9 +5959,9 @@ function _defineProperties$x(target, props) {
5959
5959
  Object.defineProperty(target, descriptor.key, descriptor);
5960
5960
  }
5961
5961
  }
5962
- function _create_class$x(Constructor, protoProps, staticProps) {
5963
- if (protoProps) _defineProperties$x(Constructor.prototype, protoProps);
5964
- if (staticProps) _defineProperties$x(Constructor, staticProps);
5962
+ function _create_class$w(Constructor, protoProps, staticProps) {
5963
+ if (protoProps) _defineProperties$w(Constructor.prototype, protoProps);
5964
+ if (staticProps) _defineProperties$w(Constructor, staticProps);
5965
5965
  return Constructor;
5966
5966
  }
5967
5967
  function _define_property$S(obj, key, value) {
@@ -6072,7 +6072,7 @@ __export(base_exports$1, {
6072
6072
  * overridden in derived classes to handle various events during the
6073
6073
  * execution of a LangChain application.
6074
6074
  */ var BaseCallbackHandlerMethodsClass = function BaseCallbackHandlerMethodsClass() {
6075
- _class_call_check$C(this, BaseCallbackHandlerMethodsClass);
6075
+ _class_call_check$B(this, BaseCallbackHandlerMethodsClass);
6076
6076
  };
6077
6077
  function callbackHandlerPrefersStreaming(x) {
6078
6078
  return "lc_prefer_streaming" in x && x.lc_prefer_streaming;
@@ -6086,7 +6086,7 @@ function callbackHandlerPrefersStreaming(x) {
6086
6086
  _inherits$k(BaseCallbackHandler1, BaseCallbackHandlerMethodsClass);
6087
6087
  var _super = _create_super$k(BaseCallbackHandler1);
6088
6088
  function BaseCallbackHandler1(input) {
6089
- _class_call_check$C(this, BaseCallbackHandler1);
6089
+ _class_call_check$B(this, BaseCallbackHandler1);
6090
6090
  var _this;
6091
6091
  _this = _super.call(this);
6092
6092
  _define_property$S(_assert_this_initialized$k(_this), "lc_serializable", false);
@@ -6117,7 +6117,7 @@ function callbackHandlerPrefersStreaming(x) {
6117
6117
  }
6118
6118
  return _this;
6119
6119
  }
6120
- _create_class$x(BaseCallbackHandler1, [
6120
+ _create_class$w(BaseCallbackHandler1, [
6121
6121
  {
6122
6122
  key: "lc_namespace",
6123
6123
  get: function get() {
@@ -6199,7 +6199,7 @@ function callbackHandlerPrefersStreaming(x) {
6199
6199
  _inherits$k(Handler, BaseCallbackHandler);
6200
6200
  var _super = _create_super$k(Handler);
6201
6201
  function Handler() {
6202
- _class_call_check$C(this, Handler);
6202
+ _class_call_check$B(this, Handler);
6203
6203
  var _this;
6204
6204
  _this = _super.call(this);
6205
6205
  _define_property$S(_assert_this_initialized$k(_this), "name", uuid__namespace.v4());
@@ -6799,12 +6799,12 @@ function getOtelEnabled() {
6799
6799
  }
6800
6800
 
6801
6801
  // Should not import any OTEL packages to avoid pulling in optional deps.
6802
- function _class_call_check$B(instance, Constructor) {
6802
+ function _class_call_check$A(instance, Constructor) {
6803
6803
  if (!(instance instanceof Constructor)) {
6804
6804
  throw new TypeError("Cannot call a class as a function");
6805
6805
  }
6806
6806
  }
6807
- function _defineProperties$w(target, props) {
6807
+ function _defineProperties$v(target, props) {
6808
6808
  for(var i = 0; i < props.length; i++){
6809
6809
  var descriptor = props[i];
6810
6810
  descriptor.enumerable = descriptor.enumerable || false;
@@ -6813,13 +6813,13 @@ function _defineProperties$w(target, props) {
6813
6813
  Object.defineProperty(target, descriptor.key, descriptor);
6814
6814
  }
6815
6815
  }
6816
- function _create_class$w(Constructor, protoProps, staticProps) {
6817
- if (protoProps) _defineProperties$w(Constructor.prototype, protoProps);
6816
+ function _create_class$v(Constructor, protoProps, staticProps) {
6817
+ if (protoProps) _defineProperties$v(Constructor.prototype, protoProps);
6818
6818
  return Constructor;
6819
6819
  }
6820
6820
  var MockTracer = /*#__PURE__*/ function() {
6821
6821
  function MockTracer() {
6822
- _class_call_check$B(this, MockTracer);
6822
+ _class_call_check$A(this, MockTracer);
6823
6823
  Object.defineProperty(this, "hasWarned", {
6824
6824
  enumerable: true,
6825
6825
  configurable: true,
@@ -6827,7 +6827,7 @@ var MockTracer = /*#__PURE__*/ function() {
6827
6827
  value: false
6828
6828
  });
6829
6829
  }
6830
- _create_class$w(MockTracer, [
6830
+ _create_class$v(MockTracer, [
6831
6831
  {
6832
6832
  key: "startActiveSpan",
6833
6833
  value: function startActiveSpan(_name) {
@@ -6861,7 +6861,7 @@ var MockTracer = /*#__PURE__*/ function() {
6861
6861
  }();
6862
6862
  var MockOTELTrace = /*#__PURE__*/ function() {
6863
6863
  function MockOTELTrace() {
6864
- _class_call_check$B(this, MockOTELTrace);
6864
+ _class_call_check$A(this, MockOTELTrace);
6865
6865
  Object.defineProperty(this, "mockTracer", {
6866
6866
  enumerable: true,
6867
6867
  configurable: true,
@@ -6869,7 +6869,7 @@ var MockOTELTrace = /*#__PURE__*/ function() {
6869
6869
  value: new MockTracer()
6870
6870
  });
6871
6871
  }
6872
- _create_class$w(MockOTELTrace, [
6872
+ _create_class$v(MockOTELTrace, [
6873
6873
  {
6874
6874
  key: "getTracer",
6875
6875
  value: function getTracer(_name, _version) {
@@ -6917,9 +6917,9 @@ var MockOTELTrace = /*#__PURE__*/ function() {
6917
6917
  }();
6918
6918
  var MockOTELContext = /*#__PURE__*/ function() {
6919
6919
  function MockOTELContext() {
6920
- _class_call_check$B(this, MockOTELContext);
6920
+ _class_call_check$A(this, MockOTELContext);
6921
6921
  }
6922
- _create_class$w(MockOTELContext, [
6922
+ _create_class$v(MockOTELContext, [
6923
6923
  {
6924
6924
  key: "active",
6925
6925
  value: function active() {
@@ -6942,9 +6942,9 @@ var mockOTELTrace = new MockOTELTrace();
6942
6942
  var mockOTELContext = new MockOTELContext();
6943
6943
  var OTELProvider = /*#__PURE__*/ function() {
6944
6944
  function OTELProvider() {
6945
- _class_call_check$B(this, OTELProvider);
6945
+ _class_call_check$A(this, OTELProvider);
6946
6946
  }
6947
- _create_class$w(OTELProvider, [
6947
+ _create_class$v(OTELProvider, [
6948
6948
  {
6949
6949
  key: "getTraceInstance",
6950
6950
  value: function getTraceInstance() {
@@ -7021,12 +7021,12 @@ function _array_like_to_array$G(arr, len) {
7021
7021
  function _array_with_holes$f(arr) {
7022
7022
  if (Array.isArray(arr)) return arr;
7023
7023
  }
7024
- function _class_call_check$A(instance, Constructor) {
7024
+ function _class_call_check$z(instance, Constructor) {
7025
7025
  if (!(instance instanceof Constructor)) {
7026
7026
  throw new TypeError("Cannot call a class as a function");
7027
7027
  }
7028
7028
  }
7029
- function _defineProperties$v(target, props) {
7029
+ function _defineProperties$u(target, props) {
7030
7030
  for(var i = 0; i < props.length; i++){
7031
7031
  var descriptor = props[i];
7032
7032
  descriptor.enumerable = descriptor.enumerable || false;
@@ -7035,8 +7035,8 @@ function _defineProperties$v(target, props) {
7035
7035
  Object.defineProperty(target, descriptor.key, descriptor);
7036
7036
  }
7037
7037
  }
7038
- function _create_class$v(Constructor, protoProps, staticProps) {
7039
- if (protoProps) _defineProperties$v(Constructor.prototype, protoProps);
7038
+ function _create_class$u(Constructor, protoProps, staticProps) {
7039
+ if (protoProps) _defineProperties$u(Constructor.prototype, protoProps);
7040
7040
  return Constructor;
7041
7041
  }
7042
7042
  function _iterable_to_array_limit$e(arr, i) {
@@ -7093,7 +7093,7 @@ function getOperationName(runType) {
7093
7093
  }
7094
7094
  var LangSmithToOTELTranslator = /*#__PURE__*/ function() {
7095
7095
  function LangSmithToOTELTranslator() {
7096
- _class_call_check$A(this, LangSmithToOTELTranslator);
7096
+ _class_call_check$z(this, LangSmithToOTELTranslator);
7097
7097
  Object.defineProperty(this, "spans", {
7098
7098
  enumerable: true,
7099
7099
  configurable: true,
@@ -7101,7 +7101,7 @@ var LangSmithToOTELTranslator = /*#__PURE__*/ function() {
7101
7101
  value: new Map()
7102
7102
  });
7103
7103
  }
7104
- _create_class$v(LangSmithToOTELTranslator, [
7104
+ _create_class$u(LangSmithToOTELTranslator, [
7105
7105
  {
7106
7106
  key: "exportBatch",
7107
7107
  value: function exportBatch(operations, otelContextMap) {
@@ -7840,7 +7840,7 @@ function _async_to_generator$r(fn) {
7840
7840
  });
7841
7841
  };
7842
7842
  }
7843
- function _class_call_check$z(instance, Constructor) {
7843
+ function _class_call_check$y(instance, Constructor) {
7844
7844
  if (!(instance instanceof Constructor)) {
7845
7845
  throw new TypeError("Cannot call a class as a function");
7846
7846
  }
@@ -8092,7 +8092,7 @@ var AbortError = /*#__PURE__*/ function(Error1) {
8092
8092
  _inherits$j(AbortError, Error1);
8093
8093
  var _super = _create_super$j(AbortError);
8094
8094
  function AbortError(message) {
8095
- _class_call_check$z(this, AbortError);
8095
+ _class_call_check$y(this, AbortError);
8096
8096
  var _this;
8097
8097
  _this = _super.call(this);
8098
8098
  if (_instanceof$k(message, Error)) {
@@ -8548,7 +8548,7 @@ function _assert_this_initialized$i(self) {
8548
8548
  }
8549
8549
  return self;
8550
8550
  }
8551
- function _class_call_check$y(instance, Constructor) {
8551
+ function _class_call_check$x(instance, Constructor) {
8552
8552
  if (!(instance instanceof Constructor)) {
8553
8553
  throw new TypeError("Cannot call a class as a function");
8554
8554
  }
@@ -8671,7 +8671,7 @@ var TimeoutError = /*#__PURE__*/ function(Error1) {
8671
8671
  _inherits$i(TimeoutError, Error1);
8672
8672
  var _super = _create_super$i(TimeoutError);
8673
8673
  function TimeoutError(message) {
8674
- _class_call_check$y(this, TimeoutError);
8674
+ _class_call_check$x(this, TimeoutError);
8675
8675
  var _this;
8676
8676
  _this = _super.call(this, message);
8677
8677
  _this.name = 'TimeoutError';
@@ -8744,12 +8744,12 @@ function lowerBound(array, value, comparator) {
8744
8744
  }
8745
8745
  lowerBound$1.default = lowerBound;
8746
8746
 
8747
- function _class_call_check$x(instance, Constructor) {
8747
+ function _class_call_check$w(instance, Constructor) {
8748
8748
  if (!(instance instanceof Constructor)) {
8749
8749
  throw new TypeError("Cannot call a class as a function");
8750
8750
  }
8751
8751
  }
8752
- function _defineProperties$u(target, props) {
8752
+ function _defineProperties$t(target, props) {
8753
8753
  for(var i = 0; i < props.length; i++){
8754
8754
  var descriptor = props[i];
8755
8755
  descriptor.enumerable = descriptor.enumerable || false;
@@ -8758,8 +8758,8 @@ function _defineProperties$u(target, props) {
8758
8758
  Object.defineProperty(target, descriptor.key, descriptor);
8759
8759
  }
8760
8760
  }
8761
- function _create_class$u(Constructor, protoProps, staticProps) {
8762
- if (protoProps) _defineProperties$u(Constructor.prototype, protoProps);
8761
+ function _create_class$t(Constructor, protoProps, staticProps) {
8762
+ if (protoProps) _defineProperties$t(Constructor.prototype, protoProps);
8763
8763
  return Constructor;
8764
8764
  }
8765
8765
  Object.defineProperty(priorityQueue, "__esModule", {
@@ -8768,10 +8768,10 @@ Object.defineProperty(priorityQueue, "__esModule", {
8768
8768
  var lower_bound_1 = lowerBound$1;
8769
8769
  var PriorityQueue = /*#__PURE__*/ function() {
8770
8770
  function PriorityQueue() {
8771
- _class_call_check$x(this, PriorityQueue);
8771
+ _class_call_check$w(this, PriorityQueue);
8772
8772
  this._queue = [];
8773
8773
  }
8774
- _create_class$u(PriorityQueue, [
8774
+ _create_class$t(PriorityQueue, [
8775
8775
  {
8776
8776
  key: "enqueue",
8777
8777
  value: function enqueue(run, options) {
@@ -8855,12 +8855,12 @@ function _async_to_generator$q(fn) {
8855
8855
  });
8856
8856
  };
8857
8857
  }
8858
- function _class_call_check$w(instance, Constructor) {
8858
+ function _class_call_check$v(instance, Constructor) {
8859
8859
  if (!(instance instanceof Constructor)) {
8860
8860
  throw new TypeError("Cannot call a class as a function");
8861
8861
  }
8862
8862
  }
8863
- function _defineProperties$t(target, props) {
8863
+ function _defineProperties$s(target, props) {
8864
8864
  for(var i = 0; i < props.length; i++){
8865
8865
  var descriptor = props[i];
8866
8866
  descriptor.enumerable = descriptor.enumerable || false;
@@ -8869,8 +8869,8 @@ function _defineProperties$t(target, props) {
8869
8869
  Object.defineProperty(target, descriptor.key, descriptor);
8870
8870
  }
8871
8871
  }
8872
- function _create_class$t(Constructor, protoProps, staticProps) {
8873
- if (protoProps) _defineProperties$t(Constructor.prototype, protoProps);
8872
+ function _create_class$s(Constructor, protoProps, staticProps) {
8873
+ if (protoProps) _defineProperties$s(Constructor.prototype, protoProps);
8874
8874
  return Constructor;
8875
8875
  }
8876
8876
  function _get_prototype_of$h(o) {
@@ -9043,7 +9043,7 @@ Promise queue with concurrency control.
9043
9043
  _inherits$h(PQueue, EventEmitter);
9044
9044
  var _super = _create_super$h(PQueue);
9045
9045
  function PQueue(options) {
9046
- _class_call_check$w(this, PQueue);
9046
+ _class_call_check$v(this, PQueue);
9047
9047
  var _this;
9048
9048
  var _a, _b, _c, _d;
9049
9049
  _this = _super.call(this);
@@ -9079,7 +9079,7 @@ Promise queue with concurrency control.
9079
9079
  _this._isPaused = options.autoStart === false;
9080
9080
  return _this;
9081
9081
  }
9082
- _create_class$t(PQueue, [
9082
+ _create_class$s(PQueue, [
9083
9083
  {
9084
9084
  key: "_doesIntervalAllowAnother",
9085
9085
  get: function get() {
@@ -9502,12 +9502,12 @@ function _async_to_generator$p(fn) {
9502
9502
  });
9503
9503
  };
9504
9504
  }
9505
- function _class_call_check$v(instance, Constructor) {
9505
+ function _class_call_check$u(instance, Constructor) {
9506
9506
  if (!(instance instanceof Constructor)) {
9507
9507
  throw new TypeError("Cannot call a class as a function");
9508
9508
  }
9509
9509
  }
9510
- function _defineProperties$s(target, props) {
9510
+ function _defineProperties$r(target, props) {
9511
9511
  for(var i = 0; i < props.length; i++){
9512
9512
  var descriptor = props[i];
9513
9513
  descriptor.enumerable = descriptor.enumerable || false;
@@ -9516,8 +9516,8 @@ function _defineProperties$s(target, props) {
9516
9516
  Object.defineProperty(target, descriptor.key, descriptor);
9517
9517
  }
9518
9518
  }
9519
- function _create_class$s(Constructor, protoProps, staticProps) {
9520
- if (protoProps) _defineProperties$s(Constructor.prototype, protoProps);
9519
+ function _create_class$r(Constructor, protoProps, staticProps) {
9520
+ if (protoProps) _defineProperties$r(Constructor.prototype, protoProps);
9521
9521
  return Constructor;
9522
9522
  }
9523
9523
  function _instanceof$i(left, right) {
@@ -9660,7 +9660,7 @@ var STATUS_RETRYABLE = [
9660
9660
  * exponential backoff between each attempt.
9661
9661
  */ var AsyncCaller$1 = /*#__PURE__*/ function() {
9662
9662
  function AsyncCaller(params) {
9663
- _class_call_check$v(this, AsyncCaller);
9663
+ _class_call_check$u(this, AsyncCaller);
9664
9664
  Object.defineProperty(this, "maxConcurrency", {
9665
9665
  enumerable: true,
9666
9666
  configurable: true,
@@ -9702,7 +9702,7 @@ var STATUS_RETRYABLE = [
9702
9702
  }
9703
9703
  this.onFailedResponseHook = params === null || params === void 0 ? void 0 : params.onFailedResponseHook;
9704
9704
  }
9705
- _create_class$s(AsyncCaller, [
9705
+ _create_class$r(AsyncCaller, [
9706
9706
  {
9707
9707
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
9708
9708
  key: "call",
@@ -10197,12 +10197,12 @@ var identifiers$1 = {
10197
10197
  rcompareIdentifiers: rcompareIdentifiers
10198
10198
  };
10199
10199
 
10200
- function _class_call_check$u(instance, Constructor) {
10200
+ function _class_call_check$t(instance, Constructor) {
10201
10201
  if (!(instance instanceof Constructor)) {
10202
10202
  throw new TypeError("Cannot call a class as a function");
10203
10203
  }
10204
10204
  }
10205
- function _defineProperties$r(target, props) {
10205
+ function _defineProperties$q(target, props) {
10206
10206
  for(var i = 0; i < props.length; i++){
10207
10207
  var descriptor = props[i];
10208
10208
  descriptor.enumerable = descriptor.enumerable || false;
@@ -10211,8 +10211,8 @@ function _defineProperties$r(target, props) {
10211
10211
  Object.defineProperty(target, descriptor.key, descriptor);
10212
10212
  }
10213
10213
  }
10214
- function _create_class$r(Constructor, protoProps, staticProps) {
10215
- if (protoProps) _defineProperties$r(Constructor.prototype, protoProps);
10214
+ function _create_class$q(Constructor, protoProps, staticProps) {
10215
+ if (protoProps) _defineProperties$q(Constructor.prototype, protoProps);
10216
10216
  return Constructor;
10217
10217
  }
10218
10218
  function _instanceof$h(left, right) {
@@ -10233,7 +10233,7 @@ var parseOptions = parseOptions_1;
10233
10233
  var compareIdentifiers = identifiers$1.compareIdentifiers;
10234
10234
  var SemVer$1 = /*#__PURE__*/ function() {
10235
10235
  function SemVer(version, options) {
10236
- _class_call_check$u(this, SemVer);
10236
+ _class_call_check$t(this, SemVer);
10237
10237
  options = parseOptions(options);
10238
10238
  if (_instanceof$h(version, SemVer)) {
10239
10239
  if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) {
@@ -10288,7 +10288,7 @@ var SemVer$1 = /*#__PURE__*/ function() {
10288
10288
  this.build = m[5] ? m[5].split('.') : [];
10289
10289
  this.format();
10290
10290
  }
10291
- _create_class$r(SemVer, [
10291
+ _create_class$q(SemVer, [
10292
10292
  {
10293
10293
  key: "format",
10294
10294
  value: function format() {
@@ -10646,70 +10646,78 @@ var cmp_1 = cmp;
10646
10646
 
10647
10647
  var _require = reExports; _require.safeRe; _require.t;
10648
10648
 
10649
- function _class_call_check$t(instance, Constructor) {
10650
- if (!(instance instanceof Constructor)) {
10651
- throw new TypeError("Cannot call a class as a function");
10652
- }
10653
- }
10654
- function _defineProperties$q(target, props) {
10655
- for(var i = 0; i < props.length; i++){
10656
- var descriptor = props[i];
10657
- descriptor.enumerable = descriptor.enumerable || false;
10658
- descriptor.configurable = true;
10659
- if ("value" in descriptor) descriptor.writable = true;
10660
- Object.defineProperty(target, descriptor.key, descriptor);
10661
- }
10662
- }
10663
- function _create_class$q(Constructor, protoProps, staticProps) {
10664
- if (protoProps) _defineProperties$q(Constructor.prototype, protoProps);
10665
- return Constructor;
10649
+ var lrucache;
10650
+ var hasRequiredLrucache;
10651
+
10652
+ function requireLrucache () {
10653
+ if (hasRequiredLrucache) return lrucache;
10654
+ hasRequiredLrucache = 1;
10655
+ function _class_call_check(instance, Constructor) {
10656
+ if (!(instance instanceof Constructor)) {
10657
+ throw new TypeError("Cannot call a class as a function");
10658
+ }
10659
+ }
10660
+ function _defineProperties(target, props) {
10661
+ for(var i = 0; i < props.length; i++){
10662
+ var descriptor = props[i];
10663
+ descriptor.enumerable = descriptor.enumerable || false;
10664
+ descriptor.configurable = true;
10665
+ if ("value" in descriptor) descriptor.writable = true;
10666
+ Object.defineProperty(target, descriptor.key, descriptor);
10667
+ }
10668
+ }
10669
+ function _create_class(Constructor, protoProps, staticProps) {
10670
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
10671
+ return Constructor;
10672
+ }
10673
+ var LRUCache = /*#__PURE__*/ function() {
10674
+ function LRUCache() {
10675
+ _class_call_check(this, LRUCache);
10676
+ this.max = 1000;
10677
+ this.map = new Map();
10678
+ }
10679
+ _create_class(LRUCache, [
10680
+ {
10681
+ key: "get",
10682
+ value: function get(key) {
10683
+ var value = this.map.get(key);
10684
+ if (value === undefined) {
10685
+ return undefined;
10686
+ } else {
10687
+ // Remove the key from the map and add it to the end
10688
+ this.map.delete(key);
10689
+ this.map.set(key, value);
10690
+ return value;
10691
+ }
10692
+ }
10693
+ },
10694
+ {
10695
+ key: "delete",
10696
+ value: function _delete(key) {
10697
+ return this.map.delete(key);
10698
+ }
10699
+ },
10700
+ {
10701
+ key: "set",
10702
+ value: function set(key, value) {
10703
+ var deleted = this.delete(key);
10704
+ if (!deleted && value !== undefined) {
10705
+ // If cache is full, delete the least recently used item
10706
+ if (this.map.size >= this.max) {
10707
+ var firstKey = this.map.keys().next().value;
10708
+ this.delete(firstKey);
10709
+ }
10710
+ this.map.set(key, value);
10711
+ }
10712
+ return this;
10713
+ }
10714
+ }
10715
+ ]);
10716
+ return LRUCache;
10717
+ }();
10718
+ lrucache = LRUCache;
10719
+ return lrucache;
10666
10720
  }
10667
- var LRUCache = /*#__PURE__*/ function() {
10668
- function LRUCache() {
10669
- _class_call_check$t(this, LRUCache);
10670
- this.max = 1000;
10671
- this.map = new Map();
10672
- }
10673
- _create_class$q(LRUCache, [
10674
- {
10675
- key: "get",
10676
- value: function get(key) {
10677
- var value = this.map.get(key);
10678
- if (value === undefined) {
10679
- return undefined;
10680
- } else {
10681
- // Remove the key from the map and add it to the end
10682
- this.map.delete(key);
10683
- this.map.set(key, value);
10684
- return value;
10685
- }
10686
- }
10687
- },
10688
- {
10689
- key: "delete",
10690
- value: function _delete(key) {
10691
- return this.map.delete(key);
10692
- }
10693
- },
10694
- {
10695
- key: "set",
10696
- value: function set(key, value) {
10697
- var deleted = this.delete(key);
10698
- if (!deleted && value !== undefined) {
10699
- // If cache is full, delete the least recently used item
10700
- if (this.map.size >= this.max) {
10701
- var firstKey = this.map.keys().next().value;
10702
- this.delete(firstKey);
10703
- }
10704
- this.map.set(key, value);
10705
- }
10706
- return this;
10707
- }
10708
- }
10709
- ]);
10710
- return LRUCache;
10711
- }();
10712
- var lrucache = LRUCache;
10713
10721
 
10714
10722
  var range;
10715
10723
  var hasRequiredRange;
@@ -11013,7 +11021,7 @@ function requireRange () {
11013
11021
  return Range;
11014
11022
  }();
11015
11023
  range = Range;
11016
- var LRU = lrucache;
11024
+ var LRU = requireLrucache();
11017
11025
  var cache = new LRU();
11018
11026
  var parseOptions = parseOptions_1;
11019
11027
  var Comparator = requireComparator();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-vespa",
3
- "version": "0.119.7",
3
+ "version": "0.119.8",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",