Skip to content

Conversation

kinyoklion
Copy link
Member

No description provided.

src/index.js Outdated

if (sendEvent) {
// An event will be send for each of these by virtue of sending events for all flags.
if (!allFlags) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, I am not 100% sure there is a good answer here. For sure if you are sending events for all flags, then the prereq will have an event if it was visible to the client.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment is still relevant github. I just corrected part of the line. >.<

@kinyoklion kinyoklion force-pushed the rlamb/sdk-685/client-side-prerequisites branch from 7a0437d to 39a1155 Compare October 14, 2024 20:39

/**
* Describes the reason that a flag evaluation produced a particular value. This is
* part of the {@link LDEvaluationDetail} object returned by {@link LDClient.variationDetail]].
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noticed this when working on the docs for node-client-sdk. So a good chance to just fix that link.

@@ -1,3 +1,4 @@
// @ts-nocheck
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added this ts-nocheck as typescript checking in eslint isn't happy in this file. Nothing changed, but the typescript version was updated. Basically just affects the IDE.

@kinyoklion kinyoklion marked this pull request as ready for review October 15, 2024 17:11
@kinyoklion kinyoklion requested a review from a team as a code owner October 15, 2024 17:11
src/index.js Outdated
options,
diagnosticId
)
platform,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a few formatting changes from prettier.

@kinyoklion kinyoklion merged commit 9d1708b into main Oct 18, 2024
3 checks passed
@kinyoklion kinyoklion deleted the rlamb/sdk-685/client-side-prerequisites branch October 18, 2024 16:16
kinyoklion pushed a commit that referenced this pull request Oct 18, 2024
🤖 I have created a release *beep* *boop*
---


##
[5.4.0](5.3.0...5.4.0)
(2024-10-18)


### Features

* Add support for client-side prerequisite events.
([#112](#112))
([9d1708b](9d1708b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants