@trap_stevo/filetide 0.0.55 → 0.0.56
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/cjs/FileMessager.js +2 -2
- package/dist/cjs/FileTide.js +1 -1
- package/package.json +1 -1
package/dist/cjs/FileMessager.js
CHANGED
|
@@ -530,14 +530,14 @@ class FileMessager {
|
|
|
530
530
|
tideID: senderTide.tideID,
|
|
531
531
|
id: senderTide.id,
|
|
532
532
|
connectedOn: Date.now(),
|
|
533
|
-
currentTideChannel,
|
|
533
|
+
currentTideChannel: currentTideChannel || "file-room",
|
|
534
534
|
originClientID
|
|
535
535
|
});
|
|
536
536
|
return;
|
|
537
537
|
}
|
|
538
538
|
FileNetClientManager.addOnlineClient(clientID, pClientID, tideID, connectionID, {
|
|
539
539
|
connectedOn: Date.now(),
|
|
540
|
-
currentTideChannel,
|
|
540
|
+
currentTideChannel: currentTideChannel || "file-room",
|
|
541
541
|
originClientID
|
|
542
542
|
});
|
|
543
543
|
this.clientTransferBarriers.set(tideID, {
|
package/dist/cjs/FileTide.js
CHANGED
|
@@ -332,7 +332,7 @@ function _setupFileEventListeners(userID, client, onTransferProgress, onIncoming
|
|
|
332
332
|
const currentClients = {};
|
|
333
333
|
Object.keys(data).forEach(key => {
|
|
334
334
|
if (key !== userID) {
|
|
335
|
-
if (data[key] && data[key].currentTideChannel === data[userID].currentTideChannel) {
|
|
335
|
+
if (data[key] && data[userID] && data[key].currentTideChannel === data[userID].currentTideChannel) {
|
|
336
336
|
let currentClient = data[key];
|
|
337
337
|
currentClient.connectedOnDisplay = HUDUtilityManager.convertUTCDateToDateDisplay(currentClient.connectedOn, true, 1);
|
|
338
338
|
currentClients[key] = currentClient;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trap_stevo/filetide",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.56",
|
|
4
4
|
"description": "Revolutionizing real-time file transfer with seamless, instant communication across any device. Deliver files instantly, regardless of platform, and experience unparalleled speed and control in managing transfers. Elevate your file-sharing capabilities with a tool designed for precision, efficiency, and effortless connectivity.",
|
|
5
5
|
"main": "dist/cjs/FileTide.js",
|
|
6
6
|
"scripts": {
|