Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"@scaleway/use-analytics": patch
---

export normalize id of analytics
Rollback ruddestack version
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Use Node.js
uses: actions/[email protected]
with:
node-version: 22
node-version: 22.19.0
check-latest: true
cache: "pnpm"
- run: pnpm install
Expand All @@ -30,7 +30,7 @@ jobs:
- name: Use Node.js
uses: actions/[email protected]
with:
node-version: 22
node-version: 22.19.0
check-latest: true
cache: "pnpm"
- run: pnpm install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request_title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Use Node.js
uses: actions/[email protected]
with:
node-version: 22
node-version: 22.19.0
check-latest: true
cache: 'pnpm'
- run: pnpm install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Use Node.js
uses: actions/[email protected]
with:
node-version: 22
node-version: 22.19.0
cache: 'pnpm'
- run: pnpm install
- name: Create Release Pull Request or Publish to npm
Expand Down
6 changes: 6 additions & 0 deletions packages/use-analytics/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 0.0.13

### Patch Changes

- [#2762](https://github.com/scaleway/scaleway-lib/pull/2762) [`65c02e2`](https://github.com/scaleway/scaleway-lib/commit/65c02e2c8177050fcb9504416d95181f5fe3a163) Thanks [@philibea](https://github.com/philibea)! - export normalize id of analytics

## 0.0.12

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/use-analytics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scaleway/use-analytics",
"version": "0.0.12",
"version": "0.0.13",
"description": "A small hook to handle events analytics",
"engines": {
"node": ">=20.x"
Expand Down
2 changes: 2 additions & 0 deletions packages/use-analytics/src/analytics/useAnalytics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { useDeepCompareEffectNoCheck } from 'use-deep-compare-effect'
import { destSDKBaseURL, pluginsSDKBaseURL } from '../constants'
import type { CategoryKind } from '../types'
import { defaultConsentOptions, defaultLoadOptions } from './constants'
import { normalizeIdsMigration } from './normalizeIdsMigration'

type Analytics = RudderAnalytics
export type { Analytics }
Expand Down Expand Up @@ -136,6 +137,7 @@ export function AnalyticsProvider<T extends Events>({
deniedConsentIds: deniedConsents,
},
})
normalizeIdsMigration(analytics)

onLoaded(rudderAnalytics)

Expand Down
14 changes: 7 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ catalog:
'@formatjs/fast-memoize': 2.2.7
'@formatjs/icu-messageformat-parser': 2.11.2
'@growthbook/growthbook-react': 1.6.1
'@rudderstack/analytics-js': 3.23.2
'@rudderstack/analytics-js': 3.22.0
'@scaleway/use-segment': 1.1.11
'@segment/analytics-next': 1.81.1
'@stylistic/eslint-plugin': 4.4.1
Expand Down
Loading