@trap_stevo/filetide-client 0.0.22 → 0.0.24

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.
@@ -49,9 +49,9 @@ const shortcuts = {
49
49
  description: "User's music folder.",
50
50
  shortCut: ">Music"
51
51
  },
52
- ">Pictures": {
53
- description: "User's pictures folder.",
54
- shortCut: ">Pictures"
52
+ ">Photos": {
53
+ description: "User's photos folder.",
54
+ shortCut: ">Photos"
55
55
  },
56
56
  ">Videos": {
57
57
  description: "User's videos folder.",
@@ -282,9 +282,10 @@ class FileTideClient {
282
282
  if (clientOnline && clientOnline.online && clientOnline.client.id !== this.connectionID) {
283
283
  FileTide.outputGradient(`[${this.deviceName}] Client name taken ~ ${this.deviceName}`, ["#4D96FF", "#89CFF0"]);
284
284
  } else if (!clientOnline || !clientOnline.online || clientOnline.client.id === this.connectionID) {
285
- this.currentDeviceName = this.deviceName;
285
+ const pDeviceName = this.deviceName;
286
+ this.currentDeviceName = pDeviceName;
287
+ this.fileMessagerInstance.clientTide.emitEvent(this.currentDeviceName || pDeviceName, "client-offline", this.currentDeviceName || pDeviceName);
286
288
  this.deviceName = clientID;
287
- this.fileMessagerInstance.clientTide.emitEvent(this.currentDeviceName, "client-offline", this.currentDeviceName);
288
289
  FileTide.outputGradient(`[${this.deviceName}] Updated client name to ${this.deviceName}`, ["#4D96FF", "#89CFF0"]);
289
290
  this.startClient({}, {}, {}, {}, onReconnect);
290
291
  updatedClientID = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trap_stevo/filetide-client",
3
- "version": "0.0.22",
3
+ "version": "0.0.24",
4
4
  "description": "Seamless, real-time file transfers between devices with effortless connectivity. Allowing for powerful, instant, secure, and cross-platform file sharing, enabling efficient and reliable data transfers in any network environment.",
5
5
  "main": "dist/cjs/FileTideClient.js",
6
6
  "exports": {
@@ -37,7 +37,7 @@
37
37
  "author": "Steven Compton",
38
38
  "license": "See License in LICENSE.md",
39
39
  "dependencies": {
40
- "@trap_stevo/filetide": "^0.0.52",
40
+ "@trap_stevo/filetide": "^0.0.54",
41
41
  "@trap_stevo/iotide": "^0.0.41",
42
42
  "@trap_stevo/legendarybuilderpronodejs-utilities": "^1.0.43",
43
43
  "chalk": "^4.1.2",