Feat/cognito/wasm#7094
Draft
cadivus wants to merge 3 commits into
Draft
Conversation
Under dart2wasm the state machine emitted Configured before the analytics metadata was registered, so consumers could read it back null. Moving the registration into the same wait as the other configure steps closes that window. dart2js masked it by scheduling the microtasks differently.
Adds a wasm smoke test, which opts the package into the dart2wasm CI job (regenerated via aft). The dart2js run stays as-is, so both web compilers are covered now. Also wires dart2wasm_args into build.yaml to match the other wasm-enabled packages.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7094 +/- ##
=======================================
Coverage 43.23% 43.23%
=======================================
Files 99 99
Lines 7769 7769
Branches 3401 3401
=======================================
Hits 3359 3359
Misses 4410 4410 🚀 New features to boost your workflow:
|
Flutter's web dev server serves package assets from the assets/ prefix in both debug and release modes. The worker_bee_builder previously only generated the assets/ path for release builds, causing workers to fail loading in debug mode (server returns 404 HTML instead of JS). Changes: - Fix JsGenerator to use assets/ path for all Flutter web modes (debug and release), selecting workers.js vs workers.min.js based on mode. - Add workers.js + workers.js.map to Flutter asset declarations in amplify_auth_cognito_dart and amplify_secure_storage_dart so they are bundled in debug builds. - Regenerate worker.js.dart files.
9d9c95b to
a0a3d53
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.