@streamscloud/streams-analytics-collector 1.0.8 → 1.0.9

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.
@@ -215,13 +215,14 @@ class AppEventsTracker {
215
215
  };
216
216
  // Add organization and profile IDs for non-authorized calls if they exist
217
217
  if (!this.useClient) {
218
- if (this.organizationId) {
219
- input.organizationId = this.organizationId;
220
- }
221
218
  if (this.profileId) {
222
219
  input.profileId = this.profileId;
223
220
  }
224
221
  }
222
+ // Add organization ID if it exists
223
+ if (this.organizationId) {
224
+ input.organizationId = this.organizationId;
225
+ }
225
226
  // Choose between client and direct endpoint modes
226
227
  if (this.useClient) {
227
228
  if (!this.client) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamscloud/streams-analytics-collector",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -14,22 +14,6 @@
14
14
  "./analytics": {
15
15
  "import": "./dist/analytics/index.js",
16
16
  "types": "./dist/analytics/index.d.ts"
17
- },
18
- "./data-loaders": {
19
- "import": "./dist/data-loaders/index.js",
20
- "types": "./dist/data-loaders/index.d.ts"
21
- },
22
- "./components-data": {
23
- "import": "./dist/components-data/index.js",
24
- "types": "./dist/components-data/index.d.ts"
25
- },
26
- "./services": {
27
- "import": "./dist/services/index.js",
28
- "types": "./dist/services/index.d.ts"
29
- },
30
- "./components": {
31
- "import": "./dist/components/index.js",
32
- "types": "./dist/components/index.d.ts"
33
17
  }
34
18
  },
35
19
  "files": [