@gitpod/gitpod-protocol 0.1.5-se-multi-repo.33 → 0.1.5-se-prebuilds-failed.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.
@@ -30,7 +30,13 @@ class SegmentAnalyticsWriter implements IAnalyticsWriter {
30
30
 
31
31
  identify(msg: IdentifyMessage) {
32
32
  try {
33
- this.analytics.identify(msg, (err: Error) => {
33
+ this.analytics.identify({
34
+ ...msg,
35
+ integrations: {
36
+ "All": true,
37
+ "Mixpanel": !!msg.userId
38
+ }
39
+ }, (err: Error) => {
34
40
  if (err) {
35
41
  log.warn("analytics.identify failed", err);
36
42
  }
@@ -42,7 +48,13 @@ class SegmentAnalyticsWriter implements IAnalyticsWriter {
42
48
 
43
49
  track(msg: TrackMessage) {
44
50
  try {
45
- this.analytics.track(msg, (err: Error) => {
51
+ this.analytics.track({
52
+ ...msg,
53
+ integrations: {
54
+ "All": true,
55
+ "Mixpanel": !!msg.userId
56
+ }
57
+ }, (err: Error) => {
46
58
  if (err) {
47
59
  log.warn("analytics.track failed", err);
48
60
  }
@@ -54,7 +66,13 @@ class SegmentAnalyticsWriter implements IAnalyticsWriter {
54
66
 
55
67
  page(msg: PageMessage) {
56
68
  try{
57
- this.analytics.page(msg, (err: Error) => {
69
+ this.analytics.page({
70
+ ...msg,
71
+ integrations: {
72
+ "All": true,
73
+ "Mixpanel": !!msg.userId
74
+ }
75
+ }, (err: Error) => {
58
76
  if (err) {
59
77
  log.warn("analytics.page failed", err);
60
78
  }
package/src/wsready.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  /**
2
- * Copyright (c) 2022 Gitpod GmbH. All rights reserved.
2
+ * Copyright (c) 2021 Gitpod GmbH. All rights reserved.
3
3
  * Licensed under the GNU Affero General Public License (AGPL).
4
4
  * See License-AGPL.txt in the project root for license information.
5
5
  */
6
6
 
7
- // generated using github.com/32leaves/bel on 2022-02-15 11:53:18.380158212 +0000 UTC m=+0.011913675
7
+ // generated using github.com/32leaves/bel on 2021-11-04 12:16:53.917570766 +0000 UTC m=+0.006002884
8
8
  // DO NOT MODIFY
9
9
 
10
10
  export enum WorkspaceInitSource {