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 common_1 = __importDefault(require("../common"));
7
- const index_js_1 = require("../lib/index.js");
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 common_1.default.updateContactInfo(this);
19
- await (0, index_js_1.delay)(5000);
20
- await common_1.default.updateRoomInfo(this);
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);
@@ -6,7 +6,7 @@ exports.packageJson = void 0;
6
6
  */
7
7
  exports.packageJson = {
8
8
  "name": "wechaty-web-panel",
9
- "version": "1.1.7",
9
+ "version": "1.1.8",
10
10
  "description": "",
11
11
  "exports": {
12
12
  ".": {
@@ -1,4 +1,4 @@
1
- import common from '../common';
1
+ import common from '../common/index.js';
2
2
  import { delay } from '../lib/index.js';
3
3
  import { sendHeartBeat } from '../proxy/aibotk.js';
4
4
  import { getUser } from '../db/userDb.js';
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const packageJson = {
5
5
  "name": "wechaty-web-panel",
6
- "version": "1.1.7",
6
+ "version": "1.1.8",
7
7
  "description": "",
8
8
  "exports": {
9
9
  ".": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wechaty-web-panel",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "description": "",
5
5
  "exports": {
6
6
  ".": {