@dxos/shell 0.4.10-next.811314d → 0.5.1-main.16a1d7d

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,23 +73094,26 @@ var readableBrowserExports = readableBrowser.exports, createPromiseFromCallback
73094
73094
  }
73095
73095
  /**
73096
73096
  * Wake blocked callers (if any).
73097
+ * NOOP if the trigger is already resolved.
73097
73098
  */
73098
73099
  wake($) {
73099
- return this._wake($), this._options.autoReset ? this.reset() : this;
73100
+ return this._resolve($), this._options.autoReset ? this.reset() : this;
73100
73101
  }
73101
73102
  /**
73102
73103
  * Reset promise (new waiters will wait).
73103
73104
  */
73104
73105
  reset() {
73105
- return this._promise = new Promise(($) => {
73106
- this._wake = $;
73106
+ return this._promise = new Promise(($, I) => {
73107
+ this._resolve = $, this._reject = I;
73108
+ }), this._promise.catch(() => {
73107
73109
  }), this;
73108
73110
  }
73109
73111
  /**
73110
73112
  * Throw error to blocked callers (if any).
73113
+ * NOOP if the trigger is already resolved.
73111
73114
  */
73112
73115
  throw($) {
73113
- return this._wake(Promise.reject($)), this._options.autoReset ? this.reset() : this;
73116
+ return this._reject($), this._options.autoReset ? this.reset() : this;
73114
73117
  }
73115
73118
  }, MulticastObservable = class Jn extends Observable {
73116
73119
  constructor(I, U) {
@@ -84810,7 +84813,7 @@ var N1 = Math.pow(2, 7), N2 = Math.pow(2, 14), N3 = Math.pow(2, 21), N4 = Math.p
84810
84813
  $ < this._buffer.length ? this._buffer = this._buffer.subarray($) : this._buffer = void 0;
84811
84814
  }
84812
84815
  destroy() {
84813
- this._stream.readableLength > 0 && log$2.info("framer destroyed while there are still read bytes in the buffer.", void 0, {
84816
+ this._stream.readableLength > 0 && log$2("framer destroyed while there are still read bytes in the buffer.", void 0, {
84814
84817
  F: __dxlog_file2$2,
84815
84818
  L: 140,
84816
84819
  S: this,
@@ -85862,7 +85865,7 @@ var Connection = class {
85862
85865
  });
85863
85866
  }
85864
85867
  } else {
85865
- log$2.info(`graceful close requested when we were in ${I} state? aborting`, void 0, {
85868
+ log$2(`graceful close requested when we were in ${I} state? aborting`, void 0, {
85866
85869
  F: __dxlog_file$2,
85867
85870
  L: 333,
85868
85871
  S: this,
@@ -88763,7 +88766,7 @@ var __dxlog_file = "/home/runner/work/dxos/dxos/packages/sdk/client/src/services
88763
88766
  return this._client.rpc;
88764
88767
  }
88765
88768
  async open() {
88766
- const { WebsocketRpcClient: $ } = await import("./index-CJ-3oETH.mjs");
88769
+ const { WebsocketRpcClient: $ } = await import("./index-V2p4ZwgG.mjs");
88767
88770
  this._client = new $({
88768
88771
  url: getUnixSocket(this._profile, "ws+unix"),
88769
88772
  requested: clientServiceBundle,
@@ -89652,11 +89655,8 @@ function requireUseSyncExternalStoreShim_development() {
89652
89655
  useSyncExternalStoreShim_development.useSyncExternalStore = ce, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
89653
89656
  }()), useSyncExternalStoreShim_development;
89654
89657
  }
89655
- var hasRequiredShim;
89656
- function requireShim() {
89657
- return hasRequiredShim || (hasRequiredShim = 1, process.env.NODE_ENV === "production" ? shim.exports = requireUseSyncExternalStoreShim_production_min() : shim.exports = requireUseSyncExternalStoreShim_development()), shim.exports;
89658
- }
89659
- var shimExports = requireShim(), jsxDevRuntime = { exports: {} }, reactJsxDevRuntime_production_min = {};
89658
+ process.env.NODE_ENV === "production" ? shim.exports = requireUseSyncExternalStoreShim_production_min() : shim.exports = requireUseSyncExternalStoreShim_development();
89659
+ var shimExports = shim.exports, jsxDevRuntime = { exports: {} }, reactJsxDevRuntime_production_min = {};
89660
89660
  /**
89661
89661
  * @license React
89662
89662
  * react-jsx-dev-runtime.production.min.js
@@ -90412,7 +90412,7 @@ function requireWithSelector_production_min() {
90412
90412
  if (hasRequiredWithSelector_production_min)
90413
90413
  return withSelector_production_min;
90414
90414
  hasRequiredWithSelector_production_min = 1;
90415
- var $ = React__default, I = requireShim();
90415
+ var $ = React__default, I = shimExports;
90416
90416
  function U(Q, ee) {
90417
90417
  return Q === ee && (Q !== 0 || 1 / Q === 1 / ee) || Q !== Q && ee !== ee;
90418
90418
  }
@@ -90466,7 +90466,7 @@ var hasRequiredWithSelector_development;
90466
90466
  function requireWithSelector_development() {
90467
90467
  return hasRequiredWithSelector_development || (hasRequiredWithSelector_development = 1, process.env.NODE_ENV !== "production" && function() {
90468
90468
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
90469
- var $ = React__default, I = requireShim();
90469
+ var $ = React__default, I = shimExports;
90470
90470
  function U(ee, te) {
90471
90471
  return ee === te && (ee !== 0 || 1 / ee === 1 / te) || ee !== ee && te !== te;
90472
90472
  }
@@ -96622,4 +96622,4 @@ export {
96622
96622
  log$2 as l,
96623
96623
  runShell as r
96624
96624
  };
96625
- //# sourceMappingURL=index-C6f21e0q.mjs.map
96625
+ //# sourceMappingURL=index-DDZP6tbF.mjs.map