Skip to content
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

Zoe .d.ts libcheck #9374

Merged
merged 6 commits into from
May 16, 2024
Merged

Zoe .d.ts libcheck #9374

merged 6 commits into from
May 16, 2024

Conversation

turadg
Copy link
Member

@turadg turadg commented May 16, 2024

refs: #9364

Description

Follow-up to #9364, also doing the skipLibCheck: false for Zoe package and fixing up most of the issues. (Documenting the deferred).

Security Considerations

Scaling Considerations

Documentation Considerations

Testing Considerations

Upgrade Considerations

just types and tests. will not affect production but small impact on release process (cherry picking)

@turadg turadg requested review from dckc and Chris-Hibbert May 16, 2024 19:30
@@ -67,8 +66,6 @@ test(`zoe - wrongly throw zcfSeat.exit()`, async t => {

/** @type {OfferHandler} */
const throwSeatFail = seat => {
// @ts-expect-error Linting correctly identifies that the argument to
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fail actually takes Details which is string | DetailsToken.

const zcf = testJig.zcf;

/** @type {OfferHandler} */
const throwSeatExit = seat => {
// @ts-expect-error Linting correctly identifies that exit takes no argument.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exit actually takes an optional Completion which is any non-thenable Passable

Comment on lines 254 to 255
consume: Record<WellKnownName['instance'], Promise<Instance>> & {
// not worth defining for all contracts. One here just for testing getPublicFacet(instance)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bummer. oh well.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

happy to do it: 875f47e

Copy link

cloudflare-workers-and-pages bot commented May 16, 2024

Deploying agoric-sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: 72b3b76
Status: ✅  Deploy successful!
Preview URL: https://6f5b64c5.agoric-sdk.pages.dev
Branch Preview URL: https://ta-zoe-getpublicfacet.agoric-sdk.pages.dev

View logs

@turadg turadg added the automerge:rebase Automatically rebase updates, then merge label May 16, 2024
Copy link
Contributor

@Chris-Hibbert Chris-Hibbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no objection, but that doesn't mean I understand what's changing here.

@turadg turadg force-pushed the ta/zoe-GetPublicFacet branch from 9a45da8 to 72b3b76 Compare May 16, 2024 21:53
@mergify mergify bot merged commit 303a9f2 into master May 16, 2024
63 checks passed
@mergify mergify bot deleted the ta/zoe-GetPublicFacet branch May 16, 2024 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge:rebase Automatically rebase updates, then merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants