astro/packages/telemetry/src
Okiki Ojo 9c8a7c0b09
fix(@astrojs/telemetry): add optional integrations field (#3614)
* fix: filter out falsy integration from telemetry

Falsy integrations are now ignored in `@astrojs/telemetry`

This error should no longer occur,
```ts
 error   Cannot read properties of null (reading 'name')
    at file:///workspaces/bundle/node_modules/.pnpm/@astrojs+telemetry@0.1.2/node_modules/@astrojs/telemetry/dist/events/session.js:53:117
    ...
```

* ci: add tests for optional integrations

* ci: add changeset

* fix(@astrojs/telemetry): count number of optional integrations in use

* ci: add test for counting the total number of optional integrations in use

* ci: update changeset

* chore: make the changes @tony-sull sugested

* revert(@astrojs/webapi): mod.d.ts -> a4c78b5: [ci] format

* ci: remove `@astrojs/webapi` patch change

* chore(@astrojs/telemetry): remove totalIntegrations payload field

* fix(@astrojs/telemetry): add optional integrations field

* ci: add changeset
2022-06-16 14:53:07 -04:00
..
events fix(@astrojs/telemetry): add optional integrations field (#3614) 2022-06-16 14:53:07 -04:00
anonymous-meta.ts [ci] format 2022-06-06 16:49:53 +00:00
config.ts [ci] format 2022-06-06 16:49:53 +00:00
index.ts [ci] format 2022-06-14 20:32:18 +00:00
keys.ts Telemetry (#3256) 2022-05-03 09:07:28 -04:00
post.ts Telemetry (#3256) 2022-05-03 09:07:28 -04:00
project-id.ts Telemetry (#3256) 2022-05-03 09:07:28 -04:00