@trap_stevo/filetide 0.0.53 → 0.0.54
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
CHANGED
|
@@ -557,7 +557,7 @@ class FileMessager {
|
|
|
557
557
|
const tidingTransfers = this.currentTidingTransfers.get(clientData.clientID);
|
|
558
558
|
if (tidingTransfers && tidingTransfers.size > 0) {
|
|
559
559
|
for (let recipientID of tidingTransfers.keys()) {
|
|
560
|
-
const recipientConnectionID = FileNetClientManager.getOnlineClient(
|
|
560
|
+
const recipientConnectionID = FileNetClientManager.getOnlineClient(clientData.recipientID).id;
|
|
561
561
|
const client = this.getClientFromID(recipientConnectionID);
|
|
562
562
|
if (client) {
|
|
563
563
|
this.fileNet.emitToTide(client.tideID, "save-current-transfer-states", {
|
package/dist/cjs/FileTide.js
CHANGED
|
@@ -109,7 +109,7 @@ class FileTide {
|
|
|
109
109
|
const newClient = new FileMessagerClient(clientOptions, transportOptions, messagerSettings);
|
|
110
110
|
const enterRoom = newClient.joinRoom(userID, roomName, connectionOptions, headers, onConnect, onDisconnect, authURL, authHeaders, useAuthentication, queryAuthToken);
|
|
111
111
|
this.transferBarrier = enableTransferBarrier;
|
|
112
|
-
this.clientShorePolicies.set(userID, [FileUtilityManager.getTidePath(">Downloads"), FileUtilityManager.getTidePath(">Documents"), FileUtilityManager.getTidePath(">
|
|
112
|
+
this.clientShorePolicies.set(userID, [FileUtilityManager.getTidePath(">Downloads"), FileUtilityManager.getTidePath(">Documents"), FileUtilityManager.getTidePath(">Desktop"), FileUtilityManager.getTidePath(">Photos"), FileUtilityManager.getTidePath(">Videos"), FileUtilityManager.getTidePath(">Music")]);
|
|
113
113
|
this.clients.set(userID, newClient);
|
|
114
114
|
FileTide.outputGradient(`[FileTide] ~ Messager launched successfully for client ~ ${userID}!`, significantMessageColors);
|
|
115
115
|
_assertClassBrand(_FileTide_brand, this, _setupFileEventListeners).call(this, userID, newClient, onTransferProgress, onIncomingTransfer, onIncomingFile, onTransferBarrier, options);
|
|
@@ -271,7 +271,7 @@ class FileUtilityManager {
|
|
|
271
271
|
">AppData": platform === "win32" ? path.join(homeDir, "AppData", "Roaming") : path.join(homeDir, ".config"),
|
|
272
272
|
">LocalAppData": platform === "win32" ? path.join(homeDir, "AppData", "Local") : path.join(homeDir, ".local", "share"),
|
|
273
273
|
">Music": path.join(homeDir, "Music"),
|
|
274
|
-
">
|
|
274
|
+
">Photos": platform === "win32" ? path.join(homeDir, "Pictures") : path.join(homeDir, "Photos"),
|
|
275
275
|
">Videos": path.join(homeDir, "Videos"),
|
|
276
276
|
">Public": platform === "win32" ? path.join("C:", "Users", "Public") : "/usr/share",
|
|
277
277
|
">Templates": path.join(homeDir, "Templates"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trap_stevo/filetide",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.54",
|
|
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": {
|