exoagent 0.0.8 → 0.0.10

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.
@@ -1783,11 +1783,6 @@ var Evaluator = class _Evaluator {
1783
1783
  }
1784
1784
  let isPromise = value[0] == "pipeline";
1785
1785
  let addStub = (hook2) => {
1786
- const unwrapped = maybeUnwrapStubHook(hook2);
1787
- if (unwrapped) {
1788
- hook2.dispose();
1789
- return unwrapped;
1790
- }
1791
1786
  if (isPromise) {
1792
1787
  let promise = new RpcPromise(hook2, []);
1793
1788
  this.promises.push({ promise, parent, property });
@@ -1889,21 +1884,6 @@ function deserialize(value) {
1889
1884
  payload.dispose();
1890
1885
  return payload.value;
1891
1886
  }
1892
- var maybeUnwrapStubHook = (hook) => {
1893
- if (!(hook instanceof PayloadStubHook)) {
1894
- return void 0;
1895
- }
1896
- const payload = hook.getPayload();
1897
- if (payload.value instanceof RpcStub) {
1898
- const { hook: innerHook, pathIfPromise } = unwrapStubAndPath(payload.value);
1899
- if (pathIfPromise == null && innerHook instanceof TargetStubHook) {
1900
- return innerHook.getTarget();
1901
- } else {
1902
- return innerHook;
1903
- }
1904
- }
1905
- return void 0;
1906
- };
1907
1887
 
1908
1888
  // src/rpc.ts
1909
1889
  var ImportTableEntry = class {