@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.
- package/data/gitpod-schema.json +2 -28
- package/lib/admin-protocol.d.ts +4 -2
- package/lib/admin-protocol.d.ts.map +1 -1
- package/lib/admin-protocol.js.map +1 -1
- package/lib/gitpod-service.d.ts +2 -1
- package/lib/gitpod-service.d.ts.map +1 -1
- package/lib/gitpod-service.js.map +1 -1
- package/lib/headless-workspace-log.d.ts +1 -0
- package/lib/headless-workspace-log.d.ts.map +1 -1
- package/lib/headless-workspace-log.js +1 -0
- package/lib/headless-workspace-log.js.map +1 -1
- package/lib/installation-admin-protocol.d.ts +1 -1
- package/lib/installation-admin-protocol.d.ts.map +1 -1
- package/lib/protocol.d.ts +5 -36
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +1 -28
- package/lib/protocol.js.map +1 -1
- package/lib/util/analytics.js +12 -3
- package/lib/util/analytics.js.map +1 -1
- package/lib/wsready.d.ts +1 -1
- package/lib/wsready.js +2 -2
- package/package.json +2 -2
- package/pkg-yarn.lock +2 -2
- package/provenance-bundle.jsonl +1 -1
- package/src/admin-protocol.ts +4 -2
- package/src/gitpod-service.ts +2 -1
- package/src/headless-workspace-log.ts +1 -0
- package/src/installation-admin-protocol.ts +1 -1
- package/src/protocol.ts +8 -52
- package/src/util/analytics.ts +21 -3
- package/src/wsready.ts +2 -2
package/src/util/analytics.ts
CHANGED
|
@@ -30,7 +30,13 @@ class SegmentAnalyticsWriter implements IAnalyticsWriter {
|
|
|
30
30
|
|
|
31
31
|
identify(msg: IdentifyMessage) {
|
|
32
32
|
try {
|
|
33
|
-
this.analytics.identify(
|
|
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(
|
|
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(
|
|
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)
|
|
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
|
|
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 {
|