Skip to content

fix: use mParticle config logging flag#98

Merged
rmi22186 merged 1 commit into
developmentfrom
fix/use-mparticle-config-logging-setting
May 21, 2026
Merged

fix: use mParticle config logging flag#98
rmi22186 merged 1 commit into
developmentfrom
fix/use-mparticle-config-logging-setting

Conversation

@rmi22186
Copy link
Copy Markdown
Collaborator

Summary

isLoggingEnabled lives on the mParticle.config and not in the kit settings.

Testing Plan

Tested locally and successfully got logs in the dashboard.

@rmi22186 rmi22186 force-pushed the fix/use-mparticle-config-logging-setting branch from bb3ce06 to d339829 Compare May 21, 2026 19:32
Comment thread src/Rokt-Kit.ts
accountId: string | null | undefined,
rateLimiter?: RateLimiter,
) {
const isLoggingEnabled = config?.isLoggingEnabled === true || config?.isLoggingEnabled === 'true';
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🫨

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

so even this code previously was technically wrong and no one caught it. because MPServer actually sends things back as "True" and not "true", or true. 🙃

@rmi22186 rmi22186 merged commit 1973f5c into development May 21, 2026
5 checks passed
github-actions Bot pushed a commit that referenced this pull request May 22, 2026
## [1.26.2](v1.26.1...v1.26.2) (2026-05-22)

### Bug Fixes

* use mParticle config logging flag ([#98](#98)) ([1973f5c](1973f5c))
@mparticle-automation
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 1.26.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants