Skip to content

Commit

Permalink
Automatically report context from TgglLocalClient
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-keller committed Aug 24, 2024
1 parent 9ac9ea6 commit 805c9fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/TgglLocalClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ export class TgglLocalClient<
active,
value,
})
this.reporting?.reportContext(context)

return active
}
Expand Down Expand Up @@ -255,6 +256,7 @@ export class TgglLocalClient<
default: defaultValue,
value,
})
this.reporting?.reportContext(context)

return value
}
Expand All @@ -268,6 +270,7 @@ export class TgglLocalClient<
result[slug as keyof TFlags] = value
}
}
this.reporting?.reportContext(context)

return result
}
Expand Down

0 comments on commit 805c9fa

Please sign in to comment.