Skip to content

Commit 6a00202

Browse files
authored
fix(analytics): revert upgrade of rudderstack package (#2767)
1 parent 0147b44 commit 6a00202

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

.changeset/ready-snakes-end.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@scaleway/use-analytics": patch
3+
---
4+
5+
Rollback ruddestack version

packages/use-analytics/src/analytics/useAnalytics.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { useDeepCompareEffectNoCheck } from 'use-deep-compare-effect'
66
import { destSDKBaseURL, pluginsSDKBaseURL } from '../constants'
77
import type { CategoryKind } from '../types'
88
import { defaultConsentOptions, defaultLoadOptions } from './constants'
9+
import { normalizeIdsMigration } from './normalizeIdsMigration'
910

1011
type Analytics = RudderAnalytics
1112
export type { Analytics }
@@ -136,6 +137,7 @@ export function AnalyticsProvider<T extends Events>({
136137
deniedConsentIds: deniedConsents,
137138
},
138139
})
140+
normalizeIdsMigration(analytics)
139141

140142
onLoaded(rudderAnalytics)
141143

pnpm-lock.yaml

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ catalog:
2020
'@formatjs/fast-memoize': 2.2.7
2121
'@formatjs/icu-messageformat-parser': 2.11.2
2222
'@growthbook/growthbook-react': 1.6.1
23-
'@rudderstack/analytics-js': 3.23.2
23+
'@rudderstack/analytics-js': 3.22.0
2424
'@scaleway/use-segment': 1.1.11
2525
'@segment/analytics-next': 1.81.1
2626
'@stylistic/eslint-plugin': 4.4.1

0 commit comments

Comments
 (0)