@dropgate/core 3.0.6 → 3.0.8
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 +7 -7
- package/package.json +2 -2
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.8',
|
|
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.8', 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.8', server: location.origin });
|
|
436
436
|
// ...
|
|
437
437
|
</script>
|
|
438
438
|
```
|
|
@@ -471,8 +471,8 @@ See the [LICENSE](./LICENSE) file for details.
|
|
|
471
471
|
## Contact Us
|
|
472
472
|
|
|
473
473
|
* **Need help or want to chat?** [Join our Discord Server](https://diamonddigital.dev/discord)
|
|
474
|
-
* **Found a bug?** [Open an issue](https://github.com/
|
|
475
|
-
* **Have a suggestion?** [Submit a feature request](https://github.com/
|
|
474
|
+
* **Found a bug?** [Open an issue](https://github.com/diamonddigitaldev/Dropgate/issues)
|
|
475
|
+
* **Have a suggestion?** [Submit a feature request](https://github.com/diamonddigitaldev/Dropgate/issues/new?labels=enhancement)
|
|
476
476
|
|
|
477
477
|
<div align="center">
|
|
478
478
|
<a href="https://diamonddigital.dev/">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dropgate/core",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.8",
|
|
4
4
|
"description": "Headless Dropgate client library for file uploads and P2P transfers.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"license": "Apache-2.0",
|
|
75
75
|
"repository": {
|
|
76
76
|
"type": "git",
|
|
77
|
-
"url": "https://github.com/
|
|
77
|
+
"url": "https://github.com/diamonddigitaldev/Dropgate.git",
|
|
78
78
|
"directory": "packages/dropgate-core"
|
|
79
79
|
},
|
|
80
80
|
"keywords": [
|