exoagent 0.0.8 → 0.0.9
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.
- package/dist/capnweb/dist/index-workers.cjs +0 -20
- package/dist/capnweb/dist/index-workers.cjs.map +1 -1
- package/dist/capnweb/dist/index-workers.js +0 -20
- package/dist/capnweb/dist/index-workers.js.map +1 -1
- package/dist/capnweb/dist/index.cjs +0 -20
- package/dist/capnweb/dist/index.cjs.map +1 -1
- package/dist/capnweb/dist/index.js +0 -20
- package/dist/capnweb/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -1760,11 +1760,6 @@ var Evaluator = class _Evaluator {
|
|
|
1760
1760
|
}
|
|
1761
1761
|
let isPromise = value[0] == "pipeline";
|
|
1762
1762
|
let addStub = (hook2) => {
|
|
1763
|
-
const unwrapped = maybeUnwrapStubHook(hook2);
|
|
1764
|
-
if (unwrapped) {
|
|
1765
|
-
hook2.dispose();
|
|
1766
|
-
return unwrapped;
|
|
1767
|
-
}
|
|
1768
1763
|
if (isPromise) {
|
|
1769
1764
|
let promise = new RpcPromise(hook2, []);
|
|
1770
1765
|
this.promises.push({ promise, parent, property });
|
|
@@ -1866,21 +1861,6 @@ function deserialize(value) {
|
|
|
1866
1861
|
payload.dispose();
|
|
1867
1862
|
return payload.value;
|
|
1868
1863
|
}
|
|
1869
|
-
var maybeUnwrapStubHook = (hook) => {
|
|
1870
|
-
if (!(hook instanceof PayloadStubHook)) {
|
|
1871
|
-
return void 0;
|
|
1872
|
-
}
|
|
1873
|
-
const payload = hook.getPayload();
|
|
1874
|
-
if (payload.value instanceof RpcStub) {
|
|
1875
|
-
const { hook: innerHook, pathIfPromise } = unwrapStubAndPath(payload.value);
|
|
1876
|
-
if (pathIfPromise == null && innerHook instanceof TargetStubHook) {
|
|
1877
|
-
return innerHook.getTarget();
|
|
1878
|
-
} else {
|
|
1879
|
-
return innerHook;
|
|
1880
|
-
}
|
|
1881
|
-
}
|
|
1882
|
-
return void 0;
|
|
1883
|
-
};
|
|
1884
1864
|
|
|
1885
1865
|
// src/rpc.ts
|
|
1886
1866
|
var ImportTableEntry = class {
|