wechaty-web-panel 1.1.7 → 1.1.8
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.
|
@@ -3,8 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const
|
|
7
|
-
const
|
|
6
|
+
const index_js_1 = __importDefault(require("../common/index.js"));
|
|
7
|
+
const index_js_2 = require("../lib/index.js");
|
|
8
8
|
const aibotk_js_1 = require("../proxy/aibotk.js");
|
|
9
9
|
const userDb_js_1 = require("../db/userDb.js");
|
|
10
10
|
/**
|
|
@@ -15,9 +15,9 @@ async function onReady() {
|
|
|
15
15
|
const userInfo = await (0, userDb_js_1.getUser)();
|
|
16
16
|
console.log(`所有数据准备完毕`);
|
|
17
17
|
await (0, aibotk_js_1.sendHeartBeat)('live');
|
|
18
|
-
await
|
|
19
|
-
await (0,
|
|
20
|
-
await
|
|
18
|
+
await index_js_1.default.updateContactInfo(this);
|
|
19
|
+
await (0, index_js_2.delay)(5000);
|
|
20
|
+
await index_js_1.default.updateRoomInfo(this);
|
|
21
21
|
}
|
|
22
22
|
catch (e) {
|
|
23
23
|
console.log('on ready error:', e);
|