@nmshd/transport 2.3.3 → 2.3.5
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/buildInformation.js +5 -5
- package/dist/core/types/CoreDate.d.ts +1 -0
- package/dist/core/types/CoreDate.d.ts.map +1 -1
- package/dist/core/types/CoreDate.js +9 -14
- package/dist/core/types/CoreDate.js.map +1 -1
- package/dist/modules/relationshipTemplates/RelationshipTemplateController.d.ts.map +1 -1
- package/dist/modules/relationshipTemplates/RelationshipTemplateController.js +3 -1
- package/dist/modules/relationshipTemplates/RelationshipTemplateController.js.map +1 -1
- package/lib-web/nmshd.transport.js +292 -125
- package/lib-web/nmshd.transport.js.map +1 -1
- package/lib-web/nmshd.transport.min.js +1 -1
- package/lib-web/nmshd.transport.min.js.map +1 -1
- package/package.json +5 -6
|
@@ -1857,23 +1857,14 @@ var bind = __webpack_require__(/*! function-bind */ "../../node_modules/function
|
|
|
1857
1857
|
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../node_modules/get-intrinsic/index.js");
|
|
1858
1858
|
var setFunctionLength = __webpack_require__(/*! set-function-length */ "../../node_modules/set-function-length/index.js");
|
|
1859
1859
|
|
|
1860
|
-
var $TypeError =
|
|
1860
|
+
var $TypeError = __webpack_require__(/*! es-errors/type */ "../../node_modules/es-errors/type.js");
|
|
1861
1861
|
var $apply = GetIntrinsic('%Function.prototype.apply%');
|
|
1862
1862
|
var $call = GetIntrinsic('%Function.prototype.call%');
|
|
1863
1863
|
var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
|
|
1864
1864
|
|
|
1865
|
-
var $defineProperty =
|
|
1865
|
+
var $defineProperty = __webpack_require__(/*! es-define-property */ "../../node_modules/es-define-property/index.js");
|
|
1866
1866
|
var $max = GetIntrinsic('%Math.max%');
|
|
1867
1867
|
|
|
1868
|
-
if ($defineProperty) {
|
|
1869
|
-
try {
|
|
1870
|
-
$defineProperty({}, 'a', { value: 1 });
|
|
1871
|
-
} catch (e) {
|
|
1872
|
-
// IE 8 has a broken defineProperty
|
|
1873
|
-
$defineProperty = null;
|
|
1874
|
-
}
|
|
1875
|
-
}
|
|
1876
|
-
|
|
1877
1868
|
module.exports = function callBind(originalFunction) {
|
|
1878
1869
|
if (typeof originalFunction !== 'function') {
|
|
1879
1870
|
throw new $TypeError('a function is required');
|
|
@@ -1908,26 +1899,14 @@ if ($defineProperty) {
|
|
|
1908
1899
|
"use strict";
|
|
1909
1900
|
|
|
1910
1901
|
|
|
1911
|
-
var
|
|
1902
|
+
var $defineProperty = __webpack_require__(/*! es-define-property */ "../../node_modules/es-define-property/index.js");
|
|
1912
1903
|
|
|
1913
|
-
var
|
|
1914
|
-
|
|
1915
|
-
var $defineProperty = hasPropertyDescriptors && GetIntrinsic('%Object.defineProperty%', true);
|
|
1916
|
-
if ($defineProperty) {
|
|
1917
|
-
try {
|
|
1918
|
-
$defineProperty({}, 'a', { value: 1 });
|
|
1919
|
-
} catch (e) {
|
|
1920
|
-
// IE 8 has a broken defineProperty
|
|
1921
|
-
$defineProperty = false;
|
|
1922
|
-
}
|
|
1923
|
-
}
|
|
1924
|
-
|
|
1925
|
-
var $SyntaxError = GetIntrinsic('%SyntaxError%');
|
|
1926
|
-
var $TypeError = GetIntrinsic('%TypeError%');
|
|
1904
|
+
var $SyntaxError = __webpack_require__(/*! es-errors/syntax */ "../../node_modules/es-errors/syntax.js");
|
|
1905
|
+
var $TypeError = __webpack_require__(/*! es-errors/type */ "../../node_modules/es-errors/type.js");
|
|
1927
1906
|
|
|
1928
1907
|
var gopd = __webpack_require__(/*! gopd */ "../../node_modules/gopd/index.js");
|
|
1929
1908
|
|
|
1930
|
-
/** @type {(
|
|
1909
|
+
/** @type {import('.')} */
|
|
1931
1910
|
module.exports = function defineDataProperty(
|
|
1932
1911
|
obj,
|
|
1933
1912
|
property,
|
|
@@ -1976,6 +1955,138 @@ module.exports = function defineDataProperty(
|
|
|
1976
1955
|
};
|
|
1977
1956
|
|
|
1978
1957
|
|
|
1958
|
+
/***/ }),
|
|
1959
|
+
|
|
1960
|
+
/***/ "../../node_modules/es-define-property/index.js":
|
|
1961
|
+
/*!******************************************************!*\
|
|
1962
|
+
!*** ../../node_modules/es-define-property/index.js ***!
|
|
1963
|
+
\******************************************************/
|
|
1964
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
1965
|
+
|
|
1966
|
+
"use strict";
|
|
1967
|
+
|
|
1968
|
+
|
|
1969
|
+
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../node_modules/get-intrinsic/index.js");
|
|
1970
|
+
|
|
1971
|
+
/** @type {import('.')} */
|
|
1972
|
+
var $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false;
|
|
1973
|
+
if ($defineProperty) {
|
|
1974
|
+
try {
|
|
1975
|
+
$defineProperty({}, 'a', { value: 1 });
|
|
1976
|
+
} catch (e) {
|
|
1977
|
+
// IE 8 has a broken defineProperty
|
|
1978
|
+
$defineProperty = false;
|
|
1979
|
+
}
|
|
1980
|
+
}
|
|
1981
|
+
|
|
1982
|
+
module.exports = $defineProperty;
|
|
1983
|
+
|
|
1984
|
+
|
|
1985
|
+
/***/ }),
|
|
1986
|
+
|
|
1987
|
+
/***/ "../../node_modules/es-errors/eval.js":
|
|
1988
|
+
/*!********************************************!*\
|
|
1989
|
+
!*** ../../node_modules/es-errors/eval.js ***!
|
|
1990
|
+
\********************************************/
|
|
1991
|
+
/***/ ((module) => {
|
|
1992
|
+
|
|
1993
|
+
"use strict";
|
|
1994
|
+
|
|
1995
|
+
|
|
1996
|
+
/** @type {import('./eval')} */
|
|
1997
|
+
module.exports = EvalError;
|
|
1998
|
+
|
|
1999
|
+
|
|
2000
|
+
/***/ }),
|
|
2001
|
+
|
|
2002
|
+
/***/ "../../node_modules/es-errors/index.js":
|
|
2003
|
+
/*!*********************************************!*\
|
|
2004
|
+
!*** ../../node_modules/es-errors/index.js ***!
|
|
2005
|
+
\*********************************************/
|
|
2006
|
+
/***/ ((module) => {
|
|
2007
|
+
|
|
2008
|
+
"use strict";
|
|
2009
|
+
|
|
2010
|
+
|
|
2011
|
+
/** @type {import('.')} */
|
|
2012
|
+
module.exports = Error;
|
|
2013
|
+
|
|
2014
|
+
|
|
2015
|
+
/***/ }),
|
|
2016
|
+
|
|
2017
|
+
/***/ "../../node_modules/es-errors/range.js":
|
|
2018
|
+
/*!*********************************************!*\
|
|
2019
|
+
!*** ../../node_modules/es-errors/range.js ***!
|
|
2020
|
+
\*********************************************/
|
|
2021
|
+
/***/ ((module) => {
|
|
2022
|
+
|
|
2023
|
+
"use strict";
|
|
2024
|
+
|
|
2025
|
+
|
|
2026
|
+
/** @type {import('./range')} */
|
|
2027
|
+
module.exports = RangeError;
|
|
2028
|
+
|
|
2029
|
+
|
|
2030
|
+
/***/ }),
|
|
2031
|
+
|
|
2032
|
+
/***/ "../../node_modules/es-errors/ref.js":
|
|
2033
|
+
/*!*******************************************!*\
|
|
2034
|
+
!*** ../../node_modules/es-errors/ref.js ***!
|
|
2035
|
+
\*******************************************/
|
|
2036
|
+
/***/ ((module) => {
|
|
2037
|
+
|
|
2038
|
+
"use strict";
|
|
2039
|
+
|
|
2040
|
+
|
|
2041
|
+
/** @type {import('./ref')} */
|
|
2042
|
+
module.exports = ReferenceError;
|
|
2043
|
+
|
|
2044
|
+
|
|
2045
|
+
/***/ }),
|
|
2046
|
+
|
|
2047
|
+
/***/ "../../node_modules/es-errors/syntax.js":
|
|
2048
|
+
/*!**********************************************!*\
|
|
2049
|
+
!*** ../../node_modules/es-errors/syntax.js ***!
|
|
2050
|
+
\**********************************************/
|
|
2051
|
+
/***/ ((module) => {
|
|
2052
|
+
|
|
2053
|
+
"use strict";
|
|
2054
|
+
|
|
2055
|
+
|
|
2056
|
+
/** @type {import('./syntax')} */
|
|
2057
|
+
module.exports = SyntaxError;
|
|
2058
|
+
|
|
2059
|
+
|
|
2060
|
+
/***/ }),
|
|
2061
|
+
|
|
2062
|
+
/***/ "../../node_modules/es-errors/type.js":
|
|
2063
|
+
/*!********************************************!*\
|
|
2064
|
+
!*** ../../node_modules/es-errors/type.js ***!
|
|
2065
|
+
\********************************************/
|
|
2066
|
+
/***/ ((module) => {
|
|
2067
|
+
|
|
2068
|
+
"use strict";
|
|
2069
|
+
|
|
2070
|
+
|
|
2071
|
+
/** @type {import('./type')} */
|
|
2072
|
+
module.exports = TypeError;
|
|
2073
|
+
|
|
2074
|
+
|
|
2075
|
+
/***/ }),
|
|
2076
|
+
|
|
2077
|
+
/***/ "../../node_modules/es-errors/uri.js":
|
|
2078
|
+
/*!*******************************************!*\
|
|
2079
|
+
!*** ../../node_modules/es-errors/uri.js ***!
|
|
2080
|
+
\*******************************************/
|
|
2081
|
+
/***/ ((module) => {
|
|
2082
|
+
|
|
2083
|
+
"use strict";
|
|
2084
|
+
|
|
2085
|
+
|
|
2086
|
+
/** @type {import('./uri')} */
|
|
2087
|
+
module.exports = URIError;
|
|
2088
|
+
|
|
2089
|
+
|
|
1979
2090
|
/***/ }),
|
|
1980
2091
|
|
|
1981
2092
|
/***/ "../../node_modules/eventemitter2/lib/eventemitter2.js":
|
|
@@ -3744,9 +3855,15 @@ module.exports = Function.prototype.bind || implementation;
|
|
|
3744
3855
|
|
|
3745
3856
|
var undefined;
|
|
3746
3857
|
|
|
3747
|
-
var $
|
|
3858
|
+
var $Error = __webpack_require__(/*! es-errors */ "../../node_modules/es-errors/index.js");
|
|
3859
|
+
var $EvalError = __webpack_require__(/*! es-errors/eval */ "../../node_modules/es-errors/eval.js");
|
|
3860
|
+
var $RangeError = __webpack_require__(/*! es-errors/range */ "../../node_modules/es-errors/range.js");
|
|
3861
|
+
var $ReferenceError = __webpack_require__(/*! es-errors/ref */ "../../node_modules/es-errors/ref.js");
|
|
3862
|
+
var $SyntaxError = __webpack_require__(/*! es-errors/syntax */ "../../node_modules/es-errors/syntax.js");
|
|
3863
|
+
var $TypeError = __webpack_require__(/*! es-errors/type */ "../../node_modules/es-errors/type.js");
|
|
3864
|
+
var $URIError = __webpack_require__(/*! es-errors/uri */ "../../node_modules/es-errors/uri.js");
|
|
3865
|
+
|
|
3748
3866
|
var $Function = Function;
|
|
3749
|
-
var $TypeError = TypeError;
|
|
3750
3867
|
|
|
3751
3868
|
// eslint-disable-next-line consistent-return
|
|
3752
3869
|
var getEvalledConstructor = function (expressionSyntax) {
|
|
@@ -3798,6 +3915,7 @@ var needsEval = {};
|
|
|
3798
3915
|
var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);
|
|
3799
3916
|
|
|
3800
3917
|
var INTRINSICS = {
|
|
3918
|
+
__proto__: null,
|
|
3801
3919
|
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
|
|
3802
3920
|
'%Array%': Array,
|
|
3803
3921
|
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
|
|
@@ -3818,9 +3936,9 @@ var INTRINSICS = {
|
|
|
3818
3936
|
'%decodeURIComponent%': decodeURIComponent,
|
|
3819
3937
|
'%encodeURI%': encodeURI,
|
|
3820
3938
|
'%encodeURIComponent%': encodeURIComponent,
|
|
3821
|
-
'%Error%': Error,
|
|
3939
|
+
'%Error%': $Error,
|
|
3822
3940
|
'%eval%': eval, // eslint-disable-line no-eval
|
|
3823
|
-
'%EvalError%': EvalError,
|
|
3941
|
+
'%EvalError%': $EvalError,
|
|
3824
3942
|
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
|
|
3825
3943
|
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
|
|
3826
3944
|
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
|
|
@@ -3842,8 +3960,8 @@ var INTRINSICS = {
|
|
|
3842
3960
|
'%parseInt%': parseInt,
|
|
3843
3961
|
'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
|
|
3844
3962
|
'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
|
|
3845
|
-
'%RangeError%': RangeError,
|
|
3846
|
-
'%ReferenceError%': ReferenceError,
|
|
3963
|
+
'%RangeError%': $RangeError,
|
|
3964
|
+
'%ReferenceError%': $ReferenceError,
|
|
3847
3965
|
'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
|
|
3848
3966
|
'%RegExp%': RegExp,
|
|
3849
3967
|
'%Set%': typeof Set === 'undefined' ? undefined : Set,
|
|
@@ -3860,7 +3978,7 @@ var INTRINSICS = {
|
|
|
3860
3978
|
'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
|
|
3861
3979
|
'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
|
|
3862
3980
|
'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
|
|
3863
|
-
'%URIError%': URIError,
|
|
3981
|
+
'%URIError%': $URIError,
|
|
3864
3982
|
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
|
|
3865
3983
|
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
|
|
3866
3984
|
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
|
|
@@ -3902,6 +4020,7 @@ var doEval = function doEval(name) {
|
|
|
3902
4020
|
};
|
|
3903
4021
|
|
|
3904
4022
|
var LEGACY_ALIASES = {
|
|
4023
|
+
__proto__: null,
|
|
3905
4024
|
'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
|
|
3906
4025
|
'%ArrayPrototype%': ['Array', 'prototype'],
|
|
3907
4026
|
'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
|
|
@@ -4131,26 +4250,15 @@ module.exports = $gOPD;
|
|
|
4131
4250
|
"use strict";
|
|
4132
4251
|
|
|
4133
4252
|
|
|
4134
|
-
var
|
|
4135
|
-
|
|
4136
|
-
var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
|
|
4253
|
+
var $defineProperty = __webpack_require__(/*! es-define-property */ "../../node_modules/es-define-property/index.js");
|
|
4137
4254
|
|
|
4138
4255
|
var hasPropertyDescriptors = function hasPropertyDescriptors() {
|
|
4139
|
-
|
|
4140
|
-
try {
|
|
4141
|
-
$defineProperty({}, 'a', { value: 1 });
|
|
4142
|
-
return true;
|
|
4143
|
-
} catch (e) {
|
|
4144
|
-
// IE 8 has a broken defineProperty
|
|
4145
|
-
return false;
|
|
4146
|
-
}
|
|
4147
|
-
}
|
|
4148
|
-
return false;
|
|
4256
|
+
return !!$defineProperty;
|
|
4149
4257
|
};
|
|
4150
4258
|
|
|
4151
4259
|
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
|
|
4152
4260
|
// node v0.6 has a bug where array lengths can be Set but not Defined
|
|
4153
|
-
if (
|
|
4261
|
+
if (!$defineProperty) {
|
|
4154
4262
|
return null;
|
|
4155
4263
|
}
|
|
4156
4264
|
try {
|
|
@@ -4176,13 +4284,17 @@ module.exports = hasPropertyDescriptors;
|
|
|
4176
4284
|
|
|
4177
4285
|
|
|
4178
4286
|
var test = {
|
|
4287
|
+
__proto__: null,
|
|
4179
4288
|
foo: {}
|
|
4180
4289
|
};
|
|
4181
4290
|
|
|
4182
4291
|
var $Object = Object;
|
|
4183
4292
|
|
|
4293
|
+
/** @type {import('.')} */
|
|
4184
4294
|
module.exports = function hasProto() {
|
|
4185
|
-
|
|
4295
|
+
// @ts-expect-error: TS errors on an inherited property for some reason
|
|
4296
|
+
return { __proto__: test }.foo === test.foo
|
|
4297
|
+
&& !(test instanceof $Object);
|
|
4186
4298
|
};
|
|
4187
4299
|
|
|
4188
4300
|
|
|
@@ -29534,15 +29646,18 @@ var isArray = Array.isArray;
|
|
|
29534
29646
|
|
|
29535
29647
|
var defaults = {
|
|
29536
29648
|
allowDots: false,
|
|
29649
|
+
allowEmptyArrays: false,
|
|
29537
29650
|
allowPrototypes: false,
|
|
29538
29651
|
allowSparse: false,
|
|
29539
29652
|
arrayLimit: 20,
|
|
29540
29653
|
charset: 'utf-8',
|
|
29541
29654
|
charsetSentinel: false,
|
|
29542
29655
|
comma: false,
|
|
29656
|
+
decodeDotInKeys: true,
|
|
29543
29657
|
decoder: utils.decode,
|
|
29544
29658
|
delimiter: '&',
|
|
29545
29659
|
depth: 5,
|
|
29660
|
+
duplicates: 'combine',
|
|
29546
29661
|
ignoreQueryPrefix: false,
|
|
29547
29662
|
interpretNumericEntities: false,
|
|
29548
29663
|
parameterLimit: 1000,
|
|
@@ -29630,9 +29745,10 @@ var parseValues = function parseQueryStringValues(str, options) {
|
|
|
29630
29745
|
val = isArray(val) ? [val] : val;
|
|
29631
29746
|
}
|
|
29632
29747
|
|
|
29633
|
-
|
|
29748
|
+
var existing = has.call(obj, key);
|
|
29749
|
+
if (existing && options.duplicates === 'combine') {
|
|
29634
29750
|
obj[key] = utils.combine(obj[key], val);
|
|
29635
|
-
} else {
|
|
29751
|
+
} else if (!existing || options.duplicates === 'last') {
|
|
29636
29752
|
obj[key] = val;
|
|
29637
29753
|
}
|
|
29638
29754
|
}
|
|
@@ -29648,24 +29764,25 @@ var parseObject = function (chain, val, options, valuesParsed) {
|
|
|
29648
29764
|
var root = chain[i];
|
|
29649
29765
|
|
|
29650
29766
|
if (root === '[]' && options.parseArrays) {
|
|
29651
|
-
obj = [].concat(leaf);
|
|
29767
|
+
obj = options.allowEmptyArrays && leaf === '' ? [] : [].concat(leaf);
|
|
29652
29768
|
} else {
|
|
29653
29769
|
obj = options.plainObjects ? Object.create(null) : {};
|
|
29654
29770
|
var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;
|
|
29655
|
-
var
|
|
29656
|
-
|
|
29771
|
+
var decodedRoot = options.decodeDotInKeys ? cleanRoot.replace(/%2E/g, '.') : cleanRoot;
|
|
29772
|
+
var index = parseInt(decodedRoot, 10);
|
|
29773
|
+
if (!options.parseArrays && decodedRoot === '') {
|
|
29657
29774
|
obj = { 0: leaf };
|
|
29658
29775
|
} else if (
|
|
29659
29776
|
!isNaN(index)
|
|
29660
|
-
&& root !==
|
|
29661
|
-
&& String(index) ===
|
|
29777
|
+
&& root !== decodedRoot
|
|
29778
|
+
&& String(index) === decodedRoot
|
|
29662
29779
|
&& index >= 0
|
|
29663
29780
|
&& (options.parseArrays && index <= options.arrayLimit)
|
|
29664
29781
|
) {
|
|
29665
29782
|
obj = [];
|
|
29666
29783
|
obj[index] = leaf;
|
|
29667
|
-
} else if (
|
|
29668
|
-
obj[
|
|
29784
|
+
} else if (decodedRoot !== '__proto__') {
|
|
29785
|
+
obj[decodedRoot] = leaf;
|
|
29669
29786
|
}
|
|
29670
29787
|
}
|
|
29671
29788
|
|
|
@@ -29734,7 +29851,15 @@ var normalizeParseOptions = function normalizeParseOptions(opts) {
|
|
|
29734
29851
|
return defaults;
|
|
29735
29852
|
}
|
|
29736
29853
|
|
|
29737
|
-
if (
|
|
29854
|
+
if (typeof opts.allowEmptyArrays !== 'undefined' && typeof opts.allowEmptyArrays !== 'boolean') {
|
|
29855
|
+
throw new TypeError('`allowEmptyArrays` option can only be `true` or `false`, when provided');
|
|
29856
|
+
}
|
|
29857
|
+
|
|
29858
|
+
if (typeof opts.decodeDotInKeys !== 'undefined' && typeof opts.decodeDotInKeys !== 'boolean') {
|
|
29859
|
+
throw new TypeError('`decodeDotInKeys` option can only be `true` or `false`, when provided');
|
|
29860
|
+
}
|
|
29861
|
+
|
|
29862
|
+
if (opts.decoder !== null && typeof opts.decoder !== 'undefined' && typeof opts.decoder !== 'function') {
|
|
29738
29863
|
throw new TypeError('Decoder has to be a function.');
|
|
29739
29864
|
}
|
|
29740
29865
|
|
|
@@ -29743,18 +29868,29 @@ var normalizeParseOptions = function normalizeParseOptions(opts) {
|
|
|
29743
29868
|
}
|
|
29744
29869
|
var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;
|
|
29745
29870
|
|
|
29871
|
+
var duplicates = typeof opts.duplicates === 'undefined' ? defaults.duplicates : opts.duplicates;
|
|
29872
|
+
|
|
29873
|
+
if (duplicates !== 'combine' && duplicates !== 'first' && duplicates !== 'last') {
|
|
29874
|
+
throw new TypeError('The duplicates option must be either combine, first, or last');
|
|
29875
|
+
}
|
|
29876
|
+
|
|
29877
|
+
var allowDots = typeof opts.allowDots === 'undefined' ? opts.decodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots;
|
|
29878
|
+
|
|
29746
29879
|
return {
|
|
29747
|
-
allowDots:
|
|
29880
|
+
allowDots: allowDots,
|
|
29881
|
+
allowEmptyArrays: typeof opts.allowEmptyArrays === 'boolean' ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays,
|
|
29748
29882
|
allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,
|
|
29749
29883
|
allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse,
|
|
29750
29884
|
arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,
|
|
29751
29885
|
charset: charset,
|
|
29752
29886
|
charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
|
|
29753
29887
|
comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma,
|
|
29888
|
+
decodeDotInKeys: typeof opts.decodeDotInKeys === 'boolean' ? opts.decodeDotInKeys : defaults.decodeDotInKeys,
|
|
29754
29889
|
decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder,
|
|
29755
29890
|
delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,
|
|
29756
29891
|
// eslint-disable-next-line no-implicit-coercion, no-extra-parens
|
|
29757
29892
|
depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth,
|
|
29893
|
+
duplicates: duplicates,
|
|
29758
29894
|
ignoreQueryPrefix: opts.ignoreQueryPrefix === true,
|
|
29759
29895
|
interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities,
|
|
29760
29896
|
parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,
|
|
@@ -29832,10 +29968,13 @@ var defaultFormat = formats['default'];
|
|
|
29832
29968
|
var defaults = {
|
|
29833
29969
|
addQueryPrefix: false,
|
|
29834
29970
|
allowDots: false,
|
|
29971
|
+
allowEmptyArrays: false,
|
|
29972
|
+
arrayFormat: 'indices',
|
|
29835
29973
|
charset: 'utf-8',
|
|
29836
29974
|
charsetSentinel: false,
|
|
29837
29975
|
delimiter: '&',
|
|
29838
29976
|
encode: true,
|
|
29977
|
+
encodeDotInKeys: false,
|
|
29839
29978
|
encoder: utils.encode,
|
|
29840
29979
|
encodeValuesOnly: false,
|
|
29841
29980
|
format: defaultFormat,
|
|
@@ -29864,8 +30003,10 @@ var stringify = function stringify(
|
|
|
29864
30003
|
prefix,
|
|
29865
30004
|
generateArrayPrefix,
|
|
29866
30005
|
commaRoundTrip,
|
|
30006
|
+
allowEmptyArrays,
|
|
29867
30007
|
strictNullHandling,
|
|
29868
30008
|
skipNulls,
|
|
30009
|
+
encodeDotInKeys,
|
|
29869
30010
|
encoder,
|
|
29870
30011
|
filter,
|
|
29871
30012
|
sort,
|
|
@@ -29947,7 +30088,13 @@ var stringify = function stringify(
|
|
|
29947
30088
|
objKeys = sort ? keys.sort(sort) : keys;
|
|
29948
30089
|
}
|
|
29949
30090
|
|
|
29950
|
-
var
|
|
30091
|
+
var encodedPrefix = encodeDotInKeys ? prefix.replace(/\./g, '%2E') : prefix;
|
|
30092
|
+
|
|
30093
|
+
var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? encodedPrefix + '[]' : encodedPrefix;
|
|
30094
|
+
|
|
30095
|
+
if (allowEmptyArrays && isArray(obj) && obj.length === 0) {
|
|
30096
|
+
return adjustedPrefix + '[]';
|
|
30097
|
+
}
|
|
29951
30098
|
|
|
29952
30099
|
for (var j = 0; j < objKeys.length; ++j) {
|
|
29953
30100
|
var key = objKeys[j];
|
|
@@ -29957,9 +30104,10 @@ var stringify = function stringify(
|
|
|
29957
30104
|
continue;
|
|
29958
30105
|
}
|
|
29959
30106
|
|
|
30107
|
+
var encodedKey = allowDots && encodeDotInKeys ? key.replace(/\./g, '%2E') : key;
|
|
29960
30108
|
var keyPrefix = isArray(obj)
|
|
29961
|
-
? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix,
|
|
29962
|
-
: adjustedPrefix + (allowDots ? '.' +
|
|
30109
|
+
? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, encodedKey) : adjustedPrefix
|
|
30110
|
+
: adjustedPrefix + (allowDots ? '.' + encodedKey : '[' + encodedKey + ']');
|
|
29963
30111
|
|
|
29964
30112
|
sideChannel.set(object, step);
|
|
29965
30113
|
var valueSideChannel = getSideChannel();
|
|
@@ -29969,8 +30117,10 @@ var stringify = function stringify(
|
|
|
29969
30117
|
keyPrefix,
|
|
29970
30118
|
generateArrayPrefix,
|
|
29971
30119
|
commaRoundTrip,
|
|
30120
|
+
allowEmptyArrays,
|
|
29972
30121
|
strictNullHandling,
|
|
29973
30122
|
skipNulls,
|
|
30123
|
+
encodeDotInKeys,
|
|
29974
30124
|
generateArrayPrefix === 'comma' && encodeValuesOnly && isArray(obj) ? null : encoder,
|
|
29975
30125
|
filter,
|
|
29976
30126
|
sort,
|
|
@@ -29992,6 +30142,14 @@ var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
|
|
|
29992
30142
|
return defaults;
|
|
29993
30143
|
}
|
|
29994
30144
|
|
|
30145
|
+
if (typeof opts.allowEmptyArrays !== 'undefined' && typeof opts.allowEmptyArrays !== 'boolean') {
|
|
30146
|
+
throw new TypeError('`allowEmptyArrays` option can only be `true` or `false`, when provided');
|
|
30147
|
+
}
|
|
30148
|
+
|
|
30149
|
+
if (typeof opts.encodeDotInKeys !== 'undefined' && typeof opts.encodeDotInKeys !== 'boolean') {
|
|
30150
|
+
throw new TypeError('`encodeDotInKeys` option can only be `true` or `false`, when provided');
|
|
30151
|
+
}
|
|
30152
|
+
|
|
29995
30153
|
if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {
|
|
29996
30154
|
throw new TypeError('Encoder has to be a function.');
|
|
29997
30155
|
}
|
|
@@ -30015,13 +30173,32 @@ var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
|
|
|
30015
30173
|
filter = opts.filter;
|
|
30016
30174
|
}
|
|
30017
30175
|
|
|
30176
|
+
var arrayFormat;
|
|
30177
|
+
if (opts.arrayFormat in arrayPrefixGenerators) {
|
|
30178
|
+
arrayFormat = opts.arrayFormat;
|
|
30179
|
+
} else if ('indices' in opts) {
|
|
30180
|
+
arrayFormat = opts.indices ? 'indices' : 'repeat';
|
|
30181
|
+
} else {
|
|
30182
|
+
arrayFormat = defaults.arrayFormat;
|
|
30183
|
+
}
|
|
30184
|
+
|
|
30185
|
+
if ('commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') {
|
|
30186
|
+
throw new TypeError('`commaRoundTrip` must be a boolean, or absent');
|
|
30187
|
+
}
|
|
30188
|
+
|
|
30189
|
+
var allowDots = typeof opts.allowDots === 'undefined' ? opts.encodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots;
|
|
30190
|
+
|
|
30018
30191
|
return {
|
|
30019
30192
|
addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,
|
|
30020
|
-
allowDots:
|
|
30193
|
+
allowDots: allowDots,
|
|
30194
|
+
allowEmptyArrays: typeof opts.allowEmptyArrays === 'boolean' ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays,
|
|
30195
|
+
arrayFormat: arrayFormat,
|
|
30021
30196
|
charset: charset,
|
|
30022
30197
|
charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
|
|
30198
|
+
commaRoundTrip: opts.commaRoundTrip,
|
|
30023
30199
|
delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,
|
|
30024
30200
|
encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,
|
|
30201
|
+
encodeDotInKeys: typeof opts.encodeDotInKeys === 'boolean' ? opts.encodeDotInKeys : defaults.encodeDotInKeys,
|
|
30025
30202
|
encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,
|
|
30026
30203
|
encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,
|
|
30027
30204
|
filter: filter,
|
|
@@ -30055,20 +30232,8 @@ module.exports = function (object, opts) {
|
|
|
30055
30232
|
return '';
|
|
30056
30233
|
}
|
|
30057
30234
|
|
|
30058
|
-
var arrayFormat;
|
|
30059
|
-
|
|
30060
|
-
arrayFormat = opts.arrayFormat;
|
|
30061
|
-
} else if (opts && 'indices' in opts) {
|
|
30062
|
-
arrayFormat = opts.indices ? 'indices' : 'repeat';
|
|
30063
|
-
} else {
|
|
30064
|
-
arrayFormat = 'indices';
|
|
30065
|
-
}
|
|
30066
|
-
|
|
30067
|
-
var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];
|
|
30068
|
-
if (opts && 'commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') {
|
|
30069
|
-
throw new TypeError('`commaRoundTrip` must be a boolean, or absent');
|
|
30070
|
-
}
|
|
30071
|
-
var commaRoundTrip = generateArrayPrefix === 'comma' && opts && opts.commaRoundTrip;
|
|
30235
|
+
var generateArrayPrefix = arrayPrefixGenerators[options.arrayFormat];
|
|
30236
|
+
var commaRoundTrip = generateArrayPrefix === 'comma' && options.commaRoundTrip;
|
|
30072
30237
|
|
|
30073
30238
|
if (!objKeys) {
|
|
30074
30239
|
objKeys = Object.keys(obj);
|
|
@@ -30090,8 +30255,10 @@ module.exports = function (object, opts) {
|
|
|
30090
30255
|
key,
|
|
30091
30256
|
generateArrayPrefix,
|
|
30092
30257
|
commaRoundTrip,
|
|
30258
|
+
options.allowEmptyArrays,
|
|
30093
30259
|
options.strictNullHandling,
|
|
30094
30260
|
options.skipNulls,
|
|
30261
|
+
options.encodeDotInKeys,
|
|
30095
30262
|
options.encode ? options.encoder : null,
|
|
30096
30263
|
options.filter,
|
|
30097
30264
|
options.sort,
|
|
@@ -30401,12 +30568,10 @@ var define = __webpack_require__(/*! define-data-property */ "../../node_modules
|
|
|
30401
30568
|
var hasDescriptors = __webpack_require__(/*! has-property-descriptors */ "../../node_modules/has-property-descriptors/index.js")();
|
|
30402
30569
|
var gOPD = __webpack_require__(/*! gopd */ "../../node_modules/gopd/index.js");
|
|
30403
30570
|
|
|
30404
|
-
var $TypeError =
|
|
30571
|
+
var $TypeError = __webpack_require__(/*! es-errors/type */ "../../node_modules/es-errors/type.js");
|
|
30405
30572
|
var $floor = GetIntrinsic('%Math.floor%');
|
|
30406
30573
|
|
|
30407
|
-
/** @
|
|
30408
|
-
|
|
30409
|
-
/** @type {<T extends Func = Func>(fn: T, length: number, loose?: boolean) => T} */
|
|
30574
|
+
/** @type {import('.')} */
|
|
30410
30575
|
module.exports = function setFunctionLength(fn, length) {
|
|
30411
30576
|
if (typeof fn !== 'function') {
|
|
30412
30577
|
throw new $TypeError('`fn` is not a function');
|
|
@@ -30455,7 +30620,7 @@ var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../node_modules/
|
|
|
30455
30620
|
var callBound = __webpack_require__(/*! call-bind/callBound */ "../../node_modules/call-bind/callBound.js");
|
|
30456
30621
|
var inspect = __webpack_require__(/*! object-inspect */ "../../node_modules/object-inspect/index.js");
|
|
30457
30622
|
|
|
30458
|
-
var $TypeError =
|
|
30623
|
+
var $TypeError = __webpack_require__(/*! es-errors/type */ "../../node_modules/es-errors/type.js");
|
|
30459
30624
|
var $WeakMap = GetIntrinsic('%WeakMap%', true);
|
|
30460
30625
|
var $Map = GetIntrinsic('%Map%', true);
|
|
30461
30626
|
|
|
@@ -30467,49 +30632,58 @@ var $mapSet = callBound('Map.prototype.set', true);
|
|
|
30467
30632
|
var $mapHas = callBound('Map.prototype.has', true);
|
|
30468
30633
|
|
|
30469
30634
|
/*
|
|
30470
|
-
|
|
30471
|
-
|
|
30472
|
-
|
|
30473
|
-
|
|
30474
|
-
|
|
30475
|
-
* used nodes can be accessed relatively quickly.
|
|
30476
|
-
*/
|
|
30635
|
+
* This function traverses the list returning the node corresponding to the given key.
|
|
30636
|
+
*
|
|
30637
|
+
* That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list. By doing so, all the recently used nodes can be accessed relatively quickly.
|
|
30638
|
+
*/
|
|
30639
|
+
/** @type {import('.').listGetNode} */
|
|
30477
30640
|
var listGetNode = function (list, key) { // eslint-disable-line consistent-return
|
|
30478
|
-
|
|
30641
|
+
/** @type {typeof list | NonNullable<(typeof list)['next']>} */
|
|
30642
|
+
var prev = list;
|
|
30643
|
+
/** @type {(typeof list)['next']} */
|
|
30644
|
+
var curr;
|
|
30645
|
+
for (; (curr = prev.next) !== null; prev = curr) {
|
|
30479
30646
|
if (curr.key === key) {
|
|
30480
30647
|
prev.next = curr.next;
|
|
30481
|
-
|
|
30648
|
+
// eslint-disable-next-line no-extra-parens
|
|
30649
|
+
curr.next = /** @type {NonNullable<typeof list.next>} */ (list.next);
|
|
30482
30650
|
list.next = curr; // eslint-disable-line no-param-reassign
|
|
30483
30651
|
return curr;
|
|
30484
30652
|
}
|
|
30485
30653
|
}
|
|
30486
30654
|
};
|
|
30487
30655
|
|
|
30656
|
+
/** @type {import('.').listGet} */
|
|
30488
30657
|
var listGet = function (objects, key) {
|
|
30489
30658
|
var node = listGetNode(objects, key);
|
|
30490
30659
|
return node && node.value;
|
|
30491
30660
|
};
|
|
30661
|
+
/** @type {import('.').listSet} */
|
|
30492
30662
|
var listSet = function (objects, key, value) {
|
|
30493
30663
|
var node = listGetNode(objects, key);
|
|
30494
30664
|
if (node) {
|
|
30495
30665
|
node.value = value;
|
|
30496
30666
|
} else {
|
|
30497
30667
|
// Prepend the new node to the beginning of the list
|
|
30498
|
-
objects.next = { // eslint-disable-line no-param-reassign
|
|
30668
|
+
objects.next = /** @type {import('.').ListNode<typeof value>} */ ({ // eslint-disable-line no-param-reassign, no-extra-parens
|
|
30499
30669
|
key: key,
|
|
30500
30670
|
next: objects.next,
|
|
30501
30671
|
value: value
|
|
30502
|
-
};
|
|
30672
|
+
});
|
|
30503
30673
|
}
|
|
30504
30674
|
};
|
|
30675
|
+
/** @type {import('.').listHas} */
|
|
30505
30676
|
var listHas = function (objects, key) {
|
|
30506
30677
|
return !!listGetNode(objects, key);
|
|
30507
30678
|
};
|
|
30508
30679
|
|
|
30680
|
+
/** @type {import('.')} */
|
|
30509
30681
|
module.exports = function getSideChannel() {
|
|
30510
|
-
var $wm;
|
|
30511
|
-
var $m;
|
|
30512
|
-
var $o;
|
|
30682
|
+
/** @type {WeakMap<object, unknown>} */ var $wm;
|
|
30683
|
+
/** @type {Map<object, unknown>} */ var $m;
|
|
30684
|
+
/** @type {import('.').RootNode<unknown>} */ var $o;
|
|
30685
|
+
|
|
30686
|
+
/** @type {import('.').Channel} */
|
|
30513
30687
|
var channel = {
|
|
30514
30688
|
assert: function (key) {
|
|
30515
30689
|
if (!channel.has(key)) {
|
|
@@ -30560,11 +30734,7 @@ module.exports = function getSideChannel() {
|
|
|
30560
30734
|
$mapSet($m, key, value);
|
|
30561
30735
|
} else {
|
|
30562
30736
|
if (!$o) {
|
|
30563
|
-
|
|
30564
|
-
* Initialize the linked list as an empty node, so that we don't have
|
|
30565
|
-
* to special-case handling of the first node: we can always refer to
|
|
30566
|
-
* it as (previous node).next, instead of something like (list).head
|
|
30567
|
-
*/
|
|
30737
|
+
// Initialize the linked list as an empty node, so that we don't have to special-case handling of the first node: we can always refer to it as (previous node).next, instead of something like (list).head
|
|
30568
30738
|
$o = { key: {}, next: null };
|
|
30569
30739
|
}
|
|
30570
30740
|
listSet($o, key, value);
|
|
@@ -33391,11 +33561,11 @@ exports.buildInformation = void 0;
|
|
|
33391
33561
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
33392
33562
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
33393
33563
|
exports.buildInformation = {
|
|
33394
|
-
version: "2.3.
|
|
33395
|
-
build: "
|
|
33396
|
-
date: "2024-
|
|
33397
|
-
commit: "
|
|
33398
|
-
dependencies: {"@js-soft/docdb-access-abstractions":"1.0.3","@js-soft/logging-abstractions":"^1.0.1","@js-soft/simple-logger":"1.0.4","@js-soft/ts-utils":"^2.3.3","axios":"^1.6.
|
|
33564
|
+
version: "2.3.5",
|
|
33565
|
+
build: "56",
|
|
33566
|
+
date: "2024-03-22T09:00:27+00:00",
|
|
33567
|
+
commit: "498d7ebebf68df253b9364ff67f0c9798c54655d",
|
|
33568
|
+
dependencies: {"@js-soft/docdb-access-abstractions":"1.0.3","@js-soft/logging-abstractions":"^1.0.1","@js-soft/simple-logger":"1.0.4","@js-soft/ts-utils":"^2.3.3","axios":"^1.6.8","fast-json-patch":"^3.1.1","form-data":"^4.0.0","json-stringify-safe":"^5.0.1","lodash":"^4.17.21","luxon":"^3.4.4","qs":"^6.12.0","reflect-metadata":"^0.2.1","ts-simple-nameof":"^1.3.1","uuid":"^9.0.1"},
|
|
33399
33569
|
libraries: {
|
|
33400
33570
|
crypto: crypto_1.buildInformation,
|
|
33401
33571
|
serval: ts_serval_1.buildInformation
|
|
@@ -35605,9 +35775,7 @@ let CoreDate = CoreDate_1 = class CoreDate extends CoreSerializable_1.CoreSerial
|
|
|
35605
35775
|
return this._dateTime;
|
|
35606
35776
|
}
|
|
35607
35777
|
get date() {
|
|
35608
|
-
|
|
35609
|
-
throw new TransportError_1.TransportError("The date is invalid.");
|
|
35610
|
-
return this.dateTime.toISODate();
|
|
35778
|
+
return this.asValidDateTime.toISODate();
|
|
35611
35779
|
}
|
|
35612
35780
|
constructor(dateTime = luxon_1.DateTime.utc()) {
|
|
35613
35781
|
super();
|
|
@@ -35697,27 +35865,24 @@ let CoreDate = CoreDate_1 = class CoreDate extends CoreSerializable_1.CoreSerial
|
|
|
35697
35865
|
* Creates an ISO String.
|
|
35698
35866
|
*/
|
|
35699
35867
|
toString() {
|
|
35700
|
-
|
|
35701
|
-
throw new TransportError_1.TransportError("The date is invalid.");
|
|
35702
|
-
return this.dateTime.toISO();
|
|
35868
|
+
return this.asValidDateTime.toISO();
|
|
35703
35869
|
}
|
|
35704
35870
|
toISOString() {
|
|
35705
|
-
|
|
35706
|
-
throw new TransportError_1.TransportError("The date is invalid.");
|
|
35707
|
-
return this.dateTime.toISO();
|
|
35871
|
+
return this.asValidDateTime.toISO();
|
|
35708
35872
|
}
|
|
35709
35873
|
toLocaleString() {
|
|
35710
35874
|
return this.dateTime.toLocaleString();
|
|
35711
35875
|
}
|
|
35712
35876
|
toJSON() {
|
|
35713
|
-
|
|
35714
|
-
throw new TransportError_1.TransportError("The date is invalid.");
|
|
35715
|
-
return this.dateTime.toISO();
|
|
35877
|
+
return this.asValidDateTime.toISO();
|
|
35716
35878
|
}
|
|
35717
35879
|
serialize() {
|
|
35880
|
+
return this.asValidDateTime.toISO();
|
|
35881
|
+
}
|
|
35882
|
+
get asValidDateTime() {
|
|
35718
35883
|
if (!this.dateTime.isValid)
|
|
35719
35884
|
throw new TransportError_1.TransportError("The date is invalid.");
|
|
35720
|
-
return this.dateTime
|
|
35885
|
+
return this.dateTime;
|
|
35721
35886
|
}
|
|
35722
35887
|
static preFrom(value) {
|
|
35723
35888
|
if (typeof value === "undefined") {
|
|
@@ -35739,7 +35904,7 @@ let CoreDate = CoreDate_1 = class CoreDate extends CoreSerializable_1.CoreSerial
|
|
|
35739
35904
|
if (typeof value === "string") {
|
|
35740
35905
|
return luxon_1.DateTime.fromISO(value, { zone: "utc" }).toUTC();
|
|
35741
35906
|
}
|
|
35742
|
-
throw new TransportError_1.TransportError("The provided object is invalid cannot be deserialized.");
|
|
35907
|
+
throw new TransportError_1.TransportError("The provided object is invalid and cannot be deserialized.");
|
|
35743
35908
|
}
|
|
35744
35909
|
static from(value) {
|
|
35745
35910
|
return this.fromAny(value);
|
|
@@ -40900,7 +41065,9 @@ class RelationshipTemplateController extends TransportController_1.TransportCont
|
|
|
40900
41065
|
const templateDoc = await this.templates.read(id.toString());
|
|
40901
41066
|
if (templateDoc) {
|
|
40902
41067
|
const template = await this.updateCacheOfExistingTemplateInDb(id.toString());
|
|
40903
|
-
|
|
41068
|
+
if (!template.isOwn) {
|
|
41069
|
+
this.eventBus.publish(new events_1.PeerRelationshipTemplateLoadedEvent(this.parent.identity.address.toString(), template));
|
|
41070
|
+
}
|
|
40904
41071
|
return template;
|
|
40905
41072
|
}
|
|
40906
41073
|
const relationshipTemplate = RelationshipTemplate_1.RelationshipTemplate.from({
|
|
@@ -45926,7 +46093,7 @@ module.exports = TSServal;
|
|
|
45926
46093
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
45927
46094
|
|
|
45928
46095
|
"use strict";
|
|
45929
|
-
// Axios v1.6.
|
|
46096
|
+
// Axios v1.6.8 Copyright (c) 2024 Matt Zabriskie and contributors
|
|
45930
46097
|
|
|
45931
46098
|
|
|
45932
46099
|
function bind(fn, thisArg) {
|
|
@@ -48481,7 +48648,7 @@ function dispatchRequest(config) {
|
|
|
48481
48648
|
});
|
|
48482
48649
|
}
|
|
48483
48650
|
|
|
48484
|
-
const headersToObject = (thing) => thing instanceof AxiosHeaders$1 ? thing
|
|
48651
|
+
const headersToObject = (thing) => thing instanceof AxiosHeaders$1 ? { ...thing } : thing;
|
|
48485
48652
|
|
|
48486
48653
|
/**
|
|
48487
48654
|
* Config-specific merge-function which creates a new config-object
|
|
@@ -48583,7 +48750,7 @@ function mergeConfig(config1, config2) {
|
|
|
48583
48750
|
return config;
|
|
48584
48751
|
}
|
|
48585
48752
|
|
|
48586
|
-
const VERSION = "1.6.
|
|
48753
|
+
const VERSION = "1.6.8";
|
|
48587
48754
|
|
|
48588
48755
|
const validators$1 = {};
|
|
48589
48756
|
|