@ama-sdk/core 11.3.0-prerelease.8 → 11.3.0-rc.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/README.md +13 -25
- package/cjs/clients/api-angular-client.js +63 -3
- package/cjs/clients/api-beacon-client.js +1 -0
- package/cjs/clients/api-fetch-client.js +2 -1
- package/cjs/fwk/date.js +12 -33
- package/cjs/fwk/errors.js +39 -43
- package/cjs/fwk/mocks/random-mock-adapter.js +10 -24
- package/cjs/fwk/mocks/sequential-mock-adapter.js +10 -24
- package/cjs/plugins/additional-params/additional-params.request.js +1 -1
- package/cjs/plugins/api-configuration-override/api-configuration-override.request.js +1 -1
- package/cjs/plugins/api-key/api-key.request.js +1 -1
- package/cjs/plugins/bot-protection-fingerprint/bot-protection-fingerprint.request.js +2 -2
- package/cjs/plugins/client-facts/client-facts.request.js +1 -1
- package/cjs/plugins/concurrent/concurrent.fetch.js +1 -1
- package/cjs/plugins/core/angular-plugin.js +4 -0
- package/cjs/plugins/mgw-mdw-auth/mgw-mdw-auth.request.js +1 -1
- package/cjs/plugins/mock-intercept/index.js +1 -0
- package/cjs/plugins/mock-intercept/mock-intercept.angular.js +347 -0
- package/cjs/plugins/mock-intercept/mock-intercept.fetch.js +1 -1
- package/cjs/plugins/mock-intercept/mock-intercept.request.js +1 -1
- package/cjs/plugins/perf-metric/perf-metric.fetch.js +1 -1
- package/cjs/plugins/pii-tokenizer/pii-tokenizer.request.js +1 -1
- package/cjs/plugins/retry/retry.fetch.js +2 -2
- package/cjs/plugins/si-token/si-token.request.js +21 -34
- package/cjs/plugins/simple-api-key-authentication/simple-api-key-authentication.request.js +1 -1
- package/cjs/plugins/timeout/timeout.fetch.js +1 -1
- package/cjs/plugins/url-rewrite/url-rewrite.request.js +1 -1
- package/cjs/plugins/wait-for/wait-for.fetch.js +2 -2
- package/cjs/utils/json-token.js +1 -1
- package/esm2015/clients/api-angular-client.js +67 -4
- package/esm2015/clients/api-beacon-client.js +1 -0
- package/esm2015/clients/api-fetch-client.js +6 -2
- package/esm2015/fwk/date.js +12 -33
- package/esm2015/fwk/errors.js +39 -43
- package/esm2015/fwk/mocks/random-mock-adapter.js +10 -24
- package/esm2015/fwk/mocks/sequential-mock-adapter.js +10 -24
- package/esm2015/plugins/additional-params/additional-params.request.js +1 -1
- package/esm2015/plugins/api-configuration-override/api-configuration-override.request.js +1 -1
- package/esm2015/plugins/api-key/api-key.request.js +1 -1
- package/esm2015/plugins/bot-protection-fingerprint/bot-protection-fingerprint.request.js +2 -2
- package/esm2015/plugins/client-facts/client-facts.request.js +1 -1
- package/esm2015/plugins/concurrent/concurrent.fetch.js +2 -1
- package/esm2015/plugins/core/angular-plugin.js +4 -0
- package/esm2015/plugins/core/fetch-plugin.js +1 -0
- package/esm2015/plugins/keepalive/keepalive.request.js +1 -0
- package/esm2015/plugins/mgw-mdw-auth/mgw-mdw-auth.request.js +1 -1
- package/esm2015/plugins/mock-intercept/index.js +1 -0
- package/esm2015/plugins/mock-intercept/mock-intercept.angular.js +343 -0
- package/esm2015/plugins/mock-intercept/mock-intercept.fetch.js +2 -1
- package/esm2015/plugins/mock-intercept/mock-intercept.request.js +1 -1
- package/esm2015/plugins/perf-metric/perf-metric.fetch.js +2 -1
- package/esm2015/plugins/pii-tokenizer/pii-tokenizer.request.js +1 -1
- package/esm2015/plugins/retry/retry.fetch.js +3 -2
- package/esm2015/plugins/si-token/si-token.request.js +21 -34
- package/esm2015/plugins/simple-api-key-authentication/simple-api-key-authentication.request.js +1 -1
- package/esm2015/plugins/timeout/timeout.fetch.js +1 -1
- package/esm2015/plugins/url-rewrite/url-rewrite.request.js +1 -1
- package/esm2015/plugins/wait-for/wait-for.fetch.js +3 -2
- package/esm2015/utils/json-token.js +1 -1
- package/package.json +16 -6
- package/schematics/ng-add/index.js.map +1 -0
- package/schematics/ng-add/schema.js.map +1 -0
- package/src/clients/api-angular-client.d.ts +19 -3
- package/src/clients/api-angular-client.d.ts.map +1 -1
- package/src/clients/api-angular-client.js +22 -4
- package/src/clients/api-angular-client.js.map +1 -1
- package/src/clients/api-beacon-client.d.ts +8 -2
- package/src/clients/api-beacon-client.d.ts.map +1 -1
- package/src/clients/api-beacon-client.js +1 -0
- package/src/clients/api-beacon-client.js.map +1 -1
- package/src/clients/api-fetch-client.d.ts +12 -3
- package/src/clients/api-fetch-client.d.ts.map +1 -1
- package/src/clients/api-fetch-client.js +13 -2
- package/src/clients/api-fetch-client.js.map +1 -1
- package/src/fwk/core/api-client.d.ts +1 -0
- package/src/fwk/core/api-client.d.ts.map +1 -1
- package/src/fwk/core/api-client.js.map +1 -1
- package/src/plugins/abort/abort.fetch.d.ts +1 -0
- package/src/plugins/abort/abort.fetch.d.ts.map +1 -1
- package/src/plugins/abort/abort.fetch.js.map +1 -1
- package/src/plugins/concurrent/concurrent.fetch.d.ts +1 -0
- package/src/plugins/concurrent/concurrent.fetch.d.ts.map +1 -1
- package/src/plugins/concurrent/concurrent.fetch.js +1 -0
- package/src/plugins/concurrent/concurrent.fetch.js.map +1 -1
- package/src/plugins/core/angular-plugin.d.ts +40 -0
- package/src/plugins/core/angular-plugin.d.ts.map +1 -0
- package/src/plugins/core/angular-plugin.js +2 -0
- package/src/plugins/core/angular-plugin.js.map +1 -0
- package/src/plugins/core/fetch-plugin.d.ts +7 -0
- package/src/plugins/core/fetch-plugin.d.ts.map +1 -1
- package/src/plugins/keepalive/keepalive.request.d.ts +1 -0
- package/src/plugins/keepalive/keepalive.request.d.ts.map +1 -1
- package/src/plugins/keepalive/keepalive.request.js +1 -0
- package/src/plugins/keepalive/keepalive.request.js.map +1 -1
- package/src/plugins/mock-intercept/index.d.ts +1 -0
- package/src/plugins/mock-intercept/index.d.ts.map +1 -1
- package/src/plugins/mock-intercept/index.js +1 -0
- package/src/plugins/mock-intercept/index.js.map +1 -1
- package/src/plugins/mock-intercept/mock-intercept.angular.d.ts +16 -0
- package/src/plugins/mock-intercept/mock-intercept.angular.d.ts.map +1 -0
- package/src/plugins/mock-intercept/mock-intercept.angular.js +64 -0
- package/src/plugins/mock-intercept/mock-intercept.angular.js.map +1 -0
- package/src/plugins/mock-intercept/mock-intercept.fetch.d.ts +1 -0
- package/src/plugins/mock-intercept/mock-intercept.fetch.d.ts.map +1 -1
- package/src/plugins/mock-intercept/mock-intercept.fetch.js +1 -0
- package/src/plugins/mock-intercept/mock-intercept.fetch.js.map +1 -1
- package/src/plugins/mock-intercept/mock-intercept.interface.d.ts +4 -1
- package/src/plugins/mock-intercept/mock-intercept.interface.d.ts.map +1 -1
- package/src/plugins/mock-intercept/mock-intercept.interface.js.map +1 -1
- package/src/plugins/perf-metric/perf-metric.fetch.d.ts +3 -0
- package/src/plugins/perf-metric/perf-metric.fetch.d.ts.map +1 -1
- package/src/plugins/perf-metric/perf-metric.fetch.js +1 -0
- package/src/plugins/perf-metric/perf-metric.fetch.js.map +1 -1
- package/src/plugins/retry/retry.fetch.d.ts +2 -0
- package/src/plugins/retry/retry.fetch.d.ts.map +1 -1
- package/src/plugins/retry/retry.fetch.js +1 -0
- package/src/plugins/retry/retry.fetch.js.map +1 -1
- package/src/plugins/timeout/timeout.fetch.d.ts +1 -0
- package/src/plugins/timeout/timeout.fetch.d.ts.map +1 -1
- package/src/plugins/timeout/timeout.fetch.js.map +1 -1
- package/src/plugins/wait-for/wait-for.fetch.d.ts +10 -2
- package/src/plugins/wait-for/wait-for.fetch.d.ts.map +1 -1
- package/src/plugins/wait-for/wait-for.fetch.js +1 -0
- package/src/plugins/wait-for/wait-for.fetch.js.map +1 -1
|
@@ -0,0 +1,343 @@
|
|
|
1
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
2
|
+
try {
|
|
3
|
+
var info = gen[key](arg);
|
|
4
|
+
var value = info.value;
|
|
5
|
+
} catch (error) {
|
|
6
|
+
reject(error);
|
|
7
|
+
return;
|
|
8
|
+
}
|
|
9
|
+
if (info.done) {
|
|
10
|
+
resolve(value);
|
|
11
|
+
} else {
|
|
12
|
+
Promise.resolve(value).then(_next, _throw);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
function _async_to_generator(fn) {
|
|
16
|
+
return function() {
|
|
17
|
+
var self = this, args = arguments;
|
|
18
|
+
return new Promise(function(resolve, reject) {
|
|
19
|
+
var gen = fn.apply(self, args);
|
|
20
|
+
function _next(value) {
|
|
21
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
22
|
+
}
|
|
23
|
+
function _throw(err) {
|
|
24
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
25
|
+
}
|
|
26
|
+
_next(undefined);
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function _class_call_check(instance, Constructor) {
|
|
31
|
+
if (!(instance instanceof Constructor)) {
|
|
32
|
+
throw new TypeError("Cannot call a class as a function");
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
function _defineProperties(target, props) {
|
|
36
|
+
for(var i = 0; i < props.length; i++){
|
|
37
|
+
var descriptor = props[i];
|
|
38
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
39
|
+
descriptor.configurable = true;
|
|
40
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
41
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
|
45
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
46
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
47
|
+
return Constructor;
|
|
48
|
+
}
|
|
49
|
+
function _define_property(obj, key, value) {
|
|
50
|
+
if (key in obj) {
|
|
51
|
+
Object.defineProperty(obj, key, {
|
|
52
|
+
value: value,
|
|
53
|
+
enumerable: true,
|
|
54
|
+
configurable: true,
|
|
55
|
+
writable: true
|
|
56
|
+
});
|
|
57
|
+
} else {
|
|
58
|
+
obj[key] = value;
|
|
59
|
+
}
|
|
60
|
+
return obj;
|
|
61
|
+
}
|
|
62
|
+
function _instanceof(left, right) {
|
|
63
|
+
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
64
|
+
return !!right[Symbol.hasInstance](left);
|
|
65
|
+
} else {
|
|
66
|
+
return left instanceof right;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
function _object_spread(target) {
|
|
70
|
+
for(var i = 1; i < arguments.length; i++){
|
|
71
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
72
|
+
var ownKeys = Object.keys(source);
|
|
73
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
74
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
75
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
76
|
+
}));
|
|
77
|
+
}
|
|
78
|
+
ownKeys.forEach(function(key) {
|
|
79
|
+
_define_property(target, key, source[key]);
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
return target;
|
|
83
|
+
}
|
|
84
|
+
function ownKeys(object, enumerableOnly) {
|
|
85
|
+
var keys = Object.keys(object);
|
|
86
|
+
if (Object.getOwnPropertySymbols) {
|
|
87
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
88
|
+
if (enumerableOnly) {
|
|
89
|
+
symbols = symbols.filter(function(sym) {
|
|
90
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
keys.push.apply(keys, symbols);
|
|
94
|
+
}
|
|
95
|
+
return keys;
|
|
96
|
+
}
|
|
97
|
+
function _object_spread_props(target, source) {
|
|
98
|
+
source = source != null ? source : {};
|
|
99
|
+
if (Object.getOwnPropertyDescriptors) {
|
|
100
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
101
|
+
} else {
|
|
102
|
+
ownKeys(Object(source)).forEach(function(key) {
|
|
103
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
return target;
|
|
107
|
+
}
|
|
108
|
+
function _ts_generator(thisArg, body) {
|
|
109
|
+
var f, y, t, g, _ = {
|
|
110
|
+
label: 0,
|
|
111
|
+
sent: function() {
|
|
112
|
+
if (t[0] & 1) throw t[1];
|
|
113
|
+
return t[1];
|
|
114
|
+
},
|
|
115
|
+
trys: [],
|
|
116
|
+
ops: []
|
|
117
|
+
};
|
|
118
|
+
return g = {
|
|
119
|
+
next: verb(0),
|
|
120
|
+
"throw": verb(1),
|
|
121
|
+
"return": verb(2)
|
|
122
|
+
}, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
123
|
+
return this;
|
|
124
|
+
}), g;
|
|
125
|
+
function verb(n) {
|
|
126
|
+
return function(v) {
|
|
127
|
+
return step([
|
|
128
|
+
n,
|
|
129
|
+
v
|
|
130
|
+
]);
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
function step(op) {
|
|
134
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
135
|
+
while(_)try {
|
|
136
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
137
|
+
if (y = 0, t) op = [
|
|
138
|
+
op[0] & 2,
|
|
139
|
+
t.value
|
|
140
|
+
];
|
|
141
|
+
switch(op[0]){
|
|
142
|
+
case 0:
|
|
143
|
+
case 1:
|
|
144
|
+
t = op;
|
|
145
|
+
break;
|
|
146
|
+
case 4:
|
|
147
|
+
_.label++;
|
|
148
|
+
return {
|
|
149
|
+
value: op[1],
|
|
150
|
+
done: false
|
|
151
|
+
};
|
|
152
|
+
case 5:
|
|
153
|
+
_.label++;
|
|
154
|
+
y = op[1];
|
|
155
|
+
op = [
|
|
156
|
+
0
|
|
157
|
+
];
|
|
158
|
+
continue;
|
|
159
|
+
case 7:
|
|
160
|
+
op = _.ops.pop();
|
|
161
|
+
_.trys.pop();
|
|
162
|
+
continue;
|
|
163
|
+
default:
|
|
164
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
165
|
+
_ = 0;
|
|
166
|
+
continue;
|
|
167
|
+
}
|
|
168
|
+
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
169
|
+
_.label = op[1];
|
|
170
|
+
break;
|
|
171
|
+
}
|
|
172
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
173
|
+
_.label = t[1];
|
|
174
|
+
t = op;
|
|
175
|
+
break;
|
|
176
|
+
}
|
|
177
|
+
if (t && _.label < t[2]) {
|
|
178
|
+
_.label = t[2];
|
|
179
|
+
_.ops.push(op);
|
|
180
|
+
break;
|
|
181
|
+
}
|
|
182
|
+
if (t[2]) _.ops.pop();
|
|
183
|
+
_.trys.pop();
|
|
184
|
+
continue;
|
|
185
|
+
}
|
|
186
|
+
op = body.call(thisArg, _);
|
|
187
|
+
} catch (e) {
|
|
188
|
+
op = [
|
|
189
|
+
6,
|
|
190
|
+
e
|
|
191
|
+
];
|
|
192
|
+
y = 0;
|
|
193
|
+
} finally{
|
|
194
|
+
f = t = 0;
|
|
195
|
+
}
|
|
196
|
+
if (op[0] & 5) throw op[1];
|
|
197
|
+
return {
|
|
198
|
+
value: op[0] ? op[1] : void 0,
|
|
199
|
+
done: true
|
|
200
|
+
};
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
import { delay, from, mergeMap } from 'rxjs';
|
|
204
|
+
import { CUSTOM_MOCK_OPERATION_ID_HEADER } from './mock-intercept.interface';
|
|
205
|
+
import { MockInterceptRequest } from './mock-intercept.request';
|
|
206
|
+
import { HttpResponse } from '@angular/common/http';
|
|
207
|
+
/**
|
|
208
|
+
* Plugin to mock and intercept the call of SDK
|
|
209
|
+
*
|
|
210
|
+
* This plugin should be used only with the MockInterceptRequest Plugin.
|
|
211
|
+
* It will allow the user to delay the response or to handle the getResponse function provided with the mock (if present).
|
|
212
|
+
* @deprecated Use the one exposed by {@link @ama-sdk/client-angular}, will be removed in v13
|
|
213
|
+
*/ export var MockInterceptAngular = /*#__PURE__*/ function() {
|
|
214
|
+
"use strict";
|
|
215
|
+
function MockInterceptAngular(options) {
|
|
216
|
+
_class_call_check(this, MockInterceptAngular);
|
|
217
|
+
_define_property(this, "options", void 0);
|
|
218
|
+
this.options = options;
|
|
219
|
+
}
|
|
220
|
+
_create_class(MockInterceptAngular, [
|
|
221
|
+
{
|
|
222
|
+
key: "load",
|
|
223
|
+
value: function load(context) {
|
|
224
|
+
var _this = this;
|
|
225
|
+
if (!context.apiClient.options.requestPlugins.some(function(plugin) {
|
|
226
|
+
return _instanceof(plugin, MockInterceptRequest);
|
|
227
|
+
})) {
|
|
228
|
+
throw new Error('MockInterceptAngular plugin should be used only with the MockInterceptRequest plugin');
|
|
229
|
+
}
|
|
230
|
+
return {
|
|
231
|
+
transform: function(call) {
|
|
232
|
+
var _this1 = _this;
|
|
233
|
+
return from(_async_to_generator(function() {
|
|
234
|
+
var originalCall, delayTime, _tmp, operationId, mock, response;
|
|
235
|
+
return _ts_generator(this, function(_state) {
|
|
236
|
+
switch(_state.label){
|
|
237
|
+
case 0:
|
|
238
|
+
return [
|
|
239
|
+
4,
|
|
240
|
+
_this1.options.adapter.initialize()
|
|
241
|
+
];
|
|
242
|
+
case 1:
|
|
243
|
+
_state.sent();
|
|
244
|
+
originalCall = call;
|
|
245
|
+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
|
|
246
|
+
if (!context.options.headers || !_instanceof(context.options.headers, Headers) || !context.options.headers.has(CUSTOM_MOCK_OPERATION_ID_HEADER)) {
|
|
247
|
+
return [
|
|
248
|
+
2,
|
|
249
|
+
originalCall
|
|
250
|
+
];
|
|
251
|
+
}
|
|
252
|
+
if (!(typeof _this1.options.delayTiming !== 'undefined')) return [
|
|
253
|
+
3,
|
|
254
|
+
5
|
|
255
|
+
];
|
|
256
|
+
if (!(typeof _this1.options.delayTiming === 'number')) return [
|
|
257
|
+
3,
|
|
258
|
+
2
|
|
259
|
+
];
|
|
260
|
+
_tmp = _this1.options.delayTiming;
|
|
261
|
+
return [
|
|
262
|
+
3,
|
|
263
|
+
4
|
|
264
|
+
];
|
|
265
|
+
case 2:
|
|
266
|
+
return [
|
|
267
|
+
4,
|
|
268
|
+
_this1.options.delayTiming(_object_spread_props(_object_spread({}, context), {
|
|
269
|
+
fetchPlugins: [],
|
|
270
|
+
options: context.requestOptions
|
|
271
|
+
}))
|
|
272
|
+
];
|
|
273
|
+
case 3:
|
|
274
|
+
_tmp = _state.sent();
|
|
275
|
+
_state.label = 4;
|
|
276
|
+
case 4:
|
|
277
|
+
delayTime = _tmp;
|
|
278
|
+
originalCall = originalCall.pipe(delay(delayTime));
|
|
279
|
+
_state.label = 5;
|
|
280
|
+
case 5:
|
|
281
|
+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
|
|
282
|
+
operationId = context.options.headers.get(CUSTOM_MOCK_OPERATION_ID_HEADER);
|
|
283
|
+
try {
|
|
284
|
+
mock = _this1.options.adapter.getLatestMock(operationId);
|
|
285
|
+
if (!mock.getResponse) {
|
|
286
|
+
return [
|
|
287
|
+
2,
|
|
288
|
+
originalCall
|
|
289
|
+
];
|
|
290
|
+
}
|
|
291
|
+
response = mock.getResponse();
|
|
292
|
+
return [
|
|
293
|
+
2,
|
|
294
|
+
originalCall.pipe(mergeMap(/*#__PURE__*/ function() {
|
|
295
|
+
var _ref = _async_to_generator(function(res) {
|
|
296
|
+
var body, responseCloned;
|
|
297
|
+
return _ts_generator(this, function(_state) {
|
|
298
|
+
switch(_state.label){
|
|
299
|
+
case 0:
|
|
300
|
+
return [
|
|
301
|
+
4,
|
|
302
|
+
response.json()
|
|
303
|
+
];
|
|
304
|
+
case 1:
|
|
305
|
+
body = _state.sent();
|
|
306
|
+
responseCloned = res.clone();
|
|
307
|
+
return [
|
|
308
|
+
2,
|
|
309
|
+
new HttpResponse(_object_spread_props(_object_spread({}, responseCloned), {
|
|
310
|
+
body: body,
|
|
311
|
+
url: responseCloned.url || undefined
|
|
312
|
+
}))
|
|
313
|
+
];
|
|
314
|
+
}
|
|
315
|
+
});
|
|
316
|
+
});
|
|
317
|
+
return function(res) {
|
|
318
|
+
return _ref.apply(this, arguments);
|
|
319
|
+
};
|
|
320
|
+
}()))
|
|
321
|
+
];
|
|
322
|
+
} catch (e) {
|
|
323
|
+
(context.logger || console).error("Failed to retrieve the latest mock for Operation ID ".concat(operationId, ", fallback to default mock"));
|
|
324
|
+
return [
|
|
325
|
+
2,
|
|
326
|
+
originalCall
|
|
327
|
+
];
|
|
328
|
+
}
|
|
329
|
+
return [
|
|
330
|
+
2
|
|
331
|
+
];
|
|
332
|
+
}
|
|
333
|
+
});
|
|
334
|
+
})()).pipe(mergeMap(function(res) {
|
|
335
|
+
return res;
|
|
336
|
+
}));
|
|
337
|
+
}
|
|
338
|
+
};
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
]);
|
|
342
|
+
return MockInterceptAngular;
|
|
343
|
+
}();
|
|
@@ -168,6 +168,7 @@ import { MockInterceptRequest } from './mock-intercept.request';
|
|
|
168
168
|
*
|
|
169
169
|
* This plugin should be used only with the MockInterceptRequest Plugin.
|
|
170
170
|
* It will allow the user to delay the response or to handle the getResponse function provided with the mock (if present).
|
|
171
|
+
* @deprecated Use the one exposed by {@link @ama-sdk/client-fetch}, will be removed in v13
|
|
171
172
|
*/ export var MockInterceptFetch = /*#__PURE__*/ function() {
|
|
172
173
|
"use strict";
|
|
173
174
|
function MockInterceptFetch(options) {
|
|
@@ -186,7 +187,7 @@ import { MockInterceptRequest } from './mock-intercept.request';
|
|
|
186
187
|
}
|
|
187
188
|
var _this = this;
|
|
188
189
|
return {
|
|
189
|
-
transform: function() {
|
|
190
|
+
transform: /*#__PURE__*/ function() {
|
|
190
191
|
var _ref = _async_to_generator(function(fetchCall) {
|
|
191
192
|
var responsePromise, delay, _tmp, resp, operationId, mock, response;
|
|
192
193
|
return _ts_generator(this, function(_state) {
|
|
@@ -214,7 +214,7 @@ import { CUSTOM_MOCK_OPERATION_ID_HEADER, CUSTOM_MOCK_REQUEST_HEADER } from './m
|
|
|
214
214
|
value: /** @inheritdoc */ function load() {
|
|
215
215
|
var _this = this;
|
|
216
216
|
return {
|
|
217
|
-
transform: function() {
|
|
217
|
+
transform: /*#__PURE__*/ function() {
|
|
218
218
|
var _ref = _async_to_generator(function(data) {
|
|
219
219
|
var requestOption, operationId, mock, text, blob, basePath, headers;
|
|
220
220
|
return _ts_generator(this, function(_state) {
|
|
@@ -196,6 +196,7 @@ function _ts_generator(thisArg, body) {
|
|
|
196
196
|
import { v4 } from 'uuid';
|
|
197
197
|
/**
|
|
198
198
|
* Performance metric plugin.
|
|
199
|
+
* @deprecated Use the one exposed by {@link @ama-sdk/client-fetch}, will be removed in v13
|
|
199
200
|
*/ export var PerformanceMetricPlugin = /*#__PURE__*/ function() {
|
|
200
201
|
"use strict";
|
|
201
202
|
function PerformanceMetricPlugin(options) {
|
|
@@ -314,7 +315,7 @@ import { v4 } from 'uuid';
|
|
|
314
315
|
value: /** @inheritDoc */ function load(context) {
|
|
315
316
|
var _this = this;
|
|
316
317
|
return {
|
|
317
|
-
transform: function() {
|
|
318
|
+
transform: /*#__PURE__*/ function() {
|
|
318
319
|
var _ref = _async_to_generator(function(fetchCall) {
|
|
319
320
|
var markId, response, exception;
|
|
320
321
|
return _ts_generator(this, function(_state) {
|
|
@@ -351,7 +351,7 @@ import { createJweEncoder, createJwtEncoder } from '../../utils/json-token';
|
|
|
351
351
|
value: /** @inheritdoc */ function load(context) {
|
|
352
352
|
var _this = this;
|
|
353
353
|
return {
|
|
354
|
-
transform: function() {
|
|
354
|
+
transform: /*#__PURE__*/ function() {
|
|
355
355
|
var _ref = _async_to_generator(function(data) {
|
|
356
356
|
var _data_metadata, _data_metadata_deepLinkOptions, token, challengeAnswers, token1;
|
|
357
357
|
return _ts_generator(this, function(_state) {
|
|
@@ -164,6 +164,7 @@ function _ts_generator(thisArg, body) {
|
|
|
164
164
|
import { CanceledCallError } from '../../fwk/errors';
|
|
165
165
|
/**
|
|
166
166
|
* Plugin to Retry a fetch call
|
|
167
|
+
* @deprecated Use the one exposed by {@link @ama-sdk/client-fetch}, will be removed in v13
|
|
167
168
|
*/ export var RetryFetch = /*#__PURE__*/ function() {
|
|
168
169
|
"use strict";
|
|
169
170
|
function RetryFetch() {
|
|
@@ -220,7 +221,7 @@ import { CanceledCallError } from '../../fwk/errors';
|
|
|
220
221
|
// eslint-disable-next-line no-async-promise-executor
|
|
221
222
|
return [
|
|
222
223
|
2,
|
|
223
|
-
new Promise(function() {
|
|
224
|
+
new Promise(/*#__PURE__*/ function() {
|
|
224
225
|
var _ref = _async_to_generator(function(resolve) {
|
|
225
226
|
var _tmp;
|
|
226
227
|
return _ts_generator(this, function(_state) {
|
|
@@ -281,7 +282,7 @@ import { CanceledCallError } from '../../fwk/errors';
|
|
|
281
282
|
var countDown = this.numberOfRetry;
|
|
282
283
|
var _this = this;
|
|
283
284
|
return {
|
|
284
|
-
transform: function() {
|
|
285
|
+
transform: /*#__PURE__*/ function() {
|
|
285
286
|
var _ref = _async_to_generator(function(fetchCall) {
|
|
286
287
|
var result, conditionResult, e, conditionResult1;
|
|
287
288
|
return _ts_generator(this, function(_state) {
|
|
@@ -4,6 +4,10 @@ function _assert_this_initialized(self) {
|
|
|
4
4
|
}
|
|
5
5
|
return self;
|
|
6
6
|
}
|
|
7
|
+
function _call_super(_this, derived, args) {
|
|
8
|
+
derived = _get_prototype_of(derived);
|
|
9
|
+
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
|
+
}
|
|
7
11
|
function _class_call_check(instance, Constructor) {
|
|
8
12
|
if (!(instance instanceof Constructor)) {
|
|
9
13
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -59,28 +63,12 @@ function _type_of(obj) {
|
|
|
59
63
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
60
64
|
}
|
|
61
65
|
function _is_native_reflect_construct() {
|
|
62
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
63
|
-
if (Reflect.construct.sham) return false;
|
|
64
|
-
if (typeof Proxy === "function") return true;
|
|
65
66
|
try {
|
|
66
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
return
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
function _create_super(Derived) {
|
|
73
|
-
var hasNativeReflectConstruct = _is_native_reflect_construct();
|
|
74
|
-
return function _createSuperInternal() {
|
|
75
|
-
var Super = _get_prototype_of(Derived), result;
|
|
76
|
-
if (hasNativeReflectConstruct) {
|
|
77
|
-
var NewTarget = _get_prototype_of(this).constructor;
|
|
78
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
79
|
-
} else {
|
|
80
|
-
result = Super.apply(this, arguments);
|
|
81
|
-
}
|
|
82
|
-
return _possible_constructor_return(this, result);
|
|
83
|
-
};
|
|
67
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
68
|
+
} catch (_) {}
|
|
69
|
+
return (_is_native_reflect_construct = function() {
|
|
70
|
+
return !!result;
|
|
71
|
+
})();
|
|
84
72
|
}
|
|
85
73
|
import { AdditionalParamsRequest } from '../additional-params';
|
|
86
74
|
/**
|
|
@@ -88,24 +76,23 @@ import { AdditionalParamsRequest } from '../additional-params';
|
|
|
88
76
|
*/ export var SiTokenRequest = /*#__PURE__*/ function(AdditionalParamsRequest) {
|
|
89
77
|
"use strict";
|
|
90
78
|
_inherits(SiTokenRequest, AdditionalParamsRequest);
|
|
91
|
-
var _super = _create_super(SiTokenRequest);
|
|
92
79
|
function SiTokenRequest(siToken, siToken2) {
|
|
93
80
|
_class_call_check(this, SiTokenRequest);
|
|
94
81
|
var _this;
|
|
95
|
-
_this =
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
82
|
+
_this = _call_super(this, SiTokenRequest, [
|
|
83
|
+
{
|
|
84
|
+
queryParams: function(queryParams) {
|
|
85
|
+
var ret = queryParams || {};
|
|
86
|
+
if (_assert_this_initialized(_this).siToken) {
|
|
87
|
+
ret.SITK = _assert_this_initialized(_this).siToken;
|
|
88
|
+
}
|
|
89
|
+
if (_assert_this_initialized(_this).siToken2) {
|
|
90
|
+
ret.SITK2 = _assert_this_initialized(_this).siToken2;
|
|
91
|
+
}
|
|
92
|
+
return ret;
|
|
103
93
|
}
|
|
104
|
-
return ret;
|
|
105
94
|
}
|
|
106
|
-
|
|
107
|
-
/** SI Token */ _define_property(_assert_this_initialized(_this), "siToken", void 0);
|
|
108
|
-
/** SI Token 2 */ _define_property(_assert_this_initialized(_this), "siToken2", void 0);
|
|
95
|
+
]), /** SI Token */ _define_property(_this, "siToken", void 0), /** SI Token 2 */ _define_property(_this, "siToken2", void 0);
|
|
109
96
|
_this.siToken = siToken;
|
|
110
97
|
_this.siToken2 = siToken2;
|
|
111
98
|
return _this;
|
package/esm2015/plugins/simple-api-key-authentication/simple-api-key-authentication.request.js
CHANGED
|
@@ -256,7 +256,7 @@ import { createJwtEncoder } from '../../utils/json-token';
|
|
|
256
256
|
value: function load() {
|
|
257
257
|
var _this = this;
|
|
258
258
|
return {
|
|
259
|
-
transform: function() {
|
|
259
|
+
transform: /*#__PURE__*/ function() {
|
|
260
260
|
var _ref = _async_to_generator(function(data) {
|
|
261
261
|
var _, _1, _tmp, _tmp1, officeId, _tmp2;
|
|
262
262
|
return _ts_generator(this, function(_state) {
|
|
@@ -229,7 +229,7 @@ import { ResponseTimeoutError } from '../../fwk/errors';
|
|
|
229
229
|
return {
|
|
230
230
|
transform: function(fetchCall) {
|
|
231
231
|
return(// eslint-disable-next-line no-async-promise-executor
|
|
232
|
-
new Promise(function() {
|
|
232
|
+
new Promise(/*#__PURE__*/ function() {
|
|
233
233
|
var _ref = _async_to_generator(function(resolve, reject) {
|
|
234
234
|
var timeoutCallback, timer, timerCallback, _context_controller, response, ex;
|
|
235
235
|
return _ts_generator(this, function(_state) {
|
|
@@ -169,7 +169,7 @@ function _ts_generator(thisArg, body) {
|
|
|
169
169
|
value: function load() {
|
|
170
170
|
var _this = this;
|
|
171
171
|
return {
|
|
172
|
-
transform: function() {
|
|
172
|
+
transform: /*#__PURE__*/ function() {
|
|
173
173
|
var _ref = _async_to_generator(function(data) {
|
|
174
174
|
return _ts_generator(this, function(_state) {
|
|
175
175
|
switch(_state.label){
|
|
@@ -195,6 +195,7 @@ function _ts_generator(thisArg, body) {
|
|
|
195
195
|
}
|
|
196
196
|
/**
|
|
197
197
|
* Plugin to determine if and when a call should be processed
|
|
198
|
+
* @deprecated Use the one exposed by {@link @ama-sdk/client-fetch}, will be removed in v13
|
|
198
199
|
* @example
|
|
199
200
|
* ```typescript
|
|
200
201
|
* // Use the plugin for an orchestrator 1 per 1
|
|
@@ -252,7 +253,7 @@ function _ts_generator(thisArg, body) {
|
|
|
252
253
|
return {
|
|
253
254
|
// eslint-disable-next-line no-async-promise-executor
|
|
254
255
|
canStart: function() {
|
|
255
|
-
return new Promise(function() {
|
|
256
|
+
return new Promise(/*#__PURE__*/ function() {
|
|
256
257
|
var _ref = _async_to_generator(function(resolve) {
|
|
257
258
|
var didTimeOut, timer, canStartCondition, canStart, ex;
|
|
258
259
|
return _ts_generator(this, function(_state) {
|
|
@@ -321,7 +322,7 @@ function _ts_generator(thisArg, body) {
|
|
|
321
322
|
};
|
|
322
323
|
}());
|
|
323
324
|
},
|
|
324
|
-
transform: function() {
|
|
325
|
+
transform: /*#__PURE__*/ function() {
|
|
325
326
|
var _ref = _async_to_generator(function(fetchCall) {
|
|
326
327
|
var response, e;
|
|
327
328
|
return _ts_generator(this, function(_state) {
|
|
@@ -258,7 +258,7 @@ import { Encoder } from './encoder';
|
|
|
258
258
|
var aesTagLengthInBits = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 128, useHeaderAsAAD = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
|
|
259
259
|
var base64Encoder = createBase64UrlEncoder();
|
|
260
260
|
var stringEncoder = typeof window.TextEncoder !== 'undefined' ? new TextEncoder() : new Encoder();
|
|
261
|
-
return function() {
|
|
261
|
+
return /*#__PURE__*/ function() {
|
|
262
262
|
var _ref = _async_to_generator(function(param, jwePayload, publicProperties) {
|
|
263
263
|
var publicKey, keyId, jweHeader, cek, wrappedCek, iv, serializedHeader, _ref, ciphertext, authenticationTag;
|
|
264
264
|
return _ts_generator(this, function(_state) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ama-sdk/core",
|
|
3
|
-
"version": "11.3.0-
|
|
3
|
+
"version": "11.3.0-rc.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -36,6 +36,17 @@
|
|
|
36
36
|
"node": "./cjs/clients/*.js",
|
|
37
37
|
"require": "./cjs/clients/*.js"
|
|
38
38
|
},
|
|
39
|
+
"./plugins/mock-intercept/angular": {
|
|
40
|
+
"module": "./src/plugins/mock-intercept/mock-intercept.angular.js",
|
|
41
|
+
"esm2020": "./src/plugins/mock-intercept/mock-intercept.angular.js",
|
|
42
|
+
"esm2015": "./esm2015/plugins/mock-intercept/mock-intercept.angular.js",
|
|
43
|
+
"es2020": "./cjs/plugins/mock-intercept/mock-intercept.angular.js",
|
|
44
|
+
"default": "./cjs/plugins/mock-intercept/mock-intercept.angular.js",
|
|
45
|
+
"typings": "./src/plugins/mock-intercept/mock-intercept.angular.d.ts",
|
|
46
|
+
"import": "./src/plugins/mock-intercept/mock-intercept.angular.js",
|
|
47
|
+
"node": "./cjs/plugins/mock-intercept/mock-intercept.angular.js",
|
|
48
|
+
"require": "./cjs/plugins/mock-intercept/mock-intercept.angular.js"
|
|
49
|
+
},
|
|
39
50
|
"./plugins/*": {
|
|
40
51
|
"module": "./src/plugins/*/index.js",
|
|
41
52
|
"esm2020": "./src/plugins/*/index.js",
|
|
@@ -79,7 +90,7 @@
|
|
|
79
90
|
"@angular-devkit/schematics": "~18.2.0",
|
|
80
91
|
"@angular/cli": "~18.2.0",
|
|
81
92
|
"@angular/common": "~18.2.0",
|
|
82
|
-
"@o3r/schematics": "^11.3.0-
|
|
93
|
+
"@o3r/schematics": "^11.3.0-rc.0",
|
|
83
94
|
"@schematics/angular": "~18.2.0",
|
|
84
95
|
"isomorphic-fetch": "^3.0.0",
|
|
85
96
|
"rxjs": "^7.8.1",
|
|
@@ -119,9 +130,9 @@
|
|
|
119
130
|
"@angular/core": "~18.2.0",
|
|
120
131
|
"@nx/eslint-plugin": "~19.5.0",
|
|
121
132
|
"@nx/jest": "~19.5.0",
|
|
122
|
-
"@o3r/build-helpers": "^11.3.0-
|
|
123
|
-
"@o3r/eslint-plugin": "^11.3.0-
|
|
124
|
-
"@o3r/test-helpers": "^11.3.0-
|
|
133
|
+
"@o3r/build-helpers": "^11.3.0-rc.0",
|
|
134
|
+
"@o3r/eslint-plugin": "^11.3.0-rc.0",
|
|
135
|
+
"@o3r/test-helpers": "^11.3.0-rc.0",
|
|
125
136
|
"@schematics/angular": "~18.2.0",
|
|
126
137
|
"@stylistic/eslint-plugin-ts": "~2.4.0",
|
|
127
138
|
"@swc/cli": "~0.4.0",
|
|
@@ -132,7 +143,6 @@
|
|
|
132
143
|
"@typescript-eslint/eslint-plugin": "^7.14.1",
|
|
133
144
|
"@typescript-eslint/parser": "^7.14.1",
|
|
134
145
|
"@typescript-eslint/utils": "^7.14.1",
|
|
135
|
-
"copyfiles": "^2.4.1",
|
|
136
146
|
"cpy-cli": "^5.0.0",
|
|
137
147
|
"eslint": "^8.57.0",
|
|
138
148
|
"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