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

fix: Add filtered user identities to identity complete methods #816

Merged
merged 3 commits into from
Dec 20, 2023

Conversation

alexs-mparticle
Copy link
Collaborator

@alexs-mparticle alexs-mparticle commented Dec 19, 2023

Instructions

  1. PR target branch should be against development
  2. PR title name should follow this format: https://github.com/mParticle/mparticle-workflows/blob/main/.github/workflows/pr-title-check.yml
  3. PR branch prefix should follow this format: https://github.com/mParticle/mparticle-workflows/blob/main/.github/workflows/pr-branch-check-name.yml

Summary

  • Adds filteredUserIdentities parameter to IdentityComplete methods which some kits are expecting

Testing Plan

  • Was this tested locally? If not, explain why.
  • Using a sample app with a web kit that uses the web kit wrapper, verify that onIdentifyComplete, onModifyComplete, onLoginComplete and onLogoutComplete pass a second argument within the kit code.
  • Google Analytics 4 is a kit that expects this second parameter

Reference Issue (For mParticle employees only. Ignore if you are an outside contributor)

@alexs-mparticle alexs-mparticle changed the title fix: add filtered user identities to identity complete methods fix: Add filtered user identities to identity complete methods Dec 19, 2023
Copy link
Member

@rmi22186 rmi22186 left a comment

Choose a reason for hiding this comment

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

Minor comment, otherwise lgtm

src/forwarders.interfaces.ts Outdated Show resolved Hide resolved
@alexs-mparticle alexs-mparticle force-pushed the fix/SQDSDKS-5221-filteredIdentityRequest branch from f5a5218 to f96aa5c Compare December 20, 2023 20:38
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions

34.6% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

@alexs-mparticle alexs-mparticle merged commit 95a4e8a into development Dec 20, 2023
25 of 26 checks passed
github-actions bot pushed a commit that referenced this pull request Jan 2, 2024
## [2.23.8](v2.23.7...v2.23.8) (2024-01-02)

### Bug Fixes

* Add filtered user identities to identity complete methods ([#816](#816)) ([715e217](715e217))
* Replace identify method strings with constants ([#817](#817)) ([1bca974](1bca974))
alexs-mparticle pushed a commit that referenced this pull request Jan 2, 2024
* Add filtered user identities to identity complete methods ([#816](#816)) ([715e217](715e217))
* Replace identify method strings with constants ([#817](#817)) ([1bca974](1bca974))
alexs-mparticle pushed a commit that referenced this pull request Jan 2, 2024
* Add filtered user identities to identity complete methods ([#816](#816)) ([715e217](715e217))
* Replace identify method strings with constants ([#817](#817)) ([1bca974](1bca974))
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.

2 participants