@snowplow/react-native-tracker 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  import Foundation
2
2
 
3
- let kRNTrackerVersion = "rn-2.1.0"
3
+ let kRNTrackerVersion = "rn-2.1.1"
@@ -9,7 +9,7 @@ var _utils = require("./utils");
9
9
  var _constants = require("./constants");
10
10
  var _uuid = require("uuid");
11
11
  // Tracker version added to the events
12
- const trackerVersion = 'rn-2.1.0';
12
+ const trackerVersion = 'rn-2.1.1';
13
13
  let trackers = {};
14
14
  function preparePayload(payload) {
15
15
  const stringifiedPayload = {};
@@ -6,7 +6,7 @@ import { schemas } from './constants';
6
6
  import { v4 as uuid } from 'uuid';
7
7
 
8
8
  // Tracker version added to the events
9
- const trackerVersion = 'rn-2.1.0';
9
+ const trackerVersion = 'rn-2.1.1';
10
10
  let trackers = {};
11
11
  function preparePayload(payload) {
12
12
  const stringifiedPayload = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snowplow/react-native-tracker",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "A library for tracking Snowplow events in React Native",
5
5
  "homepage": "https://docs.snowplowanalytics.com/docs/collecting-data/collecting-from-own-applications/react-native-tracker/",
6
6
  "main": "lib/commonjs/index",
@@ -64,33 +64,33 @@
64
64
  "registry": "https://registry.npmjs.org/"
65
65
  },
66
66
  "dependencies": {
67
- "@snowplow/tracker-core": "3.21.0",
67
+ "@snowplow/tracker-core": "3.24.1",
68
68
  "uuid": "^3.4.0"
69
69
  },
70
70
  "devDependencies": {
71
- "@evilmartians/lefthook": "^1.2.2",
72
- "@react-native-community/eslint-config": "^3.0.2",
73
- "@release-it/conventional-changelog": "^5.0.0",
74
- "@types/jest": "^28.1.2",
75
- "@types/react": "~17.0.21",
76
- "@types/react-native": "0.70.0",
71
+ "@evilmartians/lefthook": "^1.6.18",
72
+ "@react-native-community/eslint-config": "^3.2.0",
73
+ "@release-it/conventional-changelog": "^7.0.2",
74
+ "@types/jest": "^29.5.12",
75
+ "@types/react": "~18.3.3",
76
+ "@types/react-native": "0.71.3",
77
77
  "@types/uuid": "~3.4.6",
78
- "del-cli": "^5.0.0",
79
- "eslint": "^8.4.1",
80
- "eslint-config-prettier": "^8.5.0",
81
- "eslint-plugin-prettier": "^4.0.0",
82
- "jest": "^28.1.1",
83
- "pod-install": "^0.1.0",
84
- "prettier": "^2.0.5",
85
- "react": "18.2.0",
86
- "react-native": "0.72.4",
78
+ "del-cli": "^5.1.0",
79
+ "eslint": "^8.57.0",
80
+ "eslint-config-prettier": "^8.10.0",
81
+ "eslint-plugin-prettier": "^4.2.1",
82
+ "jest": "^29.7.0",
83
+ "pod-install": "^0.2.2",
84
+ "prettier": "^2.8.8",
85
+ "react": "18.3.1",
86
+ "react-native": "0.72.15",
87
87
  "react-native-builder-bob": "^0.21.3",
88
- "release-it": "^15.0.0",
89
- "turbo": "^1.10.7",
90
- "typescript": "^5.0.2"
88
+ "release-it": "^16.3.0",
89
+ "turbo": "^1.13.4",
90
+ "typescript": "~5.1.6"
91
91
  },
92
92
  "resolutions": {
93
- "@types/react": "17.0.21"
93
+ "@types/react": "18.3.3"
94
94
  },
95
95
  "peerDependencies": {
96
96
  "react": "*",
@@ -99,7 +99,7 @@
99
99
  "engines": {
100
100
  "node": ">= 16.0.0"
101
101
  },
102
- "packageManager": "yarn@1.22.19",
102
+ "packageManager": "yarn@1.22.22",
103
103
  "jest": {
104
104
  "preset": "react-native",
105
105
  "modulePathIgnorePatterns": [
package/src/jsCore.ts CHANGED
@@ -37,7 +37,7 @@ import { schemas } from './constants';
37
37
  import { v4 as uuid } from 'uuid';
38
38
 
39
39
  // Tracker version added to the events
40
- const trackerVersion = 'rn-2.1.0';
40
+ const trackerVersion = 'rn-2.1.1';
41
41
 
42
42
  interface Tracker extends TrackerCore {
43
43
  setDomainUserId: (duid: string | undefined) => void;