@trap_stevo/filetide 0.0.67 → 0.0.69
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/FileMessager.js +21 -21
- package/package.json +1 -1
package/dist/cjs/FileMessager.js
CHANGED
|
@@ -145,14 +145,14 @@ class FileMessager {
|
|
|
145
145
|
if (!forward) {
|
|
146
146
|
return;
|
|
147
147
|
}
|
|
148
|
-
async
|
|
148
|
+
const handle = async () => {
|
|
149
149
|
if (mode === "signal") {
|
|
150
150
|
forward("rehydrate");
|
|
151
151
|
return;
|
|
152
152
|
}
|
|
153
|
-
const result = await getTiderPresenceVisualData(visualDataConfigurations);
|
|
153
|
+
const result = await this.getTiderPresenceVisualData(visualDataConfigurations);
|
|
154
154
|
forward(result);
|
|
155
|
-
}
|
|
155
|
+
};
|
|
156
156
|
tidalytics.events.on("metric:created:tider:offline", handle);
|
|
157
157
|
tidalytics.events.on("metric:created:tider:online", handle);
|
|
158
158
|
}
|
|
@@ -165,14 +165,14 @@ class FileMessager {
|
|
|
165
165
|
if (!forward) {
|
|
166
166
|
return;
|
|
167
167
|
}
|
|
168
|
-
async
|
|
168
|
+
const handle = async () => {
|
|
169
169
|
if (mode === "signal") {
|
|
170
170
|
forward("rehydrate");
|
|
171
171
|
return;
|
|
172
172
|
}
|
|
173
|
-
const result = await getAlreadyOnlineVisualData(visualDataConfigurations);
|
|
173
|
+
const result = await this.getAlreadyOnlineVisualData(visualDataConfigurations);
|
|
174
174
|
forward(result);
|
|
175
|
-
}
|
|
175
|
+
};
|
|
176
176
|
tidalytics.events.on("metric:created:tider:already-online", handle);
|
|
177
177
|
}
|
|
178
178
|
attachTiderBanVisualStream(options = {}) {
|
|
@@ -184,14 +184,14 @@ class FileMessager {
|
|
|
184
184
|
if (!forward) {
|
|
185
185
|
return;
|
|
186
186
|
}
|
|
187
|
-
async
|
|
187
|
+
const handle = async () => {
|
|
188
188
|
if (mode === "signal") {
|
|
189
189
|
forward("rehydrate");
|
|
190
190
|
return;
|
|
191
191
|
}
|
|
192
|
-
const result = await getTiderBanVisualData(visualDataConfigurations);
|
|
192
|
+
const result = await this.getTiderBanVisualData(visualDataConfigurations);
|
|
193
193
|
forward(result);
|
|
194
|
-
}
|
|
194
|
+
};
|
|
195
195
|
tidalytics.events.on("metric:created:tider:unbanned", handle);
|
|
196
196
|
tidalytics.events.on("metric:created:tider:banned", handle);
|
|
197
197
|
tidalytics.events.on("metric:created:tider:kicked", handle);
|
|
@@ -205,14 +205,14 @@ class FileMessager {
|
|
|
205
205
|
if (!forward) {
|
|
206
206
|
return;
|
|
207
207
|
}
|
|
208
|
-
async
|
|
208
|
+
const handle = async () => {
|
|
209
209
|
if (mode === "signal") {
|
|
210
210
|
forward("rehydrate");
|
|
211
211
|
return;
|
|
212
212
|
}
|
|
213
|
-
const result = await getTideFileTransferVisualData(visualDataConfigurations);
|
|
213
|
+
const result = await this.getTideFileTransferVisualData(visualDataConfigurations);
|
|
214
214
|
forward(result);
|
|
215
|
-
}
|
|
215
|
+
};
|
|
216
216
|
tidalytics.events.on("metric:created:tide:completed-transfer", handle);
|
|
217
217
|
tidalytics.events.on("metric:created:tide:incoming-transfer", handle);
|
|
218
218
|
tidalytics.events.on("metric:created:tide:incoming-file", handle);
|
|
@@ -226,14 +226,14 @@ class FileMessager {
|
|
|
226
226
|
if (!forward) {
|
|
227
227
|
return;
|
|
228
228
|
}
|
|
229
|
-
async
|
|
229
|
+
const handle = async () => {
|
|
230
230
|
if (mode === "signal") {
|
|
231
231
|
forward("rehydrate");
|
|
232
232
|
return;
|
|
233
233
|
}
|
|
234
|
-
const result = await getTideTransferStateVisualData(visualDataConfigurations);
|
|
234
|
+
const result = await this.getTideTransferStateVisualData(visualDataConfigurations);
|
|
235
235
|
forward(result);
|
|
236
|
-
}
|
|
236
|
+
};
|
|
237
237
|
tidalytics.events.on("metric:created:tide:transfer-state", handle);
|
|
238
238
|
}
|
|
239
239
|
attachFileListVisualStream(options = {}) {
|
|
@@ -245,14 +245,14 @@ class FileMessager {
|
|
|
245
245
|
if (!forward) {
|
|
246
246
|
return;
|
|
247
247
|
}
|
|
248
|
-
async
|
|
248
|
+
const handle = async () => {
|
|
249
249
|
if (mode === "signal") {
|
|
250
250
|
forward("rehydrate");
|
|
251
251
|
return;
|
|
252
252
|
}
|
|
253
|
-
const result = await getFileListVisualData(visualDataConfigurations);
|
|
253
|
+
const result = await this.getFileListVisualData(visualDataConfigurations);
|
|
254
254
|
forward(result);
|
|
255
|
-
}
|
|
255
|
+
};
|
|
256
256
|
tidalytics.events.on("metric:created:file-list:received", handle);
|
|
257
257
|
tidalytics.events.on("metric:created:file-list:request", handle);
|
|
258
258
|
}
|
|
@@ -265,14 +265,14 @@ class FileMessager {
|
|
|
265
265
|
if (!forward) {
|
|
266
266
|
return;
|
|
267
267
|
}
|
|
268
|
-
async
|
|
268
|
+
const handle = async () => {
|
|
269
269
|
if (mode === "signal") {
|
|
270
270
|
forward("rehydrate");
|
|
271
271
|
return;
|
|
272
272
|
}
|
|
273
|
-
const result = await getTideBarrierVisualData(visualDataConfigurations);
|
|
273
|
+
const result = await this.getTideBarrierVisualData(visualDataConfigurations);
|
|
274
274
|
forward(result);
|
|
275
|
-
}
|
|
275
|
+
};
|
|
276
276
|
tidalytics.events.on("metric:created:tide-barrier:accepted", handle);
|
|
277
277
|
tidalytics.events.on("metric:created:tide-barrier:denied", handle);
|
|
278
278
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trap_stevo/filetide",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.69",
|
|
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": {
|