bt-core-app 1.4.396 → 1.4.397
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/bt-core-app.js +3 -3
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -9531,14 +9531,14 @@ function Yx(e) {
|
|
|
9531
9531
|
});
|
|
9532
9532
|
}
|
|
9533
9533
|
function c(m) {
|
|
9534
|
-
var k, w
|
|
9534
|
+
var k, w;
|
|
9535
9535
|
if (l == null)
|
|
9536
9536
|
throw new Error("no demo data available for this api");
|
|
9537
9537
|
const v = m.id ?? ((k = m.data) == null ? void 0 : k.id), g = o(m);
|
|
9538
9538
|
let u;
|
|
9539
|
-
return g != null && (g.data ?? (g.data = []), g.getAction != null ? u = g.getAction(g.data, v) : v != null ? u = (w = g.data) == null ? void 0 : w.find((
|
|
9539
|
+
return g != null && (g.data ?? (g.data = []), g.getAction != null ? u = g.getAction(g.data, v) : v != null ? u = (w = g.data) == null ? void 0 : w.find((C) => C.id == v) : g.path != null && (u = g.data)), u == null ? Promise.resolve(void 0) : new Promise((C) => {
|
|
9540
9540
|
setTimeout(() => {
|
|
9541
|
-
|
|
9541
|
+
C({
|
|
9542
9542
|
data: u
|
|
9543
9543
|
});
|
|
9544
9544
|
});
|
package/package.json
CHANGED