oicq-icalingua-plus-plus 1.23.13 → 1.23.14

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/lib/onlinepush.js CHANGED
@@ -346,6 +346,7 @@ const push732 = {
346
346
  const user_id = sub[5][5];
347
347
  str = str.substr(0, str.length - 2);
348
348
  let title = str.substr(str.lastIndexOf("获得群主授予的") + 7);
349
+ const _title = title;
349
350
  if (title.startsWith("<{") && title.endsWith("}>")) {
350
351
  title = title.substr(1, title.length - 2);
351
352
  try {
@@ -358,7 +359,7 @@ const push732 = {
358
359
  }
359
360
  }
360
361
  if (!title) return;
361
- str = str.substr(0, str.length - title.length - 7);
362
+ str = str.substr(0, str.length - _title.length - 7);
362
363
  let nickname = str.substr(2);
363
364
  if (nickname.startsWith("<{") && nickname.endsWith("}>")) {
364
365
  nickname = nickname.substr(1, nickname.length - 2);
package/lib/ref.d.ts CHANGED
@@ -70,7 +70,7 @@ export interface HighwayUploadStreamObject {
70
70
  }
71
71
 
72
72
  export interface Proto {
73
- [k: number]: Proto,
73
+ [k: number]: Proto | any,
74
74
  toString: () => string,
75
75
  toHex: () => string,
76
76
  toBase64: () => string,
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "oicq-icalingua-plus-plus",
3
3
  "app_name": "oicq-icalingua-plus-plus",
4
- "version": "1.23.13",
5
- "app_version": "1.23.13",
4
+ "version": "1.23.14",
5
+ "app_version": "1.23.14",
6
6
  "upday": "2023/02/04",
7
7
  "protocol_version": "v11",
8
8
  "description": "oicq(https://github.com/takayama-lily/oicq) v1 for Icalingua++",