skillfish 1.0.27 → 1.0.28
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/dist/telemetry.js +4 -4
- package/package.json +1 -1
package/dist/telemetry.js
CHANGED
|
@@ -35,7 +35,7 @@ function sendTelemetry(payload) {
|
|
|
35
35
|
export function trackCommand(command) {
|
|
36
36
|
if (!command)
|
|
37
37
|
return Promise.resolve();
|
|
38
|
-
return sendTelemetry({
|
|
38
|
+
return sendTelemetry({ event_type: 'command', command });
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
41
|
* Track a skill install. Inserts into telemetry_events and increments skill download count.
|
|
@@ -50,10 +50,10 @@ export function trackInstall(command, owner, repo, skillName) {
|
|
|
50
50
|
if (!command || !owner || !repo || !skillName)
|
|
51
51
|
return Promise.resolve();
|
|
52
52
|
return sendTelemetry({
|
|
53
|
-
|
|
53
|
+
event_type: 'install',
|
|
54
54
|
command,
|
|
55
|
-
|
|
56
|
-
//
|
|
55
|
+
skill_key: `${owner}/${repo}`,
|
|
56
|
+
// Fields for skill count increment
|
|
57
57
|
owner,
|
|
58
58
|
repo,
|
|
59
59
|
skillName,
|
package/package.json
CHANGED