oro-sdk 5.9.0 → 5.10.0
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +21 -0
- package/dist/oro-sdk.cjs.development.js +45 -66
- package/dist/oro-sdk.cjs.development.js.map +1 -1
- package/dist/oro-sdk.cjs.production.min.js +1 -1
- package/dist/oro-sdk.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk.esm.js +45 -66
- package/dist/oro-sdk.esm.js.map +1 -1
- package/package.json +2 -2
package/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2021 ORO Health Inc.
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
@@ -16,9 +16,6 @@ function _regeneratorRuntime() {
|
|
16
16
|
var exports = {},
|
17
17
|
Op = Object.prototype,
|
18
18
|
hasOwn = Op.hasOwnProperty,
|
19
|
-
defineProperty = Object.defineProperty || function (obj, key, desc) {
|
20
|
-
obj[key] = desc.value;
|
21
|
-
},
|
22
19
|
$Symbol = "function" == typeof Symbol ? Symbol : {},
|
23
20
|
iteratorSymbol = $Symbol.iterator || "@@iterator",
|
24
21
|
asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
|
@@ -42,9 +39,40 @@ function _regeneratorRuntime() {
|
|
42
39
|
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
|
43
40
|
generator = Object.create(protoGenerator.prototype),
|
44
41
|
context = new Context(tryLocsList || []);
|
45
|
-
return
|
46
|
-
|
47
|
-
|
42
|
+
return generator._invoke = function (innerFn, self, context) {
|
43
|
+
var state = "suspendedStart";
|
44
|
+
return function (method, arg) {
|
45
|
+
if ("executing" === state) throw new Error("Generator is already running");
|
46
|
+
if ("completed" === state) {
|
47
|
+
if ("throw" === method) throw arg;
|
48
|
+
return doneResult();
|
49
|
+
}
|
50
|
+
for (context.method = method, context.arg = arg;;) {
|
51
|
+
var delegate = context.delegate;
|
52
|
+
if (delegate) {
|
53
|
+
var delegateResult = maybeInvokeDelegate(delegate, context);
|
54
|
+
if (delegateResult) {
|
55
|
+
if (delegateResult === ContinueSentinel) continue;
|
56
|
+
return delegateResult;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
|
60
|
+
if ("suspendedStart" === state) throw state = "completed", context.arg;
|
61
|
+
context.dispatchException(context.arg);
|
62
|
+
} else "return" === context.method && context.abrupt("return", context.arg);
|
63
|
+
state = "executing";
|
64
|
+
var record = tryCatch(innerFn, self, context);
|
65
|
+
if ("normal" === record.type) {
|
66
|
+
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
67
|
+
return {
|
68
|
+
value: record.arg,
|
69
|
+
done: context.done
|
70
|
+
};
|
71
|
+
}
|
72
|
+
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
73
|
+
}
|
74
|
+
};
|
75
|
+
}(innerFn, self, context), generator;
|
48
76
|
}
|
49
77
|
function tryCatch(fn, obj, arg) {
|
50
78
|
try {
|
@@ -98,49 +126,13 @@ function _regeneratorRuntime() {
|
|
98
126
|
reject(record.arg);
|
99
127
|
}
|
100
128
|
var previousPromise;
|
101
|
-
|
102
|
-
|
103
|
-
function
|
104
|
-
|
105
|
-
|
106
|
-
});
|
107
|
-
}
|
108
|
-
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
109
|
-
}
|
110
|
-
});
|
111
|
-
}
|
112
|
-
function makeInvokeMethod(innerFn, self, context) {
|
113
|
-
var state = "suspendedStart";
|
114
|
-
return function (method, arg) {
|
115
|
-
if ("executing" === state) throw new Error("Generator is already running");
|
116
|
-
if ("completed" === state) {
|
117
|
-
if ("throw" === method) throw arg;
|
118
|
-
return doneResult();
|
119
|
-
}
|
120
|
-
for (context.method = method, context.arg = arg;;) {
|
121
|
-
var delegate = context.delegate;
|
122
|
-
if (delegate) {
|
123
|
-
var delegateResult = maybeInvokeDelegate(delegate, context);
|
124
|
-
if (delegateResult) {
|
125
|
-
if (delegateResult === ContinueSentinel) continue;
|
126
|
-
return delegateResult;
|
127
|
-
}
|
128
|
-
}
|
129
|
-
if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
|
130
|
-
if ("suspendedStart" === state) throw state = "completed", context.arg;
|
131
|
-
context.dispatchException(context.arg);
|
132
|
-
} else "return" === context.method && context.abrupt("return", context.arg);
|
133
|
-
state = "executing";
|
134
|
-
var record = tryCatch(innerFn, self, context);
|
135
|
-
if ("normal" === record.type) {
|
136
|
-
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
137
|
-
return {
|
138
|
-
value: record.arg,
|
139
|
-
done: context.done
|
140
|
-
};
|
141
|
-
}
|
142
|
-
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
129
|
+
this._invoke = function (method, arg) {
|
130
|
+
function callInvokeWithMethodAndArg() {
|
131
|
+
return new PromiseImpl(function (resolve, reject) {
|
132
|
+
invoke(method, arg, resolve, reject);
|
133
|
+
});
|
143
134
|
}
|
135
|
+
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
144
136
|
};
|
145
137
|
}
|
146
138
|
function maybeInvokeDelegate(delegate, context) {
|
@@ -196,13 +188,7 @@ function _regeneratorRuntime() {
|
|
196
188
|
done: !0
|
197
189
|
};
|
198
190
|
}
|
199
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype,
|
200
|
-
value: GeneratorFunctionPrototype,
|
201
|
-
configurable: !0
|
202
|
-
}), defineProperty(GeneratorFunctionPrototype, "constructor", {
|
203
|
-
value: GeneratorFunction,
|
204
|
-
configurable: !0
|
205
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
|
191
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
|
206
192
|
var ctor = "function" == typeof genFun && genFun.constructor;
|
207
193
|
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
|
208
194
|
}, exports.mark = function (genFun) {
|
@@ -223,9 +209,8 @@ function _regeneratorRuntime() {
|
|
223
209
|
return this;
|
224
210
|
}), define(Gp, "toString", function () {
|
225
211
|
return "[object Generator]";
|
226
|
-
}), exports.keys = function (
|
227
|
-
var
|
228
|
-
keys = [];
|
212
|
+
}), exports.keys = function (object) {
|
213
|
+
var keys = [];
|
229
214
|
for (var key in object) keys.push(key);
|
230
215
|
return keys.reverse(), function next() {
|
231
216
|
for (; keys.length;) {
|
@@ -338,18 +323,12 @@ function _wrapRegExp() {
|
|
338
323
|
}
|
339
324
|
return _inherits(BabelRegExp, RegExp), BabelRegExp.prototype.exec = function (str) {
|
340
325
|
var result = _super.exec.call(this, str);
|
341
|
-
|
342
|
-
result.groups = buildGroups(result, this);
|
343
|
-
var indices = result.indices;
|
344
|
-
indices && (indices.groups = buildGroups(indices, this));
|
345
|
-
}
|
346
|
-
return result;
|
326
|
+
return result && (result.groups = buildGroups(result, this)), result;
|
347
327
|
}, BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {
|
348
328
|
if ("string" == typeof substitution) {
|
349
329
|
var groups = _groups.get(this);
|
350
330
|
return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) {
|
351
|
-
|
352
|
-
return "$" + (Array.isArray(group) ? group.join("$") : group);
|
331
|
+
return "$" + groups[name];
|
353
332
|
}));
|
354
333
|
}
|
355
334
|
if ("function" == typeof substitution) {
|