Skip to content

Commit cb3c617

Browse files
matus-tomleingreg-el
authored andcommitted
Add react-native-get-random-values as a peer dependency in the React Native tracker (close #1409)
PR #1414
1 parent 9512cea commit cb3c617

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@snowplow/react-native-tracker",
5+
"comment": "Add react-native-get-random-values as a peer dependency in the React Native tracker (close #1409)",
6+
"type": "none"
7+
}
8+
],
9+
"packageName": "@snowplow/react-native-tracker"
10+
}

trackers/react-native-tracker/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@
4444
},
4545
"peerDependencies": {
4646
"react": "*",
47-
"react-native": "*"
47+
"react-native": "*",
48+
"react-native-get-random-values": "^1.11.0"
4849
},
4950
"dependencies": {
5051
"@snowplow/tracker-core": "workspace:*",
5152
"@snowplow/browser-tracker-core": "workspace:*",
5253
"@snowplow/browser-plugin-screen-tracking": "workspace:*",
5354
"@react-native-async-storage/async-storage": "~2.0.0",
54-
"react-native-get-random-values": "~1.11.0",
5555
"tslib": "^2.3.1",
5656
"uuid": "^10.0.0"
5757
},
@@ -70,7 +70,8 @@
7070
"@types/react": "^18.2.44",
7171
"react-native": "0.74.5",
7272
"node-fetch": "~3.3.2",
73-
"react-native-builder-bob": "^0.30.3"
73+
"react-native-builder-bob": "^0.30.3",
74+
"react-native-get-random-values": "^1.11.0"
7475
},
7576
"resolutions": {
7677
"@types/react": "^18.2.44"

0 commit comments

Comments
 (0)