@trap_stevo/filenet 0.0.43 → 0.0.45

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/index.js CHANGED
@@ -439,11 +439,17 @@ class FileNet {
439
439
  }
440
440
  return this.fileNetManager.fileNet.onlineClients;
441
441
  }
442
+ getOnlineClients() {
443
+ if (!this.operational()) {
444
+ return null;
445
+ }
446
+ return this.fileNetManager.fileNet.getOnlineClients();
447
+ }
442
448
 
443
449
  // --- FileNet Transfer Management ---
444
450
 
445
- async sendToDevice(userID, filePath, destinationPath, filterContent = [], tideSize = 200, tidalSize = 500, minTideSize = 10, maxTideSize = 2000, transferRequestExpirationTime = 30000) {
446
- await this.fileNetManager.sendToDevice(userID, filePath, destinationPath, filterContent, tideSize, tidalSize, minTideSize, maxTideSize, transferRequestExpirationTime);
451
+ async sendToDevice(userID, filePath, destinationPath, filterContent = [], tideSize = 200, tidalSize = 500, minTideSize = 10, maxTideSize = 2000, transferRequestExpirationTime = 30000, metadata = {}) {
452
+ await this.fileNetManager.sendToDevice(userID, filePath, destinationPath, filterContent, tideSize, tidalSize, minTideSize, maxTideSize, transferRequestExpirationTime, metadata);
447
453
  return;
448
454
  }
449
455
 
@@ -0,0 +1 @@
1
+ d49225dd-b689-439a-979f-6a4fe81f9d9b
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@trap_stevo/filenet",
3
- "version": "0.0.43",
3
+ "version": "0.0.45",
4
4
  "description": "Provides the groundbreaking solution for real-time, OTA (Over-The-Air) file transfer, streamlining client-to-client sharing with unmatched efficiency and effortless, on-the-fly handling. Whether managing peer-to-peer or client-server transfers, FileNet ensures seamless communication across devices, allowing for file transfers from all over the world, while maintaining fast, secure, and dynamic connectivity. Along with proprietary maximum performance measures, it delivers parallelly synchronized, high-speed transfers, from large data exchanges to instant sharing, setting a new standard in modern file transfer and redefining real-time connectivity.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "exports": {
7
7
  ".": "./dist/cjs/index.js"
8
8
  },
9
9
  "bin": {
10
- "filenet": "./dist/cjs/filenet.js"
10
+ "filenet": "dist/cjs/filenet.js"
11
11
  },
12
12
  "scripts": {
13
13
  "build": "babel src -d dist/cjs --env-name cjs",
@@ -39,8 +39,8 @@
39
39
  "author": "Steven Compton",
40
40
  "license": "See License in LICENSE.md",
41
41
  "dependencies": {
42
- "@trap_stevo/filetide": "^0.0.78",
43
- "@trap_stevo/filetide-client": "^0.0.47",
42
+ "@trap_stevo/filetide": "^0.0.80",
43
+ "@trap_stevo/filetide-client": "^0.0.49",
44
44
  "@trap_stevo/iotide": "^0.0.46"
45
45
  },
46
46
  "devDependencies": {