Skip to content

Commit 6fdd36b

Browse files
rmi22186claude
andcommitted
fix: correct CaptureIntegrationSpecificIdsV2 feature flag key to match server
The server sends the V2 feature flag as `captureIntegrationSpecificIds.V2` (with a dot), but the SDK was looking up `captureIntegrationSpecificIdsV2` (no dot). This caused the V2 value to silently fall back to 'none', preventing IntegrationCapture from initializing for customers whose legacy V1 flag is set to False. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 510882b commit 6fdd36b

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

dist/mparticle.common.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mparticle.esm.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mparticle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ var mParticle = (function () {
382382
// - 'all' → capture all IDs
383383
// - 'none' → capture none
384384
// - 'roktonly' → capture only Rokt-related IDs
385-
CaptureIntegrationSpecificIdsV2: 'captureIntegrationSpecificIdsV2',
385+
CaptureIntegrationSpecificIdsV2: 'captureIntegrationSpecificIds.V2',
386386
AstBackgroundEvents: 'astBackgroundEvents'
387387
},
388388
DefaultInstance: 'default_instance',

dist/types/src/constants.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ declare const Constants: {
165165
readonly CacheIdentity: "cacheIdentity";
166166
readonly AudienceAPI: "audienceAPI";
167167
readonly CaptureIntegrationSpecificIds: "captureIntegrationSpecificIds";
168-
readonly CaptureIntegrationSpecificIdsV2: "captureIntegrationSpecificIdsV2";
168+
readonly CaptureIntegrationSpecificIdsV2: "captureIntegrationSpecificIds.V2";
169169
readonly AstBackgroundEvents: "astBackgroundEvents";
170170
};
171171
readonly DefaultInstance: "default_instance";

src/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ const Constants = {
193193
// - 'all' → capture all IDs
194194
// - 'none' → capture none
195195
// - 'roktonly' → capture only Rokt-related IDs
196-
CaptureIntegrationSpecificIdsV2: 'captureIntegrationSpecificIdsV2',
196+
CaptureIntegrationSpecificIdsV2: 'captureIntegrationSpecificIds.V2',
197197
AstBackgroundEvents: 'astBackgroundEvents',
198198
},
199199
DefaultInstance: 'default_instance',

0 commit comments

Comments
 (0)