@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
package/dist/react/index.js
CHANGED
package/package.json
CHANGED
|
@@ -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);
|