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