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