tweak alias query, update dependencies, change version to -rc3
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "tinode-webapp",
|
"name": "tinode-webapp",
|
||||||
"description": "Tinode messenger for the web",
|
"description": "Tinode messenger for the web",
|
||||||
"version": "0.24.0-rc2",
|
"version": "0.24.0-rc3",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/tinode/webapp.git"
|
"url": "git+https://github.com/tinode/webapp.git"
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
"react": "^18.3.0",
|
"react": "^18.3.0",
|
||||||
"react-dom": "^18.3.0",
|
"react-dom": "^18.3.0",
|
||||||
"react-intl": "^7.0.0",
|
"react-intl": "^7.0.0",
|
||||||
"tinode-sdk": "^0.24.0-rc1",
|
"tinode-sdk": "^0.24.0-rc2",
|
||||||
"webm-duration-fix": "^1.0.4"
|
"webm-duration-fix": "^1.0.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
+1
-1
@@ -63,7 +63,7 @@
|
|||||||
"obsolete": false
|
"obsolete": false
|
||||||
},
|
},
|
||||||
"badge_staff": {
|
"badge_staff": {
|
||||||
"translation": "يديره الموظفون",
|
"translation": "إدارة الموقع",
|
||||||
"defaultMessage": "Staff-managed",
|
"defaultMessage": "Staff-managed",
|
||||||
"description": "Explanation of a staff-managed account or topic badge",
|
"description": "Explanation of a staff-managed account or topic badge",
|
||||||
"missing": false,
|
"missing": false,
|
||||||
|
|||||||
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
// This is a generated file. Don't edit.
|
// This is a generated file. Don't edit.
|
||||||
|
|
||||||
export const PACKAGE_VERSION = "0.24.0-rc2";
|
export const PACKAGE_VERSION = "0.24.0-rc3";
|
||||||
|
|||||||
@@ -72,7 +72,8 @@ class NewTopicView extends React.Component {
|
|||||||
// Strip the leading '@' sign if present.
|
// Strip the leading '@' sign if present.
|
||||||
query = query.substring(1);
|
query = query.substring(1);
|
||||||
}
|
}
|
||||||
query = `${Tinode.TAG_ALIAS}${query}`;
|
// 'alice' -> 'alias:alice,alice'
|
||||||
|
query = `${Tinode.TAG_ALIAS}${query},${query}`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
@@ -8449,7 +8449,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.24.0-rc2";
|
const PACKAGE_VERSION = "0.24.0-rc3";
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
@@ -11746,7 +11746,7 @@ class NewTopicView extends (react__WEBPACK_IMPORTED_MODULE_0___default().Compone
|
|||||||
if (query[0] == '@') {
|
if (query[0] == '@') {
|
||||||
query = query.substring(1);
|
query = query.substring(1);
|
||||||
}
|
}
|
||||||
query = `${tinode_sdk__WEBPACK_IMPORTED_MODULE_2__.Tinode.TAG_ALIAS}${query}`;
|
query = `${tinode_sdk__WEBPACK_IMPORTED_MODULE_2__.Tinode.TAG_ALIAS}${query},${query}`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
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
File diff suppressed because one or more lines are too long
+23
-27
@@ -235,7 +235,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony export */ });
|
/* harmony export */ });
|
||||||
|
|
||||||
class CBuffer {
|
class CBuffer {
|
||||||
#comparator = (() => undefined)();
|
#comparator = undefined;
|
||||||
#unique = false;
|
#unique = false;
|
||||||
buffer = [];
|
buffer = [];
|
||||||
constructor(compare_, unique_) {
|
constructor(compare_, unique_) {
|
||||||
@@ -768,10 +768,10 @@ class Connection {
|
|||||||
return this.#socket && this.#socket.readyState == this.#socket.OPEN;
|
return this.#socket && this.#socket.readyState == this.#socket.OPEN;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
onMessage = (() => undefined)();
|
onMessage = undefined;
|
||||||
onDisconnect = (() => undefined)();
|
onDisconnect = undefined;
|
||||||
onOpen = (() => undefined)();
|
onOpen = undefined;
|
||||||
onAutoreconnectIteration = (() => undefined)();
|
onAutoreconnectIteration = undefined;
|
||||||
}
|
}
|
||||||
Connection.NETWORK_ERROR = NETWORK_ERROR;
|
Connection.NETWORK_ERROR = NETWORK_ERROR;
|
||||||
Connection.NETWORK_ERROR_TEXT = NETWORK_ERROR_TEXT;
|
Connection.NETWORK_ERROR_TEXT = NETWORK_ERROR_TEXT;
|
||||||
@@ -5362,7 +5362,8 @@ function clipInRange(src, clip) {
|
|||||||
low: Math.max(src.low, clip.low),
|
low: Math.max(src.low, clip.low),
|
||||||
hi: Math.min(src.hi, clip.hi)
|
hi: Math.min(src.hi, clip.hi)
|
||||||
};
|
};
|
||||||
return result;
|
// removed by dead control flow
|
||||||
|
{}
|
||||||
}
|
}
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
@@ -5377,7 +5378,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||||
/* harmony export */ PACKAGE_VERSION: () => (/* binding */ PACKAGE_VERSION)
|
/* harmony export */ PACKAGE_VERSION: () => (/* binding */ PACKAGE_VERSION)
|
||||||
/* harmony export */ });
|
/* harmony export */ });
|
||||||
const PACKAGE_VERSION = "0.24.0-rc1";
|
const PACKAGE_VERSION = "0.24.0-rc2";
|
||||||
|
|
||||||
/***/ })
|
/***/ })
|
||||||
|
|
||||||
@@ -5561,8 +5562,7 @@ initForNonBrowserApp();
|
|||||||
function initForNonBrowserApp() {
|
function initForNonBrowserApp() {
|
||||||
const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
|
const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
|
||||||
if (typeof btoa == 'undefined') {
|
if (typeof btoa == 'undefined') {
|
||||||
__webpack_require__.g.btoa = function () {
|
__webpack_require__.g.btoa = function (input = '') {
|
||||||
let input = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
||||||
let str = input;
|
let str = input;
|
||||||
let output = '';
|
let output = '';
|
||||||
for (let block = 0, charCode, i = 0, map = chars; str.charAt(i | 0) || (map = '=', i % 1); output += map.charAt(63 & block >> 8 - i % 1 * 8)) {
|
for (let block = 0, charCode, i = 0, map = chars; str.charAt(i | 0) || (map = '=', i % 1); output += map.charAt(63 & block >> 8 - i % 1 * 8)) {
|
||||||
@@ -5576,8 +5576,7 @@ function initForNonBrowserApp() {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
if (typeof atob == 'undefined') {
|
if (typeof atob == 'undefined') {
|
||||||
__webpack_require__.g.atob = function () {
|
__webpack_require__.g.atob = function (input = '') {
|
||||||
let input = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
||||||
let str = input.replace(/=+$/, '');
|
let str = input.replace(/=+$/, '');
|
||||||
let output = '';
|
let output = '';
|
||||||
if (str.length % 4 == 1) {
|
if (str.length % 4 == 1) {
|
||||||
@@ -5718,7 +5717,7 @@ class Tinode {
|
|||||||
_login = null;
|
_login = null;
|
||||||
_authToken = null;
|
_authToken = null;
|
||||||
_inPacketCount = 0;
|
_inPacketCount = 0;
|
||||||
_messageId = (() => Math.floor(Math.random() * 0xFFFF + 0xFFFF))();
|
_messageId = Math.floor(Math.random() * 0xFFFF + 0xFFFF);
|
||||||
_serverInfo = null;
|
_serverInfo = null;
|
||||||
_deviceToken = null;
|
_deviceToken = null;
|
||||||
_pendingPromises = {};
|
_pendingPromises = {};
|
||||||
@@ -5805,13 +5804,10 @@ class Tinode {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
logger(str) {
|
logger(str, ...args) {
|
||||||
if (this._loggingEnabled) {
|
if (this._loggingEnabled) {
|
||||||
const d = new Date();
|
const d = new Date();
|
||||||
const dateString = ('0' + d.getUTCHours()).slice(-2) + ':' + ('0' + d.getUTCMinutes()).slice(-2) + ':' + ('0' + d.getUTCSeconds()).slice(-2) + '.' + ('00' + d.getUTCMilliseconds()).slice(-3);
|
const dateString = ('0' + d.getUTCHours()).slice(-2) + ':' + ('0' + d.getUTCMinutes()).slice(-2) + ':' + ('0' + d.getUTCSeconds()).slice(-2) + '.' + ('00' + d.getUTCMilliseconds()).slice(-3);
|
||||||
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
||||||
args[_key - 1] = arguments[_key];
|
|
||||||
}
|
|
||||||
console.log('[' + dateString + ']', str, args.join(' '));
|
console.log('[' + dateString + ']', str, args.join(' '));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -6740,17 +6736,17 @@ class Tinode {
|
|||||||
this._messageId = 0;
|
this._messageId = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
onWebsocketOpen = (() => undefined)();
|
onWebsocketOpen = undefined;
|
||||||
onConnect = (() => undefined)();
|
onConnect = undefined;
|
||||||
onDisconnect = (() => undefined)();
|
onDisconnect = undefined;
|
||||||
onLogin = (() => undefined)();
|
onLogin = undefined;
|
||||||
onCtrlMessage = (() => undefined)();
|
onCtrlMessage = undefined;
|
||||||
onDataMessage = (() => undefined)();
|
onDataMessage = undefined;
|
||||||
onPresMessage = (() => undefined)();
|
onPresMessage = undefined;
|
||||||
onMessage = (() => undefined)();
|
onMessage = undefined;
|
||||||
onRawMessage = (() => undefined)();
|
onRawMessage = undefined;
|
||||||
onNetworkProbe = (() => undefined)();
|
onNetworkProbe = undefined;
|
||||||
onAutoreconnectIteration = (() => undefined)();
|
onAutoreconnectIteration = undefined;
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
Tinode.MESSAGE_STATUS_NONE = _config_js__WEBPACK_IMPORTED_MODULE_1__.MESSAGE_STATUS_NONE;
|
Tinode.MESSAGE_STATUS_NONE = _config_js__WEBPACK_IMPORTED_MODULE_1__.MESSAGE_STATUS_NONE;
|
||||||
|
|||||||
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
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
// This is a generated file. Don't edit.
|
// This is a generated file. Don't edit.
|
||||||
|
|
||||||
const PACKAGE_VERSION = "0.24.0-rc2";
|
const PACKAGE_VERSION = "0.24.0-rc3";
|
||||||
|
|||||||
Reference in New Issue
Block a user