oro-sdk-apis 3.4.0 → 3.5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/models/guard.d.ts +1 -1
- package/dist/oro-sdk-apis.cjs.development.js +58 -43
- package/dist/oro-sdk-apis.cjs.development.js.map +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk-apis.esm.js +58 -43
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/models/guard.ts +1 -1
package/dist/models/guard.d.ts
CHANGED
@@ -25,6 +25,9 @@ function _regeneratorRuntime() {
|
|
25
25
|
var exports = {},
|
26
26
|
Op = Object.prototype,
|
27
27
|
hasOwn = Op.hasOwnProperty,
|
28
|
+
defineProperty = Object.defineProperty || function (obj, key, desc) {
|
29
|
+
obj[key] = desc.value;
|
30
|
+
},
|
28
31
|
$Symbol = "function" == typeof Symbol ? Symbol : {},
|
29
32
|
iteratorSymbol = $Symbol.iterator || "@@iterator",
|
30
33
|
asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
|
@@ -48,40 +51,9 @@ function _regeneratorRuntime() {
|
|
48
51
|
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
|
49
52
|
generator = Object.create(protoGenerator.prototype),
|
50
53
|
context = new Context(tryLocsList || []);
|
51
|
-
return generator
|
52
|
-
|
53
|
-
|
54
|
-
if ("executing" === state) throw new Error("Generator is already running");
|
55
|
-
if ("completed" === state) {
|
56
|
-
if ("throw" === method) throw arg;
|
57
|
-
return doneResult();
|
58
|
-
}
|
59
|
-
for (context.method = method, context.arg = arg;;) {
|
60
|
-
var delegate = context.delegate;
|
61
|
-
if (delegate) {
|
62
|
-
var delegateResult = maybeInvokeDelegate(delegate, context);
|
63
|
-
if (delegateResult) {
|
64
|
-
if (delegateResult === ContinueSentinel) continue;
|
65
|
-
return delegateResult;
|
66
|
-
}
|
67
|
-
}
|
68
|
-
if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
|
69
|
-
if ("suspendedStart" === state) throw state = "completed", context.arg;
|
70
|
-
context.dispatchException(context.arg);
|
71
|
-
} else "return" === context.method && context.abrupt("return", context.arg);
|
72
|
-
state = "executing";
|
73
|
-
var record = tryCatch(innerFn, self, context);
|
74
|
-
if ("normal" === record.type) {
|
75
|
-
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
76
|
-
return {
|
77
|
-
value: record.arg,
|
78
|
-
done: context.done
|
79
|
-
};
|
80
|
-
}
|
81
|
-
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
82
|
-
}
|
83
|
-
};
|
84
|
-
}(innerFn, self, context), generator;
|
54
|
+
return defineProperty(generator, "_invoke", {
|
55
|
+
value: makeInvokeMethod(innerFn, self, context)
|
56
|
+
}), generator;
|
85
57
|
}
|
86
58
|
function tryCatch(fn, obj, arg) {
|
87
59
|
try {
|
@@ -135,13 +107,49 @@ function _regeneratorRuntime() {
|
|
135
107
|
reject(record.arg);
|
136
108
|
}
|
137
109
|
var previousPromise;
|
138
|
-
this
|
139
|
-
function
|
140
|
-
|
141
|
-
|
142
|
-
|
110
|
+
defineProperty(this, "_invoke", {
|
111
|
+
value: function (method, arg) {
|
112
|
+
function callInvokeWithMethodAndArg() {
|
113
|
+
return new PromiseImpl(function (resolve, reject) {
|
114
|
+
invoke(method, arg, resolve, reject);
|
115
|
+
});
|
116
|
+
}
|
117
|
+
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
118
|
+
}
|
119
|
+
});
|
120
|
+
}
|
121
|
+
function makeInvokeMethod(innerFn, self, context) {
|
122
|
+
var state = "suspendedStart";
|
123
|
+
return function (method, arg) {
|
124
|
+
if ("executing" === state) throw new Error("Generator is already running");
|
125
|
+
if ("completed" === state) {
|
126
|
+
if ("throw" === method) throw arg;
|
127
|
+
return doneResult();
|
128
|
+
}
|
129
|
+
for (context.method = method, context.arg = arg;;) {
|
130
|
+
var delegate = context.delegate;
|
131
|
+
if (delegate) {
|
132
|
+
var delegateResult = maybeInvokeDelegate(delegate, context);
|
133
|
+
if (delegateResult) {
|
134
|
+
if (delegateResult === ContinueSentinel) continue;
|
135
|
+
return delegateResult;
|
136
|
+
}
|
137
|
+
}
|
138
|
+
if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
|
139
|
+
if ("suspendedStart" === state) throw state = "completed", context.arg;
|
140
|
+
context.dispatchException(context.arg);
|
141
|
+
} else "return" === context.method && context.abrupt("return", context.arg);
|
142
|
+
state = "executing";
|
143
|
+
var record = tryCatch(innerFn, self, context);
|
144
|
+
if ("normal" === record.type) {
|
145
|
+
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
146
|
+
return {
|
147
|
+
value: record.arg,
|
148
|
+
done: context.done
|
149
|
+
};
|
150
|
+
}
|
151
|
+
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
143
152
|
}
|
144
|
-
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
145
153
|
};
|
146
154
|
}
|
147
155
|
function maybeInvokeDelegate(delegate, context) {
|
@@ -197,7 +205,13 @@ function _regeneratorRuntime() {
|
|
197
205
|
done: !0
|
198
206
|
};
|
199
207
|
}
|
200
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype,
|
208
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
|
209
|
+
value: GeneratorFunctionPrototype,
|
210
|
+
configurable: !0
|
211
|
+
}), defineProperty(GeneratorFunctionPrototype, "constructor", {
|
212
|
+
value: GeneratorFunction,
|
213
|
+
configurable: !0
|
214
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
|
201
215
|
var ctor = "function" == typeof genFun && genFun.constructor;
|
202
216
|
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
|
203
217
|
}, exports.mark = function (genFun) {
|
@@ -218,8 +232,9 @@ function _regeneratorRuntime() {
|
|
218
232
|
return this;
|
219
233
|
}), define(Gp, "toString", function () {
|
220
234
|
return "[object Generator]";
|
221
|
-
}), exports.keys = function (
|
222
|
-
var
|
235
|
+
}), exports.keys = function (val) {
|
236
|
+
var object = Object(val),
|
237
|
+
keys = [];
|
223
238
|
for (var key in object) keys.push(key);
|
224
239
|
return keys.reverse(), function next() {
|
225
240
|
for (; keys.length;) {
|