-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: upgrade to SES v0.10.1, and make HandledPromise shim work
- Loading branch information
1 parent
8be98f2
commit 5d0adea
Showing
5 changed files
with
33 additions
and
23 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 |
---|---|---|
@@ -1,2 +1,14 @@ | ||
/* global globalThis */ | ||
|
||
// eslint-disable-next-line import/prefer-default-export | ||
export { HandledPromise } from './src/index'; | ||
import { makeHandledPromise } from './src/index'; | ||
|
||
// 'E' and 'HandledPromise' are exports of the module | ||
|
||
// For now: | ||
// import { HandledPromise, E } from '@agoric/eventual-send'; | ||
// ... | ||
|
||
if (typeof HandledPromise === 'undefined') { | ||
globalThis.HandledPromise = makeHandledPromise(Promise); | ||
} |
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
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
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
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