@playpilot/tpi 8.40.0-beta.3 → 8.40.0-beta.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playpilot/tpi",
3
- "version": "8.40.0-beta.3",
3
+ "version": "8.40.0-beta.4",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
@@ -56,7 +56,7 @@ export function injectLinksInDocument(elements: HTMLElement[], injections: LinkI
56
56
  continue
57
57
  } else {
58
58
  aiInjectionSidsCount[injection.sid] = previousCount + 1
59
- aiParticipantInjectionsCount++
59
+ if (injection.type === 'participant') aiParticipantInjectionsCount++
60
60
  }
61
61
 
62
62
  if (injection.type === 'participant' && !doesParticipantMeetThreshold(mergedInjections, injection.participant_details!)) {