@trap_stevo/filetide 0.0.57 → 0.0.58

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.
@@ -63,9 +63,10 @@ class FileTide {
63
63
  * Initialize and start the server.
64
64
  * @param {Object} serverOptions - Configuration for server (e.g., port, useCors, useHTTPS)
65
65
  * @param {Function} onLaunch - Callback for when a file tide instance launches
66
+ * @param {...any} tideConfigurations - Additional configuration objects for customizing FileTide behavior
66
67
  */
67
- launchFileTide(serverOptions = {}, onLaunch) {
68
- this.fileNet = new FileMessager(serverOptions);
68
+ launchFileTide(serverOptions = {}, onLaunch, ...tideConfigurations) {
69
+ this.fileNet = new FileMessager(serverOptions, ...tideConfigurations);
69
70
  this.fileNet.start();
70
71
  FileTide.outputGradient("[FileTide] ~ FileNet launched successfully!", significantMessageColors);
71
72
  if (onLaunch) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trap_stevo/filetide",
3
- "version": "0.0.57",
3
+ "version": "0.0.58",
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": {