rebuild with the correct version of the sdk

This commit is contained in:
or-else
2026-02-13 15:43:24 +03:00
parent e9d6c2e5bf
commit 656aebdb5d
4 changed files with 28 additions and 291 deletions
+25 -288
View File
@@ -384,15 +384,9 @@ __webpack_require__.r(__webpack_exports__);
/* harmony export */ DEL_CHAR: function() { return /* binding */ DEL_CHAR; }, /* harmony export */ DEL_CHAR: function() { return /* binding */ DEL_CHAR; },
/* harmony export */ EXPIRE_PROMISES_PERIOD: function() { return /* binding */ EXPIRE_PROMISES_PERIOD; }, /* harmony export */ EXPIRE_PROMISES_PERIOD: function() { return /* binding */ EXPIRE_PROMISES_PERIOD; },
/* harmony export */ EXPIRE_PROMISES_TIMEOUT: function() { return /* binding */ EXPIRE_PROMISES_TIMEOUT; }, /* harmony export */ EXPIRE_PROMISES_TIMEOUT: function() { return /* binding */ EXPIRE_PROMISES_TIMEOUT; },
/* harmony export */ ICE_SERVERS: function() { return /* binding */ ICE_SERVERS; },
/* harmony export */ LIBRARY: function() { return /* binding */ LIBRARY; }, /* harmony export */ LIBRARY: function() { return /* binding */ LIBRARY; },
/* harmony export */ LOCAL_SEQID: function() { return /* binding */ LOCAL_SEQID; }, /* harmony export */ LOCAL_SEQID: function() { return /* binding */ LOCAL_SEQID; },
/* harmony export */ MAX_FILE_UPLOAD_SIZE: function() { return /* binding */ MAX_FILE_UPLOAD_SIZE; },
/* harmony export */ MAX_MESSAGE_SIZE: function() { return /* binding */ MAX_MESSAGE_SIZE; },
/* harmony export */ MAX_PINNED_COUNT: function() { return /* binding */ MAX_PINNED_COUNT; }, /* harmony export */ MAX_PINNED_COUNT: function() { return /* binding */ MAX_PINNED_COUNT; },
/* harmony export */ MAX_SUBSCRIBER_COUNT: function() { return /* binding */ MAX_SUBSCRIBER_COUNT; },
/* harmony export */ MAX_TAG_COUNT: function() { return /* binding */ MAX_TAG_COUNT; },
/* harmony export */ MAX_TAG_LENGTH: function() { return /* binding */ MAX_TAG_LENGTH; },
/* harmony export */ MESSAGE_STATUS_FAILED: function() { return /* binding */ MESSAGE_STATUS_FAILED; }, /* harmony export */ MESSAGE_STATUS_FAILED: function() { return /* binding */ MESSAGE_STATUS_FAILED; },
/* harmony export */ MESSAGE_STATUS_FATAL: function() { return /* binding */ MESSAGE_STATUS_FATAL; }, /* harmony export */ MESSAGE_STATUS_FATAL: function() { return /* binding */ MESSAGE_STATUS_FATAL; },
/* harmony export */ MESSAGE_STATUS_NONE: function() { return /* binding */ MESSAGE_STATUS_NONE; }, /* harmony export */ MESSAGE_STATUS_NONE: function() { return /* binding */ MESSAGE_STATUS_NONE; },
@@ -402,12 +396,8 @@ __webpack_require__.r(__webpack_exports__);
/* harmony export */ MESSAGE_STATUS_SENDING: function() { return /* binding */ MESSAGE_STATUS_SENDING; }, /* harmony export */ MESSAGE_STATUS_SENDING: function() { return /* binding */ MESSAGE_STATUS_SENDING; },
/* harmony export */ MESSAGE_STATUS_SENT: function() { return /* binding */ MESSAGE_STATUS_SENT; }, /* harmony export */ MESSAGE_STATUS_SENT: function() { return /* binding */ MESSAGE_STATUS_SENT; },
/* harmony export */ MESSAGE_STATUS_TO_ME: function() { return /* binding */ MESSAGE_STATUS_TO_ME; }, /* harmony export */ MESSAGE_STATUS_TO_ME: function() { return /* binding */ MESSAGE_STATUS_TO_ME; },
/* harmony export */ MIN_TAG_LENGTH: function() { return /* binding */ MIN_TAG_LENGTH; },
/* harmony export */ MSG_DELETE_AGE: function() { return /* binding */ MSG_DELETE_AGE; },
/* harmony export */ PROTOCOL_VERSION: function() { return /* binding */ PROTOCOL_VERSION; }, /* harmony export */ PROTOCOL_VERSION: function() { return /* binding */ PROTOCOL_VERSION; },
/* harmony export */ REACTION_LIST: function() { return /* binding */ REACTION_LIST; },
/* harmony export */ RECV_TIMEOUT: function() { return /* binding */ RECV_TIMEOUT; }, /* harmony export */ RECV_TIMEOUT: function() { return /* binding */ RECV_TIMEOUT; },
/* harmony export */ REQ_CRED_VALIDATORS: function() { return /* binding */ REQ_CRED_VALIDATORS; },
/* harmony export */ TAG_ALIAS: function() { return /* binding */ TAG_ALIAS; }, /* harmony export */ TAG_ALIAS: function() { return /* binding */ TAG_ALIAS; },
/* harmony export */ TAG_EMAIL: function() { return /* binding */ TAG_EMAIL; }, /* harmony export */ TAG_EMAIL: function() { return /* binding */ TAG_EMAIL; },
/* harmony export */ TAG_PHONE: function() { return /* binding */ TAG_PHONE; }, /* harmony export */ TAG_PHONE: function() { return /* binding */ TAG_PHONE; },
@@ -462,16 +452,6 @@ const TAG_PHONE = 'tel:';
const BACKOFF_BASE = 2000; const BACKOFF_BASE = 2000;
const BACKOFF_MAX_ITER = 10; const BACKOFF_MAX_ITER = 10;
const BACKOFF_JITTER = 0.3; const BACKOFF_JITTER = 0.3;
const MAX_MESSAGE_SIZE = 'maxMessageSize';
const MAX_SUBSCRIBER_COUNT = 'maxSubscriberCount';
const MIN_TAG_LENGTH = 'minTagLength';
const MAX_TAG_LENGTH = 'maxTagLength';
const MAX_TAG_COUNT = 'maxTagCount';
const MAX_FILE_UPLOAD_SIZE = 'maxFileUploadSize';
const REQ_CRED_VALIDATORS = 'reqCred';
const MSG_DELETE_AGE = 'msgDelAge';
const ICE_SERVERS = 'iceServers';
const REACTION_LIST = 'reactions';
/***/ }), /***/ }),
@@ -1139,40 +1119,15 @@ class DB {
const req = trx.objectStore('message').get(IDBKeyRange.only([topicName, seq])); const req = trx.objectStore('message').get(IDBKeyRange.only([topicName, seq]));
req.onsuccess = event => { req.onsuccess = event => {
const src = req.result || event.target.result; const src = req.result || event.target.result;
if (src && src._status != status) { if (!src || src._status == status) {
trx.objectStore('message').put(DB.#serializeMessage(src, { trx.commit();
topic: topicName, return;
seq: seq,
_status: status
}));
}
trx.commit();
};
});
}
updMessageReact(topicName, seq, react) {
if (!this.isReady()) {
return this.disabled ? Promise.resolve() : Promise.reject(new Error("not initialized"));
}
return new Promise((resolve, reject) => {
const trx = this.db.transaction(['message'], 'readwrite');
trx.onsuccess = event => {
resolve(event.target.result);
};
trx.onerror = event => {
this.#logger('PCache', 'updMessageReact', event.target.error);
reject(event.target.error);
};
const req = trx.objectStore('message').get(IDBKeyRange.only([topicName, seq]));
req.onsuccess = event => {
const src = req.result || event.target.result;
if (src && src.react !== react) {
trx.objectStore('message').put(DB.#serializeMessage(src, {
topic: topicName,
seq: seq,
react: react
}));
} }
trx.objectStore('message').put(DB.#serializeMessage(src, {
topic: topicName,
seq: seq,
_status: status
}));
trx.commit(); trx.commit();
}; };
}); });
@@ -1374,7 +1329,7 @@ class DB {
}; };
}); });
} }
static #topic_fields = ['created', 'updated', 'deleted', 'touched', 'read', 'recv', 'seq', 'clear', 'mrrid', 'defacs', 'creds', 'public', 'trusted', 'private', '_aux', '_deleted', '_mrrSeen']; static #topic_fields = ['created', 'updated', 'deleted', 'touched', 'read', 'recv', 'seq', 'clear', 'defacs', 'creds', 'public', 'trusted', 'private', '_aux', '_deleted'];
static #deserializeTopic(topic, src) { static #deserializeTopic(topic, src) {
DB.#topic_fields.forEach(f => { DB.#topic_fields.forEach(f => {
if (src.hasOwnProperty(f)) { if (src.hasOwnProperty(f)) {
@@ -1422,7 +1377,7 @@ class DB {
return res; return res;
} }
static #serializeMessage(dst, msg) { static #serializeMessage(dst, msg) {
const fields = ['topic', 'seq', 'ts', '_status', 'from', 'head', 'content', 'react']; const fields = ['topic', 'seq', 'ts', '_status', 'from', 'head', 'content'];
const res = dst || {}; const res = dst || {};
fields.forEach(f => { fields.forEach(f => {
if (msg.hasOwnProperty(f)) { if (msg.hasOwnProperty(f)) {
@@ -3376,10 +3331,10 @@ class LargeFileHelper {
xhr.upload.onprogress = e => { xhr.upload.onprogress = e => {
if (e.lengthComputable) { if (e.lengthComputable) {
if (onProgress) { if (onProgress) {
onProgress(e.loaded / e.total, data.type || 'application/octet-stream'); onProgress(e.loaded / e.total);
} }
if (this.onProgress) { if (this.onProgress) {
this.onProgress(e.loaded / e.total, data.type || 'application/octet-stream'); this.onProgress(e.loaded / e.total);
} }
} }
}; };
@@ -3729,7 +3684,7 @@ class TopicMe extends _topic_js__WEBPACK_IMPORTED_MODULE_2__["default"] {
case 'ua': case 'ua':
cont.seen = { cont.seen = {
when: new Date(), when: new Date(),
ua: pres.val ua: pres.ua
}; };
break; break;
case 'recv': case 'recv':
@@ -3754,14 +3709,6 @@ class TopicMe extends _topic_js__WEBPACK_IMPORTED_MODULE_2__["default"] {
break; break;
case 'del': case 'del':
break; break;
case 'react':
cont._processMetaReact(undefined, {
mrrid: pres.id2 | 0,
seq: pres.seq,
user: pres.actor,
val: pres.val
});
break;
default: default:
this._tinode.logger("INFO: Unsupported presence update in 'me'", pres.what); this._tinode.logger("INFO: Unsupported presence update in 'me'", pres.what);
} }
@@ -4594,18 +4541,12 @@ class Topic {
this.private = null; this.private = null;
this.public = null; this.public = null;
this.trusted = null; this.trusted = null;
this.seq = 0;
this.read = 0;
this.recv = 0;
this.clear = 0;
this.mrrid = 0;
this._users = {}; this._users = {};
this._queuedSeqId = _config_js__WEBPACK_IMPORTED_MODULE_3__.LOCAL_SEQID; this._queuedSeqId = _config_js__WEBPACK_IMPORTED_MODULE_3__.LOCAL_SEQID;
this._maxSeq = 0; this._maxSeq = 0;
this._minSeq = 0; this._minSeq = 0;
this._noEarlierMsgs = false; this._noEarlierMsgs = false;
this._maxDel = 0; this._maxDel = 0;
this._mrrSeen = 0;
this._recvNotificationTimer = null; this._recvNotificationTimer = null;
this._tags = []; this._tags = [];
this._credentials = []; this._credentials = [];
@@ -4630,7 +4571,6 @@ class Topic {
this.onTagsUpdated = callbacks.onTagsUpdated; this.onTagsUpdated = callbacks.onTagsUpdated;
this.onCredsUpdated = callbacks.onCredsUpdated; this.onCredsUpdated = callbacks.onCredsUpdated;
this.onAuxUpdated = callbacks.onAuxUpdated; this.onAuxUpdated = callbacks.onAuxUpdated;
this.onReact = callbacks.onReact;
this.onDeleteTopic = callbacks.onDeleteTopic; this.onDeleteTopic = callbacks.onDeleteTopic;
this.onAllMessagesReceived = callbacks.onAllMessagesReceived; this.onAllMessagesReceived = callbacks.onAllMessagesReceived;
} }
@@ -4920,10 +4860,6 @@ class Topic {
if (params.aux) { if (params.aux) {
this._processMetaAux(params.aux); this._processMetaAux(params.aux);
} }
if (params.react) {
params.react.mrrid = ctrl.params?.mrrid | 0;
this._processMetaReact(undefined, params.react);
}
return ctrl; return ctrl;
}); });
} }
@@ -4995,34 +4931,6 @@ class Topic {
pinnedTopicRank(topic) { pinnedTopicRank(topic) {
return 0; return 0;
} }
react(seq, emo) {
if (!seq || !emo) {
return Promise.reject(new Error("Invalid parameters"));
}
const curr = this.msgMyReaction(seq);
if (curr == emo) {
emo = _config_js__WEBPACK_IMPORTED_MODULE_3__.DEL_CHAR;
}
return this.setMeta({
react: {
seq: seq,
val: emo
}
});
}
reactions() {
const react = this.aux('react');
if (react) {
return react.vals;
}
return this._tinode.getServerParam(_config_js__WEBPACK_IMPORTED_MODULE_3__.REACTION_LIST);
}
markReactionsSeen() {
if (this._mrrSeen != this.mrrid) {
this._mrrSeen = this.mrrid;
this._tinode.getMeTopic()._refreshContact('react', this);
}
}
delMessages(ranges, hard) { delMessages(ranges, hard) {
if (!this._attached) { if (!this._attached) {
return Promise.reject(new Error("Cannot delete messages in inactive topic")); return Promise.reject(new Error("Cannot delete messages in inactive topic"));
@@ -5151,23 +5059,11 @@ class Topic {
this._tinode.logger("INFO: Cannot send notification in inactive topic"); this._tinode.logger("INFO: Cannot send notification in inactive topic");
} }
} }
noteUpload(type) {
const types = {
'image': 'kpui',
'video': 'kpuv',
'file': 'kpu'
};
if (this._attached) {
this._tinode.noteKeyPress(this.name, types[type] || 'kpu');
} else {
this._tinode.logger("INFO: Cannot send notification in inactive topic");
}
}
videoCall(evt, seq, payload) { videoCall(evt, seq, payload) {
if (!this._attached && !['ringing', 'hang-up'].includes(evt)) { if (!this._attached && !['ringing', 'hang-up'].includes(evt)) {
return; return;
} }
this._tinode.videoCall(this.name, seq, evt, payload); return this._tinode.videoCall(this.name, seq, evt, payload);
} }
_updateMyReadRecv(what, seq, ts) { _updateMyReadRecv(what, seq, ts) {
let oldVal, let oldVal,
@@ -5345,26 +5241,6 @@ class Topic {
msgRecvCount(seq) { msgRecvCount(seq) {
return this.msgReceiptCount('recv', seq); return this.msgReceiptCount('recv', seq);
} }
msgReactions(seq) {
const msg = this.findMessage(seq);
if (!msg) {
return [];
}
return msg.react || [];
}
msgMyReaction(seq) {
const reactions = this.msgReactions(seq);
const me = this._tinode.getCurrentUserID();
for (let i = 0; i < reactions.length; i++) {
if ((reactions[i].users || []).includes(me)) {
return reactions[i].val;
}
}
return null;
}
hasUnseenReactions() {
return this.mrrid > this._mrrSeen;
}
msgHasMoreMessages(min, max, newer) { msgHasMoreMessages(min, max, newer) {
const gaps = []; const gaps = [];
if (min >= max) { if (min >= max) {
@@ -5575,21 +5451,6 @@ class Topic {
} }
data.content = _drafty_js__WEBPACK_IMPORTED_MODULE_4___default().updateVideoCall(data.content, upd); data.content = _drafty_js__WEBPACK_IMPORTED_MODULE_4___default().updateVideoCall(data.content, upd);
} }
if (data.react) {
let maxReact = 0;
data.react = (data.react || []).map(r => {
maxReact = Math.max(maxReact, r.mrrid);
return {
mrrid: r.mrrid,
val: r.val,
count: r.count | 0,
users: Array.isArray(r.users) ? r.users.slice() : []
};
});
if (this.mrrid < maxReact) {
this.mrrid = maxReact;
}
}
if (!data._noForwarding) { if (!data._noForwarding) {
this._messages.put(data); this._messages.put(data);
this._tinode._db.addMessage(data); this._tinode._db.addMessage(data);
@@ -5629,9 +5490,6 @@ class Topic {
if (meta.aux) { if (meta.aux) {
this._processMetaAux(meta.aux); this._processMetaAux(meta.aux);
} }
if (meta.react) {
this._processMetaReact(meta.react);
}
if (this.onMeta) { if (this.onMeta) {
this.onMeta(meta); this.onMeta(meta);
} }
@@ -5662,14 +5520,6 @@ class Topic {
case 'aux': case 'aux':
this.getMeta(this.startMetaQuery().withAux().build()); this.getMeta(this.startMetaQuery().withAux().build());
break; break;
case 'react':
this._processMetaReact(undefined, {
mrrid: pres.id2 | 0,
seq: pres.seq | 0,
user: pres.act,
val: pres.val
});
break;
case 'acs': case 'acs':
uid = pres.src || this._tinode.getCurrentUserID(); uid = pres.src || this._tinode.getCurrentUserID();
user = this._users[uid]; user = this._users[uid];
@@ -5808,106 +5658,6 @@ class Topic {
this.onAuxUpdated(this._aux); this.onAuxUpdated(this._aux);
} }
} }
_handleReactionDiff(msg, delta) {
const reacts = [...(msg.react || [])];
const user = delta.users[0];
const found = user ? reacts.findIndex(r => r.users.includes(user)) : -1;
if (found >= 0) {
const existing = reacts[found];
if (delta.val == _config_js__WEBPACK_IMPORTED_MODULE_3__.DEL_CHAR || existing.val == delta.val) {
existing.count--;
existing.mrrid = Math.max(existing.mrrid, delta.mrrid);
if (existing.count <= 0) {
reacts.splice(found, 1);
} else {
const userIdx = existing.users.indexOf(user);
existing.users.splice(userIdx, 1);
}
} else {
const userIdx = existing.users.indexOf(user);
existing.users.splice(userIdx, 1);
existing.count--;
if (existing.count <= 0) {
reacts.splice(found, 1);
}
const emoIndex = reacts.findIndex(r => r.val == delta.val);
if (emoIndex >= 0) {
reacts[emoIndex].users.push(user);
reacts[emoIndex].count++;
reacts[emoIndex].mrrid = Math.max(reacts[emoIndex].mrrid, delta.mrrid);
} else {
reacts.push({
mrrid: delta.mrrid,
users: [user],
count: 1,
val: delta.val
});
}
}
} else if (delta.val != _config_js__WEBPACK_IMPORTED_MODULE_3__.DEL_CHAR) {
const emoIndex = reacts.findIndex(r => r.val == delta.val);
if (emoIndex >= 0) {
if (user) {
reacts[emoIndex].users.push(user);
}
reacts[emoIndex].count++;
reacts[emoIndex].mrrid = Math.max(reacts[emoIndex].mrrid, delta.mrrid);
} else {
reacts.push({
mrrid: delta.mrrid,
users: user ? [user] : [],
count: 1,
val: delta.val
});
}
}
return reacts;
}
_processMetaReact(reacts, oneReaction) {
if (!Array.isArray(reacts)) {
if (!oneReaction.seq || !oneReaction.val) {
this._tinode.logger("WARNING: invalid reaction");
return;
}
reacts = [{
_diff: true,
seq: oneReaction.seq,
data: [{
mrrid: oneReaction.mrrid,
val: oneReaction.val,
count: 1,
users: [oneReaction.user || this._tinode.getCurrentUserID()]
}]
}];
}
const seqIds = [];
reacts.forEach(mr => {
const msg = this.findMessage(mr.seq);
seqIds.push(mr.seq);
if (msg) {
let upd;
if (mr._diff) {
upd = this._handleReactionDiff(msg, mr.data[0]);
} else {
upd = (mr.data || []).map(r => ({
mrrid: r.mrrid,
val: r.val,
count: r.count | 0,
users: Array.isArray(r.users) ? r.users.slice() : []
}));
}
msg.react = upd;
const maxReact = upd.reduce((max, r) => Math.max(max, r.mrrid), 0);
if (this.mrrid < maxReact) {
this.mrrid = maxReact;
}
this._tinode._db.updMessageReact(this.name, mr.seq, msg.react);
}
});
if (this.onReact) {
this.onReact(seqIds);
}
}
_processDelMessages(clear, delseq) { _processDelMessages(clear, delseq) {
this._maxDel = Math.max(clear, this._maxDel); this._maxDel = Math.max(clear, this._maxDel);
this.clear = Math.max(clear, this.clear); this.clear = Math.max(clear, this.clear);
@@ -5954,8 +5704,6 @@ class Topic {
this.trusted = null; this.trusted = null;
this._maxSeq = 0; this._maxSeq = 0;
this._minSeq = 0; this._minSeq = 0;
this._maxDel = 0;
this._maxReact = 0;
this._attached = false; this._attached = false;
const me = this._tinode.getMeTopic(); const me = this._tinode.getMeTopic();
if (me) { if (me) {
@@ -6274,7 +6022,7 @@ __webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ PACKAGE_VERSION: function() { return /* binding */ PACKAGE_VERSION; } /* harmony export */ PACKAGE_VERSION: function() { return /* binding */ PACKAGE_VERSION; }
/* harmony export */ }); /* harmony export */ });
const PACKAGE_VERSION = "0.26.0-alpha3"; const PACKAGE_VERSION = "0.25.2";
/***/ }) /***/ })
@@ -7496,7 +7244,7 @@ class Tinode {
const pkt = this.#initPacket('set', topic); const pkt = this.#initPacket('set', topic);
const what = []; const what = [];
if (params) { if (params) {
['desc', 'sub', 'tags', 'cred', 'aux', 'react'].forEach(key => { ['desc', 'sub', 'tags', 'cred', 'aux'].forEach(key => {
if (params.hasOwnProperty(key)) { if (params.hasOwnProperty(key)) {
what.push(key); what.push(key);
pkt.set[key] = params[key]; pkt.set[key] = params[key];
@@ -7569,16 +7317,7 @@ class Tinode {
pkt.note.what = 'call'; pkt.note.what = 'call';
pkt.note.event = evt; pkt.note.event = evt;
pkt.note.payload = payload; pkt.note.payload = payload;
this.#send(pkt); this.#send(pkt, pkt.note.id);
}
react(topicName, seq, emo) {
const pkt = this.#initPacket('note', topicName);
pkt.note.seq = seq;
pkt.note.what = 'react';
pkt.note.payload = {
emo
};
this.#send(pkt);
} }
getTopic(topicName) { getTopic(topicName) {
let topic = this.#cacheGet('topic', topicName); let topic = this.#cacheGet('topic', topicName);
@@ -7687,16 +7426,14 @@ Tinode.MESSAGE_STATUS_RECEIVED = _config_js__WEBPACK_IMPORTED_MODULE_1__.MESSAGE
Tinode.MESSAGE_STATUS_READ = _config_js__WEBPACK_IMPORTED_MODULE_1__.MESSAGE_STATUS_READ; Tinode.MESSAGE_STATUS_READ = _config_js__WEBPACK_IMPORTED_MODULE_1__.MESSAGE_STATUS_READ;
Tinode.MESSAGE_STATUS_TO_ME = _config_js__WEBPACK_IMPORTED_MODULE_1__.MESSAGE_STATUS_TO_ME; Tinode.MESSAGE_STATUS_TO_ME = _config_js__WEBPACK_IMPORTED_MODULE_1__.MESSAGE_STATUS_TO_ME;
Tinode.DEL_CHAR = _config_js__WEBPACK_IMPORTED_MODULE_1__.DEL_CHAR; Tinode.DEL_CHAR = _config_js__WEBPACK_IMPORTED_MODULE_1__.DEL_CHAR;
Tinode.MAX_MESSAGE_SIZE = _config_js__WEBPACK_IMPORTED_MODULE_1__.MAX_MESSAGE_SIZE; Tinode.MAX_MESSAGE_SIZE = 'maxMessageSize';
Tinode.MAX_SUBSCRIBER_COUNT = _config_js__WEBPACK_IMPORTED_MODULE_1__.MAX_SUBSCRIBER_COUNT; Tinode.MAX_SUBSCRIBER_COUNT = 'maxSubscriberCount';
Tinode.MIN_TAG_LENGTH = _config_js__WEBPACK_IMPORTED_MODULE_1__.MIN_TAG_LENGTH; Tinode.MIN_TAG_LENGTH = 'minTagLength';
Tinode.MAX_TAG_LENGTH = _config_js__WEBPACK_IMPORTED_MODULE_1__.MAX_TAG_LENGTH; Tinode.MAX_TAG_LENGTH = 'maxTagLength';
Tinode.MAX_TAG_COUNT = _config_js__WEBPACK_IMPORTED_MODULE_1__.MAX_TAG_COUNT; Tinode.MAX_TAG_COUNT = 'maxTagCount';
Tinode.MAX_FILE_UPLOAD_SIZE = _config_js__WEBPACK_IMPORTED_MODULE_1__.MAX_FILE_UPLOAD_SIZE; Tinode.MAX_FILE_UPLOAD_SIZE = 'maxFileUploadSize';
Tinode.REQ_CRED_VALIDATORS = _config_js__WEBPACK_IMPORTED_MODULE_1__.REQ_CRED_VALIDATORS; Tinode.REQ_CRED_VALIDATORS = 'reqCred';
Tinode.MSG_DELETE_AGE = _config_js__WEBPACK_IMPORTED_MODULE_1__.MSG_DELETE_AGE; Tinode.MSG_DELETE_AGE = 'msgDelAge';
Tinode.ICE_SERVERS = _config_js__WEBPACK_IMPORTED_MODULE_1__.ICE_SERVERS;
Tinode.REACTION_LIST = _config_js__WEBPACK_IMPORTED_MODULE_1__.REACTION_LIST;
Tinode.URI_TOPIC_ID_PREFIX = 'tinode:///id/'; Tinode.URI_TOPIC_ID_PREFIX = 'tinode:///id/';
Tinode.URI_TOPIC_ALIAS_PREFIX = 'tinode:///alias/'; Tinode.URI_TOPIC_ALIAS_PREFIX = 'tinode:///alias/';
Tinode.TAG_ALIAS = _config_js__WEBPACK_IMPORTED_MODULE_1__.TAG_ALIAS; Tinode.TAG_ALIAS = _config_js__WEBPACK_IMPORTED_MODULE_1__.TAG_ALIAS;
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long