@wireapp/protocol-messaging 1.38.0 → 1.40.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 +5 -4
- package/proto/mls.proto +50 -0
- package/web/messages.d.ts +38 -0
- package/web/messages.js +1247 -473
- package/web/mls.d.ts +62 -0
- package/web/mls.js +637 -0
- package/web/otr.d.ts +15 -0
- package/web/otr.js +376 -121
package/web/otr.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as $protobuf from "protobufjs";
|
|
2
|
+
import Long = require("long");
|
|
2
3
|
export namespace proteus {
|
|
3
4
|
|
|
4
5
|
interface IUserId {
|
|
@@ -17,6 +18,7 @@ export namespace proteus {
|
|
|
17
18
|
public static fromObject(object: { [k: string]: any }): proteus.UserId;
|
|
18
19
|
public static toObject(message: proteus.UserId, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
19
20
|
public toJSON(): { [k: string]: any };
|
|
21
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
20
22
|
}
|
|
21
23
|
|
|
22
24
|
interface IQualifiedUserId {
|
|
@@ -37,6 +39,7 @@ export namespace proteus {
|
|
|
37
39
|
public static fromObject(object: { [k: string]: any }): proteus.QualifiedUserId;
|
|
38
40
|
public static toObject(message: proteus.QualifiedUserId, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
39
41
|
public toJSON(): { [k: string]: any };
|
|
42
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
40
43
|
}
|
|
41
44
|
|
|
42
45
|
interface IClientId {
|
|
@@ -55,6 +58,7 @@ export namespace proteus {
|
|
|
55
58
|
public static fromObject(object: { [k: string]: any }): proteus.ClientId;
|
|
56
59
|
public static toObject(message: proteus.ClientId, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
57
60
|
public toJSON(): { [k: string]: any };
|
|
61
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
58
62
|
}
|
|
59
63
|
|
|
60
64
|
interface IClientEntry {
|
|
@@ -75,6 +79,7 @@ export namespace proteus {
|
|
|
75
79
|
public static fromObject(object: { [k: string]: any }): proteus.ClientEntry;
|
|
76
80
|
public static toObject(message: proteus.ClientEntry, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
77
81
|
public toJSON(): { [k: string]: any };
|
|
82
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
78
83
|
}
|
|
79
84
|
|
|
80
85
|
interface IUserEntry {
|
|
@@ -95,6 +100,7 @@ export namespace proteus {
|
|
|
95
100
|
public static fromObject(object: { [k: string]: any }): proteus.UserEntry;
|
|
96
101
|
public static toObject(message: proteus.UserEntry, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
97
102
|
public toJSON(): { [k: string]: any };
|
|
103
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
98
104
|
}
|
|
99
105
|
|
|
100
106
|
interface IQualifiedUserEntry {
|
|
@@ -115,6 +121,7 @@ export namespace proteus {
|
|
|
115
121
|
public static fromObject(object: { [k: string]: any }): proteus.QualifiedUserEntry;
|
|
116
122
|
public static toObject(message: proteus.QualifiedUserEntry, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
117
123
|
public toJSON(): { [k: string]: any };
|
|
124
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
118
125
|
}
|
|
119
126
|
|
|
120
127
|
enum Priority {
|
|
@@ -150,6 +157,7 @@ export namespace proteus {
|
|
|
150
157
|
public static fromObject(object: { [k: string]: any }): proteus.NewOtrMessage;
|
|
151
158
|
public static toObject(message: proteus.NewOtrMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
152
159
|
public toJSON(): { [k: string]: any };
|
|
160
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
153
161
|
}
|
|
154
162
|
|
|
155
163
|
interface IQualifiedNewOtrMessage {
|
|
@@ -187,6 +195,7 @@ export namespace proteus {
|
|
|
187
195
|
public static fromObject(object: { [k: string]: any }): proteus.QualifiedNewOtrMessage;
|
|
188
196
|
public static toObject(message: proteus.QualifiedNewOtrMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
189
197
|
public toJSON(): { [k: string]: any };
|
|
198
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
190
199
|
}
|
|
191
200
|
|
|
192
201
|
interface IClientMismatchStrategy {
|
|
@@ -203,6 +212,7 @@ export namespace proteus {
|
|
|
203
212
|
public static fromObject(object: { [k: string]: any }): proteus.ClientMismatchStrategy;
|
|
204
213
|
public static toObject(message: proteus.ClientMismatchStrategy, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
205
214
|
public toJSON(): { [k: string]: any };
|
|
215
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
206
216
|
}
|
|
207
217
|
|
|
208
218
|
namespace ClientMismatchStrategy {
|
|
@@ -221,6 +231,7 @@ export namespace proteus {
|
|
|
221
231
|
public static fromObject(object: { [k: string]: any }): proteus.ClientMismatchStrategy.ReportAll;
|
|
222
232
|
public static toObject(message: proteus.ClientMismatchStrategy.ReportAll, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
223
233
|
public toJSON(): { [k: string]: any };
|
|
234
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
224
235
|
}
|
|
225
236
|
|
|
226
237
|
interface IIgnoreAll {
|
|
@@ -237,6 +248,7 @@ export namespace proteus {
|
|
|
237
248
|
public static fromObject(object: { [k: string]: any }): proteus.ClientMismatchStrategy.IgnoreAll;
|
|
238
249
|
public static toObject(message: proteus.ClientMismatchStrategy.IgnoreAll, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
239
250
|
public toJSON(): { [k: string]: any };
|
|
251
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
240
252
|
}
|
|
241
253
|
|
|
242
254
|
interface IReportOnly {
|
|
@@ -255,6 +267,7 @@ export namespace proteus {
|
|
|
255
267
|
public static fromObject(object: { [k: string]: any }): proteus.ClientMismatchStrategy.ReportOnly;
|
|
256
268
|
public static toObject(message: proteus.ClientMismatchStrategy.ReportOnly, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
257
269
|
public toJSON(): { [k: string]: any };
|
|
270
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
258
271
|
}
|
|
259
272
|
|
|
260
273
|
interface IIgnoreOnly {
|
|
@@ -273,6 +286,7 @@ export namespace proteus {
|
|
|
273
286
|
public static fromObject(object: { [k: string]: any }): proteus.ClientMismatchStrategy.IgnoreOnly;
|
|
274
287
|
public static toObject(message: proteus.ClientMismatchStrategy.IgnoreOnly, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
275
288
|
public toJSON(): { [k: string]: any };
|
|
289
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
276
290
|
}
|
|
277
291
|
}
|
|
278
292
|
|
|
@@ -298,5 +312,6 @@ export namespace proteus {
|
|
|
298
312
|
public static fromObject(object: { [k: string]: any }): proteus.OtrAssetMeta;
|
|
299
313
|
public static toObject(message: proteus.OtrAssetMeta, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
300
314
|
public toJSON(): { [k: string]: any };
|
|
315
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
301
316
|
}
|
|
302
317
|
}
|