hypha-rpc 0.21.9 → 0.21.11

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.
@@ -86,7 +86,7 @@
86
86
  <div class='footer quiet pad2 space-top1 center small'>
87
87
  Code coverage generated by
88
88
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
89
- at 2026-02-10T20:54:48.821Z
89
+ at 2026-02-11T03:08:15.814Z
90
90
  </div>
91
91
  <script src="prettify.js"></script>
92
92
  <script>
@@ -7117,6 +7117,7 @@ __webpack_require__.r(__webpack_exports__);
7117
7117
  /* harmony export */ getRTCService: () => (/* reexport safe */ _webrtc_client_js__WEBPACK_IMPORTED_MODULE_3__.getRTCService),
7118
7118
  /* harmony export */ getRemoteService: () => (/* binding */ getRemoteService),
7119
7119
  /* harmony export */ getRemoteServiceHTTP: () => (/* reexport safe */ _http_client_js__WEBPACK_IMPORTED_MODULE_4__.getRemoteServiceHTTP),
7120
+ /* harmony export */ hyphaWebsocketClient: () => (/* binding */ hyphaWebsocketClient),
7120
7121
  /* harmony export */ loadRequirements: () => (/* reexport safe */ _utils_index_js__WEBPACK_IMPORTED_MODULE_1__.loadRequirements),
7121
7122
  /* harmony export */ login: () => (/* binding */ login),
7122
7123
  /* harmony export */ logout: () => (/* binding */ logout),
@@ -8255,6 +8256,29 @@ class LocalWebSocket {
8255
8256
  }
8256
8257
  }
8257
8258
 
8259
+ // Also export a hyphaWebsocketClient namespace for backwards compatibility.
8260
+ // hypha-core's deno build does: import { hyphaWebsocketClient } from 'hypha-rpc'
8261
+ // The UMD build wraps everything under this name via webpack's `library` option,
8262
+ // but the ESM build exports flat, so we need this explicit re-export.
8263
+ const hyphaWebsocketClient = {
8264
+ RPC: _rpc_js__WEBPACK_IMPORTED_MODULE_0__.RPC,
8265
+ API_VERSION: _rpc_js__WEBPACK_IMPORTED_MODULE_0__.API_VERSION,
8266
+ schemaFunction: _utils_schema_js__WEBPACK_IMPORTED_MODULE_2__.schemaFunction,
8267
+ loadRequirements: _utils_index_js__WEBPACK_IMPORTED_MODULE_1__.loadRequirements,
8268
+ login,
8269
+ logout,
8270
+ connectToServer,
8271
+ connectToServerHTTP: _http_client_js__WEBPACK_IMPORTED_MODULE_4__.connectToServerHTTP,
8272
+ getRemoteService,
8273
+ getRemoteServiceHTTP: _http_client_js__WEBPACK_IMPORTED_MODULE_4__.getRemoteServiceHTTP,
8274
+ getRTCService: _webrtc_client_js__WEBPACK_IMPORTED_MODULE_3__.getRTCService,
8275
+ registerRTCService: _webrtc_client_js__WEBPACK_IMPORTED_MODULE_3__.registerRTCService,
8276
+ get setupLocalClient() { return setupLocalClient; },
8277
+ get LocalWebSocket() { return LocalWebSocket; },
8278
+ HTTPStreamingRPCConnection: _http_client_js__WEBPACK_IMPORTED_MODULE_4__.HTTPStreamingRPCConnection,
8279
+ normalizeServerUrlHTTP: _http_client_js__WEBPACK_IMPORTED_MODULE_4__.normalizeServerUrl,
8280
+ };
8281
+
8258
8282
  function setupLocalClient({
8259
8283
  enable_execution = false,
8260
8284
  on_ready = null,