@onyx-p/imlib-web 1.7.5 → 1.7.6

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/index.esm.js CHANGED
@@ -7682,6 +7682,9 @@ const getKeys = obj => {
7682
7682
  return Object.keys(obj);
7683
7683
  };
7684
7684
  const filterNullProperty = object => {
7685
+ if (Array.isArray(object)) {
7686
+ return object.filter(item => isDef(item)).map(item => isObject(item) ? filterNullProperty(item) : item);
7687
+ }
7685
7688
  const to = {};
7686
7689
  Object.keys(object).forEach(key => {
7687
7690
  const value = object[key];
@@ -27357,7 +27360,6 @@ async function send(message, sentArgs) {
27357
27360
  ...baseParams,
27358
27361
  groupId: Long.fromString(dialogId)
27359
27362
  };
27360
- debugger;
27361
27363
  if (isDef(message.content.mentionedInfo)) {
27362
27364
  const mentionedInfo = message.content.mentionedInfo;
27363
27365
  if (mentionedInfo.type === MentionedType.ALL) ; else if (mentionedInfo.type === MentionedType.SINGAL && mentionedInfo.userIdList?.length) {
package/index.umd.js CHANGED
@@ -7688,6 +7688,9 @@
7688
7688
  return Object.keys(obj);
7689
7689
  };
7690
7690
  const filterNullProperty = object => {
7691
+ if (Array.isArray(object)) {
7692
+ return object.filter(item => isDef(item)).map(item => isObject(item) ? filterNullProperty(item) : item);
7693
+ }
7691
7694
  const to = {};
7692
7695
  Object.keys(object).forEach(key => {
7693
7696
  const value = object[key];
@@ -27363,7 +27366,6 @@
27363
27366
  ...baseParams,
27364
27367
  groupId: Long.fromString(dialogId)
27365
27368
  };
27366
- debugger;
27367
27369
  if (isDef(message.content.mentionedInfo)) {
27368
27370
  const mentionedInfo = message.content.mentionedInfo;
27369
27371
  if (mentionedInfo.type === exports.MentionedType.ALL) ; else if (mentionedInfo.type === exports.MentionedType.SINGAL && mentionedInfo.userIdList?.length) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onyx-p/imlib-web",
3
- "version": "1.7.5",
3
+ "version": "1.7.6",
4
4
  "main": "index.umd.js",
5
5
  "module": "index.esm.js",
6
6
  "types": "types/index.d.ts",