@ama-sdk/core 14.6.0-prerelease.9 → 15.1.0-prerelease.0
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/cjs/fwk/api-helpers.js +10 -19
- package/cjs/fwk/api-helpers.spec.js +79 -10
- package/cjs/fwk/core/api-client.js +1 -1
- package/cjs/fwk/date.js +20 -29
- package/cjs/fwk/errors.js +16 -27
- package/cjs/fwk/mocks/alf-mock-adapter.js +5 -11
- package/cjs/fwk/mocks/base-mock-adapter.js +4 -11
- package/cjs/fwk/mocks/random-mock-adapter.js +12 -20
- package/cjs/fwk/mocks/sequential-mock-adapter.js +12 -20
- package/cjs/fwk/param-deserialization.js +1 -1
- package/cjs/fwk/param-serialization.js +2 -4
- package/cjs/fwk/server.js +1 -1
- package/cjs/plugins/additional-params/additional-params-request.js +17 -24
- package/cjs/plugins/additional-params/additional-params-sync-request.js +3 -7
- package/cjs/plugins/additional-params/additional-params.spec.js +2 -5
- package/cjs/plugins/api-configuration-override/api-configuration-override-request.js +4 -11
- package/cjs/plugins/api-configuration-override/api-configuration-override.spec.js +4 -11
- package/cjs/plugins/api-key/api-key-request.js +4 -11
- package/cjs/plugins/api-key/api-key.spec.js +2 -5
- package/cjs/plugins/bot-protection-fingerprint/bot-protection-fingerprint-request.js +4 -11
- package/cjs/plugins/bot-protection-fingerprint/bot-protection-fingerprint.spec.js +2 -5
- package/cjs/plugins/client-facts/client-facts-request.js +4 -11
- package/cjs/plugins/client-facts/client-facts.spec.js +3 -8
- package/cjs/plugins/custom-info/custom-info-reply.js +2 -6
- package/cjs/plugins/custom-info/custom-info.spec.js +2 -5
- package/cjs/plugins/exception/exception-reply.js +2 -6
- package/cjs/plugins/exception/exception.spec.js +1 -3
- package/cjs/plugins/fetch-cache/fetch-cache-request.js +4 -9
- package/cjs/plugins/fetch-cache/fetch-cache.spec.js +2 -5
- package/cjs/plugins/fetch-credentials/fetch-credentials-request.js +2 -6
- package/cjs/plugins/fetch-credentials/fetch-credentials.spec.js +2 -5
- package/cjs/plugins/json-token/json-token-reply.js +2 -6
- package/cjs/plugins/json-token/json-token-request.js +2 -6
- package/cjs/plugins/json-token/json-token.spec.js +2 -5
- package/cjs/plugins/mgw-mdw-auth/mgw-mdw-auth-helpers.js +14 -15
- package/cjs/plugins/mgw-mdw-auth/mgw-mdw-auth-request.js +4 -11
- package/cjs/plugins/mgw-mdw-auth/mgw-mdw-auth.spec.js +4 -11
- package/cjs/plugins/mock-intercept/mock-intercept-request.js +6 -14
- package/cjs/plugins/mock-intercept/mock-intercept.spec.js +2 -5
- package/cjs/plugins/open-telemetry/traceparent/open-telemetry-traceparent-reply.js +5 -10
- package/cjs/plugins/open-telemetry/traceparent/open-telemetry-traceparent-reply.spec.js +2 -5
- package/cjs/plugins/open-telemetry/traceparent/open-telemetry-traceparent-request.js +4 -9
- package/cjs/plugins/open-telemetry/traceparent/open-telemetry-traceparent-request.spec.js +2 -5
- package/cjs/plugins/pii-tokenizer/pii-tokenizer-request.js +4 -11
- package/cjs/plugins/pii-tokenizer/pii-tokenizer.spec.js +13 -30
- package/cjs/plugins/raw-response-info/raw-response-info-reply.js +4 -9
- package/cjs/plugins/raw-response-info/raw-response-info.spec.js +2 -5
- package/cjs/plugins/reviver/reviver-reply.js +2 -6
- package/cjs/plugins/reviver/reviver.spec.js +2 -5
- package/cjs/plugins/session-id/session-id-request.js +2 -6
- package/cjs/plugins/session-id/session-id.spec.js +2 -5
- package/cjs/plugins/si-token/si-token-request.js +12 -20
- package/cjs/plugins/si-token/si-token.spec.js +2 -5
- package/cjs/plugins/simple-api-key-authentication/simple-api-key-authentication-request.js +4 -11
- package/cjs/plugins/simple-api-key-authentication/simple-api-key-authentication.spec.js +2 -5
- package/cjs/plugins/url-rewrite/url-rewrite-request.js +4 -11
- package/cjs/plugins/url-rewrite/url-rewrite.spec.js +2 -5
- package/cjs/utils/crypto.js +2 -5
- package/cjs/utils/encoder.js +6 -8
- package/cjs/utils/generic-api.js +4 -11
- package/cjs/utils/json-token.js +2 -5
- package/cjs/utils/json-token.spec.js +11 -14
- package/cjs/utils/perf/perf-metric.js +4 -9
- package/esm2015/fwk/api-helpers.js +11 -21
- package/esm2015/fwk/api-helpers.spec.js +80 -11
- package/esm2015/fwk/core/api-client.js +1 -1
- package/esm2015/fwk/date.js +20 -29
- package/esm2015/fwk/errors.js +16 -27
- package/esm2015/fwk/mocks/alf-mock-adapter.js +5 -11
- package/esm2015/fwk/mocks/base-mock-adapter.js +4 -11
- package/esm2015/fwk/mocks/random-mock-adapter.js +12 -20
- package/esm2015/fwk/mocks/sequential-mock-adapter.js +12 -20
- package/esm2015/fwk/param-deserialization.js +1 -1
- package/esm2015/fwk/param-serialization.js +2 -4
- package/esm2015/fwk/server.js +1 -1
- package/esm2015/plugins/additional-params/additional-params-request.js +17 -24
- package/esm2015/plugins/additional-params/additional-params-sync-request.js +3 -7
- package/esm2015/plugins/additional-params/additional-params.spec.js +2 -5
- package/esm2015/plugins/api-configuration-override/api-configuration-override-request.js +4 -11
- package/esm2015/plugins/api-configuration-override/api-configuration-override.spec.js +4 -11
- package/esm2015/plugins/api-key/api-key-request.js +4 -11
- package/esm2015/plugins/api-key/api-key.spec.js +2 -5
- package/esm2015/plugins/bot-protection-fingerprint/bot-protection-fingerprint-request.js +4 -11
- package/esm2015/plugins/bot-protection-fingerprint/bot-protection-fingerprint.spec.js +2 -5
- package/esm2015/plugins/client-facts/client-facts-request.js +4 -11
- package/esm2015/plugins/client-facts/client-facts.spec.js +3 -8
- package/esm2015/plugins/custom-info/custom-info-reply.js +2 -6
- package/esm2015/plugins/custom-info/custom-info.spec.js +2 -5
- package/esm2015/plugins/exception/exception-reply.js +2 -6
- package/esm2015/plugins/exception/exception.spec.js +1 -3
- package/esm2015/plugins/fetch-cache/fetch-cache-request.js +4 -9
- package/esm2015/plugins/fetch-cache/fetch-cache.spec.js +2 -5
- package/esm2015/plugins/fetch-credentials/fetch-credentials-request.js +2 -6
- package/esm2015/plugins/fetch-credentials/fetch-credentials.spec.js +2 -5
- package/esm2015/plugins/json-token/json-token-reply.js +2 -6
- package/esm2015/plugins/json-token/json-token-request.js +2 -6
- package/esm2015/plugins/json-token/json-token.spec.js +2 -5
- package/esm2015/plugins/mgw-mdw-auth/mgw-mdw-auth-helpers.js +14 -15
- package/esm2015/plugins/mgw-mdw-auth/mgw-mdw-auth-request.js +4 -11
- package/esm2015/plugins/mgw-mdw-auth/mgw-mdw-auth.spec.js +4 -11
- package/esm2015/plugins/mock-intercept/mock-intercept-request.js +6 -14
- package/esm2015/plugins/mock-intercept/mock-intercept.spec.js +2 -5
- package/esm2015/plugins/open-telemetry/traceparent/open-telemetry-traceparent-reply.js +5 -10
- package/esm2015/plugins/open-telemetry/traceparent/open-telemetry-traceparent-reply.spec.js +2 -5
- package/esm2015/plugins/open-telemetry/traceparent/open-telemetry-traceparent-request.js +4 -9
- package/esm2015/plugins/open-telemetry/traceparent/open-telemetry-traceparent-request.spec.js +2 -5
- package/esm2015/plugins/pii-tokenizer/pii-tokenizer-request.js +4 -11
- package/esm2015/plugins/pii-tokenizer/pii-tokenizer.spec.js +5 -11
- package/esm2015/plugins/raw-response-info/raw-response-info-reply.js +4 -9
- package/esm2015/plugins/raw-response-info/raw-response-info.spec.js +2 -5
- package/esm2015/plugins/reviver/reviver-reply.js +2 -6
- package/esm2015/plugins/reviver/reviver.spec.js +2 -5
- package/esm2015/plugins/session-id/session-id-request.js +2 -6
- package/esm2015/plugins/session-id/session-id.spec.js +2 -5
- package/esm2015/plugins/si-token/si-token-request.js +12 -20
- package/esm2015/plugins/si-token/si-token.spec.js +2 -5
- package/esm2015/plugins/simple-api-key-authentication/simple-api-key-authentication-request.js +4 -11
- package/esm2015/plugins/simple-api-key-authentication/simple-api-key-authentication.spec.js +2 -5
- package/esm2015/plugins/url-rewrite/url-rewrite-request.js +4 -11
- package/esm2015/plugins/url-rewrite/url-rewrite.spec.js +2 -5
- package/esm2015/utils/crypto.js +2 -5
- package/esm2015/utils/encoder.js +6 -8
- package/esm2015/utils/generic-api.js +4 -11
- package/esm2015/utils/json-token.js +2 -5
- package/esm2015/utils/json-token.spec.js +11 -14
- package/esm2015/utils/perf/perf-metric.js +4 -9
- package/package.json +25 -25
- package/schematics/ng-add/index.js +3 -2
- package/schematics/ng-add/index.js.map +1 -1
- package/src/fwk/api-helpers.d.ts +2 -10
- package/src/fwk/api-helpers.d.ts.map +1 -1
- package/src/fwk/api-helpers.js +8 -16
- package/src/fwk/api-helpers.js.map +1 -1
- package/src/fwk/core/api-client.d.ts +2 -10
- package/src/fwk/core/api-client.d.ts.map +1 -1
- package/src/fwk/core/api-client.js +1 -1
- package/src/fwk/core/api-client.js.map +1 -1
|
@@ -34,11 +34,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
34
34
|
reject(error);
|
|
35
35
|
return;
|
|
36
36
|
}
|
|
37
|
-
if (info.done)
|
|
38
|
-
|
|
39
|
-
} else {
|
|
40
|
-
Promise.resolve(value).then(_next, _throw);
|
|
41
|
-
}
|
|
37
|
+
if (info.done) resolve(value);
|
|
38
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
42
39
|
}
|
|
43
40
|
function _async_to_generator(fn) {
|
|
44
41
|
return function() {
|
|
@@ -56,9 +53,7 @@ function _async_to_generator(fn) {
|
|
|
56
53
|
};
|
|
57
54
|
}
|
|
58
55
|
function _class_call_check(instance, Constructor) {
|
|
59
|
-
if (!(instance instanceof Constructor))
|
|
60
|
-
throw new TypeError("Cannot call a class as a function");
|
|
61
|
-
}
|
|
56
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
62
57
|
}
|
|
63
58
|
function _defineProperties(target, props) {
|
|
64
59
|
for(var i = 0; i < props.length; i++){
|
|
@@ -82,9 +77,7 @@ function _define_property(obj, key, value) {
|
|
|
82
77
|
configurable: true,
|
|
83
78
|
writable: true
|
|
84
79
|
});
|
|
85
|
-
} else
|
|
86
|
-
obj[key] = value;
|
|
87
|
-
}
|
|
80
|
+
} else obj[key] = value;
|
|
88
81
|
return obj;
|
|
89
82
|
}
|
|
90
83
|
function _iterable_to_array_limit(arr, i) {
|
|
@@ -112,7 +105,7 @@ function _iterable_to_array_limit(arr, i) {
|
|
|
112
105
|
return _arr;
|
|
113
106
|
}
|
|
114
107
|
function _non_iterable_rest() {
|
|
115
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance
|
|
108
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
116
109
|
}
|
|
117
110
|
function _object_spread(target) {
|
|
118
111
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -132,18 +125,6 @@ function _object_spread(target) {
|
|
|
132
125
|
function _sliced_to_array(arr, i) {
|
|
133
126
|
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
134
127
|
}
|
|
135
|
-
function _type_of(obj) {
|
|
136
|
-
"@swc/helpers - typeof";
|
|
137
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
138
|
-
}
|
|
139
|
-
function _unsupported_iterable_to_array(o, minLen) {
|
|
140
|
-
if (!o) return;
|
|
141
|
-
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
142
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
143
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
144
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
145
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
146
|
-
}
|
|
147
128
|
function _ts_generator(thisArg, body) {
|
|
148
129
|
var f, y, t, _ = {
|
|
149
130
|
label: 0,
|
|
@@ -243,6 +224,18 @@ function _ts_generator(thisArg, body) {
|
|
|
243
224
|
};
|
|
244
225
|
}
|
|
245
226
|
}
|
|
227
|
+
function _type_of(obj) {
|
|
228
|
+
"@swc/helpers - typeof";
|
|
229
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
230
|
+
}
|
|
231
|
+
function _unsupported_iterable_to_array(o, minLen) {
|
|
232
|
+
if (!o) return;
|
|
233
|
+
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
234
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
235
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
236
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
237
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
238
|
+
}
|
|
246
239
|
function isStringOrUndefined(value) {
|
|
247
240
|
var type = typeof value === "undefined" ? "undefined" : _type_of(value);
|
|
248
241
|
return type === 'undefined' || type === 'string';
|
|
@@ -20,9 +20,7 @@ function _array_with_holes(arr) {
|
|
|
20
20
|
if (Array.isArray(arr)) return arr;
|
|
21
21
|
}
|
|
22
22
|
function _class_call_check(instance, Constructor) {
|
|
23
|
-
if (!(instance instanceof Constructor))
|
|
24
|
-
throw new TypeError("Cannot call a class as a function");
|
|
25
|
-
}
|
|
23
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
26
24
|
}
|
|
27
25
|
function _defineProperties(target, props) {
|
|
28
26
|
for(var i = 0; i < props.length; i++){
|
|
@@ -46,9 +44,7 @@ function _define_property(obj, key, value) {
|
|
|
46
44
|
configurable: true,
|
|
47
45
|
writable: true
|
|
48
46
|
});
|
|
49
|
-
} else
|
|
50
|
-
obj[key] = value;
|
|
51
|
-
}
|
|
47
|
+
} else obj[key] = value;
|
|
52
48
|
return obj;
|
|
53
49
|
}
|
|
54
50
|
function _iterable_to_array_limit(arr, i) {
|
|
@@ -76,7 +72,7 @@ function _iterable_to_array_limit(arr, i) {
|
|
|
76
72
|
return _arr;
|
|
77
73
|
}
|
|
78
74
|
function _non_iterable_rest() {
|
|
79
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance
|
|
75
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
80
76
|
}
|
|
81
77
|
function _object_spread(target) {
|
|
82
78
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -12,11 +12,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
12
12
|
reject(error);
|
|
13
13
|
return;
|
|
14
14
|
}
|
|
15
|
-
if (info.done)
|
|
16
|
-
|
|
17
|
-
} else {
|
|
18
|
-
Promise.resolve(value).then(_next, _throw);
|
|
19
|
-
}
|
|
15
|
+
if (info.done) resolve(value);
|
|
16
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
20
17
|
}
|
|
21
18
|
function _async_to_generator(fn) {
|
|
22
19
|
return function() {
|
|
@@ -16,11 +16,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
16
16
|
reject(error);
|
|
17
17
|
return;
|
|
18
18
|
}
|
|
19
|
-
if (info.done)
|
|
20
|
-
|
|
21
|
-
} else {
|
|
22
|
-
Promise.resolve(value).then(_next, _throw);
|
|
23
|
-
}
|
|
19
|
+
if (info.done) resolve(value);
|
|
20
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
24
21
|
}
|
|
25
22
|
function _async_to_generator(fn) {
|
|
26
23
|
return function() {
|
|
@@ -38,9 +35,7 @@ function _async_to_generator(fn) {
|
|
|
38
35
|
};
|
|
39
36
|
}
|
|
40
37
|
function _class_call_check(instance, Constructor) {
|
|
41
|
-
if (!(instance instanceof Constructor))
|
|
42
|
-
throw new TypeError("Cannot call a class as a function");
|
|
43
|
-
}
|
|
38
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
44
39
|
}
|
|
45
40
|
function _defineProperties(target, props) {
|
|
46
41
|
for(var i = 0; i < props.length; i++){
|
|
@@ -64,9 +59,7 @@ function _define_property(obj, key, value) {
|
|
|
64
59
|
configurable: true,
|
|
65
60
|
writable: true
|
|
66
61
|
});
|
|
67
|
-
} else
|
|
68
|
-
obj[key] = value;
|
|
69
|
-
}
|
|
62
|
+
} else obj[key] = value;
|
|
70
63
|
return obj;
|
|
71
64
|
}
|
|
72
65
|
function _ts_generator(thisArg, body) {
|
|
@@ -11,11 +11,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
11
11
|
reject(error);
|
|
12
12
|
return;
|
|
13
13
|
}
|
|
14
|
-
if (info.done)
|
|
15
|
-
|
|
16
|
-
} else {
|
|
17
|
-
Promise.resolve(value).then(_next, _throw);
|
|
18
|
-
}
|
|
14
|
+
if (info.done) resolve(value);
|
|
15
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
19
16
|
}
|
|
20
17
|
function _async_to_generator(fn) {
|
|
21
18
|
return function() {
|
|
@@ -33,9 +30,7 @@ function _async_to_generator(fn) {
|
|
|
33
30
|
};
|
|
34
31
|
}
|
|
35
32
|
function _class_call_check(instance, Constructor) {
|
|
36
|
-
if (!(instance instanceof Constructor))
|
|
37
|
-
throw new TypeError("Cannot call a class as a function");
|
|
38
|
-
}
|
|
33
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
39
34
|
}
|
|
40
35
|
function _define_property(obj, key, value) {
|
|
41
36
|
if (key in obj) {
|
|
@@ -45,9 +40,7 @@ function _define_property(obj, key, value) {
|
|
|
45
40
|
configurable: true,
|
|
46
41
|
writable: true
|
|
47
42
|
});
|
|
48
|
-
} else
|
|
49
|
-
obj[key] = value;
|
|
50
|
-
}
|
|
43
|
+
} else obj[key] = value;
|
|
51
44
|
return obj;
|
|
52
45
|
}
|
|
53
46
|
function _ts_generator(thisArg, body) {
|
|
@@ -16,11 +16,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
16
16
|
reject(error);
|
|
17
17
|
return;
|
|
18
18
|
}
|
|
19
|
-
if (info.done)
|
|
20
|
-
|
|
21
|
-
} else {
|
|
22
|
-
Promise.resolve(value).then(_next, _throw);
|
|
23
|
-
}
|
|
19
|
+
if (info.done) resolve(value);
|
|
20
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
24
21
|
}
|
|
25
22
|
function _async_to_generator(fn) {
|
|
26
23
|
return function() {
|
|
@@ -38,9 +35,7 @@ function _async_to_generator(fn) {
|
|
|
38
35
|
};
|
|
39
36
|
}
|
|
40
37
|
function _class_call_check(instance, Constructor) {
|
|
41
|
-
if (!(instance instanceof Constructor))
|
|
42
|
-
throw new TypeError("Cannot call a class as a function");
|
|
43
|
-
}
|
|
38
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
44
39
|
}
|
|
45
40
|
function _defineProperties(target, props) {
|
|
46
41
|
for(var i = 0; i < props.length; i++){
|
|
@@ -64,9 +59,7 @@ function _define_property(obj, key, value) {
|
|
|
64
59
|
configurable: true,
|
|
65
60
|
writable: true
|
|
66
61
|
});
|
|
67
|
-
} else
|
|
68
|
-
obj[key] = value;
|
|
69
|
-
}
|
|
62
|
+
} else obj[key] = value;
|
|
70
63
|
return obj;
|
|
71
64
|
}
|
|
72
65
|
function _ts_generator(thisArg, body) {
|
|
@@ -11,11 +11,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
11
11
|
reject(error);
|
|
12
12
|
return;
|
|
13
13
|
}
|
|
14
|
-
if (info.done)
|
|
15
|
-
|
|
16
|
-
} else {
|
|
17
|
-
Promise.resolve(value).then(_next, _throw);
|
|
18
|
-
}
|
|
14
|
+
if (info.done) resolve(value);
|
|
15
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
19
16
|
}
|
|
20
17
|
function _async_to_generator(fn) {
|
|
21
18
|
return function() {
|
|
@@ -27,11 +27,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
27
27
|
reject(error);
|
|
28
28
|
return;
|
|
29
29
|
}
|
|
30
|
-
if (info.done)
|
|
31
|
-
|
|
32
|
-
} else {
|
|
33
|
-
Promise.resolve(value).then(_next, _throw);
|
|
34
|
-
}
|
|
30
|
+
if (info.done) resolve(value);
|
|
31
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
35
32
|
}
|
|
36
33
|
function _async_to_generator(fn) {
|
|
37
34
|
return function() {
|
|
@@ -49,9 +46,7 @@ function _async_to_generator(fn) {
|
|
|
49
46
|
};
|
|
50
47
|
}
|
|
51
48
|
function _class_call_check(instance, Constructor) {
|
|
52
|
-
if (!(instance instanceof Constructor))
|
|
53
|
-
throw new TypeError("Cannot call a class as a function");
|
|
54
|
-
}
|
|
49
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
55
50
|
}
|
|
56
51
|
function _defineProperties(target, props) {
|
|
57
52
|
for(var i = 0; i < props.length; i++){
|
|
@@ -75,9 +70,7 @@ function _define_property(obj, key, value) {
|
|
|
75
70
|
configurable: true,
|
|
76
71
|
writable: true
|
|
77
72
|
});
|
|
78
|
-
} else
|
|
79
|
-
obj[key] = value;
|
|
80
|
-
}
|
|
73
|
+
} else obj[key] = value;
|
|
81
74
|
return obj;
|
|
82
75
|
}
|
|
83
76
|
function _ts_generator(thisArg, body) {
|
|
@@ -11,11 +11,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
11
11
|
reject(error);
|
|
12
12
|
return;
|
|
13
13
|
}
|
|
14
|
-
if (info.done)
|
|
15
|
-
|
|
16
|
-
} else {
|
|
17
|
-
Promise.resolve(value).then(_next, _throw);
|
|
18
|
-
}
|
|
14
|
+
if (info.done) resolve(value);
|
|
15
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
19
16
|
}
|
|
20
17
|
function _async_to_generator(fn) {
|
|
21
18
|
return function() {
|
|
@@ -25,11 +25,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
25
25
|
reject(error);
|
|
26
26
|
return;
|
|
27
27
|
}
|
|
28
|
-
if (info.done)
|
|
29
|
-
|
|
30
|
-
} else {
|
|
31
|
-
Promise.resolve(value).then(_next, _throw);
|
|
32
|
-
}
|
|
28
|
+
if (info.done) resolve(value);
|
|
29
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
33
30
|
}
|
|
34
31
|
function _async_to_generator(fn) {
|
|
35
32
|
return function() {
|
|
@@ -47,9 +44,7 @@ function _async_to_generator(fn) {
|
|
|
47
44
|
};
|
|
48
45
|
}
|
|
49
46
|
function _class_call_check(instance, Constructor) {
|
|
50
|
-
if (!(instance instanceof Constructor))
|
|
51
|
-
throw new TypeError("Cannot call a class as a function");
|
|
52
|
-
}
|
|
47
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
53
48
|
}
|
|
54
49
|
function _defineProperties(target, props) {
|
|
55
50
|
for(var i = 0; i < props.length; i++){
|
|
@@ -73,9 +68,7 @@ function _define_property(obj, key, value) {
|
|
|
73
68
|
configurable: true,
|
|
74
69
|
writable: true
|
|
75
70
|
});
|
|
76
|
-
} else
|
|
77
|
-
obj[key] = value;
|
|
78
|
-
}
|
|
71
|
+
} else obj[key] = value;
|
|
79
72
|
return obj;
|
|
80
73
|
}
|
|
81
74
|
function _object_spread(target) {
|
|
@@ -11,11 +11,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
11
11
|
reject(error);
|
|
12
12
|
return;
|
|
13
13
|
}
|
|
14
|
-
if (info.done)
|
|
15
|
-
|
|
16
|
-
} else {
|
|
17
|
-
Promise.resolve(value).then(_next, _throw);
|
|
18
|
-
}
|
|
14
|
+
if (info.done) resolve(value);
|
|
15
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
19
16
|
}
|
|
20
17
|
function _async_to_generator(fn) {
|
|
21
18
|
return function() {
|
|
@@ -40,9 +37,7 @@ function _define_property(obj, key, value) {
|
|
|
40
37
|
configurable: true,
|
|
41
38
|
writable: true
|
|
42
39
|
});
|
|
43
|
-
} else
|
|
44
|
-
obj[key] = value;
|
|
45
|
-
}
|
|
40
|
+
} else obj[key] = value;
|
|
46
41
|
return obj;
|
|
47
42
|
}
|
|
48
43
|
function _object_spread(target) {
|
|
@@ -9,9 +9,7 @@ Object.defineProperty(exports, "CustomInfoReply", {
|
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
12
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
13
|
}
|
|
16
14
|
function _defineProperties(target, props) {
|
|
17
15
|
for(var i = 0; i < props.length; i++){
|
|
@@ -35,9 +33,7 @@ function _define_property(obj, key, value) {
|
|
|
35
33
|
configurable: true,
|
|
36
34
|
writable: true
|
|
37
35
|
});
|
|
38
|
-
} else
|
|
39
|
-
obj[key] = value;
|
|
40
|
-
}
|
|
36
|
+
} else obj[key] = value;
|
|
41
37
|
return obj;
|
|
42
38
|
}
|
|
43
39
|
var CustomInfoReply = /*#__PURE__*/ function() {
|
|
@@ -12,11 +12,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
12
12
|
reject(error);
|
|
13
13
|
return;
|
|
14
14
|
}
|
|
15
|
-
if (info.done)
|
|
16
|
-
|
|
17
|
-
} else {
|
|
18
|
-
Promise.resolve(value).then(_next, _throw);
|
|
19
|
-
}
|
|
15
|
+
if (info.done) resolve(value);
|
|
16
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
20
17
|
}
|
|
21
18
|
function _async_to_generator(fn) {
|
|
22
19
|
return function() {
|
|
@@ -11,9 +11,7 @@ Object.defineProperty(exports, "ExceptionReply", {
|
|
|
11
11
|
var _api = require("../../fwk/api");
|
|
12
12
|
var _errors = require("../../fwk/errors");
|
|
13
13
|
function _class_call_check(instance, Constructor) {
|
|
14
|
-
if (!(instance instanceof Constructor))
|
|
15
|
-
throw new TypeError("Cannot call a class as a function");
|
|
16
|
-
}
|
|
14
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
17
15
|
}
|
|
18
16
|
function _defineProperties(target, props) {
|
|
19
17
|
for(var i = 0; i < props.length; i++){
|
|
@@ -37,9 +35,7 @@ function _define_property(obj, key, value) {
|
|
|
37
35
|
configurable: true,
|
|
38
36
|
writable: true
|
|
39
37
|
});
|
|
40
|
-
} else
|
|
41
|
-
obj[key] = value;
|
|
42
|
-
}
|
|
38
|
+
} else obj[key] = value;
|
|
43
39
|
return obj;
|
|
44
40
|
}
|
|
45
41
|
var ExceptionReply = /*#__PURE__*/ function() {
|
|
@@ -9,9 +9,7 @@ Object.defineProperty(exports, "FetchCacheRequest", {
|
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
12
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
13
|
}
|
|
16
14
|
function _defineProperties(target, props) {
|
|
17
15
|
for(var i = 0; i < props.length; i++){
|
|
@@ -35,9 +33,7 @@ function _define_property(obj, key, value) {
|
|
|
35
33
|
configurable: true,
|
|
36
34
|
writable: true
|
|
37
35
|
});
|
|
38
|
-
} else
|
|
39
|
-
obj[key] = value;
|
|
40
|
-
}
|
|
36
|
+
} else obj[key] = value;
|
|
41
37
|
return obj;
|
|
42
38
|
}
|
|
43
39
|
function _object_spread(target) {
|
|
@@ -70,9 +66,8 @@ function ownKeys(object, enumerableOnly) {
|
|
|
70
66
|
}
|
|
71
67
|
function _object_spread_props(target, source) {
|
|
72
68
|
source = source != null ? source : {};
|
|
73
|
-
if (Object.getOwnPropertyDescriptors)
|
|
74
|
-
|
|
75
|
-
} else {
|
|
69
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
70
|
+
else {
|
|
76
71
|
ownKeys(Object(source)).forEach(function(key) {
|
|
77
72
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
78
73
|
});
|
|
@@ -11,11 +11,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
11
11
|
reject(error);
|
|
12
12
|
return;
|
|
13
13
|
}
|
|
14
|
-
if (info.done)
|
|
15
|
-
|
|
16
|
-
} else {
|
|
17
|
-
Promise.resolve(value).then(_next, _throw);
|
|
18
|
-
}
|
|
14
|
+
if (info.done) resolve(value);
|
|
15
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
19
16
|
}
|
|
20
17
|
function _async_to_generator(fn) {
|
|
21
18
|
return function() {
|
|
@@ -9,9 +9,7 @@ Object.defineProperty(exports, "FetchCredentialsRequest", {
|
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
12
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
13
|
}
|
|
16
14
|
function _defineProperties(target, props) {
|
|
17
15
|
for(var i = 0; i < props.length; i++){
|
|
@@ -35,9 +33,7 @@ function _define_property(obj, key, value) {
|
|
|
35
33
|
configurable: true,
|
|
36
34
|
writable: true
|
|
37
35
|
});
|
|
38
|
-
} else
|
|
39
|
-
obj[key] = value;
|
|
40
|
-
}
|
|
36
|
+
} else obj[key] = value;
|
|
41
37
|
return obj;
|
|
42
38
|
}
|
|
43
39
|
var FetchCredentialsRequest = /*#__PURE__*/ function() {
|
|
@@ -11,11 +11,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
11
11
|
reject(error);
|
|
12
12
|
return;
|
|
13
13
|
}
|
|
14
|
-
if (info.done)
|
|
15
|
-
|
|
16
|
-
} else {
|
|
17
|
-
Promise.resolve(value).then(_next, _throw);
|
|
18
|
-
}
|
|
14
|
+
if (info.done) resolve(value);
|
|
15
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
19
16
|
}
|
|
20
17
|
function _async_to_generator(fn) {
|
|
21
18
|
return function() {
|
|
@@ -9,9 +9,7 @@ Object.defineProperty(exports, "JsonTokenReply", {
|
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
12
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
13
|
}
|
|
16
14
|
function _defineProperties(target, props) {
|
|
17
15
|
for(var i = 0; i < props.length; i++){
|
|
@@ -35,9 +33,7 @@ function _define_property(obj, key, value) {
|
|
|
35
33
|
configurable: true,
|
|
36
34
|
writable: true
|
|
37
35
|
});
|
|
38
|
-
} else
|
|
39
|
-
obj[key] = value;
|
|
40
|
-
}
|
|
36
|
+
} else obj[key] = value;
|
|
41
37
|
return obj;
|
|
42
38
|
}
|
|
43
39
|
var JsonTokenReply = /*#__PURE__*/ function() {
|
|
@@ -9,9 +9,7 @@ Object.defineProperty(exports, "JsonTokenRequest", {
|
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
12
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
13
|
}
|
|
16
14
|
function _defineProperties(target, props) {
|
|
17
15
|
for(var i = 0; i < props.length; i++){
|
|
@@ -35,9 +33,7 @@ function _define_property(obj, key, value) {
|
|
|
35
33
|
configurable: true,
|
|
36
34
|
writable: true
|
|
37
35
|
});
|
|
38
|
-
} else
|
|
39
|
-
obj[key] = value;
|
|
40
|
-
}
|
|
36
|
+
} else obj[key] = value;
|
|
41
37
|
return obj;
|
|
42
38
|
}
|
|
43
39
|
var JsonTokenRequest = /*#__PURE__*/ function() {
|
|
@@ -13,11 +13,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
13
13
|
reject(error);
|
|
14
14
|
return;
|
|
15
15
|
}
|
|
16
|
-
if (info.done)
|
|
17
|
-
|
|
18
|
-
} else {
|
|
19
|
-
Promise.resolve(value).then(_next, _throw);
|
|
20
|
-
}
|
|
16
|
+
if (info.done) resolve(value);
|
|
17
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
21
18
|
}
|
|
22
19
|
function _async_to_generator(fn) {
|
|
23
20
|
return function() {
|
|
@@ -35,11 +35,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
35
35
|
reject(error);
|
|
36
36
|
return;
|
|
37
37
|
}
|
|
38
|
-
if (info.done)
|
|
39
|
-
|
|
40
|
-
} else {
|
|
41
|
-
Promise.resolve(value).then(_next, _throw);
|
|
42
|
-
}
|
|
38
|
+
if (info.done) resolve(value);
|
|
39
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
43
40
|
}
|
|
44
41
|
function _async_to_generator(fn) {
|
|
45
42
|
return function() {
|
|
@@ -57,22 +54,16 @@ function _async_to_generator(fn) {
|
|
|
57
54
|
};
|
|
58
55
|
}
|
|
59
56
|
function _iterable_to_array(iter) {
|
|
60
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
57
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) {
|
|
58
|
+
return Array.from(iter);
|
|
59
|
+
}
|
|
61
60
|
}
|
|
62
61
|
function _non_iterable_spread() {
|
|
63
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance
|
|
62
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
64
63
|
}
|
|
65
64
|
function _to_consumable_array(arr) {
|
|
66
65
|
return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
|
|
67
66
|
}
|
|
68
|
-
function _unsupported_iterable_to_array(o, minLen) {
|
|
69
|
-
if (!o) return;
|
|
70
|
-
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
71
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
72
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
73
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
74
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
75
|
-
}
|
|
76
67
|
function _ts_generator(thisArg, body) {
|
|
77
68
|
var f, y, t, _ = {
|
|
78
69
|
label: 0,
|
|
@@ -172,6 +163,14 @@ function _ts_generator(thisArg, body) {
|
|
|
172
163
|
};
|
|
173
164
|
}
|
|
174
165
|
}
|
|
166
|
+
function _unsupported_iterable_to_array(o, minLen) {
|
|
167
|
+
if (!o) return;
|
|
168
|
+
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
169
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
170
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
171
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
172
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
173
|
+
}
|
|
175
174
|
function sha256(value) {
|
|
176
175
|
return _async_to_generator(function() {
|
|
177
176
|
var utf8, hashBuffer, hashArray, hashHex;
|