@blurose/baileys 1.1.22 → 1.1.23

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.
@@ -1450,6 +1450,8 @@ message ContextInfo {
1450
1450
  }
1451
1451
  message StatusAudienceMetadata {
1452
1452
  optional AudienceType audienceType = 1;
1453
+ optional string listName = 2;
1454
+ optional string listEmoji = 3;
1453
1455
  enum AudienceType {
1454
1456
  UNKNOWN = 0;
1455
1457
  CLOSE_FRIENDS = 1;
@@ -3548,11 +3548,15 @@ export namespace proto {
3548
3548
 
3549
3549
  interface IStatusAudienceMetadata {
3550
3550
  audienceType?: (proto.ContextInfo.StatusAudienceMetadata.AudienceType|null);
3551
+ listName?: (string|null);
3552
+ listEmoji?: (string|null);
3551
3553
  }
3552
3554
 
3553
3555
  class StatusAudienceMetadata implements IStatusAudienceMetadata {
3554
3556
  constructor(p?: proto.ContextInfo.IStatusAudienceMetadata);
3555
3557
  public audienceType?: (proto.ContextInfo.StatusAudienceMetadata.AudienceType|null);
3558
+ public listName?: (string|null);
3559
+ public listEmoji?: (string|null);
3556
3560
  public static create(properties?: proto.ContextInfo.IStatusAudienceMetadata): proto.ContextInfo.StatusAudienceMetadata;
3557
3561
  public static encode(m: proto.ContextInfo.IStatusAudienceMetadata, w?: $protobuf.Writer): $protobuf.Writer;
3558
3562
  public static decode(r: ($protobuf.Reader|Uint8Array), l?: number): proto.ContextInfo.StatusAudienceMetadata;
package/WAProto/index.js CHANGED
@@ -25980,6 +25980,8 @@ export const proto = $root.proto = (() => {
25980
25980
  }
25981
25981
 
25982
25982
  StatusAudienceMetadata.prototype.audienceType = null;
25983
+ StatusAudienceMetadata.prototype.listName = null;
25984
+ StatusAudienceMetadata.prototype.listEmoji = null;
25983
25985
 
25984
25986
  let $oneOfFields;
25985
25987
 
@@ -25989,6 +25991,18 @@ export const proto = $root.proto = (() => {
25989
25991
  set: $util.oneOfSetter($oneOfFields)
25990
25992
  });
25991
25993
 
25994
+ // Virtual OneOf for proto3 optional field
25995
+ Object.defineProperty(StatusAudienceMetadata.prototype, "_listName", {
25996
+ get: $util.oneOfGetter($oneOfFields = ["listName"]),
25997
+ set: $util.oneOfSetter($oneOfFields)
25998
+ });
25999
+
26000
+ // Virtual OneOf for proto3 optional field
26001
+ Object.defineProperty(StatusAudienceMetadata.prototype, "_listEmoji", {
26002
+ get: $util.oneOfGetter($oneOfFields = ["listEmoji"]),
26003
+ set: $util.oneOfSetter($oneOfFields)
26004
+ });
26005
+
25992
26006
  StatusAudienceMetadata.create = function create(properties) {
25993
26007
  return new StatusAudienceMetadata(properties);
25994
26008
  };
@@ -26002,6 +26016,10 @@ export const proto = $root.proto = (() => {
26002
26016
  throw Error("max depth exceeded");
26003
26017
  if (m.audienceType != null && Object.hasOwnProperty.call(m, "audienceType"))
26004
26018
  w.uint32(8).int32(m.audienceType);
26019
+ if (m.listName != null && Object.hasOwnProperty.call(m, "listName"))
26020
+ w.uint32(18).string(m.listName);
26021
+ if (m.listEmoji != null && Object.hasOwnProperty.call(m, "listEmoji"))
26022
+ w.uint32(26).string(m.listEmoji);
26005
26023
  return w;
26006
26024
  };
26007
26025
 
@@ -26022,6 +26040,14 @@ export const proto = $root.proto = (() => {
26022
26040
  m.audienceType = r.int32();
26023
26041
  break;
26024
26042
  }
26043
+ case 2: {
26044
+ m.listName = r.string();
26045
+ break;
26046
+ }
26047
+ case 3: {
26048
+ m.listEmoji = r.string();
26049
+ break;
26050
+ }
26025
26051
  default:
26026
26052
  r.skipType(t & 7, n);
26027
26053
  break;
@@ -26056,6 +26082,12 @@ export const proto = $root.proto = (() => {
26056
26082
  m.audienceType = 1;
26057
26083
  break;
26058
26084
  }
26085
+ if (d.listName != null) {
26086
+ m.listName = String(d.listName);
26087
+ }
26088
+ if (d.listEmoji != null) {
26089
+ m.listEmoji = String(d.listEmoji);
26090
+ }
26059
26091
  return m;
26060
26092
  };
26061
26093
 
@@ -26072,6 +26104,16 @@ export const proto = $root.proto = (() => {
26072
26104
  if (o.oneofs)
26073
26105
  d._audienceType = "audienceType";
26074
26106
  }
26107
+ if (m.listName != null && Object.hasOwnProperty.call(m, "listName")) {
26108
+ d.listName = m.listName;
26109
+ if (o.oneofs)
26110
+ d._listName = "listName";
26111
+ }
26112
+ if (m.listEmoji != null && Object.hasOwnProperty.call(m, "listEmoji")) {
26113
+ d.listEmoji = m.listEmoji;
26114
+ if (o.oneofs)
26115
+ d._listEmoji = "listEmoji";
26116
+ }
26075
26117
  return d;
26076
26118
  };
26077
26119
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@blurose/baileys",
3
3
  "type": "module",
4
- "version": "1.1.22",
4
+ "version": "1.1.23",
5
5
  "description": "A WebSockets library for interacting with WhatsApp Web",
6
6
  "keywords": [
7
7
  "whatsapp",