rebuild with the correct version of the sdk
This commit is contained in:
+25
-288
@@ -384,15 +384,9 @@ __webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export */ DEL_CHAR: function() { return /* binding */ DEL_CHAR; },
|
||||
/* harmony export */ EXPIRE_PROMISES_PERIOD: function() { return /* binding */ EXPIRE_PROMISES_PERIOD; },
|
||||
/* 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 */ 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_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_FATAL: function() { return /* binding */ MESSAGE_STATUS_FATAL; },
|
||||
/* 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_SENT: function() { return /* binding */ MESSAGE_STATUS_SENT; },
|
||||
/* 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 */ REACTION_LIST: function() { return /* binding */ REACTION_LIST; },
|
||||
/* 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_EMAIL: function() { return /* binding */ TAG_EMAIL; },
|
||||
/* harmony export */ TAG_PHONE: function() { return /* binding */ TAG_PHONE; },
|
||||
@@ -462,16 +452,6 @@ const TAG_PHONE = 'tel:';
|
||||
const BACKOFF_BASE = 2000;
|
||||
const BACKOFF_MAX_ITER = 10;
|
||||
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]));
|
||||
req.onsuccess = event => {
|
||||
const src = req.result || event.target.result;
|
||||
if (src && src._status != status) {
|
||||
trx.objectStore('message').put(DB.#serializeMessage(src, {
|
||||
topic: topicName,
|
||||
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
|
||||
}));
|
||||
if (!src || src._status == status) {
|
||||
trx.commit();
|
||||
return;
|
||||
}
|
||||
trx.objectStore('message').put(DB.#serializeMessage(src, {
|
||||
topic: topicName,
|
||||
seq: seq,
|
||||
_status: status
|
||||
}));
|
||||
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) {
|
||||
DB.#topic_fields.forEach(f => {
|
||||
if (src.hasOwnProperty(f)) {
|
||||
@@ -1422,7 +1377,7 @@ class DB {
|
||||
return res;
|
||||
}
|
||||
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 || {};
|
||||
fields.forEach(f => {
|
||||
if (msg.hasOwnProperty(f)) {
|
||||
@@ -3376,10 +3331,10 @@ class LargeFileHelper {
|
||||
xhr.upload.onprogress = e => {
|
||||
if (e.lengthComputable) {
|
||||
if (onProgress) {
|
||||
onProgress(e.loaded / e.total, data.type || 'application/octet-stream');
|
||||
onProgress(e.loaded / e.total);
|
||||
}
|
||||
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':
|
||||
cont.seen = {
|
||||
when: new Date(),
|
||||
ua: pres.val
|
||||
ua: pres.ua
|
||||
};
|
||||
break;
|
||||
case 'recv':
|
||||
@@ -3754,14 +3709,6 @@ class TopicMe extends _topic_js__WEBPACK_IMPORTED_MODULE_2__["default"] {
|
||||
break;
|
||||
case 'del':
|
||||
break;
|
||||
case 'react':
|
||||
cont._processMetaReact(undefined, {
|
||||
mrrid: pres.id2 | 0,
|
||||
seq: pres.seq,
|
||||
user: pres.actor,
|
||||
val: pres.val
|
||||
});
|
||||
break;
|
||||
default:
|
||||
this._tinode.logger("INFO: Unsupported presence update in 'me'", pres.what);
|
||||
}
|
||||
@@ -4594,18 +4541,12 @@ class Topic {
|
||||
this.private = null;
|
||||
this.public = null;
|
||||
this.trusted = null;
|
||||
this.seq = 0;
|
||||
this.read = 0;
|
||||
this.recv = 0;
|
||||
this.clear = 0;
|
||||
this.mrrid = 0;
|
||||
this._users = {};
|
||||
this._queuedSeqId = _config_js__WEBPACK_IMPORTED_MODULE_3__.LOCAL_SEQID;
|
||||
this._maxSeq = 0;
|
||||
this._minSeq = 0;
|
||||
this._noEarlierMsgs = false;
|
||||
this._maxDel = 0;
|
||||
this._mrrSeen = 0;
|
||||
this._recvNotificationTimer = null;
|
||||
this._tags = [];
|
||||
this._credentials = [];
|
||||
@@ -4630,7 +4571,6 @@ class Topic {
|
||||
this.onTagsUpdated = callbacks.onTagsUpdated;
|
||||
this.onCredsUpdated = callbacks.onCredsUpdated;
|
||||
this.onAuxUpdated = callbacks.onAuxUpdated;
|
||||
this.onReact = callbacks.onReact;
|
||||
this.onDeleteTopic = callbacks.onDeleteTopic;
|
||||
this.onAllMessagesReceived = callbacks.onAllMessagesReceived;
|
||||
}
|
||||
@@ -4920,10 +4860,6 @@ class Topic {
|
||||
if (params.aux) {
|
||||
this._processMetaAux(params.aux);
|
||||
}
|
||||
if (params.react) {
|
||||
params.react.mrrid = ctrl.params?.mrrid | 0;
|
||||
this._processMetaReact(undefined, params.react);
|
||||
}
|
||||
return ctrl;
|
||||
});
|
||||
}
|
||||
@@ -4995,34 +4931,6 @@ class Topic {
|
||||
pinnedTopicRank(topic) {
|
||||
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) {
|
||||
if (!this._attached) {
|
||||
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");
|
||||
}
|
||||
}
|
||||
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) {
|
||||
if (!this._attached && !['ringing', 'hang-up'].includes(evt)) {
|
||||
return;
|
||||
}
|
||||
this._tinode.videoCall(this.name, seq, evt, payload);
|
||||
return this._tinode.videoCall(this.name, seq, evt, payload);
|
||||
}
|
||||
_updateMyReadRecv(what, seq, ts) {
|
||||
let oldVal,
|
||||
@@ -5345,26 +5241,6 @@ class Topic {
|
||||
msgRecvCount(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) {
|
||||
const gaps = [];
|
||||
if (min >= max) {
|
||||
@@ -5575,21 +5451,6 @@ class Topic {
|
||||
}
|
||||
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) {
|
||||
this._messages.put(data);
|
||||
this._tinode._db.addMessage(data);
|
||||
@@ -5629,9 +5490,6 @@ class Topic {
|
||||
if (meta.aux) {
|
||||
this._processMetaAux(meta.aux);
|
||||
}
|
||||
if (meta.react) {
|
||||
this._processMetaReact(meta.react);
|
||||
}
|
||||
if (this.onMeta) {
|
||||
this.onMeta(meta);
|
||||
}
|
||||
@@ -5662,14 +5520,6 @@ class Topic {
|
||||
case 'aux':
|
||||
this.getMeta(this.startMetaQuery().withAux().build());
|
||||
break;
|
||||
case 'react':
|
||||
this._processMetaReact(undefined, {
|
||||
mrrid: pres.id2 | 0,
|
||||
seq: pres.seq | 0,
|
||||
user: pres.act,
|
||||
val: pres.val
|
||||
});
|
||||
break;
|
||||
case 'acs':
|
||||
uid = pres.src || this._tinode.getCurrentUserID();
|
||||
user = this._users[uid];
|
||||
@@ -5808,106 +5658,6 @@ class Topic {
|
||||
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) {
|
||||
this._maxDel = Math.max(clear, this._maxDel);
|
||||
this.clear = Math.max(clear, this.clear);
|
||||
@@ -5954,8 +5704,6 @@ class Topic {
|
||||
this.trusted = null;
|
||||
this._maxSeq = 0;
|
||||
this._minSeq = 0;
|
||||
this._maxDel = 0;
|
||||
this._maxReact = 0;
|
||||
this._attached = false;
|
||||
const me = this._tinode.getMeTopic();
|
||||
if (me) {
|
||||
@@ -6274,7 +6022,7 @@ __webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||
/* harmony export */ PACKAGE_VERSION: function() { return /* binding */ PACKAGE_VERSION; }
|
||||
/* 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 what = [];
|
||||
if (params) {
|
||||
['desc', 'sub', 'tags', 'cred', 'aux', 'react'].forEach(key => {
|
||||
['desc', 'sub', 'tags', 'cred', 'aux'].forEach(key => {
|
||||
if (params.hasOwnProperty(key)) {
|
||||
what.push(key);
|
||||
pkt.set[key] = params[key];
|
||||
@@ -7569,16 +7317,7 @@ class Tinode {
|
||||
pkt.note.what = 'call';
|
||||
pkt.note.event = evt;
|
||||
pkt.note.payload = payload;
|
||||
this.#send(pkt);
|
||||
}
|
||||
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);
|
||||
this.#send(pkt, pkt.note.id);
|
||||
}
|
||||
getTopic(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_TO_ME = _config_js__WEBPACK_IMPORTED_MODULE_1__.MESSAGE_STATUS_TO_ME;
|
||||
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_SUBSCRIBER_COUNT = _config_js__WEBPACK_IMPORTED_MODULE_1__.MAX_SUBSCRIBER_COUNT;
|
||||
Tinode.MIN_TAG_LENGTH = _config_js__WEBPACK_IMPORTED_MODULE_1__.MIN_TAG_LENGTH;
|
||||
Tinode.MAX_TAG_LENGTH = _config_js__WEBPACK_IMPORTED_MODULE_1__.MAX_TAG_LENGTH;
|
||||
Tinode.MAX_TAG_COUNT = _config_js__WEBPACK_IMPORTED_MODULE_1__.MAX_TAG_COUNT;
|
||||
Tinode.MAX_FILE_UPLOAD_SIZE = _config_js__WEBPACK_IMPORTED_MODULE_1__.MAX_FILE_UPLOAD_SIZE;
|
||||
Tinode.REQ_CRED_VALIDATORS = _config_js__WEBPACK_IMPORTED_MODULE_1__.REQ_CRED_VALIDATORS;
|
||||
Tinode.MSG_DELETE_AGE = _config_js__WEBPACK_IMPORTED_MODULE_1__.MSG_DELETE_AGE;
|
||||
Tinode.ICE_SERVERS = _config_js__WEBPACK_IMPORTED_MODULE_1__.ICE_SERVERS;
|
||||
Tinode.REACTION_LIST = _config_js__WEBPACK_IMPORTED_MODULE_1__.REACTION_LIST;
|
||||
Tinode.MAX_MESSAGE_SIZE = 'maxMessageSize';
|
||||
Tinode.MAX_SUBSCRIBER_COUNT = 'maxSubscriberCount';
|
||||
Tinode.MIN_TAG_LENGTH = 'minTagLength';
|
||||
Tinode.MAX_TAG_LENGTH = 'maxTagLength';
|
||||
Tinode.MAX_TAG_COUNT = 'maxTagCount';
|
||||
Tinode.MAX_FILE_UPLOAD_SIZE = 'maxFileUploadSize';
|
||||
Tinode.REQ_CRED_VALIDATORS = 'reqCred';
|
||||
Tinode.MSG_DELETE_AGE = 'msgDelAge';
|
||||
Tinode.URI_TOPIC_ID_PREFIX = 'tinode:///id/';
|
||||
Tinode.URI_TOPIC_ALIAS_PREFIX = 'tinode:///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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user