@wireapp/protocol-messaging 1.37.0 → 1.38.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "dependencies": {
3
- "protobufjs": "6.10.2"
3
+ "protobufjs": "6.11.3"
4
4
  },
5
5
  "devDependencies": {
6
6
  "@types/node": "~12",
@@ -23,5 +23,5 @@
23
23
  "preversion": "git checkout master && git pull && yarn && yarn dist && yarn test",
24
24
  "test": "tsc --noEmit"
25
25
  },
26
- "version": "1.37.0"
26
+ "version": "1.38.0"
27
27
  }
package/web/messages.d.ts CHANGED
@@ -33,7 +33,7 @@ export class GenericMessage implements IGenericMessage {
33
33
  public lastRead?: (ILastRead|null);
34
34
  public cleared?: (ICleared|null);
35
35
  public external?: (IExternal|null);
36
- public clientAction: ClientAction;
36
+ public clientAction?: (ClientAction|null);
37
37
  public calling?: (ICalling|null);
38
38
  public asset?: (IAsset|null);
39
39
  public hidden?: (IMessageHide|null);
@@ -402,7 +402,7 @@ export class Mention implements IMention {
402
402
  constructor(properties?: IMention);
403
403
  public start: number;
404
404
  public length: number;
405
- public userId: string;
405
+ public userId?: (string|null);
406
406
  public qualifiedUserId?: (IQualifiedUserId|null);
407
407
  public mentionType?: "userId";
408
408
  public static create(properties?: IMention): Mention;
@@ -651,7 +651,7 @@ export interface IAsset {
651
651
  export class Asset implements IAsset {
652
652
  constructor(properties?: IAsset);
653
653
  public original?: (Asset.IOriginal|null);
654
- public notUploaded: Asset.NotUploaded;
654
+ public notUploaded?: (Asset.NotUploaded|null);
655
655
  public uploaded?: (Asset.IRemoteData|null);
656
656
  public preview?: (Asset.IPreview|null);
657
657
  public expectsReadConfirmation: boolean;
package/web/messages.js CHANGED
@@ -112,11 +112,11 @@ $root.GenericMessage = (function() {
112
112
 
113
113
  /**
114
114
  * GenericMessage clientAction.
115
- * @member {ClientAction} clientAction
115
+ * @member {ClientAction|null|undefined} clientAction
116
116
  * @memberof GenericMessage
117
117
  * @instance
118
118
  */
119
- GenericMessage.prototype.clientAction = 0;
119
+ GenericMessage.prototype.clientAction = null;
120
120
 
121
121
  /**
122
122
  * GenericMessage calling.
@@ -4626,11 +4626,11 @@ $root.Mention = (function() {
4626
4626
 
4627
4627
  /**
4628
4628
  * Mention userId.
4629
- * @member {string} userId
4629
+ * @member {string|null|undefined} userId
4630
4630
  * @memberof Mention
4631
4631
  * @instance
4632
4632
  */
4633
- Mention.prototype.userId = "";
4633
+ Mention.prototype.userId = null;
4634
4634
 
4635
4635
  /**
4636
4636
  * Mention qualifiedUserId.
@@ -7347,11 +7347,11 @@ $root.Asset = (function() {
7347
7347
 
7348
7348
  /**
7349
7349
  * Asset notUploaded.
7350
- * @member {Asset.NotUploaded} notUploaded
7350
+ * @member {Asset.NotUploaded|null|undefined} notUploaded
7351
7351
  * @memberof Asset
7352
7352
  * @instance
7353
7353
  */
7354
- Asset.prototype.notUploaded = 0;
7354
+ Asset.prototype.notUploaded = null;
7355
7355
 
7356
7356
  /**
7357
7357
  * Asset uploaded.