@dropgate/core 3.0.3 → 3.0.4

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.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
  <div align="center">
10
10
 
11
11
  ![license](https://img.shields.io/badge/license-Apache--2.0-blue?style=flat-square)
12
- ![version](https://img.shields.io/badge/version-3.0.3-brightgreen?style=flat-square)
12
+ ![version](https://img.shields.io/badge/version-3.0.4-brightgreen?style=flat-square)
13
13
  ![typescript](https://img.shields.io/badge/TypeScript-5.0+-blue?style=flat-square)
14
14
 
15
15
  [![discord](https://img.shields.io/discord/667479986214666272?logo=discord&logoColor=white&style=flat-square)](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.3',
58
+ clientVersion: '3.0.4',
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.3', server: location.origin });
425
+ const client = new DropgateClient({ clientVersion: '3.0.4', 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.3', server: location.origin });
435
+ const client = new DropgateClient({ clientVersion: '3.0.4', server: location.origin });
436
436
  // ...
437
437
  </script>
438
438
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dropgate/core",
3
- "version": "3.0.3",
3
+ "version": "3.0.4",
4
4
  "description": "Headless Dropgate client library for file uploads and P2P transfers.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",