oro-sdk 5.9.0 → 5.10.1
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/oro-sdk.esm.js
CHANGED
@@ -140,14 +140,9 @@ function _regeneratorRuntime() {
|
|
140
140
|
};
|
141
141
|
}
|
142
142
|
function maybeInvokeDelegate(delegate, context) {
|
143
|
-
var
|
144
|
-
|
145
|
-
|
146
|
-
if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel;
|
147
|
-
context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method");
|
148
|
-
}
|
149
|
-
return ContinueSentinel;
|
150
|
-
}
|
143
|
+
var methodName = context.method,
|
144
|
+
method = delegate.iterator[methodName];
|
145
|
+
if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
|
151
146
|
var record = tryCatch(method, delegate.iterator, context.arg);
|
152
147
|
if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
|
153
148
|
var info = record.arg;
|