-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(vats)!: migrate to use @agoric/far
, remove deprecated REPL code
#4145
Conversation
@agoric/far
@agoric/far
, remove deprecated REPL code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good so far, but the ci bots show this needs more work
packages/vats/src/virtual-purse.js
Outdated
* @typedef {import('@agoric/far').EOnly<T>} EOnly An object roughly of type T | ||
* that is only allowed to be consumed via eventual-send. This allows the | ||
* object to return Promises wherever it wants to, even when T demands a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any particular reason to duplicate this documentation here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really. I've removed this comment in favour of just a bare @typedef
.
2044645
to
d96c217
Compare
d96c217
to
3f41296
Compare
To do this migration, replace all possible instances of If |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yay! more deletes than adds!
including a whole file of technical debt paid off
refs: #4144
Description
Show how to use
@agoric/far
in client code, namely thepackages/vats
package.While we're there, remove the long-deprecated
ui-agent
code from the REPL, and endow exports from@agoric/far
.Security Considerations
Documentation Considerations
The
ui-agent
was an undocumented feature, and not used except for an ancient repl demo (since rewritten) a long time ago.Testing Considerations