Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of changes
While working on #854 I realized that the wasm build was not actually generating valid TypeScript (largely due to changes I made for #757). This PR fixes the issues & adds CI to avoid this mistake in the future.
Detailed summary:
tsify
annotations#![cfg_attr(feature = "wasm", allow(non_snake_case))]
in a few files to suppress annoying VSCode warningscedar-wasm/src/{validator, authorizer}.rs
files since it's simpler to expose the FFI functions directly rather than introduce a trivial wrapperIssue #, if available
Checklist for requesting a review
The change in this PR is (choose one, and delete the other options):
I confirm that this PR (choose one, and delete the other options):
I confirm that
cedar-spec
(choose one, and delete the other options):