@lingxiteam/ebe-utils 0.0.3 → 0.0.4
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/es/index.d.ts +1 -1
- package/es/index.js +11 -5
- package/package.json +2 -2
package/es/index.d.ts
CHANGED
package/es/index.js
CHANGED
|
@@ -311,11 +311,17 @@ export var fetchData = /*#__PURE__*/function () {
|
|
|
311
311
|
themeCss = '';
|
|
312
312
|
_context2.prev = 16;
|
|
313
313
|
_context2.next = 19;
|
|
314
|
-
return Promise.race([
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
314
|
+
return Promise.race([new Promise(function (resolve, reject) {
|
|
315
|
+
services.getThemeCss({
|
|
316
|
+
appId: appId,
|
|
317
|
+
terminalType: platform
|
|
318
|
+
}).then(function (res) {
|
|
319
|
+
resolve(res);
|
|
320
|
+
});
|
|
321
|
+
}), new Promise(function (resolve, reject) {
|
|
322
|
+
setTimeout(function () {
|
|
323
|
+
resolve('');
|
|
324
|
+
}, 3000);
|
|
319
325
|
})]);
|
|
320
326
|
case 19:
|
|
321
327
|
themeCss = _context2.sent;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingxiteam/ebe-utils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"@babel/parser": "^7.12.12",
|
|
18
18
|
"@babel/traverse": "^7.12.12",
|
|
19
19
|
"@babel/types": "^7.12.12",
|
|
20
|
-
"@lingxiteam/ebe": "0.0.
|
|
20
|
+
"@lingxiteam/ebe": "0.0.4",
|
|
21
21
|
"cac": "^6.7.14",
|
|
22
22
|
"fs-extra": "9.x"
|
|
23
23
|
},
|