@trap_stevo/filetide-client 0.0.53 → 0.0.55

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.
@@ -92,7 +92,7 @@ const shortcuts = {
92
92
  const colorReset = "\x1b[0m";
93
93
  var _FileTideClient_brand = /*#__PURE__*/new WeakSet();
94
94
  class FileTideClient {
95
- constructor(inputDeviceName, inputTideURL, inputCurrentRoom, displayTitle = true, showCLITitle = false, debugMode = false) {
95
+ constructor(inputDeviceName, inputTideURL, inputCurrentRoom, displayTitle = true, showAuthor = false, showCLITitle = false, debugMode = false) {
96
96
  // --- FileTide Client Cleanup Management ---
97
97
  _classPrivateMethodInitSpec(this, _FileTideClient_brand);
98
98
  fileTide = new FileTide(debugMode);
@@ -121,7 +121,7 @@ class FileTideClient {
121
121
  this.onConnect = null;
122
122
  this.onDisconnect = null;
123
123
  if (displayTitle) {
124
- this.displayTitle(showCLITitle);
124
+ this.displayTitle(showCLITitle, showAuthor);
125
125
  }
126
126
  }
127
127
 
@@ -442,10 +442,12 @@ class FileTideClient {
442
442
  console.log(this.applyGradient(message, "neutral"));
443
443
  }
444
444
  }
445
- displayTitle(cli = false) {
445
+ displayTitle(cli = false, author = false) {
446
446
  FileTide.displayFileTideLogo();
447
447
  FileTide.displayFileTideTitle(cli);
448
- FileTide.displayFileTideAuthor();
448
+ if (author) {
449
+ FileTide.displayFileTideAuthor();
450
+ }
449
451
  }
450
452
  }
451
453
  function _setupProcessEvents() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trap_stevo/filetide-client",
3
- "version": "0.0.53",
3
+ "version": "0.0.55",
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": "SCL-1.0-Universal",
39
39
  "dependencies": {
40
- "@trap_stevo/filetide": "^0.0.87",
40
+ "@trap_stevo/filetide": "^0.0.88",
41
41
  "@trap_stevo/iotide": "^0.0.46",
42
42
  "@trap_stevo/legendarybuilderpronodejs-utilities": "^1.0.51",
43
43
  "chalk": "^4.1.2"