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

Wasm support #5

Merged
merged 6 commits into from
Oct 16, 2024
Merged

Wasm support #5

merged 6 commits into from
Oct 16, 2024

Conversation

wkennedy
Copy link
Contributor

No description provided.

Introduce WebAssembly interface for log parsing with JavaScript bindings. Add usage examples in `README.md` and a basic module example to demonstrate functionality.
Included a new WASM transformer module with necessary error handling and RPC response parsing functionality. Also added an example project with parseable-winston demonstrating the package usage.
Implemented `from_rpc_response` and `from_rpc_logs_response` functions for log extraction from Solana RPC responses. Updated the example usage in README and added a node application example for integrating sologger with Parseable and Logstash.
Bump the package version from 0.2.0 to 0.2.1 to reflect recent changes. This minor version update likely includes small improvements or bug fixes for better stability and performance.
Incremented the version to 0.2.1 across multiple Cargo.toml files. Enhanced the description in `sologger-log-transformer-wasm` to highlight WASM support.
This change updates the sologger_log_transformer dependency to version 0.2.1 in the Cargo.toml file. The update ensures compatibility and includes any new features or bug fixes from the new version.
@wkennedy wkennedy merged commit 0a7357e into main Oct 16, 2024
3 checks passed
@wkennedy wkennedy deleted the wasm-support branch October 16, 2024 19:31
Copy link

codecov bot commented Oct 16, 2024

Codecov Report

Attention: Patch coverage is 37.56614% with 118 lines in your changes missing coverage. Please review.

Project coverage is 81.64%. Comparing base (b8c05c7) to head (2956aa9).
Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
...ansformer-wasm/src/log_context_transformer_wasm.rs 52.98% 63 Missing ⚠️
sologger-log-transformer-wasm/src/lib.rs 0.00% 31 Missing ⚠️
sologger-log-context/src/lib.rs 0.00% 24 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #5      +/-   ##
==========================================
- Coverage   85.65%   81.64%   -4.01%     
==========================================
  Files          12       15       +3     
  Lines        2078     2267     +189     
==========================================
+ Hits         1780     1851      +71     
- Misses        298      416     +118     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant