awslabs / clickstream-web

Web SDK for Clickstream Analytics on AWS
https://aws.amazon.com/solutions/implementations/clickstream-analytics-on-aws/
Apache License 2.0
15 stars 0 forks source link

feat: add hash code to request query parameter #25

Closed zhu-xiaowei closed 1 year ago

zhu-xiaowei commented 1 year ago

Description

  1. delete hashCode form each event attribute
  2. add hashCode into request query parameter

General Checklist

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (dbfe25a) 100.00% compared to head (300a305) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #25 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 24 24 Lines 990 986 -4 Branches 182 182 ========================================= - Hits 990 986 -4 ``` | [Files Changed](https://app.codecov.io/gh/awslabs/clickstream-web/pull/25?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=awslabs) | Coverage Δ | | |---|---|---| | [src/provider/AnalyticsEventBuilder.ts](https://app.codecov.io/gh/awslabs/clickstream-web/pull/25?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=awslabs#diff-c3JjL3Byb3ZpZGVyL0FuYWx5dGljc0V2ZW50QnVpbGRlci50cw==) | `100.00% <ø> (ø)` | | | [src/provider/Event.ts](https://app.codecov.io/gh/awslabs/clickstream-web/pull/25?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=awslabs#diff-c3JjL3Byb3ZpZGVyL0V2ZW50LnRz) | `100.00% <ø> (ø)` | | | [src/types/Analytics.ts](https://app.codecov.io/gh/awslabs/clickstream-web/pull/25?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=awslabs#diff-c3JjL3R5cGVzL0FuYWx5dGljcy50cw==) | `100.00% <ø> (ø)` | | | [src/network/NetRequest.ts](https://app.codecov.io/gh/awslabs/clickstream-web/pull/25?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=awslabs#diff-c3JjL25ldHdvcmsvTmV0UmVxdWVzdC50cw==) | `100.00% <100.00%> (ø)` | | | [src/provider/ClickstreamProvider.ts](https://app.codecov.io/gh/awslabs/clickstream-web/pull/25?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=awslabs#diff-c3JjL3Byb3ZpZGVyL0NsaWNrc3RyZWFtUHJvdmlkZXIudHM=) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.