Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: implement identify #304

Merged
merged 72 commits into from
Oct 19, 2023
Merged

chore: implement identify #304

merged 72 commits into from
Oct 19, 2023

Conversation

yusinto
Copy link
Contributor

@yusinto yusinto commented Oct 18, 2023

Initial implementation of identify, good enough for an alpha release.

yusinto and others added 30 commits June 27, 2023 12:54
* Improved emitter design
* Improved jest config
* Added unit tests
Added Configuration class and options validation for js client common.
yusinto and others added 22 commits September 19, 2023 12:25
Co-authored-by: Yusinto Ngadiman <[email protected]>
resolves #285
Large pr but mostly trivial changes to import paths because mocks have
been moved to its own private project `@launchdarkly/private-js-mocks`:

* Refactored mocks to its own project `@launchdarkly/private-js-mocks`.
* Better eslint rule for `no-unused-vars` to avoid disabling this rule
sporadically.
CI failed because `yarn workspaces foreach -pR --topological-dev --from
'@launchdarkly/xxx' run build`. This is because `topological-dev`
instructs yarn to build all deps (prod & dev) prior to running build in
the current workspace. Since `mocks` need types from `common` this
fails.

This pr adds a `build-types` command to common which gets run prior to
mocks `build` command to ensure common types exist for mocks to be built
successfully.
First attempt to implement an initial flag fetch followed by emitting
events. I also added comments like this:

```tsx
Dom api usage: xxx
```

There are three right now: fetch, btoa and EventTarget. I left comments
in the code for react native how to deal with these.

---------

Co-authored-by: LaunchDarklyReleaseBot <[email protected]>
Co-authored-by: Ryan Lamb <[email protected]>
@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #220941: Implement identify.

@yusinto yusinto merged commit 31c1901 into main Oct 19, 2023
15 checks passed
@yusinto yusinto deleted the yus/sc-220941/implement-identify branch October 19, 2023 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants