@gethashd/bytecave-browser 1.0.55 → 1.0.56

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.
@@ -6328,7 +6328,7 @@ var StorageWebTransportClient = class {
6328
6328
  if (!ip || !port || !hasQuic || !hasWebTransport) {
6329
6329
  return null;
6330
6330
  }
6331
- return `https://${ip}:${port}`;
6331
+ return `https://${ip}:${port}/storage`;
6332
6332
  } catch (error) {
6333
6333
  console.error("[WebTransport] Failed to parse multiaddr:", error);
6334
6334
  return null;
package/dist/index.cjs CHANGED
@@ -6381,7 +6381,7 @@ var StorageWebTransportClient = class {
6381
6381
  if (!ip || !port || !hasQuic || !hasWebTransport) {
6382
6382
  return null;
6383
6383
  }
6384
- return `https://${ip}:${port}`;
6384
+ return `https://${ip}:${port}/storage`;
6385
6385
  } catch (error) {
6386
6386
  console.error("[WebTransport] Failed to parse multiaddr:", error);
6387
6387
  return null;
package/dist/index.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  useHashdImage,
14
14
  useHashdMedia,
15
15
  useHashdUrl
16
- } from "./chunk-QQCX3OFK.js";
16
+ } from "./chunk-PLWUCLI2.js";
17
17
  import {
18
18
  clearHashdCache,
19
19
  createHashdUrl,
@@ -8,7 +8,7 @@ import {
8
8
  useHashdImage,
9
9
  useHashdMedia,
10
10
  useHashdUrl
11
- } from "../chunk-QQCX3OFK.js";
11
+ } from "../chunk-PLWUCLI2.js";
12
12
  import "../chunk-EEZWRIUI.js";
13
13
  export {
14
14
  HashdAudio,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gethashd/bytecave-browser",
3
- "version": "1.0.55",
3
+ "version": "1.0.56",
4
4
  "description": "ByteCave browser client for WebRTC P2P connections to storage nodes",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -163,8 +163,8 @@ export class StorageWebTransportClient {
163
163
  return null;
164
164
  }
165
165
 
166
- // WebTransport URL format: https://ip:port
167
- return `https://${ip}:${port}`;
166
+ // WebTransport URL format: https://ip:port/storage
167
+ return `https://${ip}:${port}/storage`;
168
168
 
169
169
  } catch (error) {
170
170
  console.error('[WebTransport] Failed to parse multiaddr:', error);