@wireapp/avs 9.2.14 → 9.3.1
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/dist/avs_core.js +3 -3
- package/dist/avs_wcall.d.ts +4 -2
- package/dist/avs_wcall.js +4 -2
- package/package.json +1 -1
package/dist/avs_wcall.d.ts
CHANGED
|
@@ -27,7 +27,9 @@ export declare enum REASON {
|
|
|
27
27
|
REJECTED = 10,
|
|
28
28
|
OUTDATED_CLIENT = 11,
|
|
29
29
|
NOONE_JOINED = 12,
|
|
30
|
-
EVERYONE_LEFT = 13
|
|
30
|
+
EVERYONE_LEFT = 13,
|
|
31
|
+
AUTH_FAILED = 14,
|
|
32
|
+
AUTH_FAILED_START = 15
|
|
31
33
|
}
|
|
32
34
|
export declare enum LOG_LEVEL {
|
|
33
35
|
DEBUG = 0,
|
|
@@ -142,7 +144,7 @@ export declare class Wcall {
|
|
|
142
144
|
setParticipantChangedHandler(wuser: number, chgh: WcallParticipantChangedHandler, arg?: number): void;
|
|
143
145
|
setNetworkQualityHandler(wuser: number, netqh: WcallNetworkQualityHandler, interval: number, arg?: number): number;
|
|
144
146
|
setLogHandler(logh: WcallLogHandler, arg?: number): void;
|
|
145
|
-
setEpochInfo(wuser: number, convid: string, epochid: number, clients_json: string,
|
|
147
|
+
setEpochInfo(wuser: number, convid: string, epochid: number, clients_json: string, key_base64: string): number;
|
|
146
148
|
setReqNewEpochHandler(wuser: number, req_new_epochh: WcallReqNewEpochHandler): void;
|
|
147
149
|
getMute(wuser: number): number;
|
|
148
150
|
setMute(wuser: number, muted: number): void;
|
package/dist/avs_wcall.js
CHANGED
|
@@ -55,6 +55,8 @@ var REASON;
|
|
|
55
55
|
REASON[REASON["OUTDATED_CLIENT"] = 11] = "OUTDATED_CLIENT";
|
|
56
56
|
REASON[REASON["NOONE_JOINED"] = 12] = "NOONE_JOINED";
|
|
57
57
|
REASON[REASON["EVERYONE_LEFT"] = 13] = "EVERYONE_LEFT";
|
|
58
|
+
REASON[REASON["AUTH_FAILED"] = 14] = "AUTH_FAILED";
|
|
59
|
+
REASON[REASON["AUTH_FAILED_START"] = 15] = "AUTH_FAILED_START";
|
|
58
60
|
})(REASON = exports.REASON || (exports.REASON = {}));
|
|
59
61
|
var LOG_LEVEL;
|
|
60
62
|
(function (LOG_LEVEL) {
|
|
@@ -492,8 +494,8 @@ var Wcall = /** @class */ (function () {
|
|
|
492
494
|
logFn = logh;
|
|
493
495
|
this.em_module.ccall("wcall_set_log_handler", "null", ["number", "number"], [fn_logh, arg]);
|
|
494
496
|
};
|
|
495
|
-
Wcall.prototype.setEpochInfo = function (wuser, convid, epochid, clients_json,
|
|
496
|
-
return this.em_module.ccall("wcall_set_epoch_info", "number", ["number", "string", "number", "string", "string"
|
|
497
|
+
Wcall.prototype.setEpochInfo = function (wuser, convid, epochid, clients_json, key_base64) {
|
|
498
|
+
return this.em_module.ccall("wcall_set_epoch_info", "number", ["number", "string", "number", "string", "string"], [wuser, convid, epochid, clients_json, key_base64]);
|
|
497
499
|
};
|
|
498
500
|
Wcall.prototype.setReqNewEpochHandler = function (wuser, req_new_epochh) {
|
|
499
501
|
var _this = this;
|
package/package.json
CHANGED