@agoric/async-flow 0.2.0-upgrade-18-dev-aaebae4.0 → 0.2.0-upgrade-18-dev-bd8fd54.0
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/CHANGELOG.md +8 -0
- package/package.json +18 -18
- package/src/async-flow.d.ts +8 -8
- package/src/async-flow.d.ts.map +1 -1
- package/src/bijection.d.ts +2 -2
- package/src/bijection.d.ts.map +1 -1
- package/src/convert.d.ts +2 -2
- package/src/convert.d.ts.map +1 -1
- package/src/convert.js +0 -2
- package/src/endowments.d.ts +2 -2
- package/src/endowments.d.ts.map +1 -1
- package/src/equate.d.ts.map +1 -1
- package/src/equate.js +0 -2
- package/src/replay-membrane.d.ts +12 -12
- package/src/replay-membrane.d.ts.map +1 -1
- package/src/replay-membrane.js +0 -1
- package/src/types.d.ts.map +1 -1
- package/src/types.ts +0 -1
- package/tsconfig.build.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.2.0-u18.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/async-flow@0.2.0-u18.0...@agoric/async-flow@0.2.0-u18.1) (2024-12-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @agoric/async-flow
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## 0.2.0-u18.0 (2024-10-31)
|
|
7
15
|
|
|
8
16
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/async-flow",
|
|
3
|
-
"version": "0.2.0-upgrade-18-dev-
|
|
3
|
+
"version": "0.2.0-upgrade-18-dev-bd8fd54.0+bd8fd54",
|
|
4
4
|
"description": "Upgrade async functions at await points by replay",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "https://github.com/Agoric/agoric-sdk",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"prepack": "tsc --build tsconfig.build.json",
|
|
11
11
|
"postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'",
|
|
12
12
|
"test": "ava",
|
|
13
|
-
"test:c8": "c8 $C8_OPTIONS ava
|
|
13
|
+
"test:c8": "c8 --all $C8_OPTIONS ava",
|
|
14
14
|
"test:xs": "exit 0",
|
|
15
15
|
"lint-fix": "yarn lint:eslint --fix",
|
|
16
16
|
"lint": "run-s --continue-on-error lint:*",
|
|
@@ -24,22 +24,22 @@
|
|
|
24
24
|
"author": "Agoric",
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@agoric/base-zone": "0.1.1-upgrade-18-dev-
|
|
28
|
-
"@agoric/internal": "0.4.0-upgrade-18-dev-
|
|
29
|
-
"@agoric/store": "0.9.3-upgrade-18-dev-
|
|
30
|
-
"@agoric/vow": "0.2.0-upgrade-18-dev-
|
|
31
|
-
"@endo/common": "^1.2.
|
|
32
|
-
"@endo/errors": "^1.2.
|
|
33
|
-
"@endo/eventual-send": "^1.2.
|
|
34
|
-
"@endo/marshal": "^1.6.
|
|
35
|
-
"@endo/pass-style": "^1.4.
|
|
36
|
-
"@endo/patterns": "^1.4.
|
|
37
|
-
"@endo/promise-kit": "^1.1.
|
|
27
|
+
"@agoric/base-zone": "0.1.1-upgrade-18-dev-bd8fd54.0+bd8fd54",
|
|
28
|
+
"@agoric/internal": "0.4.0-upgrade-18-dev-bd8fd54.0+bd8fd54",
|
|
29
|
+
"@agoric/store": "0.9.3-upgrade-18-dev-bd8fd54.0+bd8fd54",
|
|
30
|
+
"@agoric/vow": "0.2.0-upgrade-18-dev-bd8fd54.0+bd8fd54",
|
|
31
|
+
"@endo/common": "^1.2.8",
|
|
32
|
+
"@endo/errors": "^1.2.8",
|
|
33
|
+
"@endo/eventual-send": "^1.2.8",
|
|
34
|
+
"@endo/marshal": "^1.6.2",
|
|
35
|
+
"@endo/pass-style": "^1.4.7",
|
|
36
|
+
"@endo/patterns": "^1.4.7",
|
|
37
|
+
"@endo/promise-kit": "^1.1.8"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@agoric/swingset-vat": "0.33.0-upgrade-18-dev-
|
|
41
|
-
"@agoric/zone": "0.3.0-upgrade-18-dev-
|
|
42
|
-
"@endo/env-options": "^1.1.
|
|
40
|
+
"@agoric/swingset-vat": "0.33.0-upgrade-18-dev-bd8fd54.0+bd8fd54",
|
|
41
|
+
"@agoric/zone": "0.3.0-upgrade-18-dev-bd8fd54.0+bd8fd54",
|
|
42
|
+
"@endo/env-options": "^1.1.8",
|
|
43
43
|
"ava": "^5.3.0",
|
|
44
44
|
"tsd": "^0.31.1"
|
|
45
45
|
},
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"workerThreads": false
|
|
61
61
|
},
|
|
62
62
|
"typeCoverage": {
|
|
63
|
-
"atLeast":
|
|
63
|
+
"atLeast": 77.11
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "bd8fd545c40400566a6ff3838b1499173fcf9aaf"
|
|
66
66
|
}
|
package/src/async-flow.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export function prepareAsyncFlowTools(outerZone: Zone, outerOptions?: PreparationOptions
|
|
1
|
+
export function prepareAsyncFlowTools(outerZone: Zone, outerOptions?: PreparationOptions): {
|
|
2
2
|
prepareAsyncFlowKit: (zone: Zone, tag: string, guestAsyncFunc: GuestAsyncFunc, options?: {
|
|
3
3
|
startEager?: boolean;
|
|
4
|
-
}
|
|
4
|
+
}) => (activationArgs: any) => import("@endo/exo").GuardedKit<{
|
|
5
5
|
flow: {
|
|
6
6
|
/**
|
|
7
7
|
* @returns {FlowState}
|
|
@@ -13,7 +13,7 @@ export function prepareAsyncFlowTools(outerZone: Zone, outerOptions?: Preparatio
|
|
|
13
13
|
*
|
|
14
14
|
* @param {boolean} [eager]
|
|
15
15
|
*/
|
|
16
|
-
restart(eager?: boolean
|
|
16
|
+
restart(eager?: boolean): void;
|
|
17
17
|
wake(): void;
|
|
18
18
|
getOutcome(): import("@agoric/vow").Vow<any>;
|
|
19
19
|
dump(): ([op: "doFulfill", vow: import("@agoric/vow").Vow<import("@endo/pass-style").Passable>, fulfillment: import("@endo/pass-style").Passable] | [op: "doReject", vow: import("@agoric/vow").Vow<import("@endo/pass-style").Passable>, reason: import("@endo/pass-style").Passable] | [op: "doReturn", callIndex: number, result: import("@endo/pass-style").Passable] | [op: "doThrow", callIndex: number, problem: import("@endo/pass-style").Passable] | [op: "checkCall", target: import("@endo/pass-style").Passable, optVerb: PropertyKey | undefined, args: import("@endo/pass-style").Passable[], callIndex: number] | [op: "checkSendOnly", target: import("@endo/pass-style").Passable, optVerb: PropertyKey | undefined, args: import("@endo/pass-style").Passable[], callIndex: number] | [op: "checkSend", target: import("@endo/pass-style").Passable, optVerb: PropertyKey | undefined, args: import("@endo/pass-style").Passable[], callIndex: number])[];
|
|
@@ -31,7 +31,7 @@ export function prepareAsyncFlowTools(outerZone: Zone, outerOptions?: Preparatio
|
|
|
31
31
|
}>;
|
|
32
32
|
asyncFlow: <F extends GuestAsyncFunc>(zone: Zone, tag: string, guestFunc: F, options?: {
|
|
33
33
|
startEager?: boolean;
|
|
34
|
-
}
|
|
34
|
+
}) => HostOf<F>;
|
|
35
35
|
adminAsyncFlow: import("@endo/exo").Guarded<{
|
|
36
36
|
getFailures(): import("@endo/patterns").CopyMap<any, import("@endo/pass-style").Passable>;
|
|
37
37
|
wakeAll(): void;
|
|
@@ -40,10 +40,10 @@ export function prepareAsyncFlowTools(outerZone: Zone, outerOptions?: Preparatio
|
|
|
40
40
|
allWokenP: Promise<void>;
|
|
41
41
|
prepareEndowment: (zone: Zone, tag: string, e: unknown) => any;
|
|
42
42
|
};
|
|
43
|
-
export type AsyncFlowTools = ReturnType<(outerZone: Zone, outerOptions?: PreparationOptions
|
|
43
|
+
export type AsyncFlowTools = ReturnType<(outerZone: Zone, outerOptions?: PreparationOptions) => {
|
|
44
44
|
prepareAsyncFlowKit: (zone: Zone, tag: string, guestAsyncFunc: GuestAsyncFunc, options?: {
|
|
45
45
|
startEager?: boolean;
|
|
46
|
-
}
|
|
46
|
+
}) => (activationArgs: any) => import("@endo/exo").GuardedKit<{
|
|
47
47
|
flow: {
|
|
48
48
|
/**
|
|
49
49
|
* @returns {FlowState}
|
|
@@ -55,7 +55,7 @@ export type AsyncFlowTools = ReturnType<(outerZone: Zone, outerOptions?: Prepara
|
|
|
55
55
|
*
|
|
56
56
|
* @param {boolean} [eager]
|
|
57
57
|
*/
|
|
58
|
-
restart(eager?: boolean
|
|
58
|
+
restart(eager?: boolean): void;
|
|
59
59
|
wake(): void;
|
|
60
60
|
getOutcome(): import("@agoric/vow").Vow<any>;
|
|
61
61
|
dump(): ([op: "doFulfill", vow: import("@agoric/vow").Vow<import("@endo/pass-style").Passable>, fulfillment: import("@endo/pass-style").Passable] | [op: "doReject", vow: import("@agoric/vow").Vow<import("@endo/pass-style").Passable>, reason: import("@endo/pass-style").Passable] | [op: "doReturn", callIndex: number, result: import("@endo/pass-style").Passable] | [op: "doThrow", callIndex: number, problem: import("@endo/pass-style").Passable] | [op: "checkCall", target: import("@endo/pass-style").Passable, optVerb: PropertyKey | undefined, args: import("@endo/pass-style").Passable[], callIndex: number] | [op: "checkSendOnly", target: import("@endo/pass-style").Passable, optVerb: PropertyKey | undefined, args: import("@endo/pass-style").Passable[], callIndex: number] | [op: "checkSend", target: import("@endo/pass-style").Passable, optVerb: PropertyKey | undefined, args: import("@endo/pass-style").Passable[], callIndex: number])[];
|
|
@@ -73,7 +73,7 @@ export type AsyncFlowTools = ReturnType<(outerZone: Zone, outerOptions?: Prepara
|
|
|
73
73
|
}>;
|
|
74
74
|
asyncFlow: <F extends GuestAsyncFunc>(zone: Zone, tag: string, guestFunc: F, options?: {
|
|
75
75
|
startEager?: boolean;
|
|
76
|
-
}
|
|
76
|
+
}) => HostOf<F>;
|
|
77
77
|
adminAsyncFlow: import("@endo/exo").Guarded<{
|
|
78
78
|
getFailures(): import("@endo/patterns").CopyMap<any, import("@endo/pass-style").Passable>;
|
|
79
79
|
wakeAll(): void;
|
package/src/async-flow.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"async-flow.d.ts","sourceRoot":"","sources":["async-flow.js"],"names":[],"mappings":"AAgDO,iDAHI,IAAI;
|
|
1
|
+
{"version":3,"file":"async-flow.d.ts","sourceRoot":"","sources":["async-flow.js"],"names":[],"mappings":"AAgDO,iDAHI,IAAI,iBACJ,kBAAkB;gCA+ChB,IAAI,OACJ,MAAM,kBACN,cAAc,YACd;QAAE,UAAU,CAAC,EAAE,OAAO,CAAA;KAAE;;YA4B3B;;eAEG;4BADU,SAAS;YAkCtB;;;;;eAKG;4BADQ,OAAO;;;;;;;;;;;;;;;;gBA6TI,CAAC,SAAlB,cAAgB,QAClB,IAAI,OACJ,MAAM,aACN,CAAC,YACD;QAAE,UAAU,CAAC,EAAE,OAAO,CAAA;KAAE,KACtB,OAAO,CAAC,CAAC;;;;;;;;EAsDvB;6BAIY,UAAU,aAlfZ,IAAI,iBACJ,kBAAkB;gCA+ChB,IAAI,OACJ,MAAM,kBACN,cAAc,YACd;QAAE,UAAU,CAAC,EAAE,OAAO,CAAA;KAAE;;YA4B3B;;eAEG;4BADU,SAAS;YAkCtB;;;;;eAKG;4BADQ,OAAO;;;;;;;;;;;;;;;;gBA6TI,CAAC,SAAlB,cAAgB,QAClB,IAAI,OACJ,MAAM,aACN,CAAC,YACD;QAAE,UAAU,CAAC,EAAE,OAAO,CAAA;KAAE,KACtB,OAAO,CAAC,CAAC;;;;;;;;EA0DsB;6BAIjC,cAAc,CAAC,gBAAgB,CAAC;+BAIhC,UAAU,CAAC,cAAc,CAAC,qBAAqB,CAAC,CAAC;2BAIjD,UAAU,CAAC,gBAAgB,CAAC;wBAI5B,YAAY,CAAC,MAAM,CAAC;0BAjiBV,mBAAmB;wCACoD,iBAAiB;oCAAjB,iBAAiB;+BAAjB,iBAAiB;4BAAjB,iBAAiB"}
|
package/src/bijection.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function prepareBijection(zone: Zone, unwrap?: (
|
|
1
|
+
export function prepareBijection(zone: Zone, unwrap?: (hostWrapper: PassableCap | Vow, guestWrapper: PassableCap) => unknown): () => import("@endo/exo").Guarded<{
|
|
2
2
|
reset(): void;
|
|
3
3
|
unwrapInit(g: any, h: any): unknown;
|
|
4
4
|
hasGuest(g: any): boolean;
|
|
@@ -16,7 +16,7 @@ export type VowishStore = ReturnType<(name: string) => {
|
|
|
16
16
|
has: (k: any) => boolean;
|
|
17
17
|
get: (k: any) => any;
|
|
18
18
|
}>>;
|
|
19
|
-
export type Bijection = ReturnType<ReturnType<(zone: Zone, unwrap?: (
|
|
19
|
+
export type Bijection = ReturnType<ReturnType<(zone: Zone, unwrap?: (hostWrapper: PassableCap | Vow, guestWrapper: PassableCap) => unknown) => () => import("@endo/exo").Guarded<{
|
|
20
20
|
reset(): void;
|
|
21
21
|
unwrapInit(g: any, h: any): unknown;
|
|
22
22
|
hasGuest(g: any): boolean;
|
package/src/bijection.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bijection.d.ts","sourceRoot":"","sources":["bijection.js"],"names":[],"mappings":"AA+GO,uCAJI,IAAI,
|
|
1
|
+
{"version":3,"file":"bijection.d.ts","sourceRoot":"","sources":["bijection.js"],"names":[],"mappings":"AA+GO,uCAJI,IAAI,WACJ,CAAC,WAAW,EAAE,WAAW,GAAG,GAAG,EAAE,YAAY,EAAE,WAAW,KAAK,OAAO;;;;;;;;GA6FhF;0BAtIa,UAAU,QAhCb,MAAM;;;;;;;;GAgCwB;wBA0I5B,UAAU,CAAC,UAAU,QAlGvB,IAAI,WACJ,CAAC,WAAW,EAAE,WAAW,GAAG,GAAG,EAAE,YAAY,EAAE,WAAW,KAAK,OAAO;;;;;;;;GAiG7B,CAAC;0BArM9B,mBAAmB;iCADZ,kBAAkB;yBAE1B,aAAa"}
|
package/src/convert.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export function makeConvertKit(bijection: any, makeGuestForHostRemotable: any, makeGuestForHostVow: any): {
|
|
2
|
-
guestToHost: (specimen: Passable, label?: string
|
|
3
|
-
hostToGuest: (specimen: Passable, label?: string
|
|
2
|
+
guestToHost: (specimen: Passable, label?: string) => any;
|
|
3
|
+
hostToGuest: (specimen: Passable, label?: string) => any;
|
|
4
4
|
};
|
|
5
5
|
import type { Passable } from '@endo/pass-style';
|
|
6
6
|
//# sourceMappingURL=convert.d.ts.map
|
package/src/convert.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert.d.ts","sourceRoot":"","sources":["convert.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"convert.d.ts","sourceRoot":"","sources":["convert.js"],"names":[],"mappings":"AA6EO;4BARM,QAAQ,UACR,MAAM;4BADN,QAAQ,UACR,MAAM;EA2DlB;8BApH0B,kBAAkB"}
|
package/src/convert.js
CHANGED
|
@@ -22,11 +22,9 @@ const makeConvert = (convertRemotable, convertPromiseOrVow, convertError) => {
|
|
|
22
22
|
// to keep track of the error labeling.
|
|
23
23
|
// See https://github.com/endojs/endo/pull/1795#issuecomment-1756093032
|
|
24
24
|
if (label === undefined) {
|
|
25
|
-
// eslint-disable-next-line no-use-before-define
|
|
26
25
|
return innerConvert(specimen);
|
|
27
26
|
}
|
|
28
27
|
try {
|
|
29
|
-
// eslint-disable-next-line no-use-before-define
|
|
30
28
|
return innerConvert(specimen);
|
|
31
29
|
} catch (err) {
|
|
32
30
|
throwLabeled(err, label);
|
package/src/endowments.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export function forwardingMethods(rem: any): {
|
|
2
2
|
[k: string]: any;
|
|
3
3
|
};
|
|
4
|
-
export function prepareEndowmentTools(outerZone: Zone, outerOptions?: PreparationOptions
|
|
4
|
+
export function prepareEndowmentTools(outerZone: Zone, outerOptions?: PreparationOptions): {
|
|
5
5
|
prepareEndowment: (zone: Zone, tag: string, e: unknown) => any;
|
|
6
6
|
unwrap: (wrapped: any, guestWrapped: any) => any;
|
|
7
7
|
};
|
|
8
8
|
export type EndowmentKind = "promise" | "storable" | "far" | "function" | "array" | "record" | "state";
|
|
9
|
-
export type EndowmentTools = ReturnType<(outerZone: Zone, outerOptions?: PreparationOptions
|
|
9
|
+
export type EndowmentTools = ReturnType<(outerZone: Zone, outerOptions?: PreparationOptions) => {
|
|
10
10
|
prepareEndowment: (zone: Zone, tag: string, e: unknown) => any;
|
|
11
11
|
unwrap: (wrapped: any, guestWrapped: any) => any;
|
|
12
12
|
}>;
|
package/src/endowments.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endowments.d.ts","sourceRoot":"","sources":["endowments.js"],"names":[],"mappings":"AAiDO;;EASN;AAMM,iDAHI,IAAI;
|
|
1
|
+
{"version":3,"file":"endowments.d.ts","sourceRoot":"","sources":["endowments.js"],"names":[],"mappings":"AAiDO;;EASN;AAMM,iDAHI,IAAI,iBACJ,kBAAkB;6BA2GhB,IAAI,OACJ,MAAM,KACN,OAAO;;EAyFnB;4BA7OY,SAAS,GAAG,UAAU,GAAG,KAAK,GAAG,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO;6BAiP1E,UAAU,aA3MZ,IAAI,iBACJ,kBAAkB;6BA2GhB,IAAI,OACJ,MAAM,KACN,OAAO;;EA6F0B;0BAvPvB,mBAAmB;wCAEL,iBAAiB"}
|
package/src/equate.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"equate.d.ts","sourceRoot":"","sources":["equate.js"],"names":[],"mappings":"AAQO,
|
|
1
|
+
{"version":3,"file":"equate.d.ts","sourceRoot":"","sources":["equate.js"],"names":[],"mappings":"AAQO,iFAuHN"}
|
package/src/equate.js
CHANGED
|
@@ -13,11 +13,9 @@ export const makeEquate = bijection => {
|
|
|
13
13
|
// TODO switch to Richard Gibson's suggestion for a better way
|
|
14
14
|
// to keep track of the error labeling.
|
|
15
15
|
if (label === undefined) {
|
|
16
|
-
// eslint-disable-next-line no-use-before-define
|
|
17
16
|
innerEquate(g, h);
|
|
18
17
|
}
|
|
19
18
|
try {
|
|
20
|
-
// eslint-disable-next-line no-use-before-define
|
|
21
19
|
innerEquate(g, h);
|
|
22
20
|
} catch (err) {
|
|
23
21
|
throwLabeled(err, label);
|
package/src/replay-membrane.d.ts
CHANGED
|
@@ -5,13 +5,13 @@ export function makeReplayMembrane(arg: {
|
|
|
5
5
|
watchWake: (vowish: Promise<any> | Vow) => void;
|
|
6
6
|
panic: (problem: Error) => never;
|
|
7
7
|
}): {
|
|
8
|
-
hostToGuest: (specimen: Passable, label?: string
|
|
9
|
-
guestToHost: (specimen: Passable, label?: string
|
|
8
|
+
hostToGuest: (specimen: Passable, label?: string) => any;
|
|
9
|
+
guestToHost: (specimen: Passable, label?: string) => any;
|
|
10
10
|
wake: () => void;
|
|
11
11
|
stop: () => void;
|
|
12
12
|
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & RemotableBrand<{}, {
|
|
13
|
-
hostToGuest: (specimen: Passable, label?: string
|
|
14
|
-
guestToHost: (specimen: Passable, label?: string
|
|
13
|
+
hostToGuest: (specimen: Passable, label?: string) => any;
|
|
14
|
+
guestToHost: (specimen: Passable, label?: string) => any;
|
|
15
15
|
wake: () => void;
|
|
16
16
|
stop: () => void;
|
|
17
17
|
}>;
|
|
@@ -23,13 +23,13 @@ export function makeReplayMembraneForTesting({ log, bijection, vowTools, watchWa
|
|
|
23
23
|
panic: (problem: Error) => never;
|
|
24
24
|
__eventualSendForTesting?: boolean | undefined;
|
|
25
25
|
}): {
|
|
26
|
-
hostToGuest: (specimen: Passable, label?: string
|
|
27
|
-
guestToHost: (specimen: Passable, label?: string
|
|
26
|
+
hostToGuest: (specimen: Passable, label?: string) => any;
|
|
27
|
+
guestToHost: (specimen: Passable, label?: string) => any;
|
|
28
28
|
wake: () => void;
|
|
29
29
|
stop: () => void;
|
|
30
30
|
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & RemotableBrand<{}, {
|
|
31
|
-
hostToGuest: (specimen: Passable, label?: string
|
|
32
|
-
guestToHost: (specimen: Passable, label?: string
|
|
31
|
+
hostToGuest: (specimen: Passable, label?: string) => any;
|
|
32
|
+
guestToHost: (specimen: Passable, label?: string) => any;
|
|
33
33
|
wake: () => void;
|
|
34
34
|
stop: () => void;
|
|
35
35
|
}>;
|
|
@@ -40,13 +40,13 @@ export type ReplayMembrane = ReturnType<(arg: {
|
|
|
40
40
|
watchWake: (vowish: Promise<any> | Vow) => void;
|
|
41
41
|
panic: (problem: Error) => never;
|
|
42
42
|
}) => {
|
|
43
|
-
hostToGuest: (specimen: Passable, label?: string
|
|
44
|
-
guestToHost: (specimen: Passable, label?: string
|
|
43
|
+
hostToGuest: (specimen: Passable, label?: string) => any;
|
|
44
|
+
guestToHost: (specimen: Passable, label?: string) => any;
|
|
45
45
|
wake: () => void;
|
|
46
46
|
stop: () => void;
|
|
47
47
|
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & RemotableBrand<{}, {
|
|
48
|
-
hostToGuest: (specimen: Passable, label?: string
|
|
49
|
-
guestToHost: (specimen: Passable, label?: string
|
|
48
|
+
hostToGuest: (specimen: Passable, label?: string) => any;
|
|
49
|
+
guestToHost: (specimen: Passable, label?: string) => any;
|
|
50
50
|
wake: () => void;
|
|
51
51
|
stop: () => void;
|
|
52
52
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replay-membrane.d.ts","sourceRoot":"","sources":["replay-membrane.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"replay-membrane.d.ts","sourceRoot":"","sources":["replay-membrane.js"],"names":[],"mappings":"AA8BO,wCANJ;IAAsB,GAAG,EAAjB,QAAQ;IACO,SAAS,EAAxB,SAAS;IACK,QAAQ,EAAtB,QAAQ;IAC6B,SAAS,EAA9C,CAAC,MAAM,EAAE,eAAU,GAAG,KAAK,IAAI;IACA,KAAK,EAApC,CAAC,OAAO,EAAE,KAAK,KAAK,KAAK;CACnC;;;;;;;;;;GAMA;AAWM,wHAPJ;IAAsB,GAAG,EAAjB,QAAQ;IACO,SAAS,EAAxB,SAAS;IACK,QAAQ,EAAtB,QAAQ;IAC6B,SAAS,EAA9C,CAAC,MAAM,EAAE,eAAU,GAAG,KAAK,IAAI;IACA,KAAK,EAApC,CAAC,OAAO,EAAE,KAAK,KAAK,KAAK;IACX,wBAAwB;CAChD;;;;;;;;;;GA4pBA;6BAGa,UAAU,OAprBrB;IAAsB,GAAG,EAAjB,QAAQ;IACO,SAAS,EAAxB,SAAS;IACK,QAAQ,EAAtB,QAAQ;IAC6B,SAAS,EAA9C,CAAC,MAAM,EAAE,eAAU,GAAG,KAAK,IAAI;IACA,KAAK,EAApC,CAAC,OAAO,EAAE,KAAK,KAAK,KAAK;CACnC;;;;;;;;;;GA+qB2C;8BA7rBjB,qBAAqB;+BACpB,qBAAqB;8BAFT,aAAa;yBAAb,aAAa;8BADH,kBAAkB;oCADnC,qBAAqB"}
|
package/src/replay-membrane.js
CHANGED
package/src/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,KAAK,E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","./src/ephemera.js","./src/equate.js","./src/log-store.js","./src/replay-membrane.js","./src/type-guards.js","./src/types-index.d.ts","./src/types.ts"],"version":"5.
|
|
1
|
+
{"root":["./index.js","./src/async-flow.js","./src/bijection.js","./src/convert.js","./src/endowments.js","./src/ephemera.js","./src/equate.js","./src/log-store.js","./src/replay-membrane.js","./src/type-guards.js","./src/types-index.d.ts","./src/types.ts"],"version":"5.7.2"}
|