-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
1,504 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
diff --git a/node_modules/@endo/captp/src/captp.js b/node_modules/@endo/captp/src/captp.js | ||
index 81be418..fe88c32 100644 | ||
--- a/node_modules/@endo/captp/src/captp.js | ||
+++ b/node_modules/@endo/captp/src/captp.js | ||
@@ -1,6 +1,9 @@ | ||
// @ts-check | ||
/// <reference types="ses"/> | ||
|
||
+/** @template Slot @typedef {import('@endo/marshal/exported.js').ConvertValToSlot<Slot>} ConvertValToSlot */ | ||
+/** @template Slot @typedef {import('@endo/marshal/exported.js').ConvertSlotToVal<Slot>} ConvertSlotToVal */ | ||
+ | ||
// Your app may need to `import '@endo/eventual-send/shim.js'` to get HandledPromise | ||
|
||
// This logic was mostly lifted from @agoric/swingset-vat liveSlots.js | ||
diff --git a/node_modules/@endo/captp/src/types.js b/node_modules/@endo/captp/src/types.js | ||
index e07cbe6..99502f9 100644 | ||
--- a/node_modules/@endo/captp/src/types.js | ||
+++ b/node_modules/@endo/captp/src/types.js | ||
@@ -17,7 +17,7 @@ | ||
*/ | ||
|
||
/** | ||
- * @typedef {[boolean, CapData<CapTPSlot>]} TrapCompletion The head of the pair | ||
+ * @typedef {[boolean, import('@endo/marshal/exported.js').CapData<CapTPSlot>]} TrapCompletion The head of the pair | ||
* is the `isRejected` value indicating whether the sync call was an exception, | ||
* and tail of the pair is the serialized fulfillment value or rejection reason. | ||
* (The fulfillment value is a non-thenable. The rejection reason is normally |
Oops, something went wrong.