From f6743c607620bbb16a8a394aa78945bf6d489546 Mon Sep 17 00:00:00 2001 From: dylandepass Date: Fri, 4 Sep 2026 15:12:18 -0400 Subject: [PATCH] fix(consented): preserve legacy instrumentation module URL Keep the prior module endpoint available so cached consent bundles resolve the refactored instrumentation API after deployment. --- scripts/consented/instrumentation.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 scripts/consented/instrumentation.js diff --git a/scripts/consented/instrumentation.js b/scripts/consented/instrumentation.js new file mode 100644 index 00000000..cd9f3515 --- /dev/null +++ b/scripts/consented/instrumentation.js @@ -0,0 +1,14 @@ +/** + * Compatibility entry point for browser-cached pre-refactor consent bundles. + * + * Keep this module at its original URL while cached versions of consented.js + * may still import it. New code imports instrumentation/index.js directly. + */ +export { + configureAnalyticsTrackingServers, + ensureAnalyticsTrackingConfigured, + getDeploymentEnv, + initDigitalDataPage, + initInstrumentation, + syncDigitalDataPageContext, +} from './instrumentation/index.js';