@trap_stevo/filetide-client 0.0.55 → 0.0.57
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/FileTideClient.js +14 -1
- package/package.json +2 -2
|
@@ -195,6 +195,7 @@ class FileTideClient {
|
|
|
195
195
|
onIncomingTransfer = null,
|
|
196
196
|
onTransferBarrier = null,
|
|
197
197
|
onTransferProgress = null,
|
|
198
|
+
displayTransferOutput = true,
|
|
198
199
|
enableTransferBarrier = true,
|
|
199
200
|
headers = {},
|
|
200
201
|
authURL = "",
|
|
@@ -206,7 +207,8 @@ class FileTideClient {
|
|
|
206
207
|
} = clientConfigurations || {};
|
|
207
208
|
const fileTideOptions = {
|
|
208
209
|
...options,
|
|
209
|
-
...lifecycleOptions
|
|
210
|
+
...lifecycleOptions,
|
|
211
|
+
displayTransferOutput
|
|
210
212
|
};
|
|
211
213
|
const launchClient = () => {
|
|
212
214
|
if (this.fileMessagerInstance && this.fileMessagerInstance.clientTide && this.fileMessagerInstance.clientTide.tideExists(this.deviceName)) {
|
|
@@ -404,6 +406,17 @@ class FileTideClient {
|
|
|
404
406
|
|
|
405
407
|
// --- FileTide Client Display Management ---
|
|
406
408
|
|
|
409
|
+
setOutputHandler(handler = null) {
|
|
410
|
+
FileTide.setOutputHandler(handler);
|
|
411
|
+
return this;
|
|
412
|
+
}
|
|
413
|
+
getOutputHandler() {
|
|
414
|
+
return FileTide.getOutputHandler();
|
|
415
|
+
}
|
|
416
|
+
clearOutputHandler() {
|
|
417
|
+
FileTide.clearOutputHandler();
|
|
418
|
+
return this;
|
|
419
|
+
}
|
|
407
420
|
applyGradient(text, gradientType) {
|
|
408
421
|
const colors = gradients[gradientType];
|
|
409
422
|
let gradientText = "";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trap_stevo/filetide-client",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.57",
|
|
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.
|
|
40
|
+
"@trap_stevo/filetide": "^0.0.90",
|
|
41
41
|
"@trap_stevo/iotide": "^0.0.46",
|
|
42
42
|
"@trap_stevo/legendarybuilderpronodejs-utilities": "^1.0.51",
|
|
43
43
|
"chalk": "^4.1.2"
|