@dxos/shell 0.4.10-main.c8e5c39 → 0.4.10-main.c9da257

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.
@@ -73094,26 +73094,23 @@ var readableBrowserExports = readableBrowser.exports, createPromiseFromCallback
73094
73094
  }
73095
73095
  /**
73096
73096
  * Wake blocked callers (if any).
73097
- * NOOP if the trigger is already resolved.
73098
73097
  */
73099
73098
  wake($) {
73100
- return this._resolve($), this._options.autoReset ? this.reset() : this;
73099
+ return this._wake($), this._options.autoReset ? this.reset() : this;
73101
73100
  }
73102
73101
  /**
73103
73102
  * Reset promise (new waiters will wait).
73104
73103
  */
73105
73104
  reset() {
73106
- return this._promise = new Promise(($, I) => {
73107
- this._resolve = $, this._reject = I;
73108
- }), this._promise.catch(() => {
73105
+ return this._promise = new Promise(($) => {
73106
+ this._wake = $;
73109
73107
  }), this;
73110
73108
  }
73111
73109
  /**
73112
73110
  * Throw error to blocked callers (if any).
73113
- * NOOP if the trigger is already resolved.
73114
73111
  */
73115
73112
  throw($) {
73116
- return this._reject($), this._options.autoReset ? this.reset() : this;
73113
+ return this._wake(Promise.reject($)), this._options.autoReset ? this.reset() : this;
73117
73114
  }
73118
73115
  }, MulticastObservable = class Jn extends Observable {
73119
73116
  constructor(I, U) {
@@ -88766,7 +88763,7 @@ var __dxlog_file = "/home/runner/work/dxos/dxos/packages/sdk/client/src/services
88766
88763
  return this._client.rpc;
88767
88764
  }
88768
88765
  async open() {
88769
- const { WebsocketRpcClient: $ } = await import("./index-Ba9TfOfV.mjs");
88766
+ const { WebsocketRpcClient: $ } = await import("./index-pilXOwtZ.mjs");
88770
88767
  this._client = new $({
88771
88768
  url: getUnixSocket(this._profile, "ws+unix"),
88772
88769
  requested: clientServiceBundle,
@@ -89655,11 +89652,8 @@ function requireUseSyncExternalStoreShim_development() {
89655
89652
  useSyncExternalStoreShim_development.useSyncExternalStore = ce, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
89656
89653
  }()), useSyncExternalStoreShim_development;
89657
89654
  }
89658
- var hasRequiredShim;
89659
- function requireShim() {
89660
- return hasRequiredShim || (hasRequiredShim = 1, process.env.NODE_ENV === "production" ? shim.exports = requireUseSyncExternalStoreShim_production_min() : shim.exports = requireUseSyncExternalStoreShim_development()), shim.exports;
89661
- }
89662
- var shimExports = requireShim(), jsxDevRuntime = { exports: {} }, reactJsxDevRuntime_production_min = {};
89655
+ process.env.NODE_ENV === "production" ? shim.exports = requireUseSyncExternalStoreShim_production_min() : shim.exports = requireUseSyncExternalStoreShim_development();
89656
+ var shimExports = shim.exports, jsxDevRuntime = { exports: {} }, reactJsxDevRuntime_production_min = {};
89663
89657
  /**
89664
89658
  * @license React
89665
89659
  * react-jsx-dev-runtime.production.min.js
@@ -90415,7 +90409,7 @@ function requireWithSelector_production_min() {
90415
90409
  if (hasRequiredWithSelector_production_min)
90416
90410
  return withSelector_production_min;
90417
90411
  hasRequiredWithSelector_production_min = 1;
90418
- var $ = React__default, I = requireShim();
90412
+ var $ = React__default, I = shimExports;
90419
90413
  function U(Q, ee) {
90420
90414
  return Q === ee && (Q !== 0 || 1 / Q === 1 / ee) || Q !== Q && ee !== ee;
90421
90415
  }
@@ -90469,7 +90463,7 @@ var hasRequiredWithSelector_development;
90469
90463
  function requireWithSelector_development() {
90470
90464
  return hasRequiredWithSelector_development || (hasRequiredWithSelector_development = 1, process.env.NODE_ENV !== "production" && function() {
90471
90465
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
90472
- var $ = React__default, I = requireShim();
90466
+ var $ = React__default, I = shimExports;
90473
90467
  function U(ee, te) {
90474
90468
  return ee === te && (ee !== 0 || 1 / ee === 1 / te) || ee !== ee && te !== te;
90475
90469
  }
@@ -96625,4 +96619,4 @@ export {
96625
96619
  log$2 as l,
96626
96620
  runShell as r
96627
96621
  };
96628
- //# sourceMappingURL=index-DaiI_12x.mjs.map
96622
+ //# sourceMappingURL=index-D2taqxdT.mjs.map