@dropgate/core 3.0.7 → 3.0.9
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/README.md +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<img alt="Dropgate Logo" src="
|
|
2
|
+
<img alt="Dropgate Logo" src="../../docs/img/dropgate.png" style="width:100px;height:auto;margin-bottom:1rem;" />
|
|
3
3
|
|
|
4
4
|
# @dropgate/core
|
|
5
5
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<div align="center">
|
|
10
10
|
|
|
11
11
|

|
|
12
|
-

|
|
13
13
|

|
|
14
14
|
|
|
15
15
|
[](https://diamonddigital.dev/discord)
|
|
@@ -55,7 +55,7 @@ All operations go through a single `DropgateClient` instance. Server connection
|
|
|
55
55
|
import { DropgateClient } from '@dropgate/core';
|
|
56
56
|
|
|
57
57
|
const client = new DropgateClient({
|
|
58
|
-
clientVersion: '3.0.
|
|
58
|
+
clientVersion: '3.0.9',
|
|
59
59
|
server: 'https://dropgate.link', // URL string or { host, port?, secure? }
|
|
60
60
|
fallbackToHttp: true, // auto-retry HTTP if HTTPS fails (optional)
|
|
61
61
|
});
|
|
@@ -422,7 +422,7 @@ For browser environments, you can use the IIFE bundle:
|
|
|
422
422
|
<script src="/path/to/dropgate-core.browser.js"></script>
|
|
423
423
|
<script>
|
|
424
424
|
const { DropgateClient } = DropgateCore;
|
|
425
|
-
const client = new DropgateClient({ clientVersion: '3.0.
|
|
425
|
+
const client = new DropgateClient({ clientVersion: '3.0.9', server: location.origin });
|
|
426
426
|
// ...
|
|
427
427
|
</script>
|
|
428
428
|
```
|
|
@@ -432,7 +432,7 @@ Or as an ES module:
|
|
|
432
432
|
```html
|
|
433
433
|
<script type="module">
|
|
434
434
|
import { DropgateClient } from '/path/to/dropgate-core.js';
|
|
435
|
-
const client = new DropgateClient({ clientVersion: '3.0.
|
|
435
|
+
const client = new DropgateClient({ clientVersion: '3.0.9', server: location.origin });
|
|
436
436
|
// ...
|
|
437
437
|
</script>
|
|
438
438
|
```
|
|
@@ -464,7 +464,7 @@ See the [LICENSE](./LICENSE) file for details.
|
|
|
464
464
|
|
|
465
465
|
## Acknowledgements
|
|
466
466
|
|
|
467
|
-
* Logo designed by [TheFuturisticIdiot](https://
|
|
467
|
+
* Logo designed by [TheFuturisticIdiot](https://github.com/TheFuturisticIdiot)
|
|
468
468
|
* Built with [TypeScript](https://www.typescriptlang.org/)
|
|
469
469
|
* Inspired by the growing need for privacy-respecting, open file transfer tools
|
|
470
470
|
|